.tutor-home{max-width:1120px;margin:0 auto;padding:32px}
.welcome-video{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,260px);gap:24px;align-items:center;background:#0b2b3e;color:#fff;border-radius:22px;padding:24px;margin-bottom:24px}.welcome-video h2{font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.18;margin:7px 0 12px}.welcome-video p{line-height:1.55}.welcome-video .eyebrow{color:#c7e9db}.welcome-video-note{color:#c2d5dd;font-size:.92rem}.welcome-video iframe{width:100%;aspect-ratio:9/16;border:0;border-radius:15px;background:#000;max-height:340px}.example-steps{padding-left:22px;line-height:1.65}.example-steps li{margin-bottom:7px}.example-note{font-size:.86rem;color:#587066}
.home-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:22px}
.home-choice-section{margin-bottom:22px}.home-choice-section h2{font-size:1.15rem;color:#103045;margin:0 0 13px}.home-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-choice-grid button{display:flex;gap:13px;align-items:center;text-align:left;min-height:96px;padding:18px;border:1px solid #cfdfda;border-radius:17px;background:#fff;color:#143448;cursor:pointer;font:inherit}.home-choice-grid button strong,.home-choice-grid button small{display:block}.home-choice-grid button strong{font-size:1.05rem}.home-choice-grid button small{font-size:.88rem;color:#59716b;margin-top:5px;line-height:1.4}.home-choice-icon{font-size:1.6rem;color:#317b70;min-width:30px;text-align:center}.home-choice-grid button.home-choice-primary{background:#0b2b3e;color:white;border-color:#0b2b3e}.home-choice-grid button.home-choice-primary small{color:#d4e6e9}.home-choice-grid button.home-choice-primary .home-choice-icon{color:#a9ddda}.home-choice-grid button:hover,.home-choice-grid button:focus-visible{box-shadow:0 7px 25px #164e4d21;border-color:#76b0a3}.home-choice-links{display:flex;justify-content:space-between;gap:12px;margin-top:13px}.home-choice-links button{border:0;background:transparent;color:#165b76;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit;font-weight:750}.home-conversation-visible-title{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;font-size:1.2rem;padding:18px 27px 0;margin:0}.h1-sheets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.h1-sheet{min-height:190px;display:flex;flex-direction:column;gap:9px;padding:18px;border:2px solid #9ab7c5;border-top:8px solid #0b5274;border-radius:8px;background:#fff;box-shadow:0 6px 16px #12395116}.h1-sheet small{font-size:.69rem;letter-spacing:.08em;color:#37687b;font-weight:800}.h1-sheet strong{font-size:.88rem;color:#17394a}.h1-sheet span{margin-top:auto;border-top:1px solid #cadbdd;padding-top:10px;font-size:.75rem;color:#65787e;line-height:1.4}.home-method{display:block}
.home-heading h1{margin:4px 0 8px;font-size:clamp(2rem,4vw,3.2rem)}
.home-heading>div>p:last-child{max-width:720px;margin:0;color:#52645d;font-size:1.05rem;line-height:1.6}
.company-link{border:0;background:transparent;color:#315f53;text-decoration:underline;text-underline-offset:4px;padding:8px 0;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
.company-link span{font-weight:500;color:#65756f}
.home-conversation{border:1px solid #c8d9d2;border-radius:22px;background:#fff;box-shadow:0 18px 50px rgba(26,67,55,.09);overflow:hidden}
.home-conversation>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.home-messages{min-height:250px;max-height:420px;overflow:auto;padding:28px;background:linear-gradient(180deg,#f6faf8 0,#fff 72%)}
.home-message{max-width:760px;margin:0 0 16px;padding:16px 18px;border-radius:16px;line-height:1.55}
.home-message p{margin:4px 0 0}.home-message.assistant{background:#eaf5f0;color:#234d42}.home-message.user{margin-left:auto;background:#315f53;color:#fff}
.home-shortcuts{display:flex;flex-wrap:wrap;gap:10px;padding:0 28px 18px}
.home-shortcuts button{border:1px solid #b8cec5;border-radius:999px;background:#fff;color:#315f53;padding:10px 15px;font:inherit;font-weight:700;cursor:pointer}
.home-shortcuts button:hover,.home-shortcuts button:focus-visible{background:#edf7f3;border-color:#315f53}
.home-composer{border-top:1px solid #dde8e3;padding:20px 28px 24px}
.home-composer label{display:block;margin-bottom:8px;font-weight:700}.home-composer>div{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}
.home-composer textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:72px;font:inherit;border:1px solid #b7c9c1;border-radius:12px;padding:13px}
.home-composer p{margin:9px 0 0;color:#687872;font-size:.88rem}
.home-options{display:grid;gap:18px;margin-top:24px}.home-options .case-list,.home-analysis-form{border:1px solid #d5e2dd;border-radius:18px;background:#fff;padding:22px}
.option-heading h2{margin:3px 0 16px}.lesson-dialog-card{max-width:620px}.lesson-dialog-card h2{margin:5px 0 12px}.lesson-dialog-card p{line-height:1.6}
.lesson-pending{padding:14px;border-radius:10px;background:#fff7df;border:1px solid #e1ca87;color:#65531e}.lesson-link{display:inline-block;text-decoration:none;margin-right:10px}
.block-context-actions{flex-wrap:wrap}.block-context-actions button{min-height:40px}
.report-form,.report-document,.report-sheet,.action-grid-cell,.plan-table-editor{min-width:0;max-width:100%}.action-grid-cell{overflow:hidden}.plan-table-editor{width:100%;box-sizing:border-box;margin-top:14px}.plan-phase-intro{padding:15px 17px;border-radius:12px;background:#eaf5f0;border:1px solid #bad6cb}.plan-phase-intro strong{display:block;color:#234d42;font-size:1.05rem}.plan-phase-intro p{margin:5px 0 0;line-height:1.5}
.plan-phase-intro small{display:block;margin-top:7px;color:#536b63}.plan-phase-sequence{display:flex;align-items:center;gap:7px;list-style:none;margin:0 0 13px;padding:0;flex-wrap:wrap}.plan-phase-sequence li{padding:6px 9px;border-radius:999px;border:1px solid #b7c8c1;background:#f5f8f7;color:#61746d;font-size:.78rem;font-weight:700}.plan-phase-sequence li.is-active{background:#0b5d4b;border-color:#0b5d4b;color:#fff;box-shadow:0 0 0 3px rgba(11,93,75,.13)}.plan-phase-sequence li.is-complete{background:#d7eee5;border-color:#87b7a6;color:#244f42}.plan-phase-sequence li.is-locked{opacity:.68}
.plan-table-scroll{width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-top:14px;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #b8cbc3;border-radius:12px}.plan-action-table{width:100%;min-width:920px;border-collapse:collapse;background:#fff}.plan-action-table th{padding:12px 10px;background:#0b2b3e;color:#fff;text-align:left;font-size:.88rem}.plan-action-table td{padding:9px;border-top:1px solid #d5e1dc;vertical-align:top;background:#f7faf9}.plan-action-table td.is-current{background:#eef8f4;box-shadow:inset 0 3px #2f7d68}.plan-action-table input,.plan-action-table textarea{width:100%;box-sizing:border-box;border:1px solid #b8c9c2;border-radius:8px;padding:10px;font:inherit;background:#fff}.plan-action-table input:disabled,.plan-action-table textarea:disabled{color:#586b64;background:#f1f4f3;border-color:#d8dfdc}.plan-action-table th:nth-child(1){width:24%}.plan-action-table th:nth-child(2){width:25%}.plan-action-table th:nth-child(3){width:18%}.plan-action-table th:nth-child(4){width:16%}.plan-action-table th:nth-child(5){width:12%}.plan-situation{display:inline-block;padding:7px 10px;border-radius:999px;background:#fff4cf;color:#644f08;font-weight:700}.plan-row-actions{width:72px}.plan-table-controls{display:flex;justify-content:space-between;gap:12px;margin-top:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
  .home-choice-grid{grid-template-columns:1fr}.home-choice-grid button{min-height:86px}.home-choice-links{flex-direction:column;align-items:flex-start}.h1-sheets{grid-template-columns:1fr}.h1-sheet{min-height:150px}.home-conversation-visible-title{padding:16px 18px 0}
  .welcome-video{grid-template-columns:1fr;padding:18px;gap:14px}.welcome-video iframe{max-height:310px;max-width:180px;margin:0 auto}.welcome-video h2{font-size:1.55rem}
  .tutor-home{padding:20px 14px}.home-heading{display:grid}.company-link{white-space:normal;text-align:left}.home-messages{min-height:220px;padding:18px}
  .home-shortcuts{padding:0 18px 16px;display:grid;grid-template-columns:1fr 1fr}.home-shortcuts button:last-child{grid-column:1/-1}
  .home-composer{padding:16px 18px}.home-composer>div{grid-template-columns:1fr}.home-composer button{width:100%}
  .home-analysis-form,.home-options .case-list{padding:16px}.block-context-actions{display:grid;grid-template-columns:1fr;width:100%}
  .plan-table-controls{display:grid}.plan-table-controls button{width:100%}.plan-table-scroll{margin-right:-4px}.plan-phase-intro{padding:13px}.plan-phase-sequence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.plan-phase-sequence li{text-align:center}.plan-phase-sequence li:last-child{grid-column:1/-1}
}

.cause-confirmation-group{border:1px solid var(--line,#d7ddda);border-radius:14px;padding:1rem;margin:.8rem 0;background:#fff}.cause-origin-heading{display:grid;gap:.2rem;padding-bottom:.75rem;border-bottom:1px solid var(--line,#d7ddda)}.cause-origin-heading small,.cause-after-whys-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#52625a}.cause-origin-heading strong{font-size:1rem}.cause-after-whys-label{display:block;margin:.9rem 0 .35rem}.cause-confirmation-group .cause-confirmation-item{margin:.45rem 0}
