.template-picker.nr-design[hidden], .template-picker.nr-design > .nr-design-select[hidden],
#nrVisualDesigns [hidden], #nrSampleDesigns[hidden], .nr-public-gallery > select[hidden] {
  display: none !important;
}

#nrVisualDesigns.nr-live-design { display: block !important; min-width: 0; margin-top: 1rem; }
.nr-public-gallery { padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 4rem) 4rem; }
.nr-gallery-terms { margin: 0 0 1.25rem; color: #35564a; max-width: 76ch; }
.collection-head .hero-note .btn { margin-top: .65rem; }
.nr-gallery-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  gap: clamp(.8rem, 2vw, 1.6rem);
  align-items: start;
}
#nrVisualDesigns .nr-design-controls, #nrVisualDesigns .nr-preview-stage {
  display: block !important;
  min-width: 0;
  margin: 0;
  padding: clamp(.75rem, 2vw, 1.15rem);
  border: 1px solid #d3e0d7;
  border-radius: 18px;
  background: #f8fbf9;
}
#nrVisualDesigns .nr-preview-stage { position: sticky; top: 1rem; background: #fff; scroll-margin-block-start: 5rem; }
#nrVisualDesigns .nr-browse-title { margin: 0 0 .65rem; color: #123d30; font-size: 1.15rem; }
#nrVisualDesigns .nr-template-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .85rem; }
#nrVisualDesigns .nr-template-filters button,
#nrVisualDesigns .nr-colour-choice {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 40px;
  padding: .35rem .65rem;
  border: 1px solid #becfc4;
  border-radius: 2rem;
  background: #fff;
  color: #184837;
  font: inherit;
  font-size: .83rem;
  cursor: pointer;
}
#nrVisualDesigns .nr-template-filters button span {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  min-height: 1.3rem;
  padding: 0 .25rem;
  border-radius: 50%;
  background: #607c7020;
  font-size: .75rem;
}
#nrVisualDesigns .nr-template-filters button[aria-pressed="true"] { background: #174c3b; color: white; border-color: #174c3b; }
#nrVisualDesigns .nr-template-filters button[aria-pressed="true"] span { background: #ffffff29; }
#nrVisualDesigns.nr-live-design .nr-design-controls .nr-layout-list.nr-layout-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem;
  margin: 0;
  padding: 0;
  max-height: none;
  overflow: visible;
}
#nrVisualDesigns.nr-live-design .nr-design-controls .nr-layout-list.nr-layout-gallery > .nr-layout-choice {
  display: flex !important;
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  min-width: 0;
  min-height: 100%;
  gap: .6rem;
  padding: .48rem;
  border: 2px solid #d9e4dd;
  border-radius: 12px;
  background: #fff;
  color: #133b2e;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
