/* 日付 × メンバーの全体マトリクス */
.matrix-layout{width:min(1500px,calc(100% - 32px))}.matrix-hero{align-items:center;padding:27px 32px}.matrix-hero h1{font-size:clamp(27px,3vw,42px)}.matrix-guide{position:relative;z-index:1;display:flex;flex-direction:column;gap:5px;min-width:210px;padding:13px 16px;border:1px solid rgba(243,108,61,.28);border-radius:13px;background:rgba(10,12,17,.68)}.matrix-guide span{font-size:10px;color:var(--muted)}.matrix-guide strong{font-size:13px;color:var(--orange-2);letter-spacing:.08em}.matrix-panel{margin-top:18px;overflow:hidden}.matrix-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 22px;border-bottom:1px solid var(--line)}.matrix-toolbar>div{display:flex;align-items:center;gap:11px}.matrix-toolbar h2{font-size:17px;margin:0}.member-total{font-size:10px;color:var(--muted);background:#0f1218;border:1px solid var(--line);border-radius:999px;padding:5px 8px}.matrix-legend{font-size:10px;color:var(--muted)!important;gap:6px!important}.matrix-legend span{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:6px;margin-left:7px;font-weight:900}.matrix-scroll{overflow:auto;overscroll-behavior-inline:contain;scrollbar-color:#3a4151 #11141b}.schedule-matrix{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0;font-size:12px}.schedule-matrix th,.schedule-matrix td{height:62px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#151922;text-align:center}.schedule-matrix thead th{height:68px;position:sticky;top:0;z-index:3;background:#10131a;color:#aeb5c3;font-size:10px}.date-head,.date-cell{position:sticky!important;left:0;z-index:4!important;width:230px;min-width:230px;max-width:230px;text-align:left!important}.confirm-head,.confirm-cell{position:sticky!important;left:230px;z-index:4!important;width:88px;min-width:88px}.schedule-matrix thead .date-head,.schedule-matrix thead .confirm-head{z-index:6!important}.date-head{padding-left:22px!important}.date-cell{display:flex;align-items:center;gap:11px;padding:0 14px;background:#171b24!important}.matrix-row.is-confirmed .date-cell,.matrix-row.is-confirmed .confirm-cell{background:#201b1d!important}.matrix-row.is-confirmed td{background:rgba(243,108,61,.035)}.date-index{font:700 9px/1 monospace;color:#676f7e}.date-cell div{display:flex;min-width:0;flex-direction:column;gap:4px}.date-cell strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#f4f6fa}.date-cell small{font-size:9px;color:#777f8e;font-weight:500}.confirm-badge,.open-badge{display:inline-grid;place-items:center;min-width:48px;padding:7px;border-radius:7px;font-size:10px;font-weight:800}.confirm-badge{color:#65e5ae;border:1px solid rgba(66,211,146,.45);background:rgba(66,211,146,.08)}.open-badge{color:#778090;background:#10131a;border:1px solid #252b37}.count-head,.count-cell{width:42px;min-width:42px;font-variant-numeric:tabular-nums}.count-cell{font-weight:800;color:#bec4cf}.member-head,.member-cell{width:104px;min-width:104px}.member-head{padding:8px}.member-head.is-you{box-shadow:inset 0 -3px var(--orange);background:#181719!important}.member-head strong{display:block;max-width:88px;margin:4px auto 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eef1f6;font-size:10px}.member-head small{display:block;color:var(--orange-2);font-size:8px;margin-top:2px}.member-avatar{display:grid;place-items:center;width:24px;height:24px;margin:auto;border-radius:7px;background:#262b37;color:#cbd0da;font-size:8px}.member-head.is-you .member-avatar{background:linear-gradient(135deg,var(--orange),#ab3f25);color:#fff}.member-cell.is-editable{background:rgba(243,108,61,.025)}.matrix-status,.matrix-choice{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-weight:900}.matrix-status{width:38px;height:34px;font-size:15px}.matrix-choice{width:76px;min-height:42px;flex-direction:column;gap:1px;border:1px solid transparent;cursor:pointer;color:inherit}.matrix-choice b{font-size:15px;line-height:1}.matrix-choice span{font-size:8px;font-weight:700;white-space:nowrap}.matrix-choice:hover{filter:brightness(1.1);transform:translateY(-1px)}.status-yes{color:#b6f6d8!important;background:rgba(66,211,146,.16)!important;border-color:rgba(66,211,146,.48)!important}.status-maybe{color:#ffe69c!important;background:rgba(242,201,76,.16)!important;border-color:rgba(242,201,76,.48)!important}.status-no{color:#ffb0b7!important;background:rgba(255,100,111,.16)!important;border-color:rgba(255,100,111,.48)!important}.status-empty{color:#8290a5!important;background:#121720!important;border-color:#29313e!important}.matrix-reason{margin:18px 22px 0}.matrix-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px}.matrix-footer>div{display:flex;align-items:center;gap:14px}.matrix-footer p{margin:0;font-size:11px;color:#c2c8d2}.matrix-footer small{color:#707888;font-size:9px}.matrix-footer .form-message{margin:0;min-height:0}.matrix-secondary{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.history-panel,.compact-note{padding:20px}.compact-note h2{font-size:15px;margin:0 0 8px}.compact-note p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}
@media(max-width:650px){.matrix-layout{width:calc(100% - 16px);margin-top:10px}.matrix-hero{padding:21px 18px}.matrix-guide{min-width:0;margin-top:17px}.matrix-toolbar{display:block;padding:15px 13px}.matrix-toolbar>div:first-child{margin-bottom:12px}.matrix-legend{overflow:auto;padding-bottom:2px}.matrix-scroll{max-height:62vh}.date-head,.date-cell{width:150px;min-width:150px;max-width:150px}.confirm-head,.confirm-cell{left:150px!important;width:68px;min-width:68px}.date-head{padding-left:13px!important}.date-cell{gap:6px;padding:0 8px}.date-index{display:none}.date-cell strong{font-size:10px}.date-cell small{font-size:8px}.confirm-badge,.open-badge{min-width:42px;padding:6px 3px;font-size:9px}.count-head,.count-cell{width:36px;min-width:36px}.member-head,.member-cell{width:88px;min-width:88px}.matrix-choice{width:68px}.matrix-footer{display:block;padding:14px}.matrix-footer>div{justify-content:space-between}.matrix-footer>div:last-child{margin-top:12px}.matrix-footer small{display:none}.matrix-footer .save-button{margin-left:auto}.matrix-reason{margin:14px 14px 0}.matrix-secondary{grid-template-columns:1fr}.matrix-hero h1{font-size:27px}}
