:root{--bg: #f4f2ee;--surface: #ffffff;--surface-sunken: #ece8e1;--border: #ddd7cb;--text: #2a2620;--text-dim: #756e60;--text-faint: #a49d8c;--problem: #b3502a;--problem-bg: #fbeee6;--solution: #1f7a63;--solution-bg: #e7f3ee;--chip-bg: #efe9dd;--focus: #2a2620}@media (prefers-color-scheme: dark){:root{--bg: #1c1a16;--surface: #262319;--surface-sunken: #211f18;--border: #3a362c;--text: #efe9dd;--text-dim: #b0a894;--text-faint: #7d7666;--problem: #e08a63;--problem-bg: #3a2418;--solution: #5cc4a4;--solution-bg: #123227;--chip-bg: #302c22;--focus: #efe9dd}}:root[data-theme=dark]{--bg: #1c1a16;--surface: #262319;--surface-sunken: #211f18;--border: #3a362c;--text: #efe9dd;--text-dim: #b0a894;--text-faint: #7d7666;--problem: #e08a63;--problem-bg: #3a2418;--solution: #5cc4a4;--solution-bg: #123227;--chip-bg: #302c22;--focus: #efe9dd}:root[data-theme=light]{--bg: #f4f2ee;--surface: #ffffff;--surface-sunken: #ece8e1;--border: #ddd7cb;--text: #2a2620;--text-dim: #756e60;--text-faint: #a49d8c;--problem: #b3502a;--problem-bg: #fbeee6;--solution: #1f7a63;--solution-bg: #e7f3ee;--chip-bg: #efe9dd;--focus: #2a2620}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic UI,Noto Sans JP,system-ui,sans-serif;font-feature-settings:"palt"}.app{max-width:720px;margin:0 auto;padding:28px 20px 80px}.brand{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:22px}.brand-mark{font-family:Georgia,Times New Roman,serif;font-style:italic;font-size:21px;letter-spacing:.02em;color:var(--text)}.brand-mark b{font-style:normal;font-weight:700}.brand-sub{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-faint)}.logout-btn{background:none;border:none;color:var(--text-faint);font-size:12px;cursor:pointer}.tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--surface-sunken);border:1px solid var(--border);border-radius:12px;padding:4px;gap:4px;margin-bottom:18px}.tab{border:none;background:transparent;padding:11px 12px;border-radius:9px;font-size:14.5px;font-weight:600;color:var(--text-dim);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .15s ease,color .15s ease}.tab .count{font-variant-numeric:tabular-nums;font-weight:500;font-size:12.5px;opacity:.75}.tab.problem.active{background:var(--surface);color:var(--problem);box-shadow:0 1px 2px #0000000f}.tab.solution.active{background:var(--surface);color:var(--solution);box-shadow:0 1px 2px #0000000f}.tab:not(.active):hover{color:var(--text)}.tab:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.composer{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:22px}.composer-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:13px;color:var(--text-dim)}.kind-dot{width:8px;height:8px;border-radius:50%;background:var(--problem);flex-shrink:0}.app[data-tab=solution] .kind-dot{background:var(--solution)}.composer-input-row{display:flex;align-items:flex-start;gap:10px}.composer textarea{width:100%;resize:vertical;min-height:64px;border:none;background:transparent;color:var(--text);font-size:15.5px;line-height:1.6;font-family:inherit;padding:0;flex:1}.composer textarea:focus{outline:none}.composer textarea::placeholder{color:var(--text-faint)}.mic-btn{flex-shrink:0;width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--surface-sunken);color:var(--text-dim);display:flex;align-items:center;justify-content:center;font-size:15px;cursor:pointer;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.mic-btn:hover{color:var(--text)}.mic-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.mic-btn.listening{background:var(--problem);color:#fff;border-color:transparent;box-shadow:0 0 0 4px var(--problem-bg)}.app[data-tab=solution] .mic-btn.listening{background:var(--solution);box-shadow:0 0 0 4px var(--solution-bg)}.mic-btn.unsupported{opacity:.35;cursor:not-allowed}@media (prefers-reduced-motion: no-preference){.mic-btn.listening{animation:pulse 1.4s ease-in-out infinite}}@keyframes pulse{0%,to{box-shadow:0 0 0 4px var(--problem-bg)}50%{box-shadow:0 0 0 8px transparent}}.voice-status{font-size:11.5px;color:var(--problem);margin-top:6px;display:flex;align-items:center;gap:5px;visibility:hidden}.app[data-tab=solution] .voice-status{color:var(--solution)}.voice-status.show{visibility:visible}.composer-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.meta-input{border:1px solid var(--border);background:var(--surface-sunken);color:var(--text-dim);font-size:12.5px;padding:6px 10px;border-radius:999px;font-family:inherit;min-width:0}.meta-input:focus{outline:2px solid var(--focus);outline-offset:1px}.meta-input.tag-input{width:108px}.meta-input.proj-input{width:140px}.composer-footer{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px dashed var(--border)}.composer-hint{font-size:11.5px;color:var(--text-faint)}.post-btn{border:none;border-radius:9px;padding:9px 18px;font-size:13.5px;font-weight:700;color:#fff;cursor:pointer;background:var(--problem)}.app[data-tab=solution] .post-btn{background:var(--solution)}.post-btn:hover{filter:brightness(1.08)}.post-btn:disabled{opacity:.6;cursor:not-allowed}.post-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.filters{display:flex;gap:8px;margin-bottom:16px;overflow-x:auto}.filters input{flex:1;min-width:0;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:9px 12px;border-radius:9px;font-size:13.5px;font-family:inherit}.filters input:focus{outline:2px solid var(--focus);outline-offset:1px}.feed{display:flex;flex-direction:column;gap:12px}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}.card-top{display:flex;align-items:center;gap:10px;margin-bottom:9px}.avatar{width:30px;height:30px;border-radius:50%;background:var(--chip-bg);color:var(--text-dim);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.who{font-size:13.5px;font-weight:600}.meta-line{font-size:12px;color:var(--text-faint);display:flex;gap:6px;align-items:center}.source-badge{font-size:10.5px;padding:2px 7px;border-radius:999px;background:var(--surface-sunken);color:var(--text-dim);border:1px solid var(--border)}.card-body{font-size:15px;line-height:1.7;margin:0 0 11px;white-space:pre-wrap}.card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.tag{font-size:12px;padding:3px 9px;border-radius:999px;background:var(--chip-bg);color:var(--text-dim)}.tag.problem{color:var(--problem);background:var(--problem-bg)}.tag.solution{color:var(--solution);background:var(--solution-bg)}.tag.project:before{content:"# ";opacity:.6}.card-actions{display:flex;align-items:center;gap:6px;padding-top:10px;border-top:1px solid var(--border)}.react-btn,.comment-toggle{display:flex;align-items:center;gap:5px;border:1px solid var(--border);background:var(--surface-sunken);color:var(--text-dim);padding:6px 11px;border-radius:999px;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit}.react-btn .n,.comment-toggle .n{font-variant-numeric:tabular-nums}.react-btn:hover{border-color:var(--text-faint)}.react-btn.active.problem{background:var(--problem-bg);color:var(--problem);border-color:transparent}.react-btn.active.solution{background:var(--solution-bg);color:var(--solution);border-color:transparent}.react-btn:focus-visible,.comment-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.comments{margin-top:10px;padding-top:10px;border-top:1px dashed var(--border);display:flex;flex-direction:column;gap:8px}.comment{display:flex;gap:8px;font-size:13px}.comment .avatar{width:22px;height:22px;font-size:10px}.comment-body{background:var(--surface-sunken);border-radius:10px;padding:6px 10px;line-height:1.5;flex:1}.comment-body b{font-weight:700}.comment-form{display:flex;gap:8px;margin-top:4px}.comment-form input{flex:1;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:7px 11px;border-radius:999px;font-size:12.5px;font-family:inherit}.comment-form input:focus{outline:2px solid var(--focus);outline-offset:1px}.comment-form button{border:none;background:var(--chip-bg);color:var(--text-dim);border-radius:999px;padding:0 14px;font-size:12.5px;font-weight:700;cursor:pointer}.empty{text-align:center;color:var(--text-faint);font-size:13.5px;padding:40px 0}.error-banner{background:var(--problem-bg);color:var(--problem);padding:10px 14px;border-radius:10px;font-size:13px;margin-bottom:14px}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:20px}.auth-card{width:100%;max-width:360px;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px}.auth-tabs{display:flex;gap:4px;background:var(--surface-sunken);border-radius:10px;padding:4px;margin:18px 0}.auth-tabs button{flex:1;border:none;background:transparent;padding:9px;border-radius:7px;font-size:13.5px;font-weight:600;color:var(--text-dim);cursor:pointer}.auth-tabs button.active{background:var(--surface);color:var(--text)}.auth-form{display:flex;flex-direction:column;gap:12px}.auth-form label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--text-dim)}.auth-form input{border:1px solid var(--border);background:var(--surface-sunken);color:var(--text);padding:9px 11px;border-radius:9px;font-size:14px;font-family:inherit}.auth-form input:focus{outline:2px solid var(--focus);outline-offset:1px}.auth-error{color:var(--problem);font-size:12.5px}.auth-form .post-btn{background:var(--text)}.dashboard{display:flex;flex-direction:column;gap:18px;margin-bottom:22px}.dash-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px}.dash-title{font-size:13px;font-weight:700;color:var(--text-dim);margin-bottom:10px}.bar-row{display:flex;align-items:center;gap:8px;font-size:12.5px;margin-bottom:6px}.bar-label{width:100px;flex-shrink:0;color:var(--text-dim);text-align:right}.bar-track{flex:1;background:var(--surface-sunken);border-radius:999px;height:10px;overflow:hidden}.bar-fill{height:100%;border-radius:999px}.bar-fill.problem{background:var(--problem)}.bar-fill.solution{background:var(--solution)}.bar-count{width:28px;text-align:right;font-variant-numeric:tabular-nums;color:var(--text-faint)}.top-nav{display:flex;gap:8px;margin-bottom:18px}.top-nav button{flex:1;border:1px solid var(--border);background:var(--surface);color:var(--text-dim);padding:8px;border-radius:9px;font-size:12.5px;font-weight:600;cursor:pointer}.top-nav button.active{background:var(--text);color:var(--surface);border-color:var(--text)}