#nrVisualDesigns.nr-live-design .nr-design-controls .nr-layout-list.nr-layout-gallery > .nr-layout-choice[hidden] { display: none !important; }
#nrVisualDesigns.nr-live-design .nr-layout-gallery > .nr-layout-choice[aria-pressed="true"] {
  border-color: #207356;
  background: #eaf6ee;
  box-shadow: 0 0 0 1px #207356;
}
#nrVisualDesigns .nr-layout-choice.selected strong::after { content: none; }
#nrVisualDesigns .nr-layout-choice[aria-pressed="true"]::after {
  content: '✓';
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #165640;
  color: white;
  font-size: .8rem;
}
@media (hover:hover) {
  #nrVisualDesigns .nr-layout-choice:hover { transform: translateY(-3px); box-shadow: 0 6px 18px #1d573224; }
}
#nrVisualDesigns :is(button, a, select):focus-visible, .nr-document-dialog button:focus-visible {
  outline: 2px solid #146650;
  outline-offset: 3px;
}
#nrVisualDesigns .nr-choice-info { display: grid; gap: .18rem; padding-inline: .12rem; }
#nrVisualDesigns .nr-choice-info strong { font-size: .94rem; }
#nrVisualDesigns .nr-choice-info small { color: #385749; font-size: .77rem; line-height: 1.3; overflow-wrap: anywhere; }
#nrVisualDesigns .nr-template-paper {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 210 / 297;
  background: #e7efe9;
  border: 1px solid #d9e2db;
  box-sizing: border-box;
  box-shadow: 0 2px 5px #123a2912;
  font-size: .75rem;
}
#nrVisualDesigns .nr-template-paper :is(canvas, img) { display: block; width: 100%; height: auto; max-width: 100%; }
#nrVisualDesigns .nr-colour-picker { margin: 0 0 .95rem; }
#nrVisualDesigns .nr-colour-picker h3 { margin: 0 0 .5rem; font-size: .94rem; }
#nrVisualDesigns .nr-colour-swatches { display: flex; flex-wrap: wrap; gap: .4rem; }
#nrVisualDesigns .nr-colour-choice[aria-pressed="true"] { outline: 1px solid #207356; background: #e7f3eb; }
#nrVisualDesigns .nr-colour-dot { width: .8rem; height: .8rem; flex: 0 0 .8rem; border-radius: 50%; }
#nrVisualDesigns .nr-preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
#nrVisualDesigns .nr-preview-heading h4 { margin: .15rem 0 0; font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: #113c2d; }
#nrVisualDesigns .nr-preview-heading select { max-width: 100%; min-height: 42px; border-radius: 8px; }
#nrVisualDesigns .nr-preview-status { margin: .4rem 0; min-height: 1.2rem; font-size: .82rem; color: #456258; }
#nrVisualDesigns .nr-pdf-pages {
  width: 100%;
  min-width: 0;
  padding: clamp(.45rem, 2vw, 1rem);
  border-radius: 9px;
  background: var(--nr-stage-colour, #ecf2ed);
  box-sizing: border-box;
  transition: background-color .18s ease;
}
#nrVisualDesigns .nr-pdf-pages canvas, .nr-dialog-pages canvas {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto .8rem;
  background: white;
  box-shadow: 0 4px 16px #133b2e24;
}
#nrVisualDesigns .nr-pdf-pages canvas:last-child, .nr-dialog-pages canvas:last-child { margin-bottom: 0; }
#nrVisualDesigns .nr-preview-footer, #nrVisualDesigns .nr-export-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
#nrVisualDesigns .nr-preview-footer { margin-top: .8rem; }
#nrVisualDesigns .nr-preview-note { font-size: .85rem; }
.nr-document-dialog {
  width: min(820px, 96vw);
  max-width: none;
  max-height: 94vh;
  max-height: 94dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #c3d9cc;
  border-radius: 12px;
  color: #163c30;
  background: #edf4ee;
}
.nr-document-dialog[open] { display: flex; flex-direction: column; }
.nr-document-dialog::backdrop { background: #0c251dcc; }
.nr-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .65rem 1rem; background: white; }
.nr-dialog-bar h3 { margin: 0; font-size: 1rem; }
.nr-dialog-pages { overflow: auto; overscroll-behavior: contain; min-height: 0; padding: clamp(.35rem, 2vw, 1.15rem); }
.nr-try-designs { margin: .7rem 0 1.2rem; }
.nr-sample :is(#premiumBadge, #premiumMessage, .nr-access-help, .nr-design-actions) { display: none !important; }

@media (max-width: 1000px) {
  #nrVisualDesigns.nr-live-design .nr-design-controls .nr-layout-list.nr-layout-gallery { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 760px) {
  .nr-gallery-workspace { grid-template-columns: minmax(0,1fr); }
  #nrVisualDesigns .nr-preview-stage { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  #nrVisualDesigns :is(.nr-layout-choice, .nr-pdf-pages) { transition: none; }
  #nrVisualDesigns .nr-layout-choice:hover { transform: none; }
}

.nr-templates-hero {
  color: #f4faf6;
  background: radial-gradient(ellipse at 80% 40%, #246b55, transparent 56%), linear-gradient(115deg, #092f29, #124638);
  overflow: clip;
}
.nr-templates-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1400px;
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 3.7rem) clamp(1rem, 4vw, 4rem);
}
.nr-templates-hero h1 {
  margin: 0;
  color: #f4faf6;
  font: 750 clamp(2.2rem, 4.5vw, 4.4rem)/1.05 Arial, Helvetica, sans-serif;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.nr-templates-hero h1 em { color: #a7e6bd; font-style: normal; }
.nr-templates-hero-copy p {
  margin: .9rem 0 1.15rem;
  max-width: 46ch;
  color: #e0f1e7;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.nr-templates-hero .nr-templates-hero-action {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.05rem;
  min-height: 44px;
  border: 1px solid #92ceaa;
  border-radius: 8px;
  background: #d7f3e0;
  color: #143d30;
  font-weight: 700;
  text-decoration: none;
}
.nr-templates-hero .nr-templates-hero-action:hover { background: #f1fff5; }
.nr-templates-hero .nr-templates-hero-action:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.nr-templates-hero-art {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: center;
  height: clamp(200px, 23vw, 335px);
  perspective: 890px;
  transform-style: preserve-3d;
}
.nr-template-hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  max-width: 220px;
  aspect-ratio: 210 / 297;
}
.nr-template-hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 0 14px 30px #031d1a80, 0 4px 10px #031d1a60;
}
.nr-template-hero-card[data-position="left"] {
  transform: translate(-106%, -46%) translateZ(-68px) rotateY(18deg) rotateZ(-11deg) scale(.91);
}
.nr-template-hero-card[data-position="centre"] { transform: translate(-50%, -50%) translateZ(24px); }
.nr-template-hero-card[data-position="right"] {
  transform: translate(6%, -46%) translateZ(-68px) rotateY(-18deg) rotateZ(11deg) scale(.91);
}
@media (max-width: 680px) {
  .nr-templates-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .nr-templates-hero-art { max-width: 340px; height: clamp(174px, 63vw, 235px); perspective: 650px; }
}

/* Preview-first document workspace */
#nrVisualDesigns .nr-gallery-workspace{grid-template-columns:minmax(180px, .65fr) minmax(0,2fr);gap:16px}#nrVisualDesigns .nr-preview-stage{padding:12px;position:static}#nrVisualDesigns .nr-pdf-pages{padding:8px}#nrVisualDesigns .nr-pdf-pages canvas{margin:0 auto}#nrVisualDesigns .nr-pdf-pages canvas[hidden],#nrVisualDesigns .nr-document-pager[hidden],#nrVisualDesigns .nr-enlarge{display:none!important}#nrVisualDesigns .nr-layout-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:600px;overflow:auto}#nrVisualDesigns .nr-document-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0 12px}#nrVisualDesigns .nr-document-pager button,#nrVisualDesigns .nr-export-buttons button{border-radius:10px;min-height:42px;padding:9px 13px;font-weight:600;font-size:13px}#nrVisualDesigns .nr-document-pager button{background:white;border:1px solid #cbdcd2;color:#184b39}#nrVisualDesigns .nr-document-pager button:disabled{opacity:.4;cursor:default}#nrVisualDesigns .nr-document-pager span{font-size:12px;font-weight:600;white-space:nowrap}#nrVisualDesigns .nr-export-buttons{display:flex;gap:8px;flex-wrap:wrap}#nrVisualDesigns .nr-export-buttons button{flex:1} @media(max-width:760px){#nrVisualDesigns .nr-gallery-workspace{grid-template-columns:minmax(0,1fr)}#nrVisualDesigns .nr-preview-stage{grid-row:1}#nrVisualDesigns .nr-layout-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:340px}#nrVisualDesigns .nr-pdf-pages{padding:4px}}
#nrVisualDesigns .nr-gallery-workspace{grid-template-columns:minmax(240px, .85fr) minmax(0,1.85fr)}#nrVisualDesigns .nr-layout-list.nr-layout-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;max-height:560px;overflow:auto;padding:3px}#nrVisualDesigns .nr-layout-choice{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;width:100%!important;padding:8px!important;gap:7px!important;box-sizing:border-box;overflow:hidden}#nrVisualDesigns .nr-template-paper{display:block!important;width:100%!important;height:auto!important;aspect-ratio:210/297;min-width:0!important;max-width:none!important}#nrVisualDesigns .nr-template-paper :is(img,canvas){width:100%!important;height:100%!important;object-fit:contain}#nrVisualDesigns .nr-choice-info{display:block!important;min-width:0!important;text-align:left}#nrVisualDesigns .nr-choice-info strong{font-size:13px;white-space:normal;overflow-wrap:anywhere}#nrVisualDesigns .nr-choice-info small{display:none!important}@media(max-width:850px){#nrVisualDesigns .nr-gallery-workspace{grid-template-columns:minmax(0,1fr)}#nrVisualDesigns .nr-preview-stage{grid-row:1}#nrVisualDesigns .nr-layout-list.nr-layout-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* Compact, readable studio controls; override legacy gallery rules. */
#nrVisualDesigns .nr-gallery-workspace{grid-template-columns:minmax(250px, 31%) minmax(0,1fr)!important;gap:18px}#nrVisualDesigns .nr-design-controls{container-type:inline-size;padding:14px!important}#nrVisualDesigns .nr-template-filters{display:block!important;margin:8px 0 14px!important}#nrVisualDesigns .nr-category-select{width:100%;min-height:42px;border:1px solid #c4d8cb;border-radius:9px;padding:8px 12px;background:#fff;color:#174a38;font:inherit;font-size:14px}#nrVisualDesigns .nr-colour-swatches{display:flex!important;flex-wrap:wrap;gap:6px!important}#nrVisualDesigns .nr-colour-choice{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;padding:3px!important;justify-content:center!important;border-radius:50%!important}#nrVisualDesigns .nr-colour-choice span:not(.nr-colour-dot){display:none!important}#nrVisualDesigns .nr-colour-dot{width:19px!important;height:19px!important;flex:none!important}#nrVisualDesigns .nr-design-controls .nr-layout-list.nr-layout-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-height:620px;overflow:auto;align-items:start!important}#nrVisualDesigns .nr-design-controls .nr-layout-choice{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:none!important;padding:9px!important;gap:8px!important;border-radius:10px!important;background:#fff;align-items:stretch!important}#nrVisualDesigns .nr-design-controls .nr-template-paper{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;aspect-ratio:210/297!important;flex:none!important}#nrVisualDesigns .nr-design-controls .nr-choice-info strong{display:block!important;font-size:12px!important;line-height:1.3!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;text-align:center!important}#nrVisualDesigns .nr-design-controls .nr-choice-info small{display:none!important}#nrVisualDesigns .nr-layout-choice[hidden]{display:none!important}#nrVisualDesigns #photoControls{margin-top:14px!important}@container(max-width:190px){#nrVisualDesigns .nr-design-controls .nr-layout-list.nr-layout-gallery{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:850px){#nrVisualDesigns .nr-gallery-workspace{grid-template-columns:minmax(0,1fr)!important}#nrVisualDesigns .nr-preview-stage{grid-row:1}#nrVisualDesigns .nr-design-controls .nr-layout-list.nr-layout-gallery{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))!important;max-height:420px}}
/* Top-first studio layout, including sample and saved application screens. */
html body #nrVisualDesigns .nr-gallery-workspace{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:20px!important}html body #nrVisualDesigns .nr-design-controls{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}html body #nrVisualDesigns .nr-studio-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:8px 0 14px}html body #nrVisualDesigns .nr-studio-toolbar .nr-template-filters{flex:1 1 180px;max-width:260px;margin:0!important}html body #nrVisualDesigns .nr-studio-toolbar .nr-colour-picker{margin:0!important;padding:0!important;border:0!important}html body #nrVisualDesigns .nr-gallery-strip{min-width:0;width:100%;overflow:hidden}html body #nrVisualDesigns .nr-design-controls .nr-gallery-strip .nr-layout-list.nr-layout-gallery{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important;padding:5px 4px 12px!important;scroll-snap-type:x proximity}html body #nrVisualDesigns .nr-design-controls .nr-gallery-strip .nr-layout-choice{flex:0 0 142px!important;width:142px!important;min-width:142px!important;max-width:142px!important;height:auto!important;min-height:0!important;scroll-snap-align:start;padding:10px!important;box-sizing:border-box!important}html body #nrVisualDesigns .nr-design-controls .nr-gallery-strip .nr-layout-choice[hidden]{display:none!important}html body #nrVisualDesigns .nr-design-controls .nr-gallery-strip .nr-template-paper{width:100%!important;height:auto!important;aspect-ratio:210/297!important;flex:none!important}html body #nrVisualDesigns .nr-design-controls .nr-gallery-strip .nr-choice-info strong{font-size:13px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;max-width:100%!important;text-align:center!important}html body #nrVisualDesigns .nr-gallery-arrows{display:flex;justify-content:space-between;gap:10px;margin-top:4px}html body #nrVisualDesigns .nr-gallery-arrows button{background:#fff;color:#194e3e;border:1px solid #cadbd0;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600}html body #nrVisualDesigns .nr-preview-stage{width:100%!important;max-width:900px!important;align-self:center!important;box-sizing:border-box}html body #nrVisualDesigns .nr-pdf-pages{max-width:820px;margin-inline:auto}html body #nrVisualDesigns .nr-export-buttons button{white-space:nowrap!important;min-width:140px} @media(max-width:600px){html body #nrVisualDesigns .nr-design-controls .nr-gallery-strip .nr-layout-choice{flex-basis:126px!important;width:126px!important;min-width:126px!important;max-width:126px!important}html body #nrVisualDesigns .nr-preview-stage{padding:8px!important}}
.nr-workspace-modes{display:flex;gap:5px;background:#edf3ef;padding:4px;border-radius:10px;margin:12px 0}.nr-workspace-modes[hidden]{display:none!important}.nr-workspace-modes button{flex:1;border:0;border-radius:7px;padding:10px;background:transparent;color:#194e3e;font-weight:600;cursor:pointer}.nr-workspace-modes button[aria-pressed=true]{background:#194e3e;color:white}#resultPanel.nr-unified-workspace:not(.nr-edit-mode) #resultPanes{display:none!important}#resultPanel.nr-unified-workspace.nr-edit-mode .nr-preview-stage :is(.nr-pdf-pages,.nr-document-pager,.nr-preview-empty,.nr-preview-status,.nr-preview-footer,.nr-preview-note){display:none!important}#resultPanel.nr-unified-workspace.nr-edit-mode #resultPanes .doc-pane:not([hidden]){display:block!important;margin-top:0!important}#resultPanel.nr-unified-workspace.nr-edit-mode .nr-text-review>summary{display:none!important}#resultPanel.nr-unified-workspace.nr-edit-mode .result-text.editable{max-height:none!important;height:auto!important;overflow:visible!important;min-height:300px}#resultPanel.nr-unified-workspace.nr-edit-mode .nr-browse-options{display:none}#resultPanel.nr-unified-workspace.nr-edit-mode .nr-preview-stage{padding-bottom:8px!important}
/* Unified studio action bar */ #resultPanel.nr-unified-workspace .nr-save-card{display:none!important}.nr-workspace-modes{gap:8px;padding:6px;background:#eaf1ed;border:1px solid #d6e4db;border-radius:15px}.nr-workspace-modes button{display:flex;align-items:center;justify-content:center;gap:12px;text-align:left;min-height:68px;border-radius:11px;font-size:15px;transition:background .18s,box-shadow .18s,transform .18s}.nr-workspace-modes button>span:first-child{font-size:25px}.nr-workspace-modes button small{display:block;font-size:11px;font-weight:400;margin-top:4px;opacity:.8}.nr-workspace-modes button[aria-pressed=true]{background:linear-gradient(125deg,#194e3e,#08775a);box-shadow:0 4px 12px #194e3e30;color:white}.nr-workspace-modes button:hover{transform:translateY(-1px)}.nr-workspace-modes button:focus-visible{outline:3px solid #8cc9ad;outline-offset:2px} @media(max-width:480px){.nr-workspace-modes button{gap:6px;font-size:13px}.nr-workspace-modes button small{font-size:10px}}@media(prefers-reduced-motion:reduce){.nr-workspace-modes button{transition:none}.nr-workspace-modes button:hover{transform:none}}
/* High contrast, restrained studio controls */
html body #nrVisualDesigns .nr-workspace-modes{background:transparent!important;border:0!important;padding:0!important;gap:12px!important}html body #nrVisualDesigns .nr-workspace-modes button{background:#fff!important;border:1px solid #cbd9d1!important;box-shadow:none!important;color:#173e32!important;padding:14px 18px!important;min-height:76px!important;justify-content:center!important;opacity:1!important}html body #nrVisualDesigns .nr-workspace-modes button[aria-pressed=true]{background:#f0f8f3!important;border:2px solid #197451!important;box-shadow:0 3px 10px #194e3e12!important}html body #nrVisualDesigns .nr-workspace-modes button span{color:#183e32!important;font-size:18px!important;font-weight:700!important;opacity:1!important;line-height:1.35!important}html body #nrVisualDesigns .nr-workspace-modes button>span:first-child{font-size:26px!important;color:#197451!important}html body #nrVisualDesigns .nr-workspace-modes button small{color:#466052!important;font-size:13px!important;font-weight:500!important;opacity:1!important}@media(max-width:480px){html body #nrVisualDesigns .nr-workspace-modes button{padding:10px 6px!important;gap:6px!important}html body #nrVisualDesigns .nr-workspace-modes button span{font-size:15px!important}html body #nrVisualDesigns .nr-workspace-modes button small{font-size:12px!important}}

/* Keep the mode switch in the design picker, including while editing. */
#nrVisualDesigns .nr-browse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
}
#nrVisualDesigns .nr-browse-header .nr-browse-title,
#nrVisualDesigns .nr-browse-header .nr-workspace-modes { margin: 0; }
html body #nrVisualDesigns .nr-browse-header .nr-workspace-modes { gap: 6px !important; }
html body #nrVisualDesigns .nr-browse-header .nr-workspace-modes button {
  gap: 6px;
  padding: 6px 10px !important;
  min-height: 36px !important;
  border-radius: 8px;
  white-space: nowrap;
}
html body #nrVisualDesigns .nr-browse-header .nr-workspace-modes button span,
html body #nrVisualDesigns .nr-browse-header .nr-workspace-modes button > span:first-child {
  font-size: 13px !important;
}


