/* Shared whiteboard surfaces: fewer entry controls, one hierarchy, RTL-safe. */
.nf-chat-media-shelf{padding:0;background:#fff;box-shadow:0 4px 16px #18345408}
.nf-media-disclosure>summary{display:flex;align-items:center;gap:.65rem;min-height:48px;padding:.25rem .85rem;font-size:.9rem;font-weight:750;color:#173651;cursor:pointer;list-style:none}
.nf-media-disclosure>summary::-webkit-details-marker{display:none}
.nf-media-disclosure>summary:after{content:"";width:7px;height:7px;border:solid #496782;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-inline-start:auto}
.nf-media-disclosure[open]>summary:after{transform:rotate(225deg)}
.nf-media-count{background:#edf5ff;color:#1a57a2;border-radius:1rem;padding:0 .5rem;font-size:.8rem}
.nf-media-count:empty{display:none}
.nf-media-disclosure>p,.nf-chat-media-shelf>[role=status]{margin:.2rem .85rem .65rem}
.nf-chat-media-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:0 .75rem .75rem}
.nf-chat-media-item{min-width:0;border:1px solid #dce8f5;border-radius:12px;padding:.35rem;background:#f9fcff;gap:.15rem;align-content:start}
.nf-chat-media-item .nf-media-thumb{box-sizing:border-box;position:relative;display:grid;place-items:center;width:100%;height:auto;aspect-ratio:16/10;min-height:44px;padding:0;border:0;overflow:hidden;border-radius:8px;background:#eaf3ff;color:#193e62;object-fit:contain}
.nf-chat-media-item .nf-media-thumb[hidden]{display:none}
.nf-media-thumb img{position:absolute;width:100%;height:100%;inset:0;object-fit:contain}
.nf-media-thumb span{z-index:1;border-radius:50%;display:grid;place-items:center;width:38px;height:38px;background:#13385ade;color:white}
.nf-chat-media-item video{max-height:170px;margin:0}
.nf-chat-media-item .nf-media-actions,.nf-chat-media-item .nf-media-info{gap:.25rem;justify-content:space-between;padding:0 .2rem;font-size:.75rem}
.nf-chat-media-item .nf-media-actions{flex-wrap:nowrap}
.nf-chat-media-item .nf-media-actions :is(a,button){display:inline-grid;place-items:center;min-height:44px;padding:0 .25rem;background:none;color:#1455a2;border:0;box-shadow:none;white-space:nowrap}
.nf-chat-media-item .nf-media-actions button{color:#8f3e49}
.nf-chat-media-item details{font-size:.75rem}.nf-chat-media-item textarea{width:100%;box-sizing:border-box}
.nf-media-more{min-height:44px;margin:0 .75rem .5rem}
.nf-studio-organized[open]{padding:0!important;max-height:min(700px,calc(100dvh - 20px))!important;display:flex!important;flex-direction:column;overflow:hidden!important;text-align:start;color:#173651;overscroll-behavior:contain}
.nf-studio-organized [hidden]{display:none!important}
.nf-studio-dialog-head{flex:none;background:#fff;border-bottom:1px solid #dbe7f5;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px}
.nf-studio-dialog-head h2{margin:0;font-size:clamp(.98rem,4vw,1.19rem);line-height:1.4}
.nf-studio-organized .nf-studio-settings,.nf-studio-dialog-body{padding:10px 14px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.nf-studio-organized :is(.nf-studio-choice-grid,[data-frame])>fieldset,.nf-studio-disclosure>fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border:0;min-inline-size:0;margin:5px 0 8px!important;padding:0!important}
.nf-studio-organized fieldset legend{padding:0;font-weight:700;margin:0 0 5px;font-size:.82rem!important}
.nf-studio-organized button,.nf-studio-organized fieldset button{min-height:44px!important;font:inherit;font-size:.82rem!important;font-weight:680;border:1px solid #c9ddf2;border-radius:10px;color:#194770;background:#f2f7fe;padding:5px 8px!important;margin:0!important;box-shadow:none!important}
.nf-studio-organized button[aria-pressed=true]{background:#125ed3;color:#fff;border-color:#125ed3}
.nf-studio-organized button:disabled{opacity:.56;cursor:default}
.nf-studio-organized :is(h3,p){margin:4px 0;line-height:1.5}
.nf-studio-organized h3{font-size:.92rem}.nf-studio-organized p{font-size:.78rem;color:#46627c}
.nf-studio-organized p:empty{display:none}
.nf-studio-disclosure{border:1px solid #dce8f5;border-radius:12px;background:#f8fbff;padding:0 .55rem;margin:5px 0}
.nf-studio-disclosure summary{min-height:44px;line-height:44px;font-size:.82rem;font-weight:750;color:#173c61;cursor:pointer}
.nf-studio-organized small{color:inherit;opacity:.8;font-weight:550;font-size:.7rem}
.nf-studio-organized label{line-height:1.4;margin:4px 0;font-size:.79rem}
.nf-studio-organized :is(select,input[type=number]){min-height:44px;font-size:16px!important;max-width:100%;min-width:0;padding:4px 7px;background:#fff;border:1px solid #c9ddf2}
.nf-studio-organized input[type=checkbox]{width:19px;height:19px;vertical-align:middle;accent-color:#125ed3}
.nf-studio-organized .nf-studio-option-tools{border-block-start:1px solid #dce8f5;padding-block-start:4px}
.nf-studio-audio{border-top:1px solid #dce8f5;margin-top:8px;padding-top:6px}
.nf-studio-upload{display:flex;align-items:center;gap:6px;margin:6px 0;font-size:.78rem}.nf-studio-upload span{min-width:0;overflow-wrap:anywhere}
.nf-studio-organized [data-frame-preview]{object-fit:contain;max-height:190px!important}
.nf-studio-organized [data-trim]{display:grid;gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))}
.nf-studio-organized [data-trim] input[type=number]{box-sizing:border-box;display:block;width:100%;direction:ltr;text-align:start}
.nf-studio-export-bar{flex:none;background:white;border-top:1px solid #dbe7f5;padding:5px 14px max(8px,env(safe-area-inset-bottom));text-align:center}
.nf-studio-export-bar>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.nf-studio-export-bar small{display:block}
.nf-studio-organized [data-export]:not(:disabled){background:#125ed3;border-color:#125ed3;color:white}
@media(max-width:480px){
 body.nf-video-only .nf-director-hero{margin-bottom:10px;padding-top:0}
 body.nf-video-only .nf-director-hero img{width:112px;margin-bottom:8px;animation:none}
 body.nf-video-only .nf-director-hero h1{margin:5px 0;font-size:clamp(1rem,5.2vw,1.3rem)}
 body.nf-video-only .nf-director-hero p{margin:6px 0;font-size:.8rem;line-height:1.55}
}
/* Public navigation and account use the same hierarchy as the studio. */
body[data-site-shell-v61] #nf-global-nav .nq-site-drawer-head{padding:12px 16px}
body[data-site-shell-v61] #nf-global-nav .nq-site-drawer-head h2{min-height:44px;margin:0;display:flex;align-items:center;font-size:1.08rem}
body[data-site-shell-v61] #nf-global-nav .nq-site-drawer-head p{display:none}
body[data-site-shell-v61] #nf-global-nav .nq-site-links{padding:10px 12px;gap:3px}
body[data-site-shell-v61] #nf-global-nav .nq-site-links :is(a,button){box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:45px;padding:6px 10px;border:1px solid transparent;border-radius:10px;font-size:.86rem;font-weight:660;background:transparent;color:#173651!important}
body[data-site-shell-v61] #nf-global-nav .nq-site-links [aria-current=page]{background:#eaf3ff;border-color:#d8e8ff;color:#154f99!important}
body[data-site-shell-v61] #nf-global-nav .nq-site-drawer-foot a[hidden]{display:none!important}
body[data-member-page=account] :is(.nq-account-heading,.nq-account-main-actions,.nq-account-card){margin-block-start:.55rem}
body[data-member-page=account] .nq-account-heading h1{font-size:clamp(1.4rem,5vw,1.8rem)!important}
body[data-member-page=account] .nq-account-identity #account-name{font-size:clamp(.98rem,4.7vw,1.18rem)!important;overflow-wrap:anywhere;word-break:normal}
body[data-member-page=account] .nq-account-balance h2{font-size:1.05rem!important}
body[data-member-page=account] .nq-account-controls{justify-content:flex-start;gap:.55rem;align-items:center}
body[data-member-page=account] .nq-account-controls :is(a,button){min-height:44px;padding:5px 8px;min-width:0;box-shadow:none;font-size:.8rem}
body[data-member-page=account] .nq-account-main-actions .nq-account-primary{grid-column:1;grid-row:1}
body[data-member-page=account] .nq-account-main-actions a{min-height:44px;font-size:.82rem;padding:6px}
body[data-member-page=account] .nq-account-more>summary{display:flex;align-items:center;padding:.45rem .5rem;font-size:.87rem}
.nq-whiteboard-guide{padding-top:clamp(16px,4vw,42px)!important;max-width:760px!important;line-height:1.6}
.nq-guide-intro{margin-bottom:14px}
.nq-whiteboard-guide .nq-guide-kicker{color:#155cb2;font-size:.8rem;font-weight:750;margin:0}
.nq-whiteboard-guide h1{margin:.2rem 0;font-size:clamp(1.4rem,6vw,2.2rem)!important;line-height:1.3}
.nq-whiteboard-guide .lead{margin:.45rem 0 .7rem;max-width:42rem;color:#425e77;font-size:.91rem}
.nq-whiteboard-guide .nq-guide-start{display:inline-grid;place-items:center;min-height:44px;background:#125ed3;color:white!important;padding:3px 16px;border-radius:10px;text-decoration:none;font-weight:750}
.nq-whiteboard-guide .nq-guide-steps{margin:0 0 8px;padding:12px!important}
.nq-guide-steps h2{margin:0;font-size:1rem!important}
.nq-guide-steps ol{padding:0;list-style:none;counter-reset:guide;margin:6px 0 0}
.nq-guide-steps li{display:grid;grid-template-columns:25px minmax(0,1fr);column-gap:9px;counter-increment:guide;padding:6px 0;font-size:.85rem}
.nq-guide-steps li:not(:last-child){border-bottom:1px solid #e0eaf5}
.nq-guide-steps li:before{content:counter(guide);grid-row:span 2;display:grid;place-items:center;height:25px;border-radius:50%;background:#ecf4ff;color:#1455a2;font-weight:bold}
.nq-guide-steps li span{color:#425e77}
.nq-whiteboard-guide details p{font-size:.85rem;overflow-wrap:anywhere}
.nq-studio-disclosure{border:1px solid #d5e4f5;background:#fff;border-radius:12px;margin:6px 0;padding:0 .75rem}
.nq-studio-disclosure summary{cursor:pointer;min-height:44px;align-content:center;font-weight:750;font-size:.87rem;color:#173651}
.nf-video-plans{margin-block:clamp(12px,4vw,32px);line-height:1.65}
.nf-video-plans>h1{margin:0 0 10px;font-size:clamp(1.42rem,6vw,2rem)!important;line-height:1.3}
.nf-video-plans :is(h2,h3){font-size:clamp(.98rem,4.6vw,1.2rem)!important;margin:10px 0 3px}
.nf-video-plans p{font-size:.85rem;margin:5px 0 9px}
.nf-video-plans .nf-plan-balance{margin-block-end:12px;padding:10px 12px}
.nf-video-plans .nf-plan-balance li{font-size:.75rem}
.nf-video-plans .nf-plan-balance .nf-studio-download{display:inline-grid;place-items:center;min-height:44px;margin:3px 0;padding:4px 12px;border-radius:10px;text-decoration:none;font-size:.83rem;font-weight:700}
.nf-video-plans .nf-video-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 14px}
.nf-video-plans .nf-video-pack{display:grid;grid-template-rows:auto 1fr auto;gap:4px;border-radius:14px;padding:9px;background:#fff;min-width:0}
.nf-video-pack>header{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap}
.nf-video-pack>header h3{margin:0;font-size:.96rem!important}
.nf-video-pack>header strong{font:750 1.28rem/1.2 system-ui,sans-serif;color:#125ed3}
.nf-video-pack p{margin:2px 0;font-size:.78rem}
.nf-video-plans button{padding:5px 7px;font-size:.79rem;border-radius:10px;min-height:44px}
.nq-plan-payment{border:1px solid #d7e5f6;border-radius:14px;padding:10px;background:#fff;font-size:.82rem}
.nq-plan-payment>label{display:flex;align-items:flex-start;gap:6px}
.nq-plan-payment input[type=checkbox]{width:19px;height:19px;flex:0 0 auto;accent-color:#125ed3}
.nq-plan-payment .nf-studio-actions{margin:6px 0}
.nf-video-plans #video-refresh{background:#edf5ff;color:#1a5293;border:1px solid #c9ddf2}
.nq-plan-payment [role=status]:empty{display:none}
@media(max-width:350px){.nf-video-plans{padding-inline:10px}.nf-video-plans .nf-video-pack{padding:6px}}
.nf-media-play::before{content:"";border-block:6px solid transparent;border-left:9px solid #fff;transform:translateX(1px)}
body.nf-video-only #form>.note{font-size:12px!important;line-height:1.5}
body[data-site-shell-v61] .nf-global-foot{padding-block:14px!important;gap:.5rem}
body[data-site-shell-v61] .nf-global-foot .nf-legal{margin-block:0;padding-block:6px}
