.work-board{max-width:1500px;margin:auto;padding:22px 20px 100px;min-width:0}.work-board h1{font-size:26px;line-height:1.4;overflow-wrap:anywhere;margin:8px 0 18px}.work-heading,.work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.work-toolbar{justify-content:flex-start;margin:18px 0}.work-toolbar>.gw-field{margin:0;min-width:150px}.work-notice:not(:empty){padding:12px 16px;background:#edf7f1;border:1px solid #c2ded0;border-radius:10px;margin-bottom:18px}.work-notice p{margin:4px 0}.work-filter-summary,.work-count{font-size:13px;color:#536b67;line-height:1.8;overflow-wrap:anywhere}.work-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.work-column{background:#eef3f1;border-radius:12px;padding:12px;min-width:0;border:1px solid #dce6e1}.work-column-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:14px}.work-column h2{font-size:15px;margin:0;flex:1;white-space:nowrap}.work-column-add{min-width:38px;min-height:38px;border:0;background:#fff;border-radius:8px;font-size:22px;color:#176556}.work-column-cards{display:grid;gap:12px}.work-card{background:#fff;border:1px solid #d8e3de;border-radius:10px;padding:14px;box-shadow:0 2px 5px #15362e06;min-width:0}.work-card button{text-align:left;max-width:100%;overflow-wrap:anywhere;border:0;cursor:pointer;white-space:normal;font:inherit}.work-customer{display:block;background:#e4f3ed;color:#165e4e;padding:5px 8px;border-radius:5px;font-size:12px!important;line-height:1.6!important;width:fit-content;border:0;overflow-wrap:anywhere;text-align:left}.work-project{display:block;font-size:12px!important;line-height:1.65!important;color:#526a64;background:none;padding:9px 0 10px;border:0;overflow-wrap:anywhere;text-align:left}.work-title{display:block;background:none;padding:10px 0 14px!important;font-size:15px!important;font-weight:700!important;line-height:1.65!important;border-top:1px solid #edf1ef!important;color:#16392f;width:100%}.work-title:hover{text-decoration:underline}.work-card-info{display:flex;gap:6px 10px;flex-wrap:wrap;font-size:11px;line-height:1.8;color:#697873;overflow-wrap:anywhere}.work-tag{border:1px solid #dce7e0;border-radius:4px;padding:0 5px}.work-unset{color:#7a8882;background:none}.work-overdue{color:#af433b;font-weight:600}.work-card-archived{background:#f5f5f2;border-style:dashed}.work-detail-form{max-width:760px;background:#fff;border:1px solid #dce6e0;border-radius:12px;padding:20px;margin:20px 0}.work-detail-form textarea{font:inherit;box-sizing:border-box;width:100%;border:1px solid #bdcecc;border-radius:6px;padding:12px}.work-board select,.work-dialog select{font:inherit;font-size:16px;border:1px solid #bdcecc;background:#fff;color:#243f35;border-radius:6px;min-height:44px;max-width:100%;padding:9px}.work-dialog select[multiple]{min-height:96px}.work-dialog{width:620px}.work-dialog textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid #bdcecc;border-radius:6px;padding:10px}.work-detail-location{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.work-classification-hint,.work-create-context{font-size:13px;line-height:1.8;color:#49695b}.work-browse-link,.work-related{display:block;text-align:left;width:100%;background:#f5f8f6;border:1px solid #d9e5de;border-radius:7px;padding:12px;margin:8px 0;line-height:1.65;overflow-wrap:anywhere;font:inherit;color:#214d3c}.work-attribute{border-left:3px solid #aecbbb;padding:2px 18px;margin-top:16px}.work-attribute .board-markdown:empty{display:none}.work-history{padding:12px 0;border-bottom:1px solid #dae5df;font-size:13px;overflow-wrap:anywhere}.work-history summary{cursor:pointer;line-height:1.7}.work-history p{margin:8px 0}.work-tag-manage{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0}.work-board .board-shell{padding:0}.work-board>div>section h2{font-size:18px}.work-actual{font-size:13px;color:#526a64}.work-board .board-extras{max-width:1000px}.work-column .gw-empty{font-size:12px;line-height:1.7}.work-board button:focus-visible{outline:3px solid #5ca5d1;outline-offset:3px}
/* 幅が狭くても状態列は横一列。次の列を少し見せ、ボード内だけをスクロールする。 */
.work-scroll-hint{display:none}.work-columns:focus-visible{outline:3px solid #5ca5d1;outline-offset:3px}
@media(max-width:1050px){.work-columns{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(320px,calc(100% - 28px));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:12px}.work-column{scroll-snap-align:start}.work-scroll-hint{display:block;margin:0 0 10px;font-size:12px;color:#536b67}}
@media(max-width:550px){.work-board{padding:16px 10px 96px}.work-board h1{font-size:23px}.work-column{padding:12px}.work-card{padding:16px}.work-toolbar{gap:8px}.work-toolbar>button{font-size:13px;padding:10px}.work-detail-form{padding:14px}.work-dialog{padding:16px}.work-project{font-size:13px!important}.work-card-info{font-size:12px}}

/* カードを最初の画面に出す。概要と補助操作はダイアログから開く。 */
.work-heading{flex-wrap:nowrap;gap:12px;margin-bottom:8px}.work-heading>div{flex:1;min-width:0}.work-heading h1{font-size:23px;line-height:1.35;margin:0;letter-spacing:.02em}.work-switch{flex:none;min-width:64px;min-height:44px;padding:8px 12px;font-size:13px;white-space:nowrap}
.work-board-actions{margin:0 0 6px;gap:8px}.work-board-actions>button{min-height:44px;padding:8px 14px;font-size:13px}.work-board-actions .work-more{margin-left:auto}
.work-meta{display:flex;align-items:center;gap:6px 10px;min-height:30px;margin:0 0 6px;color:#536b67;font-size:12px;min-width:0}.work-meta .work-count{flex:none;white-space:nowrap;font-size:12px;line-height:1.5}.work-meta .work-filter-summary{display:block;flex:1;min-width:0;min-height:30px;padding:4px 0;font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.work-meta .work-scroll-hint{margin:0 0 0 auto;font-size:11px;white-space:nowrap}.work-board-state{flex:none;padding:3px 6px;border-radius:4px;background:#fff1d5;color:#77551d;font-size:11px;white-space:nowrap}.work-progress-summary{white-space:nowrap;font-size:11px}.work-option-list{display:grid;gap:8px;margin-top:12px}.work-option-list>button{min-height:44px;text-align:left;padding:10px 12px;font-size:14px}
@media(max-width:739px){
  body.gw-enabled:is([data-screen="board"],[data-screen="customer"],[data-screen="project"],[data-screen="view"],[data-screen="legacy-board"]) #app{padding-top:8px;padding-inline:10px}
  .work-board{padding:0 0 80px}.work-heading h1{font-size:20px}.work-heading{margin-bottom:6px}.work-board-actions{flex-wrap:nowrap;gap:6px}.work-board-actions>button{padding:8px 11px}.work-board-actions>.primary-button{flex:1}.work-board-actions .work-more{margin-left:0}.work-meta{gap:6px}
}

/* ホーム・横断ボード・グループ。スマホでも表示範囲を常に上部で選べる。 */
.task-scope{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:650;margin:0 0 1rem;flex-wrap:wrap}
.task-scope select{min-width:150px;max-width:100%;border:1px solid #b8c9c4;border-radius:10px;background:#fff;padding:.6rem .8rem;color:#16463c;font:inherit}
.task-page-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;color:#45655d;flex-wrap:wrap}
.task-page-heading .task-scope{margin:0}
.task-intro{color:#53675f;font-size:.95rem}
.task-home-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.task-home-section,.task-group-summary{padding:1.2rem;border:1px solid #dce6e1;border-radius:16px;background:#fff}
.task-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #edf2ef;padding-bottom:.6rem;margin-bottom:.6rem}
.task-section-heading h2{margin:0;font-size:1.1rem}
.task-section-heading strong{background:#edf6f1;padding:.25rem .65rem;border-radius:20px;color:#245746;font-size:.85rem}
.task-home-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:.4rem;width:100%;border:0;border-bottom:1px solid #edf2ef;background:transparent;padding:.8rem .2rem;cursor:pointer;color:inherit;overflow-wrap:anywhere}
.task-home-card strong{font-size:.95rem;line-height:1.6}.task-home-card small{color:#66776e}
.task-group-chip{display:inline-block;border-radius:5px;padding:.12rem .45rem;color:#386651;background:#edf5ef;font-size:.72rem;line-height:1.5;width:fit-content}
.task-empty{color:#718278;padding:1rem 0;font-size:.9rem}
.task-group-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}
.task-group-summary h2{font-size:1.15rem}.task-group-summary button{margin:.3rem}
.task-group-tabs{display:flex;gap:.5rem;margin-bottom:1rem;border-bottom:1px solid #dce6e1;padding-bottom:.7rem}
.task-group-tabs button{border:0;border-radius:8px;background:#eef3ef;padding:.65rem 1rem;color:#486456;cursor:pointer}
.task-group-tabs button[aria-current=page]{background:#24674f;color:white}
.task-member-list,.task-list{display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.task-member{padding:1.3rem;background:#fff;border:1px solid #dce6e1;border-radius:12px}
@media(max-width:650px){.task-home-sections,.task-group-list,.task-member-list,.task-list{grid-template-columns:1fr}.task-home-section{padding:1rem}.task-page-heading{align-items:flex-start;gap:.7rem}.task-scope{margin-bottom:.75rem}.task-group-tabs button{flex:1;padding:.65rem .5rem}}

.work-board .task-scope,.task-home .task-scope{display:flex;align-items:center;gap:.5rem}
.work-board .task-scope select,.task-home .task-scope select{width:auto;min-width:170px;max-width:calc(100vw - 100px);flex:none}
.task-home .gw-status:empty{display:none}

.task-member-pending{padding:1.3rem;background:#f5f8f7;border:1px dashed #a4b9af;border-radius:12px;display:flex;flex-direction:column;gap:.65rem;overflow-wrap:anywhere}
.task-member-pending p{margin:0;color:#53675f;font-size:.9rem;line-height:1.6}
.task-member-badge{font-size:.8rem;color:#45655d}
