/* Nephew client portal: matches the nephew.media portal pages
   (Messina Sans, #F5F5F5 page, white cards with #E8E8E8 borders, square corners) */
.np { font-family: inherit; letter-spacing: -0.04em; color: #000; line-height: 1.5; overflow-wrap: anywhere; }
.np a, .np-note, .np-ver span { overflow-wrap: anywhere; word-break: break-word; }
.np-ver { min-width: 0; max-width: 100%; }
.np *, .np *::before, .np *::after { box-sizing: border-box; }
.np button { font: inherit; letter-spacing: inherit; color: inherit; }
.np-section { max-width: 1360px; margin: 0 auto; padding: 0 0 40px; }
.np-h2 { margin: 0; font-weight: 400; font-size: 43.4px; line-height: 1.2; text-align: center; }
.np-h3 { margin: 0; font-weight: 400; font-size: 32px; line-height: 1.2; }
.np-muted { color: #737373; }
.np-small { font-size: 15px; }
.np-live { display: inline-flex; gap: 10px; align-items: center; justify-content: center; font-size: 18px; color: #737373; }
.np-dot { width: 8px; height: 8px; border-radius: 50%; background: #000; display: inline-block; }
.np-card { background: #fff; border: 1px solid #e8e8e8; }
.np-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 29px; }
.np-stat { padding: 32px 39px; display: flex; flex-direction: column; gap: 6px; }
.np-stat b { font-weight: 400; font-size: 52px; line-height: 1.1; }
.np-stat span { font-size: 18px; color: #737373; }
.np-stat.is-dark { background: #000; color: #fff; border-color: #000; }
.np-stat.is-dark span { color: #bdbdbd; }
.np-tabs { display: flex; flex-wrap: wrap; gap: 8px 36px; border-bottom: 1px solid #e0e0e0; margin: 0 0 24px; }
.np-tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 0 14px; min-height: 44px; font-size: 20.4px; color: #737373; cursor: pointer; text-align: left; }
.np-tab.is-on { color: #000; border-bottom-color: #000; }
.np-tab small { display: block; font-size: 14px; color: #737373; letter-spacing: -0.02em; }
.np-list { display: flex; flex-direction: column; gap: 16px; }
.np-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding: 30px 39px; text-decoration: none; color: inherit; }
.np-row:hover { border-color: #000; }
.np-row-main { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.np-row-title { font-size: 24.45px; line-height: 1.2; }
.np-pill { display: inline-flex; align-items: center; padding: 6px 14px; font-size: 15px; line-height: 1.3; letter-spacing: -0.02em; border: 1px solid #c9c9c9; color: #555; background: #fff; white-space: nowrap; }
.np-pill.is-black { background: #000; color: #fff; border-color: #000; }
.np-pill.is-outline { border-color: #000; color: #000; }
.np-pill.is-grey { background: #ededed; border-color: #ededed; color: #000; }
.np-progress { flex: 0 0 200px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.np-bar { display: block; height: 4px; background: #e3e3e3; }
.np-bar > i { display: block; height: 4px; background: #000; }
.np-link { color: #000; text-decoration: none; border-bottom: 1px solid #000; padding-bottom: 2px; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; font-size: inherit; }
.np-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 16px; border: 1px solid #000; background: #fff; color: #000; font-size: 15px; cursor: pointer; text-decoration: none; }
.np-btn.is-black { background: #000; color: #fff; }
.np-btn[disabled] { background: #ededed; border-color: #ededed; color: #6b6b6b; cursor: not-allowed; }
.np-btn svg { width: 14px; height: 14px; }
.np-empty { padding: 48px 39px; text-align: center; color: #737373; font-size: 18px; }
.np-error { padding: 16px 20px; background: #fff4f2; border: 1px solid #f0c8c0; color: #8a2a17; font-size: 16px; margin: 12px 0; }
.np-note { font-size: 14px; color: #737373; line-height: 1.4; }

/* Brief page */
.np-brief-head { padding: 24px 0 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; border-bottom: 1px solid #e0e0e0; }
.np-brief-head h1 { margin: 0; font-weight: 400; font-size: 52px; line-height: 1.1; }
.np-layout { padding-top: 56px; display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.np-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.np-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.np-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 39px; border-bottom: 1px solid #e8e8e8; }
.np-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.np-panel { padding: 28px 39px; background: #fafafa; border-bottom: 1px solid #e8e8e8; display: flex; flex-direction: column; gap: 14px; }
.np-panel textarea, .np-panel input, .np-side input, .np-side textarea { font: inherit; font-size: 16px; letter-spacing: -0.02em; padding: 10px 12px; border: 1px solid #cfcfcf; background: #fff; color: #000; width: 100%; }
.np-chip { min-height: 36px; padding: 0 14px; border: 1px solid #d6d6d6; background: #fff; font-size: 15px; cursor: pointer; }
.np-formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.np-format { text-align: left; padding: 14px 16px; background: #fff; border: 1px solid #dcdcdc; cursor: pointer; display: flex; flex-direction: column; gap: 3px; font-size: 17px; }
.np-format small { font-size: 14px; color: #737373; }
.np-format:hover { border-color: #000; }
.np-fmtbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 33px; border-bottom: 1px solid #e8e8e8; background: #fafafa; align-items: center; }
.np-fmtbar button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.np-fmtbar button:hover { background: #ececec; }
.np-doc { padding: 44px 39px 40px; max-width: 780px; font-size: 18px; line-height: 1.6; outline: none; }
.np-doc h1 { font-weight: 400; font-size: 30px; line-height: 1.2; margin: 0 0 22px; }
.np-doc h2 { font-weight: 400; font-size: 24px; line-height: 1.25; margin: 30px 0 12px; }
.np-doc h3 { font-weight: 500; font-size: 19px; margin: 22px 0 8px; }
.np-doc p { margin: 0 0 16px; }
.np-doc ul, .np-doc ol { margin: 0 0 16px; padding-left: 22px; }
.np-doc.is-editing { box-shadow: inset 0 0 0 2px #000; }
.np-sidecard { padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.np-sidecard h3 { margin: 0; font-weight: 400; font-size: 22px; }
.np-ver { padding: 12px 0; border-top: 1px solid #ededed; display: flex; flex-direction: column; gap: 2px; cursor: pointer; background: none; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; font-size: 16px; }
.np-ver:hover { color: #555; }
.np-field label { display: flex; justify-content: space-between; font-size: 14px; color: #737373; margin-bottom: 6px; }
.np-check { display: flex; gap: 10px; font-size: 15px; line-height: 1.35; padding: 5px 0; }
.np-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.np-asset { display: flex; flex-direction: column; }
.np-asset-thumb { position: relative; aspect-ratio: 4 / 3; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; border-bottom: 1px solid #e8e8e8; background: #f4f4f2; color: #9a9a96; font-size: 13px; letter-spacing: 0; overflow: hidden; }
.np-asset-thumb.is-active { background: #faf4e6; color: #b07d1c; }
.np-asset-thumb.is-done { background: #eef5ef; color: #2f7d4b; }
.np-asset-icon { display: flex; opacity: .9; }
.np-asset-state { display: inline-flex; align-items: center; gap: 8px; color: #555; font-size: 13.5px; }
.np-asset-thumb.has-img { background: #ededeb; }
.np-asset-thumb.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s, transform .5s; }
.np-asset-thumb.has-img img.is-loaded { opacity: 1; }
.np-asset-thumblink:hover .np-asset-thumb.has-img img { transform: scale(1.03); }
.np-asset-thumb.is-broken img { display: none; }
.np-asset-chip { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; background: rgba(255,255,255,.94); color: #000; font-size: 13px; border-radius: 999px; }
.np-asset-thumblink { display: block; color: inherit; text-decoration: none; }
.np-asset-status { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; }
.np-light { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; background: #c4c4c0; }
.np-light.is-active { background: #e6a23c; box-shadow: 0 0 0 3px rgba(230,162,60,.22); animation: np-pulse 2.4s ease-in-out infinite; }
.np-light.is-done { background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47,158,91,.2); }
@keyframes np-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(230,162,60,.22); } 50% { box-shadow: 0 0 0 6px rgba(230,162,60,.08); } }
@media (prefers-reduced-motion: reduce) { .np-light.is-active { animation: none; } }
.np-asset-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.np-banner { padding: 10px 16px; background: #000; color: #fff; font-size: 15px; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.np-banner .np-btn-release { background: #fff; color: #000; border-color: #fff; margin-left: auto; }
.np-banner .np-btn-release-cancel { background: transparent; color: #fff; border-color: #fff; }

/* Sign-in */
.np-signin { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; padding: 24px 0 40px; }
.np-signin form { padding: 39px; display: flex; flex-direction: column; gap: 20px; }
.np-signin input { font: inherit; font-size: 19px; padding: 0 16px; height: 56px; border: 1px solid #cfcfcf; width: 100%; }
.np-signin .np-btn { height: 56px; font-size: 18px; }
.np-code { letter-spacing: 0.4em; text-align: center; font-size: 28px !important; }

@media (max-width: 767px) {
  .np-h2 { font-size: 32px; }
  .np-brief-head h1 { font-size: 36px; }
  .np-row, .np-toolbar, .np-panel, .np-doc { padding-left: 22px; padding-right: 22px; }
  .np-progress { flex: 1 1 100%; }
}
.np-toolbar svg, .np-actions svg { width: 16px; height: 16px; flex: 0 0 16px; }
.np-actions > span { white-space: nowrap; }
.np-account { position: absolute; top: 40px; right: 48px; z-index: 50; display: flex; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 16px; padding: 0; }
@media (max-width: 767px) { .np-account { top: 16px; right: 20px; font-size: 14px; gap: 12px; } .np-account .np-link { font-size: 14px; } }
.np-account .np-link { font-size: 16px; border-bottom-color: transparent; transition: border-color .15s; }
.np-account .np-link:hover, .np-account .np-link:focus-visible { border-bottom-color: #000; }
.np-notice { padding: 14px 20px; background: #fff; border: 1px solid #e8e8e8; font-size: 16px; margin: 12px 0; }
.np-field input, .np-field textarea, .np-field select { width: 100%; border: 1px solid #d9d9d9; background: #fff; padding: 10px 12px; font: inherit; font-size: 15px; letter-spacing: -0.02em; color: #000; border-radius: 0; }
.np-field textarea { resize: vertical; line-height: 1.45; }
.np-h3-logo { display: flex; align-items: baseline; gap: 0.3em; flex-wrap: wrap; }
.np-nephew-logo { height: 0.98em; width: auto; filter: brightness(0); align-self: center; position: relative; top: 0.1em; }
/* Document tabs: compact index-card tabs sitting on a black rule; the open one is black */
.np .np-doctabs { flex-wrap: nowrap; gap: 4px; border-bottom: 2px solid #000; align-items: flex-end; margin: 0 0 24px; padding: 0; }
.np .np-doctabs .np-tab { flex: 1 1 0; min-width: 0; margin: 0; padding: 7px 14px 6px; min-height: 0; height: auto; display: flex; flex-direction: column; gap: 1px; background: #fff; border: 1px solid #e0e0e0; border-bottom: 0; border-radius: 6px 6px 0 0; color: #000; font-size: 16px; line-height: 1.2; transition: background .15s, color .15s; }
.np .np-doctabs .np-tab:hover { background: #ededed; }
.np .np-doctabs .np-tab small { margin: 0; font-size: 12.5px; line-height: 1.2; }
.np .np-doctabs .np-tab.is-on { background: #000; border-color: #000; color: #fff; padding-top: 9px; }
.np .np-doctabs .np-tab.is-on small { color: #bdbdbd; }
@media (max-width: 767px) { .np .np-doctabs { overflow-x: auto; } .np .np-doctabs .np-tab { flex: 0 0 auto; padding: 6px 10px 5px; font-size: 14.5px; } .np .np-doctabs .np-tab.is-on { padding-top: 8px; } }
/* Buttons in cards and forms size to their label rather than stretching full width */
.np-sidecard > .np-btn, .np-sidecard > label.np-btn, .np-sidecard .np-actions .np-btn { align-self: flex-start; width: auto; }
.np-sidecard .np-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Social captions: lighter caption text, bold hashtags */
.np-doc-social p, .np-doc-social li { font-weight: 300; }
.np-doc-social h2, .np-doc-social h3 { font-weight: 400; }
.np-doc-social .np-hashtag, .np-doc-social strong.np-hashtag { font-weight: 700; }
.np-doc-social .np-post { padding: 22px 26px 8px; margin: 0 0 14px; border-radius: 4px; }
.np-doc-social .np-post-0 { background: #f6f5f1; }
.np-doc-social .np-post-1 { background: #f2f4f3; }
.np-doc-social .np-post-2 { background: #f5f2f2; }
.np-doc-social .np-post > h2:first-child, .np-doc-social .np-post > h3:first-child { margin-top: 0; }
.np-refs { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 4px; border-top: 1px solid #ededed; }

/* Nephew hub: client switcher */
.np-hub{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:0 0 40px}
.np-hub-tab{display:flex;flex-direction:column;gap:4px;min-width:220px;padding:16px 22px;border:1px solid #d9d9d9;border-radius:14px;background:#fff;color:#000;text-decoration:none;font-size:20px;line-height:1.2;transition:border-color .15s,background .15s}
.np-hub-tab small{font-size:14px;color:#6b6b6b}
.np-hub-tab:hover{border-color:#000}
.np-hub-tab.is-on{background:#000;border-color:#000;color:#fff}
.np-hub-tab.is-on small{color:#cfcfcf}

/* Nephew "Studio view" bar: shown to Nephew logins only */
.np-studio{position:relative;z-index:60;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding:12px 48px;background:#0b0b0b;color:#fff;font-size:15px;line-height:1.3}
.np-studio-left{display:flex;align-items:center;gap:14px}
.np-studio-left img{height:20px;width:auto;filter:invert(1);display:block}
.np-studio-pill{font-size:12px;padding:3px 10px;border-radius:999px;background:#2c2c2a;color:#d3d1c7}
.np-studio-right{color:#b4b2a9}
.np-studio-right b{color:#fff;font-weight:400}
.np-studio-right button{font:inherit;color:#fff;background:none;border:0;padding:0;cursor:pointer;border-bottom:1px solid transparent}
.np-studio-right button:hover,.np-studio-right button:focus-visible{border-bottom-color:#fff}
@media (max-width:767px){.np-studio{padding:10px 20px;font-size:14px}}

/* Send to media */
.np-media{margin-top:32px;display:flex;flex-direction:column;padding:28px 32px}
@media (max-width:767px){.np-media{padding:20px}}
.np-media-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.np-media-head h3{margin:0}
.np-media-step{font-size:15px;font-weight:500;margin:22px 0 10px;color:#000}
.np-media-countries{display:flex;flex-wrap:wrap;gap:10px}
.np-media-country{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:140px;padding:10px 16px;border:1px solid #c9c9c9;background:#fff;color:#000;font:inherit;font-size:17px;cursor:pointer;text-align:left}
.np-media-country small{font-size:13px;color:#737373}
.np-media-country.is-on{background:#000;border-color:#000;color:#fff}
.np-media-country.is-on small{color:#cfcfcf}
.np-media-group{border:1px solid #ededed;margin-bottom:12px}
.np-media-grouphead{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px 16px;padding:10px 14px;background:#f6f6f6;font-size:16px}
.np-media-grouphead .np-link{font-size:14px}
.np-media-row{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid #ededed;cursor:pointer}
.np-media-row.is-off{cursor:default;opacity:.55}
.np-media-row input{width:18px;height:18px;flex:0 0 18px;accent-color:#000}
.np-media-name{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;font-size:16px;min-width:0}
.np-media-name small{font-size:13px;color:#737373}
.np-media-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.np-mbadge{font-size:12px;padding:3px 8px;background:#ededed;color:#444;white-space:nowrap}
.np-mbadge.is-warn{background:#fdf0d5;color:#7a4d00}
.np-mbadge.is-done{background:#000;color:#fff}
.np-media-log{display:flex;flex-direction:column;border-top:1px solid #ededed}
.np-media-logrow{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:10px 16px;align-items:center;padding:10px 0;border-bottom:1px solid #ededed}
.np-pill.is-error{border-color:#f0c8c0;background:#fff4f2;color:#8a2a17}
@media (max-width:767px){.np-media-logrow{grid-template-columns:1fr}}

/* Send to media: compact outlet grid */
.np-media-bar{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin:0 0 10px;font-size:15px;color:#555}
.np-media-bar .np-link{font-size:14px}
.np-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin-bottom:12px}
.np-media-tile{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e3e3e3;background:#fff;cursor:pointer;font-size:15px;line-height:1.3;transition:border-color .15s}
.np-media-tile:hover{border-color:#000}
.np-media-tile.is-on{border-color:#000}
.np-media-tile.is-off{cursor:default;opacity:.55}
.np-media-tile.is-off:hover{border-color:#e3e3e3}
.np-media-tile input{width:16px;height:16px;flex:0 0 16px;margin:2px 0 0;accent-color:#000}
.np-media-tname{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.np-media-tname small{font-size:12px;color:#737373}
