:root{color-scheme:light;--paper:#f6f5f1;--surface:#fffefa;--ink:#242e2b;--muted:#59665e;--line:#d9ded5;--accent:#315a43;--soft:#e7eee3;--danger:#9c3535;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--accent);text-underline-offset:4px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #58826b;outline-offset:4px}::selection{background:#c7dac4;color:#14291e}textarea,input{caret-color:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.masthead{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:20px 32px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:650;text-decoration:none;color:var(--ink);letter-spacing:-.02em}.brand svg{width:28px;height:28px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linejoin:round}main{max-width:1120px;margin:0 auto;padding:40px 32px 24px;min-height:75svh}h1{font-size:34px;letter-spacing:-.035em;font-weight:600;margin:0 0 12px;line-height:1.13;text-wrap:balance}h2{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.35}p{line-height:1.6;color:var(--muted)}button,.button{border:0;border-radius:9px;min-height:44px;padding:11px 17px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;line-height:1.4}.primary{color:#fff;background:var(--accent)}.primary:hover{background:#244633}.secondary{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.secondary:hover{background:var(--soft)}.quiet{color:var(--muted);background:transparent;padding:10px 12px}.quiet:hover{color:var(--accent);background:var(--soft)}.danger{background:#f8e6e1;color:#842525}
.title-row{display:flex;justify-content:space-between;align-items:center;gap:16px}.title-row p{margin:0;font-size:14px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-top:28px}.tab{border-radius:0;background:none;color:var(--muted);padding:14px 2px;border-bottom:2px solid transparent;gap:8px}.tab.active{border-color:var(--accent);color:var(--accent)}.tab span{font-size:14px;min-width:21px;background:var(--soft);border-radius:5px;padding:1px 5px;font-variant-numeric:tabular-nums}.work-layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:480px}.queue-panel{border-right:1px solid var(--line);padding:16px 16px 16px 0}.queue-item{display:block;background:none;color:var(--ink);text-align:left;width:100%;border-radius:9px;padding:15px 14px;margin:0 0 5px;font-size:14px;font-weight:400}.queue-item:hover{background:#eeeee8}.queue-item.selected{background:var(--soft)}.queue-item strong{display:block;font-size:14px;margin-bottom:7px;font-weight:600}.queue-item span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.queue-empty{font-size:14px;padding:6px 10px}.queue-item small{display:block;color:var(--muted);font-size:14px;margin-top:8px}#editor-panel{padding:28px 0 24px 32px;min-width:0}.editor-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;font-size:14px;color:var(--muted)}.tag{background:var(--soft);color:var(--accent);padding:5px 9px;border-radius:5px;font-weight:600}.source-heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.source-heading h2{font-size:15px;margin:0}.source-heading a{font-size:14px;white-space:nowrap}#source{padding-bottom:23px;margin-bottom:24px;border-bottom:1px solid var(--line)}#source-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font-size:16px;margin:12px 0}.reason{font-size:14px;margin-bottom:0}label{display:block;font-size:14px;font-weight:600;margin:20px 0 10px}textarea,input[type=url]{display:block;width:100%;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);padding:16px;line-height:1.65;resize:vertical;font-size:17px;min-width:0}textarea::placeholder,input::placeholder{color:#6d776f}#draft-text{min-height:210px}.editor-meta{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted);margin:10px 0 22px}.editor-meta output{font-variant-numeric:tabular-nums;white-space:nowrap}.over-limit{color:var(--danger);font-weight:700}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions .primary{flex:1}.handoff-note{font-size:14px;margin:12px 0 25px}.status-actions{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:12px}#empty{padding:50px 24px;text-align:center}#empty p{max-width:34ch;margin:12px auto 24px}.notice{background:#f7e9d1;color:#61431a;border-radius:10px;padding:16px;margin:20px 0;line-height:1.5}#error{position:sticky;bottom:20px;z-index:4}#toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:10px;background:var(--ink);color:white;font-size:14px;box-shadow:0 6px 24px #24312a20;max-width:90%;z-index:5}
#welcome{padding:8vh 0 12vh;max-width:650px;margin:auto}#welcome h1{font-size:clamp(36px,5vw,54px);line-height:1.1;margin-top:32px}#welcome p{margin:22px 0 30px}.welcome-mark svg{width:52px;height:52px;fill:none;stroke:var(--accent);stroke-width:1.4;stroke-linejoin:round}.fine{font-size:14px}#compose,#settings,#blocked{max-width:620px;margin:0 auto}#compose h1,#settings h1{margin:24px 0 28px}fieldset{padding:0;border:0;margin:24px 0}legend{font-weight:600;font-size:14px}.radio{display:inline-flex;align-items:center;gap:8px;margin-right:20px;font-weight:400;min-height:44px}.radio input{accent-color:var(--accent);width:18px;height:18px}.optional{font-weight:400;color:var(--muted);margin-left:5px}#new-form>button{margin-top:24px;width:100%}#settings h2{margin-top:36px}#settings p{max-width:58ch}.back{padding-left:0}footer{font-size:14px;color:var(--muted);text-align:center;padding:28px 20px max(24px,env(safe-area-inset-bottom))}#loading{padding:64px 0;color:var(--muted);text-align:center}
@media(max-width:700px){.masthead{padding:14px 20px;padding-top:max(14px,env(safe-area-inset-top))}main{padding:28px 20px 16px}h1{font-size:29px}.title-row{align-items:flex-start}.title-row .primary{font-size:14px;padding:10px 13px}.tabs{margin-top:23px}.work-layout{display:block;min-height:0}.queue-panel{border-right:0;padding:12px 0 0;border-bottom:1px solid var(--line)}#queue{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#a4b69e transparent}.queue-item{width:220px;min-width:220px;max-width:74vw;margin:0;scroll-snap-align:start;padding:12px}.queue-item span{-webkit-line-clamp:2}.queue-item small{display:none}#editor-panel{padding:22px 0 0}.editor-top{margin-bottom:20px}#source{padding-bottom:18px;margin-bottom:20px}#draft-text{min-height:190px}.editor-meta{font-size:14px}.actions{gap:7px}.actions button,.actions a{font-size:14px;padding:12px 14px}.status-actions{margin-bottom:12px}.handoff-note{font-size:14px}.source-heading{gap:10px}#welcome{padding:8vh 0}#welcome h1{font-size:39px}#empty{padding:35px 4px}}
@media(prefers-reduced-motion:no-preference){#toast{animation:arrive .18s ease-out}@keyframes arrive{from{transform:translate(-50%,8px)}to{transform:translate(-50%,0)}}}
.brand{min-height:44px}.source-heading a{display:inline-flex;align-items:center;min-height:44px}.source-heading{align-items:center}
/* Social workspace: a quiet writing surface, with X-shaped account context. */
:root{--paper:#fafafa;--surface:#fff;--ink:#202124;--muted:#62666d;--line:#e4e5e8;--accent:#315bc6;--soft:#edf2ff;--danger:#a02c38}
.masthead{max-width:1280px;justify-content:flex-start;gap:24px;padding:16px 28px}.masthead>#settings-button{margin-left:auto}.module-label{font-size:14px;color:var(--muted);border-left:1px solid var(--line);padding-left:24px}main{max-width:1280px;padding:30px 28px 24px}.brand svg{stroke:var(--ink)}h1{font-size:28px;letter-spacing:-.025em}.primary:hover{background:#2449a8}.quiet:hover{color:var(--ink)}.social-nav{display:flex;gap:6px;margin-top:24px}.social-nav button{background:none;color:var(--muted);padding:10px 18px}.social-nav button.active{background:var(--ink);color:#fff}.social-nav #routine-button{margin-left:auto}.tabs{margin-top:16px;gap:24px}.tab.active{color:var(--ink);border-color:var(--ink)}.tab span{color:var(--muted);background:#edeef0}.work-layout{grid-template-columns:300px minmax(0,1fr)}.queue-panel{padding-top:16px}.queue-item.selected{background:#eceef2}.queue-item:hover{background:#f0f1f4}.queue-item strong{color:var(--muted);font-weight:500}.queue-item span{font-size:14px}.queue-item small{font-size:14px}.queue-item{padding:16px}.editor-top{margin-bottom:20px}.tag{background:#eeeef1;color:#50535a}#editor-panel{padding:24px 32px 28px;max-width:820px}#editor{max-width:620px;margin:auto}.source-heading{align-items:flex-start}.account-row{display:flex;align-items:center;gap:10px;min-width:0}.account-row>div{min-width:0}.avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#e8ebf0;color:#444c59;font-weight:600;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.handle{display:block;color:var(--muted);font-size:14px;margin-top:3px;overflow-wrap:anywhere}.account-row strong{font-size:15px}.followers{font-size:14px;margin:8px 0 0 50px;font-variant-numeric:tabular-nums}#source{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:24px}#source-text{margin:16px 0 0;font-size:16px;line-height:1.55}.source-heading a{font-size:14px;min-width:62px}#reason{border-top:1px solid var(--line);padding-top:12px}.view-switch{display:flex;align-items:center;justify-content:space-between;margin:16px 0 12px}.view-switch label{margin:0}.own-account{margin:8px 0 12px;flex-wrap:wrap}.replying-to{font-size:14px;color:var(--accent);margin-left:auto}#draft-text{border:0;border-radius:0;padding:12px 0;background:transparent;min-height:220px;font-size:18px;line-height:1.6;resize:vertical}.preview-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;line-height:1.6;min-height:220px;padding:12px 0}.editor-meta{border-top:1px solid var(--line);padding-top:12px;margin-top:10px;font-size:14px}.actions{padding-top:8px}.actions .primary{flex:initial;min-width:120px}.handoff-note{font-size:14px}.status-actions{margin-top:24px}#post-note{margin:0 0 20px;font-size:14px;padding:12px 0;border-bottom:1px solid var(--line)}#routine{padding:20px 0;max-width:650px}#routine h2{font-size:20px}#routine p{font-size:14px}.brand,button,a,input,textarea{outline-color:var(--accent)}::selection{background:#dce5ff;color:#1a2c54}textarea::placeholder,input::placeholder{color:#6b6f76}footer{font-size:14px}#queue{scrollbar-color:#b7bbc4 transparent}
@media(min-width:1100px){.work-layout{min-height:650px}.queue-panel{max-height:75vh;overflow-y:auto}}
@media(max-width:700px){.masthead{padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));gap:16px}.module-label{padding-left:16px}main{padding:22px 16px 16px}.title-row h1{font-size:25px}.title-row p{font-size:14px;max-width:28ch}.social-nav{gap:0;margin-top:20px}.social-nav button{padding:10px 14px;font-size:14px}.social-nav #routine-button{font-size:14px;padding-right:0}.tabs{margin-top:12px;gap:22px}.tab{font-size:14px}.work-layout{display:block}.queue-panel{padding-top:10px}#queue{padding-bottom:10px}.queue-item{min-width:210px;width:210px;padding:12px}.queue-item span{font-size:14px}.queue-item strong{font-size:14px}#editor-panel{padding:20px 0 0}.editor-top{margin-bottom:14px}#source{padding:14px;margin-bottom:18px}.source-heading{gap:6px}.source-heading a{font-size:14px;padding-left:4px}.followers{margin-left:50px;font-size:14px}.handle{font-size:14px}#source-text{font-size:16px}.view-switch{margin-top:12px}.replying-to{width:100%;margin:0 0 0 50px}#draft-text,.preview-text{font-size:17px;min-height:180px}.editor-meta{font-size:14px}.actions .primary{flex:1}.status-actions{margin-top:18px}.status-actions button{font-size:14px}.handoff-note{font-size:14px}#welcome h1{font-size:36px}}
.context-note{border-top:1px solid var(--line);margin-top:14px;font-size:14px;color:var(--muted)}.context-note summary{cursor:pointer;min-height:44px;padding-top:14px}.context-note #reason{border:0;padding:0;margin-top:0}.context-note summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media(max-width:700px){main{padding-top:16px}.title-row p{max-width:30ch}.social-nav{margin-top:14px}.tabs{margin-top:6px}.queue-item span{-webkit-line-clamp:1}.queue-item strong{margin-bottom:4px}}

/* Metadata stays readable and wraps instead of shrinking on phones. */
.editor-meta{flex-wrap:wrap}.source-heading{flex-wrap:wrap}.social-nav{flex-wrap:wrap}.tabs{flex-wrap:wrap}
@media(max-width:700px){.social-nav{gap:4px}.social-nav button{padding:10px}.social-nav #routine-button{margin-left:0;padding-right:10px}}
#notification-history{overflow-wrap:anywhere}.title-row .primary{white-space:nowrap}
