:root{--cw160-bg:#f3efe6;--cw160-panel:#fffdf8;--cw160-panel-2:#eee6d8;--cw160-text:#17201e;--cw160-muted:#59635f;--cw160-line:#283d3833;--cw160-shadow:#1116;--cw160-focus:#007f73;--cw160-attention:#bf6418;color-scheme:light}
html[data-commonweave-resolved-theme="dark"]{--cw160-bg:#071018;--cw160-panel:#0d1b24;--cw160-panel-2:#122832;--cw160-text:#eef8f6;--cw160-muted:#a9bfbb;--cw160-line:#9bd8cb35;--cw160-shadow:#000b;--cw160-focus:#79ead2;--cw160-attention:#ffc06d;color-scheme:dark}
html[data-commonweave-resolved-theme="dark"] body{background-color:var(--cw160-bg);color:var(--cw160-text)}
html[data-commonweave-resolved-theme="dark"] :where(.cwf104-head,.cwf104-tray,.ch142-control-band,.cw127-dialog>section,.cw127-dialog>form,.lsw-shell,.ls-instrument,.ffc144-rook,.ffc144-tabs,.ffc144-frame,.ac-display,.rc-shell,.rc-panel,.sheet-dialog .dialog-frame,.app-shell,.top,.main,.guide,.work,.workspace,.bottom){color:var(--cw160-text);border-color:var(--cw160-line);box-shadow:0 16px 48px var(--cw160-shadow)}
html[data-commonweave-resolved-theme="dark"] :where(input,textarea,select,option,.field input,.field textarea,.field select){background:#07141c;color:var(--cw160-text);border-color:var(--cw160-line)}
html[data-commonweave-resolved-theme="dark"] :where(.lsw-reader,.lsw-actions,.lsw-module,.ls160-pathbar,.ff160-request-card,.thread-card,.detail-section,.stat-card,.dialog-body,.guide,.work,.workspace){background-color:var(--cw160-panel);color:var(--cw160-text);border-color:var(--cw160-line)}
html[data-commonweave-resolved-theme="dark"] :where(p,small,.muted-copy,.lsw-reader p,.lsw-actions p){color:var(--cw160-muted)}
html[data-commonweave-resolved-theme="light"] :where(.cwf104-head,.cwf104-tray,.ch142-control-band,.cw127-dialog>section,.cw127-dialog>form,.lsw-shell,.ls-instrument,.ffc144-rook,.ffc144-tabs,.ffc144-frame){filter:none}
[data-cw160-theme],[data-cw160-review]{min-height:38px;padding:7px 10px;border:1px solid var(--cw160-line);border-radius:10px;background:var(--cw160-panel);color:var(--cw160-text);font:800 11px/1.1 Inter,system-ui,sans-serif;cursor:pointer}
[data-cw160-review]{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 6px;text-align:left;border-color:color-mix(in srgb,var(--cw160-attention) 68%,transparent)}
[data-cw160-review][hidden]{display:none!important}[data-cw160-review] b{display:grid;place-items:center;min-width:19px;height:19px;border-radius:99px;background:var(--cw160-attention);color:#111;font-size:10px}[data-cw160-review] small{grid-column:1/-1;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--cw160-muted);font-size:8px}
[data-cw160-theme]:focus-visible,[data-cw160-review]:focus-visible,.ff160-request-card button:focus-visible,.ls160-pathbar button:focus-visible,.ls160-pathbar select:focus-visible{outline:3px solid color-mix(in srgb,var(--cw160-focus) 72%,transparent);outline-offset:2px}
.ff160-request-card{margin-top:10px;padding:12px;border:1px solid var(--cw160-line);border-radius:13px;background:var(--cw160-panel);color:var(--cw160-text)}.ff160-request-card.is-funding{border-color:#f0b65388;background:color-mix(in srgb,var(--cw160-panel) 85%,#7a4b08 15%)}.ff160-request-card.is-active{border-color:#68d7a788}.ff160-request-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.ff160-request-card h3{margin:2px 0 8px;font-size:16px}.ff160-request-card header small,.ff160-request-card header span{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--cw160-muted)}.ff160-request-card dl{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);gap:5px 10px;margin:8px 0}.ff160-request-card dt{font-size:10px;font-weight:900;text-transform:capitalize;color:var(--cw160-muted)}.ff160-request-card dd{margin:0;font-size:11px;overflow-wrap:anywhere}.ff160-request-card>div:last-of-type{display:flex;flex-wrap:wrap;gap:8px}.ff160-request-card button{min-height:38px;padding:7px 11px;border:1px solid var(--cw160-focus);border-radius:9px;background:var(--cw160-panel-2);color:var(--cw160-text);font-weight:850}.ff160-request-card button[data-ff160-approve]{background:var(--cw160-focus);color:#062019}.ff160-funding{display:flex;justify-content:space-between;gap:10px;padding:8px;border-radius:8px;background:#7a4b0825}.ff160-funding span,.ff160-missing{color:var(--cw160-attention)}.ffc144-rook-message em{display:block;margin-top:4px;color:var(--cw160-muted);font-size:9px;font-style:normal}
.ls160-pathbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin:0 0 14px;padding:14px;border:1px solid var(--cw160-line);border-radius:15px;background:var(--cw160-panel);color:var(--cw160-text)}.ls160-pathbar small{display:block;margin-bottom:5px;font-weight:900;letter-spacing:.1em}.ls160-pathbar select{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--cw160-line);border-radius:9px;background:var(--cw160-panel-2);color:var(--cw160-text);font-weight:750}.ls160-pathbar p{margin:7px 0 0;color:var(--cw160-muted);font-size:12px}.ls160-pathbar>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));gap:7px}.ls160-pathbar button{min-height:42px;padding:8px 10px;border:1px solid var(--cw160-focus);border-radius:9px;background:var(--cw160-panel-2);color:var(--cw160-text);font-weight:850}.ls160-pathbar [data-ls160-generate]{background:var(--cw160-focus);color:#062019}.ls160-generator .ls160-research-toggle{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:12px;border:1px solid var(--cw160-line);border-radius:10px;background:var(--cw160-panel-2)}.ls160-generator .ls160-research-toggle input{margin-top:3px}.ls160-generator .ls160-research-toggle span,.ls160-generator .ls160-research-toggle small{display:block}.ls160-generator .ls160-research-toggle small{margin-top:3px;color:var(--cw160-muted)}
@media(max-width:820px){#cwf104-head{flex-wrap:wrap}.ls160-pathbar{grid-template-columns:1fr}.ls160-pathbar>div:last-child{grid-template-columns:1fr}.ff160-funding{display:grid}.ff160-request-card dl{grid-template-columns:1fr}.ff160-request-card dt{margin-top:5px}}
