.wep-panel{color:#4e5561;background:#fff;font:12px/1.5 Inter,"PingFang SC","Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums;padding:12px;container-type:inline-size;min-width:0;box-sizing:border-box}
.wep-panel button,.wep-panel input,.wep-panel select,.wep-panel textarea{font:inherit;box-sizing:border-box}
.wep-panel button,.wep-panel input,.wep-panel select{min-height:30px;border:1px solid #e5e8ed;border-radius:6px;background:#fff;color:#4e5561;padding:4px 8px}
.wep-panel button{cursor:pointer}.wep-panel button:hover{background:#f7f8fa;border-color:#cdd2da}.wep-panel button:disabled{opacity:.45;cursor:not-allowed}
body .wep-panel :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #d92d32 !important;outline-offset:2px}
.wep-panel button.wep-primary{background:#d92d32;border-color:#d92d32;color:#fff}.wep-panel button.wep-primary:hover{background:#c6272c}
.wep-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.wep-toolbar select{max-width:135px;appearance:none;-webkit-appearance:none;padding-right:22px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23737b87'/%3E%3C/svg%3E") right 6px center/12px no-repeat}.wep-toolbar [data-action=add]{margin-left:auto}.wep-toolbar input{width:132px}
.wep-status{font-size:11px;color:#737b87;margin:8px 0;min-height:17px;overflow-wrap:anywhere}.wep-status.wep-error{color:#b64032}
.wep-compose{border:1px solid #efd9db;border-radius:8px;padding:12px;margin:8px 0 12px;background:#fffafa}.wep-compose[hidden]{display:none}
.wep-compose-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.wep-compose-head>b{font-size:13px;color:#272b33}.wep-compose-head button{border:0;background:transparent;min-width:28px;font-size:18px}
.wep-search{position:relative}.wep-search input{width:100%;height:32px}.wep-search .ac-panel{max-height:210px;overflow:auto;z-index:20}.wep-search .ac-opt{border:0;border-radius:0;width:100%;text-align:left}
.wep-watch{display:flex;gap:5px;overflow-x:auto;padding:8px 0 4px}.wep-watch:empty{display:none}.wep-watch button{white-space:nowrap;flex-shrink:0;min-height:27px;font-size:11px;background:#fff}
.wep-chosen{font-size:11px;color:#737b87;margin:5px 0}.wep-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.wep-presets button{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 3px;gap:2px}.wep-presets button b{font-size:12px;font-weight:600}.wep-presets small{font-size:10px;white-space:nowrap}.wep-presets button[aria-pressed=true]{color:#c7353b;border-color:#ecc4c8;background:#fff1f1}
.wep-custom{margin-top:10px}.wep-custom summary,.wep-card summary{cursor:pointer;color:#737b87;font-size:11px;min-height:28px;line-height:28px}.wep-custom label{display:flex;gap:5px;align-items:center;flex-wrap:wrap;font-size:11px;margin:6px 0}.wep-custom input{width:65px}.wep-custom textarea{width:100%;border:1px solid #e5e8ed;background:#fff;border-radius:6px;padding:8px;resize:vertical;min-height:54px;color:#4e5561}.wep-custom>button{margin-top:6px}.wep-form-note{font-size:10px;color:#737b87;margin:8px 0 0}
.wep-summary{display:flex;gap:6px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:4px 0 8px;border-bottom:1px solid #e5e8ed}.wep-summary nav{display:flex;gap:4px}.wep-summary button{border:0;background:#f7f8fa;font-size:11px;min-height:28px}.wep-summary button[aria-pressed=true]{background:#fff1f1;color:#c7353b}.wep-summary b{font-weight:500;margin-left:3px}.wep-summary>span{font-size:10px;color:#737b87}
.wep-list{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}.wep-card{border:1px solid #e5e8ed;border-radius:8px;padding:10px 12px;min-width:0}.wep-card-head{display:flex;justify-content:space-between;gap:6px;align-items:center}.wep-card .wep-name{border:0;background:none;padding:0;min-height:28px;font-size:14px;font-weight:600;color:#272b33;text-align:left;overflow-wrap:anywhere}.wep-name small{display:block;font-size:10px;color:#737b87;font-weight:400}.wep-stage{font-size:10px;color:#737b87;white-space:nowrap}
.wep-expectation{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:9px}.wep-expectation b{font-size:12px;font-weight:500}.wep-expectation span{color:#737b87;font-size:11px}.wep-live{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}.wep-live strong{font-size:14px;font-weight:600}.wep-live small{font-size:10px;color:#737b87}.wep-badge{display:inline-block;padding:2px 6px;background:#f2f3f5;border-radius:4px;font-size:11px;color:#737b87}.wep-above{background:#fff1f1;color:#c7353b}.wep-below{background:#fff3df;color:#995e18}.wep-within{background:#eef5f1;color:#3d725a}.wep-panel .wep-up{color:#d92d32}.wep-panel .wep-down{color:#229d70}.wep-note{margin:6px 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.wep-original{font-size:10px;color:#737b87;background:#f7f8fa;padding:6px;border-radius:4px}.wep-original .wep-badge{font-size:10px}
.wep-timeline{margin:4px 0 8px;padding-left:18px}.wep-timeline li{margin:8px 0;padding-left:2px}.wep-timeline small{display:block;color:#737b87;font-size:10px}.wep-timeline span{font-size:11px}.wep-timeline p{margin:3px 0;overflow-wrap:anywhere;white-space:pre-wrap}.wep-review{display:flex;flex-wrap:wrap;gap:5px}.wep-review button{font-size:11px;min-height:28px}.wep-review button[aria-pressed=true]{background:#fff1f1;color:#c7353b;border-color:#efd4d5}.wep-review-time{display:block;color:#737b87;font-size:10px;margin-top:6px}.wep-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.wep-actions button{border:0;min-height:26px;font-size:11px;color:#737b87;padding:2px 4px}
.wep-empty{padding:28px 8px;text-align:center;color:#737b87;grid-column:1/-1}.wep-empty b{display:block;color:#4e5561;font-size:14px;font-weight:500}.wep-empty p{font-size:12px;margin:8px 0 14px}.wep-empty a{color:#c7353b}.wep-foot{font-size:10px;color:#737b87;padding-top:10px}.wep-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@container(min-width:760px){.wep-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:350px){.wep-panel .wep-presets small{font-size:10px}.wep-summary>span{display:none}.wep-toolbar{gap:4px}.wep-toolbar input{width:123px}.wep-toolbar select{max-width:105px}.wep-card{padding:9px}.wep-actions{justify-content:flex-start}}
:root[data-site-theme="dark"] .wep-panel{background:#1b2029;color:#c9cdd5}:root[data-site-theme="dark"] .wep-card{border-color:#373e49}:root[data-site-theme="dark"] .wep-compose{background:#252129}:root[data-site-theme="dark"] .wep-panel :is(input,select,textarea){background-color:#242a34;color:#d6dbe4;border-color:#424956}:root[data-site-theme="dark"] .wep-name,:root[data-site-theme="dark"] .wep-compose-head>b{color:#e0e4ec}

:is(#workspaceHome,.wc-max) .wep-panel button.wep-name{font-size:14px}.wep-panel .wep-note{font-size:12px}
/* The shared desktop control rule uses !important; keep this panel compact in both hosts. */
:is(#workspaceHome,.wc-max) #expectationsPanel :is(button,input,select,textarea){font-size:12px !important}
:is(#workspaceHome,.wc-max) #expectationsPanel button.wep-name{font-size:14px !important}
:is(#workspaceHome,.wc-max) #expectationsPanel .wep-form-note{font-size:10px !important}
@media(max-width:800px){#workspaceHome #wcCanvas .wc-panel[data-panel="expectations"]{height:auto !important;min-height:300px;max-height:680px}#workspaceHome #wcCanvas .wc-panel[data-panel="expectations"] .wc-panel-body{flex:0 1 auto;overflow:auto}}
.wep-discipline-picker{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.wep-discipline-picker button{flex:1;white-space:nowrap;font-size:11px}.wep-discipline-picker button[aria-pressed=true]{background:#fff1f1;color:#c7353b;border-color:#ecc4c8}
.wep-discipline{padding:9px 10px;border-left:3px solid #d9a655;background:#fff9ef;border-radius:4px;margin:10px 0}.wep-discipline b{display:block;font-size:13px;font-weight:600;color:#775727}.wep-discipline span{display:block;margin-top:3px;font-size:11px;color:#737b87;overflow-wrap:anywhere}
.wep-execute{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.wep-done{color:#3d725a;font-size:12px}.wep-execute button{min-height:32px}

@media (max-width:1024px) {
  :is(#workspaceHome,.wc-max) #expectationsPanel :is(.wep-foot,.wep-form-note,.wep-stage,.wep-original,.wep-review-time),
  :is(#workspaceHome,.wc-max) #expectationsPanel :is(.wep-presets,.wep-name,.wep-live,.wep-timeline) small,
  :is(#workspaceHome,.wc-max) #expectationsPanel .wep-original .wep-badge { font-size:11px !important; line-height:1.5; }
  :is(#workspaceHome,.wc-max) #expectationsPanel .wep-summary > span { display:block; font-size:11px; line-height:1.5; }
  :is(#workspaceHome,.wc-max) #expectationsPanel .wep-presets small { white-space:normal; }
  :is(#workspaceHome,.wc-max) #expectationsPanel :is(button,summary) { min-height:34px; }
  :is(#workspaceHome,.wc-max) #expectationsPanel :is(input:not([type=checkbox]):not([type=radio]),textarea) { font-size:16px !important; }
  :is(#workspaceHome,.wc-max) #expectationsPanel .wep-note { font-size:13px; }
}