#nrVisualDesigns .nr-preview-heading { margin-bottom: 8px; }
#nrVisualDesigns .nr-preview-heading h4 {
  --nr-badge-ink: var(--nr-preview-accent, #245344);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #c4d8cb;
  border-radius: 10px;
  background: #f1f6f2;
  color: var(--nr-badge-ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.35;
}
@supports (color: color-mix(in srgb, white, black)) {
  #nrVisualDesigns .nr-preview-heading h4 {
    border-color: transparent;
    background:
      linear-gradient(140deg, white, color-mix(in srgb, var(--nr-badge-ink) 8%, white)) padding-box,
      linear-gradient(135deg, color-mix(in srgb, var(--nr-badge-ink) 50%, white), color-mix(in srgb, var(--nr-badge-ink) 16%, white) 52%, color-mix(in srgb, var(--nr-badge-ink) 45%, white)) border-box;
  }
}
#nrVisualDesigns .nr-preview-heading h4::before,
#nrVisualDesigns .nr-preview-heading h4::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%);
}
#nrVisualDesigns .nr-preview-heading h4::after {
  width: 8px;
  height: 8px;
  opacity: .75;
}
#nrVisualDesigns .nr-preview-status:empty { display: none; }
#nrVisualDesigns .nr-preview-save {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: #466052;
  font-size: .8rem;
}
#nrVisualDesigns .nr-preview-save[hidden],
#nrVisualDesigns .nr-preview-save #saveApplicationBtn[hidden] { display: none !important; }
#nrVisualDesigns .nr-preview-save[data-state="saved"] > span::before {
  content: "✓ ";
  color: #197451;
}
#nrVisualDesigns .nr-preview-save #saveApplicationBtn {
  padding: 4px 9px;
  min-height: 32px;
  border: 1px solid #c4d8cb;
  border-radius: 7px;
  background: #fff;
  color: #194e3e;
  font-size: .8rem;
  white-space: nowrap;
}
