.ot-plan-generator{--otp-border:#e5e7eb;--otp-muted:#667085;--otp-surface:#f8fafc;--otp-text:#18202a;--otp-primary:#1d4ed8;display:grid;gap:20px;max-width:1180px;margin:24px auto;font-family:inherit;color:var(--otp-text)}
.ot-plan-generator *{box-sizing:border-box}.otp-card{border:1px solid var(--otp-border);border-radius:16px;padding:20px;background:#fff;box-shadow:0 4px 18px rgba(16,24,40,.04)}.otp-kicker{font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--otp-primary);margin-bottom:6px}.otp-card h2{margin:0 0 8px;font-size:28px;line-height:1.2}.otp-muted{color:var(--otp-muted);margin:0 0 18px}.otp-grid{display:grid;gap:14px}.otp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.otp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.otp-field{display:grid;gap:7px}.otp-field>span{font-weight:650;font-size:14px}.otp-field small,.otp-section-title small{font-weight:400;color:var(--otp-muted)}.otp-field input,.otp-field select,.otp-field textarea{width:100%;border:1px solid var(--otp-border);border-radius:10px;padding:9px 11px;background:#fff;color:var(--otp-text);font:inherit}.otp-field input,.otp-field select{min-height:44px}.otp-field textarea{min-height:220px;resize:vertical;line-height:1.45}.otp-field input:focus,.otp-field select:focus,.otp-field textarea:focus{outline:2px solid rgba(29,78,216,.15);border-color:var(--otp-primary)}.otp-section-title{font-weight:750;font-size:16px;margin:20px 0 12px}.otp-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.otp-day{border:1px solid var(--otp-border);border-radius:12px;background:var(--otp-surface);padding:10px;display:grid;gap:7px;text-align:center}.otp-day span{font-weight:750}.otp-day input{min-width:0;text-align:center;min-height:40px;border:1px solid var(--otp-border);border-radius:8px;background:#fff;font:inherit;padding:6px}.otp-vacations{display:grid;gap:10px}.otp-vacation-row{display:grid;grid-template-columns:minmax(90px,.6fr) repeat(2,minmax(0,1fr));gap:12px;padding:12px;border:1px solid var(--otp-border);border-radius:12px;background:var(--otp-surface);align-items:end}.otp-vacation-row>strong{align-self:center}.otp-advanced{margin-top:18px;border:1px solid var(--otp-border);border-radius:12px;background:#fff;overflow:hidden}.otp-advanced summary{cursor:pointer;padding:13px 14px;font-weight:750;background:var(--otp-surface);list-style-position:inside}.otp-advanced-body{padding:4px 14px 16px}.otp-excluded-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}.otp-excluded-row{display:flex;align-items:center;border:1px solid var(--otp-border);border-radius:10px;overflow:hidden;background:#fff}.otp-excluded-row input{border:0!important;border-radius:0!important;min-height:40px;padding:7px 9px;font:inherit}.otp-remove-date{border:0;border-left:1px solid var(--otp-border);background:#fff;color:#b42318;min-width:38px;align-self:stretch;font-size:22px;cursor:pointer}.otp-mini-button{border:1px solid var(--otp-border);border-radius:9px;background:var(--otp-surface);color:var(--otp-text);padding:8px 11px;font:inherit;font-weight:650;cursor:pointer}.otp-inline-note{font-size:13px;color:var(--otp-muted);margin:8px 0 0}.otp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.otp-button{appearance:none;border:0;border-radius:10px;background:var(--otp-primary);color:#fff;padding:11px 16px;font:inherit;font-weight:700;cursor:pointer}.otp-button:hover{filter:brightness(.96)}.otp-button-secondary{background:#eef2ff;color:#1e3a8a}.otp-button[disabled]{opacity:.5;cursor:not-allowed}.otp-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:2px 0 16px}.otp-stat{border:1px solid var(--otp-border);border-radius:12px;background:var(--otp-surface);padding:12px}.otp-stat strong{display:block;font-size:26px;line-height:1.1}.otp-stat span{display:block;color:var(--otp-muted);font-size:13px;margin-top:4px}.otp-message{border:1px solid var(--otp-border);background:var(--otp-surface);border-radius:12px;padding:12px 14px;margin-bottom:14px}.otp-message.otp-warning{border-color:#f0c36d;background:#fff8e7}.otp-message.otp-success{border-color:#a7d7b5;background:#f0fbf4}.otp-table-wrap{overflow:auto;border:1px solid var(--otp-border);border-radius:12px}.otp-table{width:100%;border-collapse:collapse;min-width:700px}.otp-table th,.otp-table td{padding:10px 11px;border-bottom:1px solid var(--otp-border);text-align:left;vertical-align:top}.otp-table th{background:var(--otp-surface);font-weight:750;position:sticky;top:0}.otp-table tr:last-child td{border-bottom:0}.otp-table .otp-num{width:70px}.otp-table .otp-date{width:130px}.otp-table .otp-day-name{width:110px}.otp-empty{padding:28px 16px;text-align:center;color:var(--otp-muted)}.otp-topic-count{font-size:13px;color:var(--otp-muted);text-align:right;margin-top:6px}.otp-note{font-size:13px;color:var(--otp-muted);margin:12px 0 0}
@media(max-width:820px){.otp-week{grid-template-columns:repeat(4,minmax(0,1fr))}.otp-grid-3{grid-template-columns:1fr 1fr}.otp-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.otp-card{padding:16px}.otp-card h2{font-size:23px}.otp-grid-2,.otp-grid-3,.otp-vacation-row{grid-template-columns:1fr}.otp-week{grid-template-columns:repeat(2,minmax(0,1fr))}.otp-summary{grid-template-columns:1fr 1fr}.otp-vacation-row>strong{margin-bottom:2px}}

/* 0.8.0: hours per topic + editable generated plan */
.otp-topic-hours{margin-top:14px;border:1px solid var(--otp-border);border-radius:12px;background:#fff;overflow:hidden}.otp-topic-hours summary{cursor:pointer;padding:12px 14px;font-weight:750;background:var(--otp-surface);list-style-position:inside}.otp-topic-hours summary small{font-weight:400;color:var(--otp-muted)}.otp-topic-hours-body{padding:4px 14px 14px}.otp-topic-hours-list{display:grid;gap:7px;max-height:360px;overflow:auto;margin-top:12px;padding-right:3px}.otp-topic-hours-row{display:grid;grid-template-columns:34px minmax(0,1fr) 100px;gap:10px;align-items:center;border:1px solid var(--otp-border);border-radius:10px;padding:8px 10px;background:#fff}.otp-topic-hours-num{font-weight:750;color:var(--otp-muted);text-align:center}.otp-topic-hours-text{line-height:1.3;overflow-wrap:anywhere}.otp-topic-hours-count{display:grid;grid-template-columns:auto 58px;gap:6px;align-items:center;font-size:12px;color:var(--otp-muted)}.otp-topic-hours-count input{width:58px;min-height:36px;border:1px solid var(--otp-border);border-radius:8px;padding:5px;text-align:center;font:inherit;color:var(--otp-text);background:#fff}.otp-topic-hours-empty{padding:12px;color:var(--otp-muted);text-align:center}.otp-table{min-width:980px}.otp-table .otp-note-col{width:220px}.otp-table-input{width:100%;border:1px solid transparent;border-radius:7px;padding:6px 7px;background:transparent;color:var(--otp-text);font:inherit;line-height:1.35;resize:vertical}.otp-table-input:hover{border-color:var(--otp-border);background:#fff}.otp-table-input:focus{outline:2px solid rgba(29,78,216,.14);border-color:var(--otp-primary);background:#fff}.otp-edit-date{min-width:128px;resize:none}.otp-edit-topic,.otp-edit-note{min-height:38px}.otp-edit-note::placeholder{color:#98a2b3}
@media(max-width:620px){.otp-topic-hours-row{grid-template-columns:28px minmax(0,1fr) 86px;gap:7px;padding:8px}.otp-topic-hours-count{grid-template-columns:1fr}.otp-topic-hours-count span{display:none}}

/* 0.8.2: warning when vacations are not configured */
.otp-vacation-warning{margin-top:14px;border:1px solid #f0c36d;background:#fff8e7;color:#694100;border-radius:12px;padding:11px 13px;font-size:14px;line-height:1.45}.otp-vacation-warning strong{color:#5b3700}
