/* テスト学習計画メーカー */
.testplan-title { flex: 2 1 220px; width: auto; font-weight: 800; }
.testplan-grade { flex: 1 1 120px; width: auto; max-width: 180px; }
.testplan-banner { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.testplan-count { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: 12px; }
.testplan-cd { background: var(--ink); color: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 8px 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; box-shadow: var(--sh-sm); }
.testplan-cd small { flex-basis: 100%; font-size: 12px; font-weight: 700; opacity: .85; }
.testplan-cd b { font-family: var(--head); font-size: 40px; line-height: 1; color: var(--yellow); }
.testplan-cd span { font-weight: 800; }
.testplan-stat { border: 2px solid var(--line); border-radius: 16px; background: var(--card); padding: 8px 14px; display: grid; align-content: center; min-width: 110px; }
.testplan-stat small { font-size: 12px; color: var(--ink2); font-weight: 700; }
.testplan-stat b { font-size: 22px; font-family: var(--head); line-height: 1.2; }
.testplan-prog { display: block; height: 6px; background: var(--bg2); border-radius: 99px; overflow: hidden; margin-top: 3px; }
.testplan-prog span { display: block; height: 100%; background: var(--mint); }
.testplan-subtot { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-content: center; font-size: 13px; font-weight: 700; }
.testplan-subtot span { display: inline-flex; align-items: center; gap: 5px; }
.testplan-subtot i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); border: 1px solid var(--line); }
.testplan-h3 { font-size: 16px; margin: 0; }

.testplan-subj { border: 2px solid var(--line); border-left: 10px solid var(--c); border-radius: 14px; padding: 10px; background: color-mix(in srgb, var(--c) 6%, var(--card)); display: grid; gap: 8px; }
.testplan-subj-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.testplan-subj-top .seg button { min-height: 34px; padding: 4px 10px; font-size: 13px; }

.testplan-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.testplan-day { border: 2px solid var(--line); border-radius: 14px; background: var(--card); padding: 10px; display: grid; gap: 6px; align-content: start; }
.testplan-day.today { box-shadow: var(--sh); outline: 3px solid var(--yellow); }
.testplan-day.pre { background: color-mix(in srgb, var(--coral) 7%, var(--card)); }
.testplan-day-h { display: flex; align-items: baseline; gap: 8px; }
.testplan-day-h b { font-size: 17px; font-family: var(--head); }
.testplan-day-h b.sun { color: var(--bad); } .testplan-day-h b.sat { color: var(--blue); }
.testplan-min { margin-left: auto; font-weight: 900; }
.testplan-b-test { background: var(--ink); color: var(--bg); }
.testplan-b-pre { background: var(--coral); color: #fff; }
.testplan-b-rev { background: var(--mint); color: #08281d; }
.testplan-b-off { background: color-mix(in srgb, var(--blue) 15%, var(--card)); }
.testplan-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; border: 1.5px solid var(--line); }
.testplan-bar span { display: block; height: 100%; }
.testplan-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.testplan-items li { border-left: 5px solid var(--c, var(--line-soft)); padding: 2px 0 2px 8px; }
.testplan-items li .check { font-size: 14px; gap: 6px; }
.testplan-items li .testplan-m { margin-left: auto; font-weight: 800; color: var(--ink2); font-size: 13px; }
.testplan-items li .check { display: flex; width: 100%; }
.testplan-items li small { display: block; color: var(--ink2); font-size: 12px; line-height: 1.4; padding-left: 24px; }
.testplan-items li.note-li { border-left-color: var(--yellow); }
.testplan-items li.note-li small { padding-left: 0; color: var(--ink); font-weight: 700; }
