/* Phase 4: compact advanced typography controls inside existing Brand Kits panel. */
.nf4-advanced{margin-top:8px;border-top:1px solid #e7dbee;padding-top:9px;min-width:0}
.nf4-advanced summary{font-size:11px;color:#54347e;font-weight:800;cursor:pointer}
.nf4-advanced[open]>summary{margin-bottom:9px}
.nf4-advanced strong{display:block;font-size:11px;color:#54347e;margin:10px 0 3px}
.nf4-hint{font-size:10px;color:#7c6d8d;line-height:1.55;margin:7px 0}
.nf4-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}
.nf4-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#665080;font-weight:650;font-size:10px}
.nf4-fields input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #dcd0eb;border-radius:7px;font-size:11px;padding:8px;background:white;color:#422e62}
.nf4-primary{width:100%;border:1px solid #7552d7;background:#7850e6;color:#fff;
  font-size:11px;border-radius:8px;padding:9px 6px;cursor:pointer;font-weight:800}
.nf4-background{display:flex!important;justify-content:space-between;align-items:center;gap:8px}
.nf4-background input{height:32px;width:51px;cursor:pointer;border:1px solid #dccfea;border-radius:6px;padding:3px}
.nf4-report{font-size:10px;line-height:1.5;background:#f1ebfd;border-radius:8px;padding:10px 9px;
  color:#584076;border:1px solid #dcd0ed;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}
.nf4-advanced button:focus-visible{outline:2px solid #d09129;outline-offset:2px}
