dialog.wp-dialog.wp-strategy-dialog{
  --strategy-ink:#172c30;--strategy-muted:#51686c;--strategy-line:#dce6e4;--strategy-teal:#007c76;
  width:min(820px,calc(100% - 28px));max-width:100%;max-height:calc(100dvh - 28px);padding:0;
  overflow:hidden;color:var(--strategy-ink);border:1px solid var(--strategy-line);border-radius:8px;
  box-shadow:0 22px 66px #122a3130;
}
.wp-strategy-dialog::backdrop{background:#20373d66}
.wp-strategy-dialog form,.wp-strategy-viewer[open]{display:flex;flex-direction:column;max-height:inherit;min-width:0;margin:0}
.wp-strategy-heading,.wp-strategy-footer{flex:none;background:#fff;padding:14px 22px}
.wp-strategy-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--strategy-line)}
.wp-strategy-heading h2{margin:2px 0 0;color:var(--strategy-ink);font:650 22px/1.25 var(--font-sans);letter-spacing:0}
.wp-strategy-heading p{margin:4px 0 0;overflow-wrap:anywhere;color:var(--strategy-muted)}
.wp-strategy-kicker{display:block;color:var(--strategy-teal);font-weight:650;font-size:12px}
.wp-strategy-dialog .wp-icon-button{flex:none;width:36px;height:36px;padding:0;border:1px solid var(--strategy-line);border-radius:6px;color:var(--strategy-muted);background:#fff}
.wp-strategy-dialog .wp-icon-button:hover{background:#f0f6f5;color:var(--strategy-teal)}
.wp-strategy-scroll{overflow:auto;overscroll-behavior:contain;min-height:0}
.wp-strategy-columns{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.wp-strategy-columns section{min-width:0;padding:20px 22px}
.wp-strategy-dialog h3{display:flex;align-items:center;gap:8px;margin:0 0 14px;font:650 14px/1.35 var(--font-sans);letter-spacing:0}
.wp-strategy-dialog h3 svg{flex:none;width:16px;height:16px;color:var(--strategy-teal)}
.wp-strategy-dialog h3 small{margin-left:auto;font-size:11px;font-weight:500;color:var(--strategy-muted)}
.wp-strategy-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px;align-items:start}
.wp-strategy-dialog .fm-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
.wp-strategy-fields :is(.wp-strategy-full,.fm-field:has(textarea)){grid-column:1/-1}
.wp-strategy-dialog label{display:block;margin:0;font:600 12px/1.35 var(--font-sans);color:var(--strategy-muted);letter-spacing:0}
.wp-strategy-dialog label span{color:inherit!important}
.wp-strategy-dialog :is(input:not([type=hidden]):not([type=file]),select,textarea){
  display:block!important;visibility:visible!important;opacity:1!important;box-sizing:border-box!important;
  width:100%!important;min-width:0;min-height:42px;padding:9px 11px!important;margin:0!important;
  background:#fff!important;color:var(--strategy-ink)!important;border:1px solid #bdcecb!important;
  border-radius:6px!important;box-shadow:none!important;font:14px/1.4 var(--font-sans)!important;letter-spacing:0!important;
}
.wp-strategy-dialog .fm-field textarea{min-height:78px!important;resize:vertical}
.wp-strategy-dialog #wpStrategyReferenceText{margin-top:6px!important;min-height:106px}
.wp-strategy-dialog :is(input,select,textarea,button):focus-visible{outline:2px solid var(--strategy-teal);outline-offset:2px}
.wp-strategy-references{background:#f6f9f8;border-left:1px solid var(--strategy-line)}
.wp-strategy-upload{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--strategy-line);border-radius:6px;padding:9px 10px;margin-bottom:15px}
.wp-strategy-upload strong,.wp-strategy-upload small{display:block}
.wp-strategy-upload strong{font-size:13px}
.wp-strategy-upload small,.wp-strategy-files small{font-size:11px;color:var(--strategy-muted)}
.wp-strategy-dialog .wp-btn,#strategySection .wp-btn{border-radius:6px;flex-shrink:0;white-space:nowrap;font-size:12px;font-weight:600}
.wp-strategy-dialog .wp-btn{min-height:38px}
.wp-strategy-dialog .wp-btn.primary,#strategySection .wp-btn.primary{background:#007c76;color:#fff;border-color:#007c76}
.wp-strategy-dialog .wp-btn.primary:hover,#strategySection .wp-btn.primary:hover{background:#006b66}
.wp-strategy-dialog .wp-btn:disabled{opacity:.65;cursor:wait}
.wp-strategy-dialog .wp-btn svg,#strategySection .wp-btn svg{width:15px;height:15px}
.wp-strategy-files{padding:0;margin:0 0 15px;list-style:none}
.wp-strategy-files li{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid var(--strategy-line)}
.wp-strategy-files li>svg{width:16px;height:16px;color:var(--strategy-teal)}
.wp-strategy-files li span{display:block;font-weight:600;font-size:12px;overflow-wrap:anywhere}
.wp-strategy-files li small{display:block}
.wp-strategy-footer{border-top:1px solid var(--strategy-line);padding-block:10px}
.wp-strategy-actions{display:flex;justify-content:flex-end;gap:8px}
.wp-strategy-error{font-size:12px;font-weight:600;color:#a1342d;margin:0 0 10px;overflow-wrap:anywhere}
dialog.wp-dialog.wp-strategy-viewer{width:min(560px,calc(100% - 28px))}
.wp-strategy-read{padding:18px 22px}
.wp-strategy-read .wp-strategy-files:last-child{margin-bottom:0}
.wp-strategy-read [data-pasted] p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
#strategySection .wp-strategy-ref-button{min-height:30px;padding:4px 9px;color:#006c66;border-color:#c5d9d5;background:#f5f9f8}
#strategySection .wp-strategy-ref-button:hover{background:#e8f5f2}
.wp-strategy-inline-ref{margin-top:6px}
.wp-strategy-rule{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 0;border-top:1px solid #dce6e4}
.wp-strategy-rule h4{margin:0;font-size:14px;overflow-wrap:anywhere}
.wp-strategy-rule p{margin:4px 0 0;color:#51686c;white-space:pre-wrap;overflow-wrap:anywhere}
.wp-strategy-rule-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.wp-strategy-rule-status{font-size:12px;color:#51686c}
@media(max-width:660px){
  .wp-strategy-columns{grid-template-columns:minmax(0,1fr)}
  .wp-strategy-references{border-left:0;border-top:1px solid var(--strategy-line)}
  .wp-strategy-heading,.wp-strategy-footer,.wp-strategy-columns section,.wp-strategy-read{padding-inline:14px}
  .wp-strategy-columns section{padding-block:15px}
  .wp-strategy-dialog :is(input:not([type=hidden]):not([type=file]),textarea,select){font-size:16px!important}
  .wp-strategy-rule{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){.wp-strategy-fields{gap:10px}.wp-strategy-dialog .wp-icon-button{width:34px;height:34px}}
