/* Presentation only. Tokens adapted from workbuddy-style-release/files/control-center/app/globals.css. */
.sidebar .brand{display:flex;align-items:center;gap:10px}.sidebar .brand:before{display:none}.sidebar .brand img{display:block;flex-shrink:0;border-radius:7px}.sidebar .brand span{margin-left:0}
:root{--bg:#fefefe;--panel:#fff;--border:#dcdee3;--border-muted:#e8eaed;--text:#1a1a1a;--text-secondary:#5c5c5c;--muted:#707680;--accent:#1677ff;--accent-soft:#eef2ff;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Roboto,sans-serif;font-size:14px;color:var(--text);background:var(--bg)}
body{line-height:1.6}.isolation{background:#fff8e9;color:#80632f;border-bottom:1px solid #f0e6ce;font-size:11px;padding:7px 16px}.shell{grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 33px)}.sidebar{background:#fafbfc;color:var(--text);border-right:1px solid var(--border-muted);padding:24px 14px;min-width:0}.brand{font-size:19px;letter-spacing:-.5px;padding:0 12px}.brand:before{content:"";display:inline-block;width:10px;height:10px;margin-right:9px;border-radius:3px;background:#3274df}.brand span{font-size:11px;letter-spacing:0;color:#69717e;margin:5px 0 0 20px}nav{margin-top:30px;gap:5px}nav button{color:#5c6470;font-size:13px;padding:11px 13px;border:1px solid transparent;border-radius:8px}nav button:hover{background:#f0f2f5}nav button.active{background:var(--accent-soft);color:#245ab0;border-color:#dde5f8}.sidefoot{color:#7c8490;border-top:1px solid var(--border-muted);padding:18px 12px 0;font-size:11px}.sidefoot p{color:#86909d}main{padding:0 32px 28px;background:var(--panel)}header{padding:22px 0 20px;border-bottom:1px solid var(--border-muted);margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1px;color:#7c8490}h1{font-size:23px;letter-spacing:-.4px;font-weight:600;margin:4px 0}h2{font-size:19px;font-weight:600}h3{font-size:14px;font-weight:600}.filters{gap:10px}label{font-size:11px;color:#69717d;gap:5px}select,input,textarea{color:var(--text);border:1px solid var(--border);border-radius:8px;font-size:13px;padding:8px 11px}textarea{min-height:106px;border-radius:12px;padding:13px;resize:vertical;line-height:1.7}button{border-color:var(--border);color:#505967;font-size:13px;padding:9px 13px;border-radius:8px}button:hover{background:#f5f7fa}button.primary{background:#3274df;border-color:#3274df;color:white;box-shadow:0 2px 4px #3274df15}button.primary:hover{background:#2865c5}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #1677ff;outline-offset:3px}.hero{background:#f7f9fc;border:1px solid #e8edf5;padding:25px 27px;border-radius:var(--radius);margin-bottom:20px}.hero h2{margin:8px 0}.hero p{font-size:13px;color:#707784;margin:6px 0}.badge,.eyetag{font-size:11px;padding:3px 8px;border-radius:6px;background:#f0f3f8;color:#63738a}.badge.pending{background:#fff4e0;color:#896220}.stats{gap:14px;margin:18px 0}.card{border-color:var(--border-muted);border-radius:12px;padding:20px;box-shadow:none}.stat{font-size:12px;color:#747b87}.stat strong{font-size:28px;font-weight:600;line-height:1.4;color:#252e3c;margin-top:7px}.muted{font-size:12px;color:#707784}.sectionhead{margin:25px 0 13px}.sectionhead h2{margin:8px 0}.tasklist{gap:10px}.task{padding:18px 20px}.task:hover{border-color:#cbd9ed;background:#fdfdff}.task h3{font-size:15px}.task p{font-size:11px}.detail{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.stack{gap:16px}.steps{gap:7px;margin:15px 0 22px}.step{background:#f4f5f7;color:#727984;border:1px solid #e8eaed;font-size:11px;padding:7px 11px}.step.active{background:var(--accent-soft);color:#245ab0;border-color:#cad9f4}.helper{background:#fafbfe;border:1px solid #e0e6f0;border-radius:16px;padding:21px}.helper h3{font-size:15px;color:#2c4670}.helper p,.helper li{font-size:12px;color:#687486}.helper button{background:white}.evidence{border-left:2px solid #bdcfee;background:#f8faff;padding:12px 15px;border-radius:0 8px 8px 0;font-size:12px;color:#5b6d87;line-height:1.9}.success{background:#eff7f1;color:#3a6b49;border:1px solid #dfebdf;font-size:12px}.error{background:#fff2ef;color:#a65047;border:1px solid #f0d8d1;font-size:12px}.log{color:#717986;border-color:#eff0f3;font-size:11px}.empty{font-size:13px;color:#79818e}footer{border-top:1px solid var(--border-muted);padding-top:16px;color:#818996;font-size:11px}.grid{gap:16px}
@media(min-width:1450px){main{padding-left:48px;padding-right:48px}}@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.detail{grid-template-columns:1fr}.brand{font-size:17px}.sidebar{padding:22px 10px}.filters{flex-wrap:wrap}}@media(max-width:720px){.shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border-muted);padding:15px 12px}.brand{font-size:18px}.brand span,.sidefoot{display:none}nav{margin-top:14px;display:flex;gap:4px;flex-wrap:wrap}nav button{padding:8px 10px;font-size:12px}main{padding:0 16px 24px}header{padding:18px 0;gap:15px}.hero{padding:20px}.stats,.grid{grid-template-columns:1fr}.filters{width:100%}.detail{display:block}.helper{margin-top:16px}.task{grid-template-columns:1fr}.isolation{font-size:10px}}

