/* A quiet, monochrome feed. Keep the companion and Telegram safe-area layout. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#101010;color:#f3f3f3;color-scheme:dark}
body{background:#101010}.atmosphere{display:none}.app{width:min(100%,660px)}
.header{border-bottom:1px solid #292929;padding-bottom:16px;height:52px}.wordmark{letter-spacing:-.045em;font-size:23px}.wordmark span{font-weight:700;opacity:1}.wordmark i{display:none}
h1{letter-spacing:-.045em}h2{letter-spacing:-.025em}.panel,.glass,.dashboard-connection,.dashboard-metrics,.dashboard-work,.autopilot-banner{background:#171717;border-color:#303030;box-shadow:none;backdrop-filter:none;border-radius:14px}
.panel-help,.dashboard-data-note,.dashboard-usage,.field small,.metrics-updated,.post-placeholder{color:#919191}.field input,.field textarea,.field select{background:#101010;color:#eee;border-color:#373737;border-radius:10px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#888}.field input[type=range],input[type=checkbox]{accent-color:#eee}
.solid-button,.earn-button,.studio-generate{background:#f5f5f5;color:#101010;border-color:#f5f5f5;box-shadow:none;border-radius:12px;font-weight:600}.earn-button svg{stroke:#101010}.earn-button:before{display:none}.earn-button:hover,.solid-button:hover{background:#ddd}.outline-button,.mic-button,.post-action{background:transparent;border:1px solid #3a3a3a;box-shadow:none;border-radius:10px;color:#eee}.mic-button{border-radius:50%}
.bottom-nav{background:#101010f5;border-color:#292929;box-shadow:none;backdrop-filter:blur(12px)}.bottom-nav button{color:#777}.bottom-nav button[aria-current=page],.bottom-nav button[aria-selected=true],.bottom-nav button.active{color:#fff;background:transparent}.bottom-nav button[aria-current=page]:after{background:#fff}
.settings{background:#181818;border-color:#383838}.app-menu button,.app-menu a{border-color:#303030;color:#eee}.dashboard-metrics strong,.dashboard-work strong{color:#f3f3f3}.dashboard-metrics span,.dashboard-work span,.connection-action{color:#999}.dashboard-section-heading button{color:#bbb}.autopilot-banner{color:#eee}.autopilot-banner small{color:#999}.autopilot-dot{box-shadow:none}.autopilot-nav-badge{background:#333;color:#fff}
.preset-grid button,.voice-shortcuts button,.intent-options button,.topic-suggestions button,.idea-card,.style-summary,.style-chip,.quick-actions button{background:#181818;border-color:#333;color:#ccc}button[aria-pressed=true],.preset-grid button[aria-pressed=true],.voice-shortcuts button[aria-pressed=true],.intent-options button[aria-pressed=true]{background:#292929;border-color:#888;color:#fff}
#screen-posts .filter-tabs{display:flex;border-bottom:1px solid #303030;gap:0;background:transparent;padding:0;border-radius:0}#screen-posts .filter-tabs button{flex:1;min-height:46px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#888;padding:10px 6px}#screen-posts .filter-tabs button[aria-pressed=true]{color:#f5f5f5;border-bottom-color:#f5f5f5;background:none}
#posts-hint{font-size:12px;line-height:1.6;margin:14px 0 4px}.thread-card{display:flex;gap:12px;padding:22px 0;border-bottom:1px solid #292929}.thread-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:1px solid #444;background:#222;border-radius:50%;font-weight:700;font-size:21px}.thread-body{min-width:0;flex:1}.thread-meta{display:flex;gap:10px;align-items:baseline;justify-content:space-between;font-size:13px}.thread-meta strong{overflow-wrap:anywhere}.thread-meta time{flex-shrink:0;color:#888;font-size:11px}.thread-text{font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 14px}.plan-state{font-size:11px;color:#999;margin:7px 0}.post-place{display:block;color:#aaa}.post-actions{display:flex;gap:8px;margin-top:12px}.post-action{min-height:36px;padding:7px 12px;font-size:12px}.post-action.primary{background:#f2f2f2;color:#111;border-color:#f2f2f2}.post-action:disabled{opacity:.5}.post-placeholder,.post-error{font-size:12px;line-height:1.6}.post-error{color:#e7a599}.post-metrics{display:flex;flex-wrap:wrap;gap:18px;margin:14px 0 10px}.post-metric{display:flex;align-items:center;gap:6px;color:#aaa;font-size:12px}.post-metric svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.metrics-updated{font-size:10px}.empty-state{padding:36px 8px;text-align:center}.empty-state h2{font-size:19px}.empty-state p{font-size:13px;line-height:1.7;color:#999}.empty-state button{margin-top:12px}#editor-plan-time{font-size:12px;line-height:1.6;color:#aaa}
@media(max-width:380px){.thread-meta{flex-wrap:wrap;gap:4px}.post-metrics{gap:13px}.thread-card{gap:9px}.thread-avatar{width:28px;height:28px;flex-basis:28px}.wordmark{font-size:21px}}

.sheet{background:#181818;border-color:#383838;color:#f3f3f3;box-shadow:0 20px 90px #0008}.sheet::backdrop{background:#0009}.screen-heading,.section-heading{margin-top:22px}
.dashboard-compose-row .earn-button{background:#f5f5f5;color:#101010;border-color:#f5f5f5}.dashboard-compose-row .earn-button svg{stroke:#101010}
.action-feedback{font-size:12px;line-height:1.65;color:#c8c8c8;min-height:1.65em;margin:9px 0}.action-feedback[data-error=true]{color:#e6a69d}.studio-bottom-action{padding:14px 0 8px}.studio-bottom-action .solid-button{font-size:15px}.preset-card[data-selected=true]{border-color:#aaa;background:#292929}.preset-card small[data-modified=true]{color:#e1cfb1}.voice-map-section{margin:18px 0 22px}.voice-map-heading{display:flex;align-items:center;justify-content:space-between}.voice-map-heading h3{font-size:14px;font-weight:500}.voice-map-heading button{background:none;color:#aaa;font-size:12px;padding:9px}.voice-map-wrap{position:relative;padding-top:24px}.voice-map{--voice-x:50%;--voice-y:50%;--voice-color:210,185,160;position:relative;height:250px;border-radius:18px;border:1px solid #49434f;overflow:hidden;touch-action:none;cursor:crosshair;background:radial-gradient(ellipse at var(--voice-x) var(--voice-y),rgba(var(--voice-color),var(--voice-alpha,.38)),transparent 50%),linear-gradient(90deg,#1c102d 0%,#19161f 50%,#2c2417 100%);box-shadow:inset 0 0 40px #0004;transition:box-shadow .15s}.voice-map:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#cbb9dd0c 1px,transparent 1px),linear-gradient(90deg,#cbb9dd0c 1px,transparent 1px);background-size:10% 10%;pointer-events:none}.voice-map:focus-visible{outline:2px solid #cbb8e2;outline-offset:4px}.map-cross{position:absolute;background:#d1c4df40;pointer-events:none}.map-cross-x{top:50%;left:0;right:0;height:1px}.map-cross-y{left:50%;top:0;bottom:0;width:1px}.map-origin{position:absolute;top:51%;left:52%;font-size:10px;color:#c2b5cf}.map-point{position:absolute;left:clamp(8px,var(--voice-x),calc(100% - 8px));top:clamp(8px,var(--voice-y),calc(100% - 8px));width:16px;height:16px;border:2px solid #fff7ec;border-radius:50%;background:rgb(var(--voice-color));box-shadow:0 0 12px 3px rgba(var(--voice-color),.65),0 0 40px 12px rgba(var(--voice-color),.24);transform:translate(-50%,-50%);pointer-events:none}.map-corner{position:absolute;font-size:10px;pointer-events:none;color:#c9c0d0}.map-nw{left:13px;top:12px}.map-ne{right:13px;top:12px;color:#ddcdac}.map-sw{left:13px;bottom:12px}.map-se{right:13px;bottom:12px;color:#ddcdac}.map-axis{font-size:10px;color:#999}.map-top{position:absolute;top:0;left:50%;transform:translateX(-50%)}.map-axis-row{display:flex;justify-content:space-between;font-size:10px;color:#999;padding-top:9px}.map-axis-row span:first-child{color:#b59acc}.map-axis-row span:last-child{color:#dbc18d}.voice-map-reading{display:grid;gap:5px;margin-top:15px}.voice-map-reading strong{font-size:15px}.voice-map-reading span{color:#aaa;font-size:12px}.voice-map-reading small{color:#777;font-size:10px}.mix-formats{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.mix-chip{background:#222;border:1px solid #444;color:#bbb;padding:9px 12px;border-radius:20px;font-size:12px}.mix-chip[aria-pressed=true]{color:#fff;border-color:#aaa;background:#333}.mix-toggle{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;margin:12px 0}.post-error{font-size:11px}.post-metric-update{min-height:36px}
@media(prefers-reduced-motion:reduce){.voice-map{transition:none}}
.map-floating{position:absolute;left:clamp(88px,var(--voice-x),calc(100% - 88px));top:clamp(40px,var(--voice-y),calc(100% - 25px));transform:translate(-50%,-170%);padding:5px 8px;border-radius:8px;background:#17121fcc;border:1px solid rgba(var(--voice-color),.3);color:#eee;font-size:10px;white-space:nowrap;pointer-events:none;box-shadow:0 3px 15px #0003}
/* The voice map is the single visible tone control in the composer. */
#screen-studio [hidden]{display:none!important}
#screen-studio .voice-map{height:190px}
#screen-studio .voice-map-section{margin:8px 0 12px}
#screen-studio .voice-map-heading h3{margin:0}
#screen-studio .voice-map-reading{margin-top:8px}
#screen-studio .voice-map-reading strong{display:none}
#screen-studio .style-preview{margin:12px 0 22px;padding:14px 0;border-bottom:1px solid #333}
#style-sample{font-size:16px;line-height:1.55;margin:10px 0}
#screen-studio .style-preview small{color:#888;font-size:11px}
#studio-form{display:flex;flex-direction:column}
#reference-panel{order:9}
#studio-details{order:10}
#studio-status{min-height:1.5em}
.reference-feed{display:grid;gap:12px;margin-top:12px}
.reference-card{padding:16px;border:1px solid #333;border-radius:14px;min-width:0}
.reference-card strong{font-size:12px;color:#aaa}
.reference-card p{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto}
.reference-card a{font-size:11px;color:#aaa;display:inline-block;margin:0 12px 10px 0}
.reference-use{display:block;width:100%;min-height:42px}
.reference-selected{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #64533c;border-radius:10px;padding:10px;font-size:12px;color:#ddc694;margin-top:12px}
.reference-selected button{background:none;color:inherit;font-size:20px}
.archive-post{display:block;width:100%;text-align:left;white-space:pre-wrap;padding:14px 0;border:0;border-bottom:1px solid #333;background:transparent;color:#aaa;font-size:13px;line-height:1.5}
.bottom-nav .nav-compose svg{background:#242424;border:1px solid #444;border-radius:10px;padding:6px;width:36px;height:36px}
.bottom-nav .nav-compose[aria-current=page] svg{background:#eee;color:#111}
#studio-use-auto{margin:16px 0}
/* Minimal composer and tactile controls. The full hit area belongs to the mood pad. */
[hidden]{display:none!important}
#screen-studio .voice-map{height:210px;isolation:isolate;overscroll-behavior:contain;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:radial-gradient(ellipse at var(--voice-x) var(--voice-y),rgba(var(--voice-color),.55),transparent 55%),linear-gradient(90deg,#34105d 0%,#190e29 46%,#29221a 55%,#6c4b16 100%)}
#screen-studio .map-axis-row{font-size:12px;font-weight:600}
#screen-studio .map-axis-row span:first-child{color:#c597ff}
#screen-studio .map-axis-row span:last-child{color:#ffdc85}
#screen-studio .voice-map-reading{min-height:38px}
#screen-studio .voice-map-reading small{display:none}
#screen-studio #reference-panel{order:20;margin-top:24px;border-top:1px solid #39352e;padding-top:18px;background:transparent}
#reference-panel>summary{display:flex;align-items:center;gap:12px;color:#e0c98d;list-style:none;font-size:14px}
#reference-panel>summary::-webkit-details-marker{display:none}
#reference-panel>summary .threads-mark{font-size:25px;color:#eee}
#reference-panel>summary span:last-child{margin-left:auto}
.text-link{display:block;background:none;border:0;color:#888;font-size:12px;padding:18px 0;text-align:left}
#posts-history-toggle{margin-top:25px}
.mix-toggle{display:flex;gap:12px;border:1px solid #454545;border-radius:12px;padding:14px;align-items:center;min-height:52px;cursor:pointer}
.mix-toggle:has(input:checked){background:#242424;border-color:#ddd;color:#fff}
.mix-toggle input{appearance:none;-webkit-appearance:none;flex:0 0 24px;width:24px;height:24px;border:1px solid #777;border-radius:7px;margin:0;background:#111;display:grid;place-items:center}
.mix-toggle input:checked{background:#f4f4f4;border-color:#f4f4f4}
.mix-toggle input:checked:before{content:'✓';font-size:18px;font-weight:700;color:#111}
.mix-chip{min-height:44px;font-size:13px;border-radius:10px;padding:10px 13px;-webkit-tap-highlight-color:transparent}
.mix-chip[aria-pressed=true]{background:#eee;color:#111;border-color:#eee;font-weight:600;box-shadow:0 0 0 1px #eee}
.quiz-progress{display:flex;justify-content:space-between;font-size:12px;color:#999;margin:22px 0 10px}
#profile-progress{display:block;width:100%;height:4px;appearance:none;border:0;background:#333;border-radius:4px;accent-color:#eee}
#profile-progress::-webkit-progress-bar{background:#333;border-radius:4px}
#profile-progress::-webkit-progress-value{background:#eee;border-radius:4px;transition:width .2s}
.quiz-card{padding:28px 0;min-height:270px}
.quiz-card h2{font-size:26px;line-height:1.25;letter-spacing:-.5px;margin:10px 0 12px}
.quiz-card textarea{min-height:125px;font-size:16px}
.quiz-card input{font-size:16px}
.quiz-dictate{background:#222;border:1px solid #444;color:#eee;border-radius:24px;min-height:44px;padding:9px 16px;font-size:13px}
.quiz-dictate[aria-pressed=true]{background:#eee;color:#111}
.quiz-actions{display:flex;gap:12px;margin-bottom:24px}
.quiz-actions .solid-button{flex:1}
.quiz-history-card{padding:18px 0;border-bottom:1px solid #333}
.quiz-history-card p{white-space:pre-wrap;font-size:14px;line-height:1.6}
.quiz-history-card small{display:block;color:#888;font-size:11px;margin:8px 0}
.quiz-select{border-radius:10px;background:#222;border:1px solid #555;color:#ddd;padding:10px 12px;min-height:44px;font-size:12px}
.quiz-select[aria-pressed=true]{background:#eee;color:#111;border-color:#eee}
.quiz-history-card a{color:#888;font-size:11px;margin-left:12px}
.threads-logo{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:0 0 24px}
#screen-profile>#connect-threads,#screen-profile>.screen-heading .eyebrow{display:none}
#voice-note-panel h2{font-size:15px;margin:0 0 12px;font-weight:500}
[data-autopilot=recovering] .autopilot-dot,[data-autopilot=deferred] .autopilot-dot{background:#c9b283}
