/* Reuse the app's card, field, button, spacing and Light/Dark tokens. */
#content.one-page{--muted:#68675f}
.night #content.one-page{--muted:#c1bdb2}
#oneThing{--muted:#68675f;--accent:var(--ink);min-width:0}
.night #oneThing{--muted:#c1bdb2}
#oneThing .cardhead{flex-wrap:wrap}
#oneThing time{font-size:13px;color:var(--muted)}
#oneThing .empty h2{color:var(--ink)}
#oneThing .one-copy{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
#oneThing h2.one-copy{font-family:'Noto Serif Thai',Georgia,serif;font-size:25px;line-height:1.8;margin:18px 0 12px}
#one-saved-title:focus{outline:none}
#oneThing .one-status{display:inline-block;border:1px solid var(--line);border-radius:30px;background:var(--bg);padding:6px 12px;font-size:13px}
#oneThing .one-input-help{display:flex;justify-content:space-between;gap:16px;align-items:baseline}
#one-count{white-space:nowrap}
#oneThing textarea{line-height:1.8;scroll-margin-block:24px}
#oneThing textarea::placeholder{color:var(--muted);opacity:1}
#oneThing button:focus-visible,#oneThing textarea:focus-visible,#oneThing summary:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
#oneThing .one-error{border:1px solid currentColor;border-radius:17px;padding:14px 16px;color:#9b3429;margin:18px 0}
#oneThing .one-error p{margin:0 0 8px}
.night #oneThing .one-error{color:#ffc1b8}
#oneThing .one-previous{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}
#oneThing summary{cursor:pointer;color:var(--muted);padding:8px 0}
@media(max-width:640px){body.one-input-focused .sidebar{display:none}#oneThing .row button{max-width:100%;white-space:normal}#oneThing h2.one-copy{font-size:22px}}

.one-history{margin-top:24px;min-width:0}.one-history summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;cursor:pointer;min-height:48px;color:var(--ink);font-weight:600}.one-history summary::before{content:'＋';font-size:20px}.one-history details[open]>summary::before{content:'−'}.one-history-list{list-style:none;padding:0;margin:0}.one-history-list li{padding:18px 0;border-top:1px solid var(--line)}.one-history-list time{font-size:13px;color:var(--muted)}.one-history .one-copy{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.one-history .row input{min-width:0;flex:1 1 160px}.one-history summary:focus-visible{outline:3px solid var(--ink);outline-offset:4px}

.my-why { margin-bottom: 16px; }
.my-why h2 { margin-top: 0; }
.my-why-value { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1.125rem; }
.my-why summary { display: list-item; min-height: 48px; padding: 10px 0; cursor: pointer; }
.my-why button { min-height: 48px; }
.my-why textarea { display: block; box-sizing: border-box; width: 100%; font-size: 1rem; }
.my-why :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
