.progress-home{margin:0 16px 18px;padding:17px;background:#edf1e5;border:1px solid #dbe3ce;border-radius:20px}
#checkin-save{width:100%;margin-bottom:8px;background:var(--accent-light);color:var(--accent);border:1px solid var(--border)}
#checkin-save[hidden]{display:none}
#checkin-error{color:#a33836}
#checkin-error:empty{display:none}
.progress-home h2{font-size:17px;margin:0 0 4px;color:var(--text)}
.progress-home p{font-size:12px;color:var(--text2);margin:0 0 12px;line-height:1.5}
.progress-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.progress-shortcuts button{min-height:64px;padding:10px 5px;border:1px solid #dbe3ce;border-radius:13px;background:var(--surface);color:var(--text);font:600 12px var(--font-b);cursor:pointer}
.progress-shortcuts span{display:block;font-size:19px;margin-bottom:4px}
.progress-chat-tools{display:flex;gap:6px;padding:6px 12px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0}
.progress-chat-tools button,.progress-menu-button{min-height:38px;border:0;border-radius:9px;background:var(--surface2);padding:8px 12px;color:var(--text);font:500 12px var(--font-b);cursor:pointer}
.progress-menu-button{width:100%;text-align:left;background:transparent;font-size:14px;padding:12px 16px}
#progression{width:calc(100% - 24px);max-width:710px;max-height:92vh;max-height:92svh;margin:auto;padding:0;border:1px solid var(--border);border-radius:24px;background:var(--bg);color:var(--text);font-family:var(--font-b);box-shadow:0 22px 70px #24311d33;overflow:hidden}
#progression::backdrop{background:#1b251e88;backdrop-filter:blur(3px)}
.progress-shell{display:flex;flex-direction:column;max-height:90vh;max-height:90svh}
.progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px 12px;flex-shrink:0;background:var(--surface)}
.progress-head h2{margin:3px 0 0;font-size:22px;line-height:1.2}
.progress-eyebrow{color:var(--accent);font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:700}
.progress-close{height:42px;width:42px;flex-shrink:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);font-size:25px;cursor:pointer}
.progress-tabs{display:flex;gap:5px;padding:8px 15px 12px;overflow-x:auto;flex-shrink:0;background:var(--surface);border-bottom:1px solid var(--border)}
.progress-tabs button{flex-shrink:0;border:1px solid var(--border);border-radius:999px;min-height:37px;padding:7px 11px;background:transparent;color:var(--text2);font:500 12px var(--font-b);cursor:pointer}
.progress-tabs button[aria-current="page"]{background:var(--accent);border-color:var(--accent);color:#fff}
.progress-body{overflow-y:auto;overscroll-behavior:contain;padding:18px 20px 24px;min-height:180px}
.progress-lead{color:var(--text2);font-size:13px;line-height:1.65;margin:0 0 18px}
.progress-card{padding:17px;margin:0 0 13px;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow-wrap:anywhere}
.progress-card h3{font-size:17px;margin:7px 0 9px;line-height:1.35}
.progress-card p{font-size:13px;line-height:1.65;margin:8px 0;white-space:pre-wrap}
.progress-meta{font-size:11px;color:var(--text2);line-height:1.5}
.progress-pill{display:inline-block;border-radius:999px;padding:4px 9px;background:var(--accent-light);color:var(--accent);font-size:11px;font-weight:600}
.progress-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px;align-items:center}
.progress-btn{border:1px solid var(--border);border-radius:11px;padding:10px 13px;min-height:42px;font:600 12px var(--font-b);background:var(--surface);color:var(--text);cursor:pointer;line-height:1.4}
.progress-btn.primary{background:var(--accent);border-color:var(--accent);color:white}
.progress-btn.danger{color:#a33836}
.progress-btn[aria-pressed="true"]{background:#fff3cc;border-color:#debb59;color:#6c520d}
.progress-btn:disabled{opacity:.55;cursor:default}
.progress-field{display:block;margin:14px 0 0;font-size:13px;font-weight:600}
.progress-field textarea,.progress-field input:not([type=checkbox]),.progress-field select{display:block;box-sizing:border-box;width:100%;margin-top:7px;border:1px solid var(--border);border-radius:10px;padding:11px;background:var(--surface);color:var(--text);font:400 16px var(--font-b)}
.progress-field textarea{min-height:90px;resize:vertical}
.progress-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:15px 0}
.progress-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--accent)}
.progress-error{color:#a33836;font-size:13px;line-height:1.5;margin:0;padding:0 20px;background:var(--surface);white-space:pre-wrap}
.progress-error:not(:empty){padding-top:10px;padding-bottom:10px}
.progress-empty{text-align:center;padding:24px 8px;color:var(--text2);font-size:13px;line-height:1.6}
.progress-source{font-size:12px;line-height:1.6;margin:12px 0;color:var(--text2)}
.progress-source summary{cursor:pointer;font-weight:600;padding:8px 0}
.progress-source p{padding:10px 12px;border-left:3px solid var(--border);margin-top:4px;max-height:210px;overflow:auto}
.progress-steps{padding-left:24px;font-size:12px;color:var(--text2);line-height:1.6}
.progress-steps li{padding:5px 0}.progress-steps .done{color:var(--accent)}
.progress-meter{width:100%;height:8px;accent-color:var(--accent);margin:8px 0}
.progress-moods{display:flex;align-items:flex-end;gap:5px;height:100px;list-style:none;padding:0;margin:16px 0 8px}
.progress-moods li{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;font-size:10px;color:var(--text2);gap:5px}
.progress-moods i{display:block;width:100%;max-width:24px;background:var(--accent);border-radius:5px 5px 2px 2px;opacity:.7;min-height:10px}
.progress-moods span{font-variant-numeric:tabular-nums}
.progress-result pre{white-space:pre-wrap;font:400 13px/1.65 var(--font-b);margin:8px 0;max-height:240px;overflow:auto}
.progress-search-row{display:grid;grid-template-columns:1fr 150px;gap:10px}
#progression :focus-visible,.progress-home :focus-visible,.progress-chat-tools :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:400px){.progress-body{padding:14px 13px 20px}.progress-head{padding:15px 14px 10px}.progress-head h2{font-size:20px}.progress-tabs{padding-left:11px}.progress-card{padding:14px}.progress-search-row{grid-template-columns:1fr}.progress-moods li:nth-child(even) span{visibility:hidden}}
