/* Project attendance registration; scoped to the workspace project board. */
#projectBoardPanel .project-roster{padding:16px;margin:16px 0;background:#faf8f5;border:1px solid #eee2d3;border-radius:10px;min-width:0}
#projectBoardPanel .project-roster-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#302b27}
#projectBoardPanel .project-roster-heading>span{color:#766b60;white-space:nowrap}
#projectBoardPanel .project-roster-names{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:12px 0 0}
#projectBoardPanel .project-roster-names li{font-size:14px;line-height:1.5;padding:6px 10px;border:1px solid #e3d5c5;border-radius:6px;background:white;color:#302b27;overflow-wrap:anywhere;max-width:100%}
#projectBoardPanel .project-participant-picker{min-width:0;margin:4px 0;padding:16px;border:1px solid #e3d5c5;border-radius:10px;background:white}
#projectBoardPanel .project-participant-picker legend{padding:0 6px;font-size:15px;font-weight:700;color:#302b27}
#projectBoardPanel .project-participant-help{margin:0 0 12px;font-size:14px;line-height:1.65;color:#766b60;overflow-wrap:anywhere}
#projectBoardPanel .project-roster .project-participant-help{margin:8px 0 0}
#projectBoardPanel .project-participant-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:12px}
#projectBoardPanel .project-participant-toolbar input{flex:1;min-width:0;min-height:44px;font-size:14px}
#projectBoardPanel [data-participant-count]{flex-shrink:0;white-space:nowrap;font-size:14px;font-weight:700;color:#a74911}
#projectBoardPanel .project-participant-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:280px;overflow:auto;overscroll-behavior:contain}
#projectBoardPanel .project-participant-option{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:56px;padding:10px 12px;border:1px solid #eee2d3;border-radius:8px;cursor:pointer;font-weight:400;min-width:0}
#projectBoardPanel .project-participant-option:has(input:checked){border-color:#b35318;background:#fff7ec}
#projectBoardPanel .project-participant-option:focus-within{outline:2px solid #b35318;outline-offset:1px}
#projectBoardPanel .project-participant-option input[type=checkbox]{width:18px;height:18px;min-height:0;flex:0 0 18px;margin:0;padding:0;accent-color:#a74911}
#projectBoardPanel .project-participant-option>span{min-width:0}
#projectBoardPanel .project-participant-option b{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:#302b27}
#projectBoardPanel .project-participant-option small{display:block;font-size:14px;font-weight:400;line-height:1.5;color:#766b60;overflow-wrap:anywhere}
#projectBoardPanel [hidden]{display:none!important}
#projectBoardPanel .project-edit-grid select:disabled{opacity:.7;cursor:not-allowed}
.project-discord-panel{margin-top:24px}.project-discord-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.project-discord-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.project-discord-grid input,.project-discord-grid select{width:100%;border:1px solid var(--border);border-radius:10px;padding:10px;background:#fff;color:var(--ink);font:inherit}.project-discord-actions{display:flex;gap:8px;flex-wrap:wrap}.project-discord-status{min-height:20px;margin:10px 0;color:var(--deep);font-size:12px;font-weight:700}.project-discord-status.error{color:#b33a32}.project-discord-report{margin-top:14px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:13px;line-height:1.6}.project-discord-report h4{margin:0 0 4px}.project-discord-report h5{margin:14px 0 4px}.project-discord-report-meta{margin:0;color:var(--ink-2);font-size:12px}.project-discord-report ul{margin:5px 0 0;padding-left:20px}.project-discord-checks{list-style:none;margin-left:0!important;padding-left:0!important}.project-discord-checks .missing{color:#a33}.project-discord-report a{color:var(--deep);text-decoration:underline}@media(max-width:620px){.project-discord-grid{grid-template-columns:1fr}}.project-discord-schedule-note{margin:10px 0 0;color:var(--ink-2);font-size:12px;line-height:1.6}
#projectBoardPanel .dynamic-project{min-width:0}
#projectBoardPanel .dynamic-project>.top>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){#projectBoardPanel .project-participant-options{grid-template-columns:minmax(0,1fr)}#projectBoardPanel .project-participant-picker{padding:12px}#projectBoardPanel .project-participant-toolbar{gap:8px}}
/* Per-project parts and shared live board. */
#projectBoardPanel .project-participant-option{flex-direction:column;align-items:stretch;cursor:default;gap:12px}
#projectBoardPanel .project-participant-choice{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;cursor:pointer}
#projectBoardPanel .project-part-label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:400;color:#766b60}
#projectBoardPanel .project-part-label input{min-height:44px;font-size:14px;width:100%;font-weight:400}
#projectBoardPanel .project-part-label input:disabled{background:#faf8f5;color:#766b60}
#projectBoardPanel .project-edit>.btn{margin:4px 8px 4px 0}
#projectBoardPanel .project-delete-btn{color:#ac2e26;border-color:#d8a5a1}
.project-live-status{font-size:14px;color:#766b60;margin:0 0 20px;line-height:1.6}
.project-live-status.is-stale{color:#9d321e;background:#fff4e8;padding:12px;border-radius:8px}
.project-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-live-card{border:1px solid #eee2d3;border-radius:12px;background:#fffdfa;padding:20px;min-width:0}
.project-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.project-live-head h4{font-size:18px;line-height:1.5;margin:0;min-width:0;overflow-wrap:anywhere}
.project-live-state{font-size:14px;line-height:1.5;white-space:nowrap;color:#9b4714;background:#fff0d8;padding:4px 8px;border-radius:6px}
.project-live-managers{font-size:14px;color:#766b60;line-height:1.6;margin:0 0 20px;overflow-wrap:anywhere}
.project-live-total{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding-bottom:12px;border-bottom:1px solid #eee2d3}
.project-live-total span{color:#766b60;white-space:nowrap}
.project-live-parts{margin:0 0 12px}
.project-live-parts>div{display:grid;grid-template-columns:minmax(72px,.65fr) minmax(0,2fr);gap:12px;padding:12px 0;border-bottom:1px solid #f0e9e0;font-size:14px;line-height:1.6}
.project-live-parts dt{font-weight:700;color:#a74911;overflow-wrap:anywhere}.project-live-parts dd{margin:0;color:#302b27;overflow-wrap:anywhere}
.project-live-empty{font-size:14px;color:#766b60;padding:16px 0}
@media(max-width:1050px){.project-live-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){.project-live-card{padding:16px}.project-live-head{flex-wrap:wrap}}

.project-live-visibility{font-size:14px;color:#766b60;line-height:1.6;margin:12px 0}

/* Keep saved newlines/blank lines; wrap long URLs without interpreting HTML. */
#projectBoardPanel .project-summary{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;min-width:0}
#projectBoardPanel textarea[name="summary"]{white-space:pre-wrap;overflow-wrap:anywhere;min-height:120px;resize:vertical;max-width:100%}
#projectBoardPanel .dynamic-project>.top>div{flex:1}
#projectBoardPanel .dynamic-project>.top>.status{flex-shrink:0}
