.bpo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px}.bpo-switch{display:inline-flex;padding:4px;border:1px solid var(--line,#dce3df);border-radius:12px;background:var(--surface,#fff);gap:4px}.bpo-switch button{font:inherit;font-size:14px;padding:10px 16px;border:0;border-radius:8px;background:transparent;color:var(--ink,#203c3b);cursor:pointer}.bpo-switch button[aria-pressed=true]{background:var(--accent-dark,#245b53);color:#fff}.bpo-toolbar-note,.bpo-muted{font-size:13px;color:var(--muted,#52656a)}.bpo-root{color:var(--ink,#203c3b);min-width:0}.bpo-root[hidden],.context-page[hidden]{display:none!important}.bpo-root h3{font-size:23px;line-height:1.3;margin:3px 0 8px}.bpo-root h4{font-size:16px;line-height:1.45;margin:0 0 10px}.bpo-root p{line-height:1.65;margin:7px 0;white-space:pre-line;overflow-wrap:anywhere}.bpo-heading,.bpo-priority-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}.bpo-heading{margin-bottom:24px}.bpo-heading p{color:var(--muted,#52656a)}.bpo-heading-actions{display:flex;gap:8px;flex-wrap:wrap}.bpo-layout{display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);gap:24px;align-items:start}.bpo-priorities{min-width:0}.bpo-priority{width:100%;display:grid;gap:7px;text-align:left;font:inherit;border:1px solid var(--line,#dce3df);border-radius:12px;background:var(--surface,#fff);color:inherit;padding:16px;margin-bottom:10px;cursor:pointer;overflow-wrap:anywhere}.bpo-priority span{font-size:13px;color:var(--muted,#52656a)}.bpo-priority[aria-pressed=true]{border-color:var(--accent-dark,#245b53);box-shadow:inset 4px 0 0 var(--accent-dark,#245b53);background:var(--surface-soft,#f0f6f2)}.bpo-root button:focus-visible,.bpo-root summary:focus-visible,.bpo-toolbar button:focus-visible{outline:3px solid var(--accent-dark,#245b53);outline-offset:3px}.bpo-completed{margin-top:20px}.bpo-completed summary{cursor:pointer;padding:8px 0 14px}.bpo-detail{padding:26px;background:var(--surface,#fff);border:1px solid var(--line,#dce3df);border-radius:16px;min-width:0}.bpo-purpose{padding:20px 0}.bpo-purpose h4:not(:first-child){margin-top:20px}.bpo-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bpo-signals section{display:grid;align-content:start;gap:7px;padding:14px;background:var(--surface-soft,#f0f6f2);border-radius:10px;overflow-wrap:anywhere}.bpo-signals span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#52656a)}.bpo-signals strong{font-size:14px;line-height:1.5}.bpo-section{border-top:1px solid var(--line,#dce3df);padding-top:23px;margin-top:23px}.bpo-next{background:var(--surface-soft,#f0f6f2);border:1px solid var(--line,#dce3df);border-radius:12px;padding:18px}.bpo-next details{margin-top:14px}.bpo-kicker{font-size:13px;color:var(--muted,#52656a)}.bpo-items{list-style:none;padding:0;margin:0}.bpo-items li{padding:13px 0;border-bottom:1px solid var(--line,#dce3df)}.bpo-items li:last-child{border:0}.bpo-items li>span{display:block;margin-top:5px;font-size:13px;color:var(--muted,#52656a);overflow-wrap:anywhere}.bpo-text-button{display:inline;text-align:left;padding:2px 0;border:0;background:transparent;color:var(--accent-dark,#245b53);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere;max-width:100%}.bpo-warning{padding:14px 16px;border:1px solid #d8b881;border-radius:10px;background:#fff7e9;color:#674720}.bpo-message{padding:16px;background:var(--surface-soft,#f0f6f2);border-radius:10px}.bpo-result{margin:14px 0;padding-left:14px;border-left:3px solid var(--line,#dce3df)}
@media(max-width:900px){.bpo-layout{grid-template-columns:1fr}.bpo-priorities{display:flex;gap:10px;flex-wrap:wrap}.bpo-priorities>h4{width:100%}.bpo-priority{flex:1 1 180px;width:auto;margin:0}.bpo-completed{flex-basis:100%;margin-top:4px}.bpo-completed .bpo-priority{margin-bottom:8px;width:100%}.bpo-detail{padding:20px}}@media(max-width:480px){.bpo-signals{grid-template-columns:1fr}.bpo-heading h3{font-size:21px}.bpo-heading-actions{width:100%}.bpo-heading-actions button{flex:1}.bpo-switch{width:100%}.bpo-switch button{flex:1;padding:10px 8px}.bpo-detail{padding:16px}.bpo-priority{flex-basis:100%}}
@media print{.bpo-toolbar,.bpo-heading-actions,.bpo-priorities,.bpo-priority-heading button{display:none!important}.bpo-layout{display:block}.bpo-detail{border:0;padding:0}.bpo-root button.bpo-text-button{color:inherit;text-decoration:none}.bpo-section{break-inside:avoid}.bpo-root[hidden]{display:none!important}}
.bpo-editor-dialog{box-sizing:border-box;width:min(1120px,96vw);max-width:96vw;max-height:92vh;padding:0;border:1px solid var(--line,#dce3df);border-radius:16px;background:var(--surface,#fff);color:var(--ink,#203c3b);box-shadow:0 22px 80px #152e3240;font:inherit;overflow:hidden}.bpo-editor-dialog::backdrop{background:#102c365c}.bpo-editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid var(--line,#dce3df)}.bpo-editor-header h3{margin:3px 0;font-size:22px}.bpo-editor-header p{margin:0}.bpo-editor-body{display:grid;grid-template-columns:225px minmax(0,1fr);max-height:calc(92vh - 95px);overflow:hidden}.bpo-editor-nav{padding:18px;background:var(--surface-soft,#f1f6f2);overflow:auto;min-width:0}.bpo-editor-nav>.primary-button{width:100%;margin-bottom:16px}.bpo-editor-content{padding:22px;overflow:auto;min-width:0}.bpo-editor-content h4{margin:0 0 10px;font-size:18px}.bpo-editor-dialog .primary-button{border:0;border-radius:9px;background:var(--accent-dark,#285e56);color:#fff;font:inherit;font-size:14px;padding:11px 15px;cursor:pointer}.bpo-editor-dialog button:disabled{opacity:.55;cursor:wait}.bpo-editor-dialog button:focus-visible,.bpo-editor-dialog input:focus-visible,.bpo-editor-dialog textarea:focus-visible{outline:3px solid var(--accent,#78a69a);outline-offset:2px}.bpo-editor-dialog .school-priority-row{padding:0;border:0;margin:16px 0;background:transparent;box-shadow:none}.bpo-editor-dialog .school-priority-summary,.bpo-editor-dialog .school-priority-collapse{display:none!important}.bpo-editor-dialog .school-priority-editor{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bpo-editor-dialog .school-priority-editor>.wide,.bpo-editor-dialog .priority-link-field,.bpo-editor-dialog .ok-framework-field,.bpo-editor-dialog .school-priority-strategic-objective,.bpo-editor-dialog .vision-pillar-description,.bpo-editor-dialog .school-priority-monitor-summary{grid-column:1/-1}.bpo-editor-dialog label.field{display:grid;gap:7px;font-size:14px}.bpo-editor-dialog .field>span{font-weight:600}.bpo-editor-dialog input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.bpo-editor-dialog textarea{box-sizing:border-box;width:100%;border:1px solid var(--line,#dce3df);border-radius:9px;padding:10px 12px;background:var(--surface,#fff);color:inherit;font:inherit;font-size:14px}.bpo-editor-dialog textarea{resize:vertical;min-height:85px}.bpo-editor-dialog fieldset{min-width:0;border:1px solid var(--line,#dce3df);border-radius:10px;padding:14px}.bpo-editor-dialog legend{font-size:14px;font-weight:600}.bpo-editor-dialog .goal-choice,.bpo-editor-dialog .ok-framework-option{display:flex;align-items:flex-start;gap:10px;padding:8px 0;font-size:13px}.bpo-editor-dialog .goal-choice span,.bpo-editor-dialog .ok-framework-expectation{display:grid;gap:3px}.bpo-editor-dialog .goal-choice small,.bpo-editor-dialog .ok-framework-expectation em{font-size:12px;font-style:normal;color:var(--muted,#52656a)}.bpo-editor-dialog details.ok-framework-field{padding:14px;border:1px solid var(--line,#dce3df);border-radius:10px}.bpo-editor-dialog .ok-framework-field>summary{cursor:pointer}.bpo-editor-dialog .ok-framework-field h4{font-size:15px;margin-top:18px}.bpo-editor-dialog .ok-framework-field h5{font-size:14px;margin:12px 0}.bpo-editor-dialog .bpo-editor-feedback:empty{display:none}.bpo-editor-dialog .bpo-editor-feedback{padding:12px;border:1px solid #dfc28e;background:#fff9ee;color:#624d2b;border-radius:9px;font-size:14px;white-space:pre-line}.bpo-editor-actions{position:sticky;bottom:-22px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:16px 0;background:var(--surface,#fff);border-top:1px solid var(--line,#dce3df)}.bpo-editor-dialog .school-priority-footer-actions button{font:inherit;font-size:13px;padding:8px 12px;border:1px solid var(--line,#dce3df);border-radius:8px;background:var(--surface,#fff);color:inherit;cursor:pointer}.bpo-editor-dialog [hidden]{display:none!important}@media(max-width:650px){.bpo-editor-dialog{max-height:95vh;width:97vw;max-width:97vw}.bpo-editor-header{padding:14px}.bpo-editor-header h3{font-size:18px}.bpo-editor-body{grid-template-columns:1fr;max-height:calc(95vh - 90px)}.bpo-editor-nav{display:flex;gap:8px;max-height:130px;padding:12px;overflow:auto}.bpo-editor-nav>.bpo-priority{flex:0 0 160px}.bpo-editor-nav>.primary-button{flex:0 0 150px;width:auto;margin:0}.bpo-editor-content{max-height:calc(95vh - 210px);padding:16px}.bpo-editor-dialog .school-priority-editor{grid-template-columns:1fr}.bpo-editor-actions{bottom:-16px}.bpo-editor-actions button{flex:1}}
.bpo-editor-body{height:min(740px,calc(92vh - 95px))}.bpo-editor-content{display:flex;flex-direction:column;overflow:hidden}.bpo-priority-form{display:flex;flex-direction:column;min-height:0;height:100%;margin:0}.bpo-priority-form>h4,.bpo-priority-form>.bpo-muted{flex-shrink:0}.bpo-editor-fields{min-height:0;overflow:auto;flex:1;padding-right:6px}.bpo-editor-actions{position:static;flex-shrink:0;margin-top:10px;padding-bottom:0}.bpo-editor-feedback{max-height:120px;overflow:auto;flex-shrink:0}@media(max-width:650px){.bpo-editor-body{height:calc(95vh - 95px);grid-template-rows:110px minmax(0,1fr)}.bpo-editor-content{height:auto;max-height:none}.bpo-editor-nav{max-height:none}.bpo-editor-actions{margin-top:8px}}

/* A detail-page edit already has one explicit priority: do not ask for it again. */
.bpo-editor-dialog-focused .bpo-editor-body{grid-template-columns:minmax(0,1fr)}
.bpo-editor-dialog-focused .bpo-editor-content{padding-left:28px;padding-right:28px}
@media(max-width:650px){.bpo-editor-dialog-focused .bpo-editor-body{grid-template-rows:minmax(0,1fr)}.bpo-editor-dialog-focused .bpo-editor-content{padding-left:16px;padding-right:16px}}

/* Match the established Bob application language: compact panels, teal accents and native buttons. */
.bpo-root{--bpo-ink:var(--ink,#1d3c4f);--bpo-accent:var(--accent-dark,#067f74);--bpo-accent-soft:var(--accent-soft,#edf8f6);--bpo-line:var(--line,#dce6e6);color:var(--bpo-ink)}
.bpo-switch{padding:3px;border-color:var(--bpo-line);border-radius:9px;gap:3px}.bpo-switch button{font-weight:600;padding:9px 15px;border-radius:6px;color:var(--bpo-ink)}.bpo-switch button[aria-pressed=true]{background:var(--bpo-accent)}
.bpo-heading{padding:4px 0 16px;margin-bottom:18px;border-bottom:1px solid var(--bpo-line)}.bpo-heading h3{font-size:28px;letter-spacing:-.02em;color:var(--bpo-ink)}.bpo-heading .eyebrow,.bpo-priority-heading .eyebrow{color:var(--bpo-accent);font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.bpo-layout{gap:20px}.bpo-priority{border-color:var(--bpo-line);border-radius:7px;padding:15px;box-shadow:none}.bpo-priority:hover{background:var(--bpo-accent-soft)}.bpo-priority[aria-pressed=true]{border-color:var(--accent,#08a091);box-shadow:inset 3px 0 0 var(--accent,#08a091);background:var(--bpo-accent-soft)}
.bpo-help-button{display:block;margin:0 0 18px;padding:2px 0;border:0;background:transparent;color:var(--bpo-accent);font:inherit;font-size:14px;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.bpo-help-button:hover{color:var(--ink,#1d3c4f)}
.bpo-main-actions{justify-content:flex-end;margin:0 0 14px}
.bpo-overview-top{display:flex;align-items:center;gap:14px;margin:0 0 14px}.bpo-overview-top .bpo-message{flex:1;margin:0}.bpo-overview-top .bpo-main-actions{flex:0 0 auto;margin:0}
@media(max-width:650px){.bpo-overview-top{align-items:stretch;flex-direction:column}.bpo-overview-top .bpo-main-actions button{width:100%}}
.bpo-detail{padding:24px;border-color:var(--bpo-line);border-radius:10px}.bpo-priority-heading{padding-bottom:18px;border-bottom:1px solid var(--bpo-line)}.bpo-purpose{padding:22px 0}.bpo-signals section{background:var(--bpo-accent-soft);border:1px solid #b7dcd6;border-radius:7px}.bpo-section{border-color:var(--bpo-line)}.bpo-next{background:var(--bpo-accent-soft);border-color:#b7dcd6;border-radius:8px}.bpo-items li{border-color:var(--bpo-line)}.bpo-text-button{color:var(--bpo-accent)}.bpo-message{background:#f5f8fa;border:1px solid var(--bpo-line);border-radius:7px}.bpo-warning{border-radius:7px}
.bpo-empty-state{display:grid;align-content:center;justify-items:start;min-height:360px;max-width:680px;padding:18px 24px}.bpo-empty-state h3{font-size:28px;letter-spacing:-.02em}.bpo-empty-state p{color:var(--muted,#495762);font-size:15px}.bpo-empty-state .primary-button{margin-top:12px}
.bpo-monitor-context{margin:0 0 22px;padding:20px;background:#f5f8fa;border:1px solid var(--bpo-line);border-radius:8px}.bpo-monitor-context>h4{margin-bottom:14px}.bpo-monitor-context article+article{margin-top:16px;padding-top:16px;border-top:1px solid var(--bpo-line)}.bpo-monitor-context dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:14px 0 0}.bpo-monitor-context dl>div{min-width:0}.bpo-monitor-context dt{margin-bottom:4px;font-size:12px;color:var(--muted,#495762)}.bpo-monitor-context dd{margin:0;line-height:1.55;overflow-wrap:anywhere}
.bpo-editor-dialog{border-color:var(--bpo-line);border-radius:12px;color:var(--bpo-ink)}.bpo-editor-header{background:var(--bpo-accent-soft);border-color:#b7dcd6}.bpo-editor-nav{background:#f5f8fa}.bpo-editor-dialog .primary-button{border-radius:7px;background:var(--bpo-accent)}.bpo-editor-dialog input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.bpo-editor-dialog textarea,.bpo-editor-dialog fieldset,.bpo-editor-dialog details.ok-framework-field{border-radius:7px;border-color:#cbdade}
@media(max-width:480px){.bpo-empty-state{min-height:280px;padding:8px}.bpo-empty-state h3{font-size:24px}.bpo-monitor-context{padding:16px}.bpo-monitor-context dl{grid-template-columns:1fr}}

/* Use the exact OK-poster layout from action plans; only this dialog adds horizontal overflow. */
.bpo-editor-dialog details.ok-framework-field{padding:0;border:0;border-radius:0}
.bpo-editor-dialog .ok-framework-option{
  display:grid;
  grid-template-columns:auto 42px minmax(0,1fr);
  align-items:start;
  gap:7px;
  min-width:0;
  padding:7px 8px;
  border:0;
  border-bottom:1px solid #b8deea;
  border-radius:0;
  background:#fff;
  font-size:inherit;
}
.bpo-editor-dialog .ok-framework-option:last-child{border-bottom:0}
.bpo-editor-dialog .ok-framework-expectation{display:block}
.bpo-editor-dialog .ok-framework-expectation em{color:#3f4d54;font-size:11px;font-style:normal;line-height:1.28}
.bpo-editor-dialog .ok-framework-zone h4{width:100%;margin:0;color:#fff;font-size:16px;line-height:1.15}
.bpo-editor-dialog .ok-framework-group h5{margin:0;padding:7px 9px;color:#4b78b5;background:#d9eef4;border:0;border-bottom:1px solid #9ed6e5;font-size:13px;font-weight:800;line-height:1.15;text-align:center}
@media(min-width:1100px){
  .bpo-editor-dialog .ok-framework-map{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    padding-bottom:12px;
    scrollbar-gutter:stable;
  }
}
