/* ai-prompt-manager.css v1.0.3 (room under the Question box for the 14px grip) v1.0.2 (.apm-ta: the resize grip lines up with the Question box) v1.0.1 (kind tick boxes keep 16px; view card head) v1.0 (2026-11-29, ai_prompt_manager_v1): Developer > System Tools > Development > AI Prompt Manager.
   The look comes from screen-designer.css (.sdz) and operations-manager.css (.opm: panes, list, facts, tables); this file only lays out the pages.
   Theme tokens only; 14px between the boxes. */
.sdz.opm.apm .opm-body{grid-template-columns:var(--opm-lw,270px) minmax(0,1fr)}
.sdz.opm.apm .opm-left .opm-phead{padding-top:12px}
.sdz.opm.apm .apm-page{gap:10px}
.sdz.opm.apm .apm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.sdz.opm.apm .apm-head h3{margin:0 0 2px;font-size:16px;font-weight:650}
.sdz.opm.apm .apm-head p{margin:0}
.sdz.opm.apm .apm-acts{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 auto}
.sdz.opm.apm .apm-acts button.opm-save:not(:disabled) .sdz-lbl{color:var(--z-green)}
.sdz.opm.apm .apm-acts button.opm-accent:not(:disabled) .sdz-lbl{color:var(--z-accent)}
.sdz.opm.apm .apm-acts button:disabled{opacity:.5;cursor:default}
.sdz.opm.apm .apm-facts{margin-top:0;padding-top:0;border-top:0}
.sdz.opm.apm .apm-editor{min-height:320px;flex:0 0 auto;height:46vh}
.sdz.opm.apm .apm-editor textarea{white-space:pre-wrap!important;font-size:12.5px;line-height:1.5}
.sdz.opm.apm .apm-tw{max-height:none}
.sdz.opm.apm .apm-logtw{max-height:calc(var(--sdz-fill-h,800px) - 230px)}
.sdz.opm.apm .opm-table td.apm-wrap{white-space:normal;max-width:520px}
.sdz.opm.apm .apm-click tbody tr{cursor:pointer}
.sdz.opm.apm .apm-click tbody tr:hover{background:var(--z-hover)}
.sdz.opm.apm .apm-form{display:flex;flex-direction:column;gap:2px;max-width:980px}
.sdz.opm.apm .apm-form textarea{min-height:64px;resize:vertical}
.sdz.opm.apm .apm-ints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-width:none}
.sdz.opm.apm .apm-ints label.sdz-ed.opm-ed{grid-template-columns:220px minmax(0,1fr)}
.sdz.opm.apm label.sdz-ed.opm-ed{grid-template-columns:160px minmax(0,1fr)}
.sdz.opm.apm label.sdz-ed.opm-ed>small{grid-column:2}
.sdz.opm.apm .apm-togs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}
.sdz.opm.apm .apm-filters{display:flex;align-items:center;gap:8px}
.sdz.opm.apm .apm-filters .opm-search{flex:1 1 auto;max-width:520px}
.sdz.opm.apm .apm-filters select{height:30px;padding:0 8px;border:1px solid var(--z-border);border-radius:var(--z-r);background:var(--z-paper);color:var(--z-text)}
.sdz.opm.apm .apm-out{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.sdz.opm.apm .apm-req .opm-facts{margin-top:6px}
.sdz.opm.apm .apm-kv{display:flex;gap:10px;align-items:flex-start;margin-top:6px;font-size:12px}
.sdz.opm.apm .apm-kv>span{flex:0 0 150px;color:var(--z-muted)}
.sdz.opm.apm .apm-msg{border:1px solid var(--z-line);border-radius:8px;background:var(--z-paper);overflow:hidden}
.sdz.opm.apm .apm-msgh{display:flex;align-items:center;gap:10px;padding:6px 10px;border-bottom:1px solid var(--z-line);background:var(--z-surface)}
.sdz.opm.apm .apm-msgh small{margin-right:auto}
.sdz.opm.apm .apm-msgh button.opm-mini{margin-top:0}
.sdz.opm.apm .apm-role-system .apm-msgh b{color:var(--z-accent)}
.sdz.opm.apm .apm-role-assistant .apm-msgh b{color:var(--z-green)}
.sdz.opm.apm .apm-role-user .apm-msgh b{color:var(--z-amber)}
.sdz.opm.apm .apm-msg pre,.sdz.opm.apm pre.apm-pre{margin:0;padding:10px 12px;white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5;max-height:440px;overflow:auto;color:var(--z-text)}
.sdz.opm.apm pre.apm-pre{border:1px solid var(--z-line);border-radius:8px;background:var(--z-paper)}
.sdz.opm.apm .apm-views{display:grid;grid-template-columns:repeat(auto-fill,minmax(440px,1fr));gap:14px}
.sdz.opm.apm .apm-view .apm-msgh{margin:0 0 8px;padding:0 0 6px;background:transparent;border-radius:0}
.sdz.opm.apm .apm-view .apm-msgh b{margin-right:auto}
.sdz.opm.apm .apm-inactive{opacity:.62}
.sdz.opm.apm .apm-kinds{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}
.sdz.opm.apm label.apm-kind{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px;text-transform:none!important;letter-spacing:normal!important;font-size:12.5px!important}
.sdz.opm.apm label.apm-kind input[type=checkbox]{width:16px!important;height:16px!important;min-width:0!important;max-width:16px!important;flex:0 0 16px!important;margin:2px 0 0!important;padding:0!important}
.sdz.opm.apm label.apm-kind>span{flex:1 1 auto;min-width:0;display:block}
.sdz.opm.apm label.apm-kind small{display:block;font-size:11px}
.sdz.opm.apm .apm-col{cursor:pointer;font-size:11.5px}
.sdz.opm.apm .apm-col.apm-hid{color:var(--z-red)!important;border-color:var(--z-red)!important;text-decoration:line-through}
@container sdz (max-width:1240px){.sdz.opm.apm .opm-body{--opm-lw:230px}.sdz.opm.apm .apm-ints,.sdz.opm.apm .apm-togs{grid-template-columns:1fr}}
/* v1.0.2: the Question box has its own positioned box, so textarea-grip.js measures the grip against the box itself */
.sdz.opm.apm .apm-ta{position:relative;min-width:0;width:100%;margin-bottom:16px}
.sdz.opm.apm .apm-ta textarea{display:block;width:100%!important;box-sizing:border-box}
