/* Editable planning prompts work within the teacher's existing feedback form. */
.teacher-review-aside{scroll-margin-top:var(--teacher-dock-top,110px)}
.plan-field{grid-column:1/-1;min-width:0;display:grid;gap:10px}
.plan-field>label{display:grid;gap:7px;font-size:14px;color:#45506a}
.plan-field>label>textarea{width:100%;min-width:0;box-sizing:border-box}
.plan-tag-assistant{grid-column:1/-1;border:1px solid #e0ddea;border-radius:14px;background:linear-gradient(145deg,#fff8fb,#f3f8ff);padding:14px;min-width:0;color:#46526b}
.plan-tag-heading{display:flex;align-items:flex-start;gap:10px}
.plan-tag-mark{display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid #ddd0e3;border-radius:9px;background:#f3e6f0;color:#845779;font-size:20px;line-height:1}
.plan-tag-heading h4{margin:0;font-size:15px;color:#3d4b67;line-height:1.6;font-weight:600}
.plan-tag-heading p{font-size:12px;line-height:1.8;margin:3px 0 0;color:#686d83}
.plan-tag-context{font-size:12px;line-height:1.8;margin:10px 0 12px;color:#6c677e}
.plan-hint-context{display:flex;align-items:baseline;gap:7px;margin:9px 0 10px;font-size:11px;line-height:1.8;color:#626c83;overflow-wrap:anywhere}
.plan-hint-context::before{content:"";flex:none;width:5px;height:5px;border-radius:50%;background:#879bbd;transform:translateY(-1px)}
.plan-hint-bubbles{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px 8px;padding:0 1px 5px;min-width:0}
.plan-hint-bubble{--hint-surface:#faeaf2;--hint-line:#e9cfdf;--hint-ink:#765367;position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:37px;padding:7px 12px;border:1px solid var(--hint-line);border-radius:18px 18px 18px 7px;background:linear-gradient(150deg,#ffffffb8,transparent 65%),var(--hint-surface);box-shadow:0 2px 4px #5d6f9310;color:var(--hint-ink);font-family:inherit;font-size:12px;font-weight:500;line-height:1.65;text-align:left;white-space:normal;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.plan-hint-bubble:nth-child(3n+2){--hint-surface:#f0edfb;--hint-line:#dcd5ed;--hint-ink:#655a83}
.plan-hint-bubble:nth-child(3n){--hint-surface:#e9f2fc;--hint-line:#cfdef0;--hint-ink:#4d6789}
.plan-hint-bubble::after{content:"";position:absolute;z-index:-1;bottom:-3px;left:10px;width:6px;height:6px;border-right:1px solid var(--hint-line);border-bottom:1px solid var(--hint-line);border-radius:0 0 2px;background:var(--hint-surface);transform:rotate(45deg)}
.plan-hint-bubble>.label,.plan-hint-label{min-width:0;font:inherit;color:inherit;overflow-wrap:anywhere}
.plan-hint-glyph{display:grid;place-items:center;flex:none;width:15px;font-size:13px;font-weight:500;line-height:1;color:inherit}
.plan-hint-bubble:hover:not(:disabled){border-color:#a798b8;box-shadow:0 3px 7px #6278a21b;transform:translateY(-1px)}
.plan-hint-bubble[aria-pressed="true"]{--hint-surface:#e4edfc;--hint-line:#8ba2c7;--hint-ink:#3e587f;background:var(--hint-surface);box-shadow:inset 0 0 0 1px #8ba2c755}
.plan-hint-bubble:disabled{cursor:default;opacity:.6;box-shadow:none}
.plan-hint-bubble:focus-visible{outline:3px solid #99a9d8;outline-offset:3px}
.plan-hint-bubbles+.plan-tag-library{margin-top:12px}
.plan-tag-library{border-top:1px solid #e5ddea;padding-top:9px}
.plan-tag-library>summary{font-size:13px;font-weight:600;color:#556380;cursor:pointer;padding:3px 0 8px;line-height:1.6}
.plan-tag-library>summary>span{font-weight:400;font-size:11px;margin-left:7px;color:#676e85}
.plan-tag-groups{display:grid;gap:12px;padding:5px 0 3px}
.plan-tag-group h5{font-size:12px;font-weight:500;color:#706a80;margin:0 0 7px}
.plan-tag-chips{display:flex;gap:7px;flex-wrap:wrap}
.plan-tag-chip{display:inline-flex;align-items:center;gap:4px;min-height:34px;padding:6px 10px;border:1px solid #daddea;border-radius:18px;background:#fffffff0;color:#56607c;font-size:12px;line-height:1.6;font-weight:500;cursor:pointer;transition:background .16s,border-color .16s}
.plan-tag-chip>span{font-size:14px;color:#9582a0}
.plan-tag-chip:hover:not(:disabled){border-color:#a28bae;background:#f8edf6}
.plan-tag-chip[aria-pressed="true"]{background:#e7eefe;border-color:#7f98c3;color:#3e587f}
.plan-tag-chip[aria-pressed="true"]>span{color:#496da1}
.plan-tag-chip:disabled{cursor:default;opacity:.55}
.plan-tag-chip:focus-visible,.plan-tag-remove:focus-visible,.plan-tag-actions button:focus-visible{outline:3px solid #9faee0;outline-offset:2px}
.plan-tag-editors{display:grid;gap:12px}
.plan-tag-editors:not(:empty){margin-top:15px;padding-top:14px;border-top:1px solid #dedeea}
.plan-tag-editor{padding:13px;background:#fffffff2;border:1px solid #dce2ed;border-radius:10px;min-width:0}
.plan-tag-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.plan-tag-editor-head>strong{font-size:12px;color:#69708d;font-weight:500}
.plan-tag-remove{background:none;color:#855d78;border:0;padding:4px 0 4px 8px;font-size:12px;line-height:1.8;cursor:pointer;min-height:30px;flex:none}
.plan-tag-trigger{font-size:12px;line-height:1.9;color:#646e82;overflow-wrap:anywhere;margin:7px 0 11px}
.plan-tag-trigger>strong{display:block;font-size:11px;font-weight:600;color:#71687f;margin-bottom:2px}
.plan-tag-editor .field{font-size:12px;margin:10px 0 0;color:#606b83;gap:6px}
.plan-tag-editor input,.teacher-review-aside .plan-tag-editor textarea,.plan-tag-editor textarea{font:inherit;font-size:13px;width:100%;min-width:0;border-color:#d9dfeb;background:#fcfdff;line-height:1.85;border-radius:7px}
.plan-tag-editor textarea{resize:vertical;min-height:148px}
.plan-hint-editor{background:linear-gradient(160deg,#fff,#f8faff);border-color:#dce2ef;padding:11px}
.plan-hint-editor .plan-tag-trigger{margin:5px 0 8px;line-height:1.8}
.plan-hint-editor textarea{min-height:110px}
.plan-tag-editor input{min-height:38px}
.plan-tag-evidence{margin-top:9px}
.plan-tag-evidence summary,.plan-tag-method summary{font-size:12px;line-height:1.8;color:#6c677e;cursor:pointer;min-height:28px}
.plan-tag-evidence p,.plan-tag-method p{font-size:12px;line-height:1.85;color:#656e82;margin:7px 0;overflow-wrap:anywhere}
.plan-tag-evidence a,.plan-tag-method a{font-size:12px;line-height:1.9;color:#526c98;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.plan-tag-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:13px}
.plan-tag-actions[hidden]{display:none}
.plan-tag-count{font-size:12px;color:#636f86}
.plan-tag-actions .btn{font-size:12px;min-height:36px;border-color:#c7d4e8;background:#eaf1fc;color:#43648d;padding:7px 10px}
.plan-tag-status{font-size:12px;line-height:1.8;color:#4f719b;margin:9px 0 0;overflow-wrap:anywhere}
.plan-tag-status:empty{display:none}
.plan-tag-status.is-error{color:#a34561}
.plan-tag-saving-note{font-size:12px;line-height:1.85;color:#6d697c;margin:11px 0 0}
.plan-tag-method{margin-top:11px;padding-top:9px;border-top:1px dashed #daddea}
.plan-tag-method ul{padding-left:17px;margin:7px 0}
.plan-tag-method li{margin:5px 0}
#group-review-form .plan-tag-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px}
#group-review-form .plan-tag-editors{grid-template-columns:repeat(2,minmax(0,1fr))}
#group-review-form .plan-tag-editors>article:only-child{grid-column:1/-1}
/* Keep the first inspiration choices visible above the feedback fields. */
.teacher-review-aside .plan-tag-assistant{padding:11px 12px}
.teacher-review-aside .plan-tag-heading{align-items:center;gap:8px}
.teacher-review-aside .plan-tag-mark{width:24px;height:24px;border-radius:8px;font-size:16px}
.teacher-review-aside .plan-tag-heading h4{font-size:14px;line-height:1.5}
.teacher-review-aside .plan-hint-context{margin:6px 0 8px;line-height:1.55}
.teacher-review-aside .plan-hint-bubbles{gap:8px 7px;padding-bottom:3px}
.teacher-review-aside .plan-hint-bubble{min-height:34px;padding:5px 10px}
.teacher-review-aside .plan-tag-saving-note{font-size:11px;line-height:1.65;margin:6px 0 0}
.teacher-review-aside .plan-tag-library{margin-top:7px;padding-top:4px}
.teacher-review-aside .plan-tag-library>summary{font-size:12px;line-height:1.55;padding:2px 0}
.teacher-review-aside .plan-tag-library>summary>span{font-size:10px;margin-left:5px}
.teacher-review-aside .plan-tag-editors:not(:empty){margin-top:12px;padding-top:11px}
@media(max-width:720px){.plan-tag-assistant{padding:13px}.plan-tag-chip{min-height:44px;font-size:13px;padding:7px 11px}.plan-hint-bubble{min-height:44px;font-size:13px;padding:8px 12px}.plan-hint-bubbles{gap:11px 8px}.plan-hint-context{font-size:12px}.plan-tag-heading h4{font-size:15px}.plan-tag-remove{min-height:44px}.plan-tag-actions .btn{min-height:44px;font-size:13px}.plan-tag-editor input,.plan-tag-editor textarea{font-size:14px}.plan-tag-editor input{min-height:44px}#group-review-form .plan-tag-groups,#group-review-form .plan-tag-editors{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px),(pointer:coarse){.teacher-review-aside .plan-hint-bubble{min-height:44px;padding:8px 12px}.teacher-review-aside .plan-tag-library>summary{min-height:44px;padding:11px 0;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.plan-tag-chip,.plan-hint-bubble{transition:none}.plan-hint-bubble:hover:not(:disabled){transform:none}}
@media(forced-colors:active){.plan-tag-assistant,.plan-tag-editor,.plan-tag-chip,.plan-hint-bubble{background:Canvas;border-color:CanvasText;color:CanvasText;box-shadow:none}.plan-tag-chip[aria-pressed="true"],.plan-hint-bubble[aria-pressed="true"]{color:HighlightText;background:Highlight;border-color:Highlight}.plan-hint-bubble::after{display:none}.plan-hint-context::before{background:CanvasText}.plan-hint-bubble:focus-visible{outline-color:Highlight}}
@media print{.plan-tag-assistant{display:none}}
