#yw-workbench {
  --yw-blue: #044bb5;
  --yw-navy: #0c1f3d;
  --yw-lime: #bbff5c;
  --yw-bg: #edf0f5;
  --yw-panel: #ffffff;
  --yw-ink: #0c1f3d;
  --yw-muted: #627089;
  --yw-line: #e2e7ef;
  --yw-accent: #044bb5;
  --yw-on-accent: #ffffff;
  --yw-soft: #eaf0fc;
  --yw-alert: #ac2947;
  --yw-section-gap: 24px;
  --yw-card-padding: 24px;
  --yw-control-inline: 12px;
  --yw-label-inline: 8px;
  --yw-label-block: 4px;
  --yw-field-gap: 16px;
  --yw-action-gap: 12px;
  --yw-main-inline: 32px;
  --yw-plan-header-height: 0px;
  color-scheme: light;
  color: var(--yw-ink);
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Segoe UI', 'Microsoft YaHei', sans-serif;
  max-width: 1320px;
  margin: 0 auto;
  text-align: left;
}
#yw-workbench * { box-sizing: border-box; }
#yw-workbench [hidden] { display: none !important; }
#yw-workbench button, #yw-workbench input, #yw-workbench select { font: inherit; color: inherit; }
#yw-workbench button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 10px; padding: 8px 16px; text-align: center; background: transparent; touch-action: manipulation; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, box-shadow .18s, transform .14s; }
#yw-workbench button:not(:disabled):active { transform: scale(.985); }
#yw-workbench button:hover { background: var(--yw-soft); }
#yw-workbench button:focus-visible, #yw-workbench input:focus-visible, #yw-workbench select:focus-visible, #yw-workbench summary:focus-visible { outline: 3px solid var(--yw-blue); outline-offset: 3px; }
#yw-workbench button:disabled { opacity: .65; cursor: default; }
#yw-workbench h2 { font-size: clamp(23px, 2.4vw, 31px); font-weight: 650; letter-spacing: -.7px; line-height: 1.35; margin: 8px 0 0; }
#yw-workbench h3 { font-size: 15px; font-weight: 650; letter-spacing: -.2px; margin: 0; }
#yw-workbench p { margin: 8px 0; }
#yw-workbench small { font-size: 12px; color: var(--yw-muted); }
#yw-workbench svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
#yw-workbench .yw-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); height: 100dvh; background: var(--yw-bg); border: 1px solid #dbe1ec; border-radius: 22px; overflow: hidden; }
#yw-workbench .yw-sidebar { display: flex; flex-direction: column; padding: 32px 16px 24px; background: var(--yw-navy); color: #ffffff; min-width: 0; min-height: 0; }
#yw-workbench .yw-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 40px; font-size: 15px; font-weight: 650; letter-spacing: -.3px; }
#yw-workbench .yw-brand small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; letter-spacing: 0; color: #aab8cc; }
#yw-workbench .yw-brand > div { flex: 1; min-width: 0; }
#yw-workbench .yw-mobile-menu { display: none; flex-shrink: 0; width: 44px; height: 44px; padding: 0; color: #fff; }
#yw-workbench .yw-mobile-menu:hover { background: #ffffff14; }
#yw-workbench .yw-logo { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 39px; height: 39px; border-radius: 12px; background: var(--yw-lime); color: var(--yw-navy); font-size: 23px; font-weight: 750; }
#yw-workbench .yw-logo-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--yw-blue); right: 7px; bottom: 8px; }
#yw-workbench .yw-nav-caption { padding: 0 16px; margin-bottom: 16px; color: #93a6c0; font-size: 11px; letter-spacing: 1px; }
#yw-workbench .yw-nav { display: grid; gap: 8px; position: relative; isolation: isolate; }
#yw-workbench .yw-selection-indicator { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 0; border-radius: 10px; background: var(--yw-lime); box-shadow: 0 4px 15px #00000012; }
#yw-workbench .yw-nav button, #yw-workbench .yw-plan-switch button { position: relative; z-index: 1; }
#yw-workbench .yw-nav.yw-has-indicator button[aria-current=page] { background: transparent; box-shadow: none; }
#yw-workbench .yw-nav button:not(:disabled):active, #yw-workbench .yw-plan-switch button:not(:disabled):active { transform: none; }
#yw-workbench .yw-nav button { display: flex; align-items: center; gap: 12px; color: #beccdf; text-align: left; padding: 12px 16px; border-radius: 10px; min-height: 47px; font-size: 13px; }
#yw-workbench .yw-nav button svg { width: 18px; height: 18px; opacity: .85; }
#yw-workbench .yw-nav button:hover { background: #1c3352; color: #ffffff; }
#yw-workbench .yw-nav button[aria-current=page] { background: var(--yw-lime); color: var(--yw-navy); font-weight: 650; box-shadow: 0 4px 15px #00000012; }
#yw-workbench .yw-nav button[aria-current=page] svg { opacity: 1; }
#yw-workbench .yw-side-note { margin: auto 8px 0; padding: 64px 8px 8px; color: #ffffff; }
#yw-workbench .yw-side-spark { display: inline-block; color: var(--yw-lime); font-size: 28px; }
#yw-workbench .yw-side-note p { line-height: 1.8; font-size: 17px; font-weight: 500; margin: 16px 0; }
#yw-workbench .yw-side-note small { font-size: 11px; color: #aab8cc; }
#yw-workbench .yw-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; padding: 24px 32px 16px; }
#yw-workbench .yw-top, #yw-workbench .yw-heading, #yw-workbench .yw-feedback { flex-shrink: 0; }
#yw-workbench .yw-view-stage { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; margin-right: calc(4px - var(--yw-main-inline)); padding-right: calc(var(--yw-main-inline) - 4px); overscroll-behavior-y: contain; overflow-anchor: none; }
#yw-workbench .yw-view-stage, #yw-workbench .yw-feedback { scrollbar-width: none; -ms-overflow-style: none; }
#yw-workbench .yw-view-stage::-webkit-scrollbar, #yw-workbench .yw-feedback::-webkit-scrollbar { display: none; width: 0; height: 0; }
#yw-workbench [data-panel] { display: flex; flex-direction: column; gap: var(--yw-section-gap); padding: 0 4px 4px 0; }
#yw-workbench [data-panel] > * { flex-shrink: 0; }
#yw-workbench [data-panel] > .yw-gap, #yw-workbench [data-panel] > .yw-progress-card { margin-top: 0; }
#yw-workbench .yw-page-header { display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; min-height: 0; }
#yw-workbench .yw-page-header .yw-intro, #yw-workbench .yw-page-header .yw-plan-toolbar, #yw-workbench .yw-page-header .yw-box-head { margin: 0; }
#yw-workbench .yw-page-header .yw-intro { line-height: 20px; }
#yw-workbench [data-panel="today"] > .yw-page-header { position: sticky; top: 0; z-index: 2; background: var(--yw-bg); }
#yw-workbench .yw-view-stage:has(> [data-panel="today"]:not([hidden])) { scroll-padding-top: calc(var(--yw-plan-header-height) + 12px); }
#yw-workbench .yw-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid #dce2ec; font-size: 11px; color: var(--yw-muted); }
#yw-workbench .yw-breadcrumb { display: flex; align-items: center; gap: 8px; }
#yw-workbench .yw-breadcrumb-slash { color: #a9b3c4; }
#yw-workbench #yw-crumb { color: var(--yw-ink); font-weight: 500; }
#yw-workbench .yw-demo { display: flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid #d6dfea; border-radius: 20px; font-size: 10px; background: #f8faff; color: #556780; }
#yw-workbench .yw-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yw-blue); }
#yw-workbench .yw-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; }
#yw-workbench #yw-current-date { font-size: 11px; font-weight: 500; letter-spacing: .3px; }
#yw-workbench .yw-person { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 3px solid #ffffff; border-radius: 50%; color: var(--yw-blue); background: #d9e5ff; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px #0c1f3d08; }
#yw-workbench .yw-intro { color: var(--yw-muted); font-size: 12px; margin: 0 0 24px; }
#yw-workbench .yw-plan-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
#yw-workbench .yw-plan-switch { display: flex; gap: 4px; background: #dfe5ef; border-radius: 10px; padding: 4px; position: relative; isolation: isolate; }
#yw-workbench .yw-plan-switch .yw-selection-indicator { background: #ffffff; border-radius: 7px; box-shadow: 0 2px 6px #0c1f3d0c; }
#yw-workbench .yw-plan-switch.yw-has-indicator button[aria-pressed=true] { background: transparent; box-shadow: none; }
#yw-workbench .yw-plan-switch button { min-height: 34px; padding: 6px 14px; color: #627089; font-size: 12px; border-radius: 7px; }
#yw-workbench .yw-plan-switch button[aria-pressed=true] { background: #ffffff; color: var(--yw-blue); box-shadow: 0 2px 6px #0c1f3d0c; }
#yw-workbench #yw-plan-date { font-size: 11px; }
#yw-workbench .yw-today-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--yw-section-gap); align-items: start; }
#yw-workbench .yw-stack { display: grid; gap: var(--yw-field-gap); }
#yw-workbench .yw-day-context { gap: var(--yw-section-gap); }
#yw-workbench .yw-box { min-width: 0; background: var(--yw-panel); border: 1px solid #e4e9f1; border-radius: 16px; padding: var(--yw-card-padding); box-shadow: 0 3px 12px #0c1f3d03; }
#yw-workbench .yw-box-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
#yw-workbench .yw-card-caption { color: #8290a4; font-size: 10px; white-space: nowrap; }
#yw-workbench .yw-record-head { flex-wrap: nowrap; }
#yw-workbench .yw-record-head > :first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#yw-workbench .yw-card-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#yw-workbench .yw-card-controls .yw-tag { white-space: nowrap; }
#yw-workbench button.yw-delete { width: 44px; height: 44px; min-height: 44px; padding: 0; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; color: var(--yw-muted); }
#yw-workbench button.yw-delete:hover { color: var(--yw-alert); background: #fff0f3; }
#yw-workbench .yw-delete-feedback { position: absolute; z-index: 6; bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; left: 16px; width: fit-content; max-width: calc(100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 16px; border: 1px solid var(--yw-line); border-radius: 14px; box-shadow: 0 8px 24px #0c1f3d24; background: #fff; font-size: 12px; }
#yw-workbench .yw-delete-feedback > span { min-width: 0; overflow-wrap: anywhere; }
#yw-workbench #yw-undo-delete { color: var(--yw-blue); white-space: nowrap; flex-shrink: 0; }
#yw-workbench #yw-task-count { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; color: var(--yw-blue); background: #edf3ff; border-radius: 6px; padding: var(--yw-label-block) var(--yw-label-inline); margin-left: 6px; vertical-align: middle; }
#yw-workbench .yw-muted { color: var(--yw-muted); font-size: 12px; overflow-wrap: anywhere; }
#yw-workbench .yw-tag { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; color: var(--yw-blue); background: #eaf0fc; padding: var(--yw-label-block) var(--yw-label-inline); border-radius: 6px; font-weight: 500; }
#yw-workbench .yw-gap { margin-top: var(--yw-section-gap); }
#yw-workbench .yw-empty { color: var(--yw-muted); font-size: 12px; padding: 16px 0; text-align: center; overflow-wrap: anywhere; }
#yw-workbench .yw-box.yw-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: var(--yw-card-padding); }
#yw-workbench .yw-text { padding: 8px var(--yw-control-inline); color: var(--yw-blue); text-align: center; font-size: 12px; box-shadow: none; }
#yw-workbench .yw-text:hover { background: #edf3ff; }
#yw-workbench .yw-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 0; }
#yw-workbench .yw-task-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #edf0f5; }
#yw-workbench .yw-task-row:last-child { border-bottom: 0; }
#yw-workbench .yw-task-label { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 13px; }
#yw-workbench .yw-task-label input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--yw-blue); }
#yw-workbench .yw-task-label small { display: block; font-size: 11px; margin-top: 5px; }
#yw-workbench .yw-task-label > span { display: block; min-width: 0; }
#yw-workbench .yw-task-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#yw-workbench .yw-task-label .yw-task-meta small { margin: 0; }
#yw-workbench .yw-task-group { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: #f0f3f8; padding: var(--yw-label-block) var(--yw-label-inline); border-radius: 4px; font-size: 11px; color: #61728c; }
#yw-workbench .yw-complete-badge { display: inline-flex; align-items: center; justify-content: center; text-align: center; border-radius: 4px; padding: var(--yw-label-block) var(--yw-label-inline); background: #e6f6cc; color: #34510f; font-size: 11px; font-weight: 500; }
#yw-workbench .yw-task-name, #yw-workbench .yw-leading, #yw-workbench p { overflow-wrap: anywhere; }
#yw-workbench .yw-done .yw-task-name { color: #52647b; text-decoration: none; }
#yw-workbench .yw-task-actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--yw-action-gap); flex-wrap: wrap; margin-left: auto; max-width: 100%; }
#yw-workbench .yw-task-actions button { font-size: 12px; padding: 8px 12px; min-height: 40px; flex-shrink: 0; white-space: nowrap; }
#yw-workbench .yw-task-actions .yw-text { color: #5d7190; }
#yw-workbench .yw-task-actions .yw-text:hover { color: var(--yw-blue); }
#yw-workbench .yw-task-row > .yw-task-actions { flex-wrap: nowrap; }
#yw-workbench .yw-pool-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
#yw-workbench .yw-pool-row > div:first-child { min-width: 0; font-size: 13px; }
#yw-workbench .yw-pool-row .yw-task-actions { flex-wrap: nowrap; }
#yw-workbench .yw-quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(106px, .85fr); align-items: end; gap: var(--yw-field-gap); margin-top: 16px; padding-top: 16px; border-top: 1px dashed #dce3ee; }
#yw-workbench .yw-quick > label:first-child { grid-column: 1 / -1; }
#yw-workbench .yw-field { display: grid; gap: 8px; min-width: 0; font-size: 11px; font-weight: 500; color: #65748c; }
#yw-workbench input:not([type=checkbox]), #yw-workbench select { min-width: 0; width: 100%; min-height: 44px; background: #f8faff; color: var(--yw-ink); border: 1px solid #e0e6f0; border-radius: 9px; padding: 10px 12px; font-size: 14px; font-weight: 400; transition: border-color .15s, background .15s, box-shadow .18s; }
#yw-workbench input::placeholder { color: #8b98ab; }
#yw-workbench input:not([type=checkbox]):focus, #yw-workbench select:focus { border-color: var(--yw-blue); background: #ffffff; box-shadow: 0 0 0 3px #044bb510; }
#yw-workbench .yw-primary { min-height: 44px; background: var(--yw-blue); color: #ffffff; font-size: 12px; padding: 10px 16px; box-shadow: 0 3px 7px #044bb514; }
#yw-workbench .yw-primary:hover { background: #073e91; color: #ffffff; }
#yw-workbench .yw-secondary { background: #ffffff; border: 1px solid #dce4f0; color: var(--yw-blue); font-size: 12px; }
#yw-workbench .yw-course-placeholder { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 16px; }
#yw-workbench .yw-course-empty-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: #edf3ff; color: var(--yw-blue); }
#yw-workbench .yw-course-empty-icon svg { width: 23px; height: 23px; }
#yw-workbench .yw-course-card .yw-empty { padding: 0; }
#yw-workbench .yw-course-card .yw-text { display: flex; justify-content: space-between; width: 100%; clear: both; }
#yw-workbench .yw-notices-card { background: #f8faff; }
#yw-workbench .yw-notices-card h3 { margin-bottom: 4px; }
#yw-workbench .yw-notice { display: block; text-align: left; width: 100%; padding: 16px 0; border-bottom: 1px solid #e1e7f1; font-size: 13px; }
#yw-workbench .yw-notice:last-child { border-bottom: 0; padding-bottom: 0; }
#yw-workbench .yw-notice small { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; color: #74829a; }
#yw-workbench .yw-project-grid, #yw-workbench .yw-money-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--yw-field-gap); }
#yw-workbench .yw-divider { height: 1px; background: #e6ebf2; margin: 24px 0; }
#yw-workbench .yw-money-value { font-size: 32px; font-weight: 650; letter-spacing: -.8px; font-variant-numeric: tabular-nums; color: var(--yw-blue); margin-top: 8px; }
#yw-workbench .yw-money-form { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: var(--yw-field-gap); align-items: end; margin-top: 16px; }
#yw-workbench .yw-feedback { height: 44px; overflow-y: auto; padding-top: 12px; color: var(--yw-blue); font-size: 12px; }
#yw-workbench .yw-error { color: var(--yw-alert); font-size: 12px; }
#yw-workbench .yw-lead-editor { display: grid; gap: var(--yw-field-gap); margin-top: 16px; padding-top: 16px; border-top: 1px solid #e2e7f0; }
#yw-workbench .yw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--yw-action-gap); }
#yw-workbench .yw-leading { color: var(--yw-muted); font-size: 11px; }
#yw-workbench .yw-personal-title { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
#yw-workbench .yw-personal-check { display: flex; align-items: center; gap: 8px; font-size: 12px; min-height: 40px; }
#yw-workbench .yw-personal-check input { width: 18px; height: 18px; accent-color: var(--yw-blue); }
#yw-workbench summary { font-weight: 600; font-size: 13px; }
#yw-workbench summary, #yw-workbench input[type=checkbox] { cursor: pointer; }
#yw-workbench #yw-personal-list, #yw-workbench #yw-lead-list, #yw-workbench #yw-project-list, #yw-workbench #yw-money-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
#yw-workbench #yw-personal-form > h3, #yw-workbench #yw-add-lead-form > h3 { margin-bottom: 3px; }
#yw-workbench .yw-progress-card { position: relative; overflow: hidden; padding: var(--yw-card-padding); margin-top: var(--yw-section-gap); border: 0; background: var(--yw-blue); color: #ffffff; box-shadow: 0 7px 20px #044bb519; }
#yw-workbench .yw-progress-card::before { content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: #ffffff06; top: -95px; right: 20px; pointer-events: none; }
#yw-workbench .yw-progress-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
#yw-workbench .yw-progress-head h3 { color: #ffffff; font-size: 13px; font-weight: 500; }
#yw-workbench .yw-progress-head .yw-muted { color: #d9e6ff; font-size: 11px; margin-top: 5px; }
#yw-workbench .yw-progress-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 24px; position: relative; }
#yw-workbench .yw-progress-ring { position: relative; flex-shrink: 0; aspect-ratio: 1; }
#yw-workbench .yw-progress-ring-total { width: 136px; justify-self: center; }
#yw-workbench .yw-ring-chart { display: block; width: 100%; height: 100%; overflow: visible; }
#yw-workbench .yw-ring-track, #yw-workbench .yw-ring-fill { fill: none; stroke-width: 8; }
#yw-workbench .yw-ring-track { stroke: #ffffff2e; }
#yw-workbench .yw-ring-fill { stroke: var(--yw-lime); transform: rotate(-90deg); transform-origin: 60px 60px; }
#yw-workbench .yw-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
#yw-workbench .yw-progress-percent { color: var(--yw-lime); font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; letter-spacing: -1px; }
#yw-workbench .yw-ring-caption { font-size: 11px; color: #d9e6ff; }
#yw-workbench .yw-progress-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 16px; padding-left: 24px; border-left: 1px solid #ffffff29; }
#yw-workbench .yw-progress-group { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
#yw-workbench .yw-progress-ring-category { width: 68px; }
#yw-workbench .yw-ring-category-percent { font-size: 15px; font-weight: 600; color: #ffffff; font-variant-numeric: tabular-nums; }
#yw-workbench .yw-progress-label { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: #ffffff; text-align: center; }
#yw-workbench .yw-progress-label span:last-child { color: #d9e6ff; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 11px; }
#yw-workbench.yw-phone { max-width: 390px; }
#yw-workbench.yw-phone { --yw-section-gap: 16px; --yw-card-padding: 16px; --yw-main-inline: 16px; --yw-plan-header-height: 0px; }
#yw-workbench.yw-phone .yw-shell { display: flex; flex-direction: column; }
#yw-workbench.yw-phone .yw-sidebar { padding: 16px; flex-shrink: 0; }
#yw-workbench.yw-phone .yw-brand { padding: 0 0 16px; }
#yw-workbench.yw-phone .yw-nav-caption, #yw-workbench.yw-phone .yw-side-note { display: none; }
#yw-workbench.yw-phone .yw-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#yw-workbench.yw-phone .yw-nav button { justify-content: center; font-size: 11px; padding: 8px 3px; gap: 8px; min-height: 39px; }
#yw-workbench.yw-phone .yw-nav button svg { width: 15px; height: 15px; }
#yw-workbench.yw-phone .yw-main { flex: 1; padding: 16px; }
#yw-workbench.yw-phone .yw-today-grid, #yw-workbench.yw-phone .yw-project-grid, #yw-workbench.yw-phone .yw-money-form, #yw-workbench.yw-phone #yw-personal-list, #yw-workbench.yw-phone #yw-lead-list, #yw-workbench.yw-phone #yw-project-list, #yw-workbench.yw-phone #yw-money-list { grid-template-columns: minmax(0, 1fr); }
#yw-workbench.yw-phone .yw-progress-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
#yw-workbench.yw-phone .yw-progress-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 0 0; border-left: 0; border-top: 1px solid #ffffff29; }
@media (max-width: 1080px) {
  #yw-workbench { --yw-main-inline: 24px; }
  #yw-workbench .yw-shell { grid-template-columns: 184px minmax(0, 1fr); }
  #yw-workbench .yw-sidebar { padding-right: 16px; padding-left: 16px; }
  #yw-workbench .yw-main { padding: 24px; }
  #yw-workbench .yw-today-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  #yw-workbench { --yw-section-gap: 16px; --yw-card-padding: 16px; --yw-main-inline: 16px; --yw-plan-header-height: 0px; }
  #yw-workbench .yw-shell { display: flex; flex-direction: column; border-radius: 17px; }
  #yw-workbench .yw-sidebar { padding: 16px; flex-shrink: 0; }
  #yw-workbench .yw-brand { padding: 0 0 16px; font-size: 15px; }
  #yw-workbench .yw-logo { width: 34px; height: 34px; font-size: 21px; border-radius: 10px; }
  #yw-workbench .yw-nav-caption, #yw-workbench .yw-side-note { display: none; }
  #yw-workbench .yw-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #yw-workbench .yw-nav button { justify-content: center; font-size: 11px; min-height: 39px; padding: 8px 3px; gap: 8px; }
  #yw-workbench .yw-nav button svg { width: 15px; height: 15px; }
  #yw-workbench .yw-main { flex: 1; padding: 16px; }
  #yw-workbench .yw-top { padding-bottom: 16px; font-size: 10px; gap: 8px; }
  #yw-workbench .yw-breadcrumb { gap: 8px; }
  #yw-workbench .yw-demo { font-size: 9px; padding: 3px 7px; }
  #yw-workbench .yw-heading { margin: 16px 0; gap: 8px; }
  #yw-workbench h2 { font-size: 23px; letter-spacing: -.6px; }
  #yw-workbench .yw-person { width: 32px; height: 32px; font-size: 11px; }
  #yw-workbench .yw-plan-toolbar { gap: 12px; }
  #yw-workbench .yw-plan-switch button { font-size: 11px; padding: 6px 11px; }
  #yw-workbench #yw-plan-date { font-size: 10px; }
  #yw-workbench .yw-today-grid, #yw-workbench .yw-project-grid, #yw-workbench .yw-money-form, #yw-workbench #yw-personal-list, #yw-workbench #yw-lead-list, #yw-workbench #yw-project-list, #yw-workbench #yw-money-list { grid-template-columns: minmax(0, 1fr); }
  #yw-workbench .yw-box { border-radius: 14px; }
  #yw-workbench .yw-progress-percent { font-size: 30px; }
  #yw-workbench .yw-progress-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #yw-workbench .yw-progress-ring-total { width: 124px; }
  #yw-workbench .yw-progress-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 0 0; border-left: 0; border-top: 1px solid #ffffff29; }
  #yw-workbench .yw-progress-ring-category { width: 62px; }
  #yw-workbench .yw-task-label { gap: 8px; }
  #yw-workbench .yw-task-row { gap: 12px; }
  #yw-workbench .yw-task-actions button { min-height: 44px; }
  #yw-workbench .yw-task-row .yw-task-actions button { min-width: 44px; font-size: 11px; padding-inline: 8px; }
  #yw-workbench .yw-pool-row .yw-task-actions button { font-size: 11px; padding-inline: 8px; }
  #yw-workbench .yw-intro { font-size: 11px; }
  #yw-workbench input:not([type=checkbox]), #yw-workbench select { font-size: 16px; }
  #yw-workbench .yw-money-value { font-size: 25px; }
}
@media (max-width: 359px) {
  #yw-workbench .yw-nav button { gap: 5px; }
  #yw-workbench .yw-nav button svg { width: 13px; height: 13px; }
  #yw-workbench h2 { font-size: 21px; }
  #yw-workbench .yw-demo { display: none; }
  #yw-workbench .yw-quick { grid-template-columns: minmax(0, 1fr) 108px; }
}
@media (pointer: coarse) {
  #yw-workbench button, #yw-workbench .yw-nav button, #yw-workbench .yw-task-actions button, #yw-workbench .yw-plan-switch button { min-height: 44px; }
  #yw-workbench .yw-task-label { padding: 8px 0; }
  #yw-workbench .yw-personal-check { min-height: 44px; }
}
@media (max-height: 800px) {
  #yw-workbench .yw-side-note { display: none; }
}
@media (max-width: 760px) {
  #yw-workbench .yw-top { display: none; }
  #yw-workbench .yw-sidebar { padding-block:12px; position:relative; z-index:4; }
  #yw-workbench .yw-brand { padding-bottom:0; }
  #yw-workbench .yw-mobile-menu { display:inline-flex; }
  #yw-workbench .yw-main { position:relative; padding-top:0; padding-bottom:max(8px,env(safe-area-inset-bottom)); }
  #yw-workbench.yw-native-header .yw-view-stage { margin-inline:-16px;padding-inline:16px; -webkit-overflow-scrolling:touch; }
  #yw-workbench .yw-native-nav { margin-inline:-16px; background:var(--yw-navy); }
  #yw-workbench .yw-native-nav .yw-nav { padding:12px 16px 20px; max-height:none; }
  #yw-workbench.yw-native-header .yw-heading { margin:20px 0 24px; }
  #yw-workbench [data-panel="today"] > .yw-page-header { gap:8px;padding-bottom:8px; }
  #yw-workbench.yw-nav-revealed .yw-native-nav .yw-nav { position:fixed;top:var(--yw-brand-bottom);left:var(--yw-brand-left);width:var(--yw-brand-width);z-index:6;background:var(--yw-navy);border-radius:0 0 18px 18px;box-shadow:0 14px 24px #0c1f3d24; }
  #yw-workbench .yw-feedback { position: absolute; left: 16px; right: 16px; bottom: max(8px, env(safe-area-inset-bottom)); z-index: 5; height: auto; max-height: 96px; padding: 8px 12px; border: 1px solid var(--yw-line); border-radius: 10px; background: #ffffff; box-shadow: 0 4px 20px #0c1f3d14; opacity: 0; visibility: hidden; pointer-events: none; }
  #yw-workbench.yw-feedback-visible .yw-feedback:not(:empty) { opacity: 1; visibility: visible; }

}
@media (hover: hover) and (pointer: fine) {
  #yw-workbench .yw-primary:not(:disabled):hover, #yw-workbench .yw-secondary:not(:disabled):hover { transform: translateY(-.5px); box-shadow: 0 4px 10px #044bb514; }
  #yw-workbench .yw-primary:not(:disabled):active, #yw-workbench .yw-secondary:not(:disabled):active { transform: translateY(0) scale(.985); }
}
html:has(#yw-workbench) { view-transition-name: none; }
#yw-workbench .yw-view-stage { view-transition-name: yw-content; }
#yw-workbench .yw-heading { view-transition-name: yw-heading; }
::view-transition { pointer-events: none; }
::view-transition-group(yw-content), ::view-transition-group(yw-heading) { animation-duration: 320ms; animation-timing-function: cubic-bezier(.4,0,.2,1); }
::view-transition-old(yw-content), ::view-transition-new(yw-content), ::view-transition-old(yw-heading), ::view-transition-new(yw-heading) { height: auto; mix-blend-mode: plus-lighter; }
::view-transition-old(yw-content) { animation: yw-dissolve-out 320ms cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(yw-content) { animation: yw-dissolve-in 320ms cubic-bezier(.4,0,.2,1) both; }
::view-transition-old(yw-heading) { animation: yw-dissolve-out 180ms cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(yw-heading) { animation: yw-dissolve-in 180ms cubic-bezier(.4,0,.2,1) both; }
@keyframes yw-dissolve-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes yw-dissolve-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #yw-workbench *, #yw-workbench *::before, #yw-workbench *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #yw-workbench button:not(:disabled):hover, #yw-workbench button:not(:disabled):active { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

#yw-workbench .yw-project-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#yw-workbench .yw-project-count { display: block; margin-top: 4px; font-size: 11px; }
#yw-workbench .yw-money-overview { margin-top: 4px; font-size: 11px; }
#yw-workbench [data-money-card] h3 { min-width: 0; overflow-wrap: anywhere; }
#yw-workbench .yw-settlement-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
#yw-workbench .yw-settlement-amounts > div { min-width: 0; }
#yw-workbench .yw-settlement-amounts small { display: block; font-size: 11px; overflow-wrap: anywhere; }
#yw-workbench .yw-settlement-amounts .yw-money-value { font-size: clamp(18px, 2vw, 24px); margin: 4px 0; letter-spacing: -.4px; overflow-wrap: anywhere; }
#yw-workbench .yw-money-caption { font-weight: 600; overflow-wrap: anywhere; }
#yw-workbench #yw-money-form #yw-ledger .yw-row { padding-block: 8px; }
#yw-workbench [data-project-card] h3 { overflow-wrap: anywhere; min-width: 0; }
#yw-workbench .yw-project-details { border-top: 1px solid var(--yw-line); padding-top: 16px; }
#yw-workbench .yw-project-details > summary { color: var(--yw-blue); font-weight: 500; font-size: 12px; min-height: 40px; display: list-item; align-content: center; }
#yw-workbench .yw-project-details[open] > summary { margin-bottom: 16px; }
#yw-workbench .yw-project-details .yw-row { padding-block: 8px; }
#yw-workbench .yw-modal { position: fixed; inset: var(--yw-modal-area-y) auto auto var(--yw-modal-area-x); translate: -50% -50%; width: min(640px, calc(var(--yw-modal-area-width) - 32px)); max-width: none; max-height: calc(var(--yw-modal-area-height) - 32px); margin: 0; padding: 0; overflow: hidden; border: 1px solid #ffffff80; border-radius: 20px; background: var(--yw-panel); color: var(--yw-ink); box-shadow: 0 8px 24px #0c1f3d26; }
#yw-workbench .yw-modal[open] { display: flex; flex-direction: column; animation: yw-modal-in 240ms cubic-bezier(.22,1,.36,1) both; }
#yw-workbench .yw-modal::backdrop { background: #0c1f3d66; backdrop-filter: blur(5px); clip-path: var(--yw-modal-area-clip); }
#yw-workbench .yw-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: var(--yw-card-padding); border-bottom: 1px solid var(--yw-line); }
#yw-workbench .yw-modal-head h3 { font-size: 18px; }
#yw-workbench .yw-modal-close { width: 44px; height: 44px; padding: 0; font-size: 26px; line-height: 1; color: var(--yw-muted); background: var(--yw-bg); border-radius: 50%; }
#yw-workbench .yw-modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
#yw-workbench .yw-modal-body::-webkit-scrollbar { display: none; }
#yw-workbench .yw-modal-body > form { border: 0; border-radius: 0; margin: 0; padding: var(--yw-card-padding); box-shadow: none; }
#yw-workbench .yw-modal-body > form > h3 { display: none; }
#yw-workbench .yw-shell { border-color: #dce2eb; box-shadow: 0 12px 40px #0c1f3d08; }
#yw-workbench .yw-sidebar { background: linear-gradient(165deg, #112846, var(--yw-navy) 65%); }
#yw-workbench .yw-box { border-radius: 20px; border-color: #ffffffd9; box-shadow: 0 2px 8px #0c1f3d04, 0 0 0 1px #0c1f3d04; }
#yw-workbench .yw-box-head h3 { font-weight: 600; }
#yw-workbench h2 { font-weight: 650; letter-spacing: -.8px; }
#yw-workbench .yw-field { gap: 8px; font-size: 12px; color: #566881; }
#yw-workbench input:not([type=checkbox]), #yw-workbench .yw-select-trigger { min-height: 48px; border-radius: 12px; padding: 12px; background: #f2f4f8; border: 1px solid #e3e8f0; box-shadow: none; }
#yw-workbench input:not([type=checkbox]):focus { background: #fff; border-color: #044bb55c; box-shadow: 0 0 0 3px #044bb50d; outline: none; }
#yw-workbench button:focus-visible, #yw-workbench summary:focus-visible { outline: 2px solid #044bb5a6; outline-offset: 2px; }
#yw-workbench .yw-primary, #yw-workbench .yw-secondary { border-radius: 12px; }
#yw-workbench .yw-primary { box-shadow: inset 0 1px 0 #ffffff24, 0 2px 5px #044bb514; }
#yw-workbench .yw-secondary { border-color: #e1e6ef; background: #ffffffb3; }
#yw-workbench input[type=number] { appearance: textfield; -moz-appearance: textfield; }
#yw-workbench input[type=number]::-webkit-inner-spin-button, #yw-workbench input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#yw-workbench input[type=checkbox] { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #aeb9c8; background: #fff; display: inline-grid; place-content: center; transition: background 150ms, border-color 150ms; }
#yw-workbench input[type=checkbox]:checked { background: var(--yw-blue); border-color: var(--yw-blue); }
#yw-workbench input[type=checkbox]:checked::after { content: ''; width: 8px; height: 4px; border: solid white; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
#yw-workbench input[type=checkbox]:focus-visible { outline: 2px solid #044bb5a6; outline-offset: 3px; }
#yw-workbench .yw-modal { border-radius: 24px; border-color: #ffffffd9; box-shadow: 0 24px 72px #0c1f3d26, 0 2px 8px #0c1f3d0d; }
#yw-workbench .yw-modal-head { background: #ffffffed; }
#yw-workbench .yw-modal-close { background: #f0f2f6; font-weight: 400; }
#yw-workbench .yw-modal::backdrop { background: #0c1f3d4d; backdrop-filter: blur(8px); }
#yw-workbench .yw-project-details > summary { list-style: none; display: flex; align-items: center; gap: 8px; }
#yw-workbench .yw-project-details > summary::-webkit-details-marker { display: none; }
#yw-workbench .yw-project-details > summary::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); transition: transform 180ms cubic-bezier(.22,1,.36,1); }
#yw-workbench .yw-project-details[open] > summary::before { transform: rotate(135deg); }
#yw-workbench .yw-select { display: block; position: relative; min-width: 0; width: 100%; }
#yw-workbench .yw-select > :is(select.yw-native-select,input.yw-native-date) { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
#yw-workbench button.yw-select-trigger { width: 100%; min-width: 0; color: var(--yw-ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 400; text-align: left; }
#yw-workbench .yw-select-trigger > svg { color: #8090a5; flex-shrink: 0; }
#yw-workbench .yw-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#yw-workbench .yw-select-trigger:hover { background: #eaf0f8; }
#yw-workbench .yw-select-trigger[aria-expanded=true] { border-color: #044bb54d; box-shadow: 0 0 0 3px #044bb50d; background: #fff; }
#yw-workbench .yw-select-trigger.yw-placeholder { color: #8190a5; }
#yw-workbench .yw-select-menu, #yw-workbench .yw-date-menu { position: fixed; inset: auto; z-index: 30; margin: 0; padding: 6px; border: 1px solid #ffffffef; border-radius: 16px; background: #fffffff5; color: var(--yw-ink); box-shadow: 0 12px 36px #0c1f3d26, 0 0 0 1px #0c1f3d0a; backdrop-filter: blur(20px) saturate(1.35); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; font: inherit; }
#yw-workbench .yw-select-menu::-webkit-scrollbar, #yw-workbench .yw-date-menu::-webkit-scrollbar { display: none; }
#yw-workbench button.yw-select-option { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; font-size: 14px; text-align: left; font-weight: 400; }
#yw-workbench .yw-select-option > span:first-child { min-width: 0; overflow-wrap: anywhere; }
#yw-workbench .yw-select-option[aria-selected=true] { color: var(--yw-blue); font-weight: 550; }
#yw-workbench .yw-select-option.yw-option-active { background: #edf2fc; }
#yw-workbench .yw-select-option[aria-disabled=true] { color: #a2abba; background: transparent; cursor: default; }
#yw-workbench .yw-option-check { width: 18px; flex-shrink: 0; text-align: center; font-weight: 600; color: var(--yw-blue); }
#yw-workbench .yw-date-menu { padding: 12px; }
#yw-workbench .yw-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
#yw-workbench .yw-calendar-head > div { display: flex; }
#yw-workbench .yw-calendar-head button { width: 44px; padding: 0; font-size: 26px; color: var(--yw-blue); }
#yw-workbench .yw-calendar-week, #yw-workbench .yw-calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; }
#yw-workbench .yw-calendar-week { color: var(--yw-muted); font-size: 11px; padding-block: 8px; }
#yw-workbench .yw-calendar-grid button { min-width: 0; min-height: 44px; height: 44px; width: 100%; padding: 0; border-radius: 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
#yw-workbench .yw-calendar-grid [aria-current=date] { color: var(--yw-blue); font-weight: 650; }
#yw-workbench .yw-calendar-grid [aria-pressed=true] { background: var(--yw-blue); color: #fff; }
#yw-workbench .yw-calendar-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--yw-line); margin-top: 8px; padding-top: 4px; color: var(--yw-blue); }
@media(max-width:760px) {
  #yw-workbench .yw-box { border-radius: 18px; }
  #yw-workbench .yw-select-trigger { font-size: 16px; }
  #yw-workbench .yw-modal { border-radius: 22px; }
}
#yw-workbench.yw-modal-open .yw-view-stage { overflow-y: hidden; }
@keyframes yw-modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 760px) {
  #yw-workbench .yw-modal { width: calc(var(--yw-modal-area-width) - 24px); max-height: calc(var(--yw-modal-area-height) - 24px); border-radius: 18px; }
  #yw-workbench .yw-modal-head, #yw-workbench .yw-modal-body > form { padding: var(--yw-card-padding); }
}
/* Timetable shares the existing card spacing and content-area dialogs. */
#yw-workbench .yw-timetable { display: grid; gap: 20px; }
#yw-workbench .yw-timetable > .yw-box-head { margin-bottom: 0; }
#yw-workbench .yw-week-actions { flex-wrap: nowrap; gap: 8px; }
#yw-workbench .yw-week-actions .yw-secondary { width: 44px; padding: 0; font-size: 24px; }
#yw-workbench .yw-course-event { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; min-width: 0; padding: 12px; border-radius: 12px; background: #eaf0fc; color: var(--yw-ink); text-align: left; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#yw-workbench .yw-course-event strong { font-weight: 600; }
#yw-workbench .yw-course-event small { font-size: 11px; color: #566881; }
#yw-workbench .yw-course-event .yw-course-period { color: var(--yw-blue); font-size: 11px; font-weight: 550; }
#yw-workbench .yw-course-event[data-tone="1"] { background: #edf4e6; }
#yw-workbench .yw-course-event[data-tone="2"] { background: #f1f3f8; }
#yw-workbench .yw-course-event[data-tone="3"] { background: #eef6f2; }
#yw-workbench .yw-course-event[data-tone="4"] { background: #edf0f7; }
#yw-workbench .yw-course-event:hover { filter: brightness(.98); }
#yw-workbench .yw-course-event.yw-course-inactive { background: #f4f5f7; color: #69778d; }
#yw-workbench .yw-course-event .yw-course-status { color: var(--yw-blue); font-weight: 550; }
#yw-workbench .yw-course-compact { display: grid; grid-template-columns: 70px minmax(0,1fr); column-gap: 12px; row-gap: 4px; padding: 14px; }
#yw-workbench .yw-course-compact .yw-course-period { grid-row: 1 / span 3; align-self: center; }
#yw-workbench .yw-course-compact :is(strong,small) { grid-column: 2; }
#yw-workbench .yw-course-empty { padding: 24px 12px; text-align: center; color: var(--yw-muted); font-size: 12px; }
#yw-workbench .yw-course-card > .yw-text { display: flex; justify-content: space-between; width: 100%; margin-top: 12px; }
#yw-workbench .yw-week-timetable table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; font-size: 12px; }
#yw-workbench .yw-week-timetable th { color: var(--yw-muted); font-weight: 500; text-align: center; padding: 8px 0; }
#yw-workbench .yw-week-timetable th:first-child { width: 40px; }
#yw-workbench .yw-week-timetable th small { display: block; font-size: 10px; margin-top: 4px; }
#yw-workbench .yw-week-timetable th[aria-current=date] { color: var(--yw-blue); }
#yw-workbench .yw-week-timetable td { height: 100px; vertical-align: top; background: #f8f9fb; border-radius: 12px; padding: 0; }
#yw-workbench .yw-week-timetable td > button + button { margin-top: 4px; }
#yw-workbench .yw-week-timetable .yw-course-event { min-height: 100px; }
#yw-workbench .yw-course-day-view { display: none; }
#yw-workbench .yw-course-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; padding: 4px; background: var(--yw-bg); border-radius: 14px; }
#yw-workbench .yw-course-days button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 10px 0 6px; color: var(--yw-muted); border-radius: 10px; font-size: 12px; }
#yw-workbench .yw-course-days button[aria-pressed=true] { background: white; color: var(--yw-blue); box-shadow: 0 1px 4px #0c1f3d0d; }
#yw-workbench .yw-course-days small { font-size: 13px; }
#yw-workbench .yw-course-dot { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
#yw-workbench .yw-has-course { background: var(--yw-blue); }
#yw-workbench .yw-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:1100px) {
  #yw-workbench .yw-week-timetable { display: none; }
  #yw-workbench .yw-course-day-view { display: grid; gap: 16px; }
}
@media(max-width:380px) {
  #yw-workbench .yw-timetable > .yw-box-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  #yw-workbench .yw-timetable > .yw-box-head .yw-week-actions { align-self: flex-end; }
  #yw-workbench .yw-course-compact { grid-template-columns: 60px minmax(0,1fr); gap: 4px 8px; padding: 12px; }
}
#yw-workbench .yw-course-time { display: block; white-space: nowrap; font-size: 10px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--yw-muted); margin-top: 3px; }
#yw-workbench .yw-course-compact { grid-template-columns: 88px minmax(0,1fr); }
#yw-workbench .yw-week-timetable th:first-child { width: 76px; }
#yw-workbench .yw-bell-times { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
#yw-workbench .yw-bell-times > div { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--yw-line); font-size: 12px; font-variant-numeric: tabular-nums; }
#yw-workbench .yw-bell-times > div > span:last-child { color: var(--yw-muted); white-space: nowrap; }
@media(max-width:760px) {
  #yw-workbench .yw-bell-times { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:380px) {
  #yw-workbench .yw-course-compact { grid-template-columns: 80px minmax(0,1fr); }
}
/* Desktop header follows content height, with title and date sharing a row. */
@media(min-width:761px) {
  #yw-workbench:not(.yw-phone) .yw-main { padding-top: 16px; }
  #yw-workbench:not(.yw-phone) .yw-top { padding-bottom: 10px; }
  #yw-workbench:not(.yw-phone) .yw-heading { margin: 12px 0 16px; gap: 12px; }
  #yw-workbench:not(.yw-phone) .yw-heading > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
  #yw-workbench:not(.yw-phone) .yw-heading h2 { order: -1; margin: 0; font-size: 26px; line-height: 1.35; }
  #yw-workbench:not(.yw-phone) #yw-current-date { white-space: nowrap; }
  #yw-workbench:not(.yw-phone) .yw-page-header { gap: 8px; }
  #yw-workbench:not(.yw-phone) [data-panel="today"] { gap: 16px; }
  #yw-workbench:not(.yw-phone) #yw-plan-intro { line-height: 18px; }
}
#yw-workbench .yw-lead-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
#yw-workbench .yw-student-tag { background: #edf4e6; color: #34510f; overflow-wrap: anywhere; max-width: 100%; }
#yw-workbench .yw-lead-tags { min-width: 0; margin: 0; padding: 0; border: 0; }
#yw-workbench .yw-lead-tags > legend { font-size: 12px; color: #566881; margin-bottom: 8px; padding: 0; }
#yw-workbench .yw-lead-tag-choices { display: flex; flex-wrap: wrap; gap: 8px; }
#yw-workbench .yw-lead-tag-choice { position: relative; display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; cursor: pointer; }
#yw-workbench .yw-lead-tag-choice input[type=checkbox] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
#yw-workbench .yw-lead-tag-choice > span { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--yw-line); color: var(--yw-muted); background: #f8f9fb; font-size: 12px; overflow-wrap: anywhere; transition: background 160ms, border-color 160ms, color 160ms; }
#yw-workbench .yw-lead-tag-choice input:checked + span { background: var(--yw-soft); color: var(--yw-blue); border-color: #044bb54d; }
#yw-workbench .yw-lead-tag-choice input:checked + span::before { content: '✓'; font-weight: 600; flex-shrink: 0; }
#yw-workbench .yw-lead-tag-choice input:focus-visible + span { outline: 2px solid #044bb5a6; outline-offset: 2px; }
#yw-workbench .yw-tag-create { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; margin-top: 12px; }
#yw-workbench .yw-tag-create input { min-width: 0; width: 100%; font-size: 14px; }
#yw-workbench .yw-tag-create button { white-space: nowrap; font-size: 12px; padding-inline: 12px; }
#yw-workbench [data-lead-tag-error]:not(:empty) { margin-top: 8px; }
@media(prefers-reduced-motion:reduce){#yw-workbench .yw-lead-tag-choice > span { transition: none; }}

html,body { height:100%; margin:0; overflow:hidden; background:#edf0f5; }
body { padding:16px; box-sizing:border-box; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif; }
#yw-workbench .yw-shell { height:calc(100dvh - 32px); }
#yw-workbench .yw-cloud-entry { display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;font-size:11px;color:var(--yw-muted); }
#yw-workbench .yw-cloud-entry > span:last-child { max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
#yw-workbench .yw-cloud-mobile { display:none; }
#yw-workbench .yw-cloud-dialog { position:fixed;inset:var(--cloud-y,50%) auto auto var(--cloud-x,50%);translate:-50% -50%;margin:0;border:1px solid #ffffffd9;border-radius:22px;width:min(560px,calc(var(--cloud-width,100vw) - 24px));max-height:calc(var(--cloud-height,100dvh) - 24px);padding:0;background:#fff;color:var(--yw-ink);box-shadow:0 24px 72px #0c1f3d26; }
#yw-workbench .yw-cloud-dialog[open] { display:flex;flex-direction:column; }
#yw-workbench .yw-cloud-dialog::backdrop { background:#0c1f3d4d;backdrop-filter:blur(8px);clip-path:var(--cloud-clip); }
#yw-workbench .yw-cloud-head { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid var(--yw-line);flex-shrink:0; }
#yw-workbench .yw-cloud-head button { width:44px;height:44px;padding:0;border-radius:50%;background:var(--yw-bg);font-size:26px;color:var(--yw-muted); }
#yw-workbench .yw-cloud-body { padding:24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;display:grid;gap:20px;min-height:0; }
#yw-workbench .yw-cloud-body > :is(p,form,section,div) { margin:0; }
#yw-workbench .yw-cloud-body section,#yw-workbench #yw-cloud-login { display:grid;gap:12px; }
#yw-workbench .yw-cloud-body section { border-top:1px solid var(--yw-line);padding-top:20px; }
#yw-workbench .yw-cloud-body h3 { font-size:14px; }
#yw-workbench .yw-cloud-body .yw-primary { justify-self:start; }
#yw-workbench .yw-cloud-body .yw-meta { display:flex;flex-wrap:wrap;gap:8px; }
#yw-workbench .yw-import-button { position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--yw-line);border-radius:12px;font-size:12px;cursor:pointer; }
#yw-workbench .yw-import-button input { position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer; }
#yw-workbench .yw-import-button:focus-within { outline:2px solid var(--yw-blue);outline-offset:2px; }
@media(max-width:760px) {
  body { padding:0; }
  #yw-workbench .yw-shell { height:100dvh;border:0;border-radius:0; }
  #yw-workbench .yw-sidebar,#yw-workbench.yw-compact-header .yw-sidebar { padding-top:max(16px,env(safe-area-inset-top)); }
  #yw-workbench .yw-cloud-mobile { display:inline-flex;min-width:44px;height:44px;padding:8px;color:#beccdf;font-size:12px; }
  #yw-workbench .yw-brand { gap:8px; }
  #yw-workbench .yw-cloud-head,#yw-workbench .yw-cloud-body { padding:16px; }
  #yw-workbench .yw-course-days button { min-height:60px; }
}