/* Wrap narrow panels without clipping content. */
header,.hero,.sectionhead{flex-wrap:wrap}
header>div,.hero>div,.sectionhead>div,.task>div,.filters,label,.card,.helper{min-width:0}
.filters{flex-wrap:wrap;max-width:100%}.filters label{flex:1 1 130px}
select{width:100%;min-width:0;max-width:100%}
.card,.helper,.hero,.scope-note,.log,.evidence{overflow-wrap:anywhere}
.task{grid-template-columns:minmax(0,1fr) auto}.task button{white-space:normal}
.hero>div{flex:1 1 280px}.hero>.badge{flex-shrink:0;max-width:100%}
.scope-note{padding:16px 20px;background:#fafbfc;border:1px solid var(--border-muted);border-radius:12px;color:var(--text-secondary);font-size:12px}.scope-note p{margin:6px 0}
.flow-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.flow-card p{margin:4px 0}.flow-card button{margin-top:auto}.flow-card h3{font-size:16px}
.workgroup{border-top:1px solid var(--border-muted);margin-top:24px;padding-top:16px}.workgroup summary{cursor:pointer;font-weight:600;padding:6px 0}.workgroup .tasklist{margin-top:12px}
@media(min-width:721px) and (max-width:1100px){header{align-items:flex-start;flex-direction:column;gap:14px}.filters{width:100%}.grid{grid-template-columns:1fr}main{padding-left:22px;padding-right:22px}.task{grid-template-columns:1fr}.task button{justify-self:start}}
@media(max-width:720px){.task{grid-template-columns:1fr}.task button{justify-self:start}.sectionhead{align-items:flex-start}.hero>div{flex-basis:auto}.hero{align-items:flex-start}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:12px 9px}.stat strong{font-size:24px}.filters{gap:8px}nav button{flex:1 1 auto}header{margin-bottom:18px}.card{padding:16px}.empty{padding:24px 16px}}

fieldset{min-width:0;border:1px solid var(--border-muted);border-radius:10px;padding:12px}legend{font-size:12px;color:var(--text-secondary)}input{min-width:0;max-width:100%;width:100%}.checkrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.checkrow label{display:flex;align-items:center;gap:6px}.checkrow input,input[type=checkbox]{width:auto;flex-shrink:0}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}form{margin-top:14px}summary{cursor:pointer;font-weight:600;padding:8px 0}blockquote{margin:0;padding:12px;border-left:3px solid #bdcfee;background:#f8faff;overflow-wrap:anywhere}.stack>p,.stack>h3{margin:0}.stack{align-content:start}form button{justify-self:start}.card>details{min-width:0}

audio{width:100%;max-width:100%}input[type=file]{font-size:12px;padding:8px}

.metric-table{display:grid;gap:8px}.metric-table>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border-muted);padding:8px}.readonly-card{padding:0;border:0;min-width:0}.readonly-card textarea,.readonly-card input,.readonly-card select{opacity:1;color:#505967;background:#fafbfc}.readonly-card .card{margin-bottom:16px}.tasklist>.card.stack{margin-top:10px}.detail>div,.detail form{min-width:0}
