/* NVT Claude responsive layer  Phase 6 */
:root{
  --nvt-plum:#38283D;
  --nvt-plum-2:#724C7A;
  --nvt-coral:#E76F51;
  --nvt-terracotta:#C9896B;
  --nvt-sage:#527A61;
  --nvt-linen:#F7F3ED;
  --nvt-paper:#FFFDFC;
  --nvt-sand:#EFE8DF;
  --nvt-ink:#2C2927;
  --nvt-muted:#746D68;
  --nvt-border:#DDD4CB;
  --nvt-safe-top:env(safe-area-inset-top,0px);
  --nvt-safe-bottom:env(safe-area-inset-bottom,0px);
}
html,body.nvt-claude-app{max-width:100%;overflow-x:hidden}
body.nvt-claude-app{min-width:320px;background:var(--nvt-linen);color:var(--nvt-ink);font-family:Inter,system-ui,sans-serif}
body.nvt-claude-app *,body.nvt-claude-app *::before,body.nvt-claude-app *::after{box-sizing:border-box}
body.nvt-claude-app img,body.nvt-claude-app video,body.nvt-claude-app canvas,body.nvt-claude-app svg{max-width:100%}
body.nvt-claude-app input,body.nvt-claude-app select,body.nvt-claude-app textarea{max-width:100%;min-width:0}
body.nvt-claude-app button,body.nvt-claude-app input,body.nvt-claude-app select,body.nvt-claude-app textarea{font-family:Inter,system-ui,sans-serif}
body.nvt-claude-app button,body.nvt-claude-app a{touch-action:manipulation}
body.nvt-claude-app [style*="display:grid"],body.nvt-claude-app [style*="display:flex"]{min-width:0}
body.nvt-claude-app [style*="position:fixed"]{max-width:100vw}
body.nvt-claude-app [style*="overflow-x:auto"]{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin}
body.nvt-claude-app [style*="text-overflow:ellipsis"]{min-width:0}
body.nvt-claude-app table{border-collapse:collapse;max-width:100%}
body.nvt-claude-app :focus-visible{scroll-margin:84px}
body.nvt-claude-app :where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid var(--nvt-plum-2)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 2px var(--nvt-paper)!important;
}

/* Public site */
.nvt-claude-public header[data-screen-label="01 Header"]{padding-top:var(--nvt-safe-top)}
.nvt-claude-public [data-screen-label="02 Hero"] h1,
.nvt-claude-public [data-screen-label="18 Final CTA"] h2{text-wrap:balance}
.nvt-claude-public [data-screen-label="08 Clubs"] [style*="overflow-x:auto"],
.nvt-claude-public [data-screen-label="13–14 Activity & Updates"] [style*="overflow-x:auto"]{padding-bottom:4px}

/* Access screens */
.nvt-claude-access main{min-width:0}
.nvt-claude-access [data-screen-label="Access · Brand panel"]{min-width:0}
.nvt-claude-access [data-screen-label] form{min-width:0}
.nvt-claude-access [data-screen-label] input,
.nvt-claude-access [data-screen-label] select,
.nvt-claude-access [data-screen-label] textarea{width:100%}

/* Dashboard */
.nvt-claude-dashboard [data-screen-label="Top bar"]{padding-top:var(--nvt-safe-top)}
.nvt-claude-dashboard [data-screen-label] [style*="overflow-x:auto"]{width:100%;max-width:100%}
.nvt-claude-dashboard [role="dialog"]{max-width:calc(100vw - 24px)}
.nvt-claude-dashboard [style*="position:fixed"][style*="inset:0"]{padding-top:max(12px,var(--nvt-safe-top));padding-bottom:max(12px,var(--nvt-safe-bottom))}
.nvt-claude-dashboard [style*="overflow-y:auto"]{-webkit-overflow-scrolling:touch}

@media(max-width:1179px){
  .nvt-claude-public header[data-screen-label="01 Header"]>div{gap:10px!important;padding-left:16px!important;padding-right:16px!important}
  .nvt-claude-public [data-screen-label] [style*="grid-template-columns:repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .nvt-claude-public [data-screen-label] [style*="grid-template-columns:repeat(3"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:959px){
  body.nvt-claude-app{min-height:100dvh}
  .nvt-claude-access [data-screen-label="Access · Brand panel"]{position:relative!important;top:auto!important;min-height:auto!important}
  .nvt-claude-access main>div:first-child{flex-wrap:wrap!important;padding:16px 18px!important;gap:10px!important}
  .nvt-claude-access main>div[style*="flex:1;display:flex"]{padding-left:18px!important;padding-right:18px!important;padding-bottom:calc(72px + var(--nvt-safe-bottom))!important}
  .nvt-claude-access [data-screen-label] [style*="grid-template-columns:repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .nvt-claude-dashboard [data-screen-label="Top bar"]{height:auto!important;min-height:64px!important;padding-left:14px!important;padding-right:14px!important;gap:8px!important}
  .nvt-claude-dashboard [data-screen-label] [style*="grid-template-columns:repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .nvt-claude-dashboard [data-screen-label] [style*="grid-template-columns:repeat(3"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:767px){
  body.nvt-claude-app{font-size:15px}
  body.nvt-claude-app input,body.nvt-claude-app select,body.nvt-claude-app textarea{font-size:16px!important}
  body.nvt-claude-app button:not([style*="height:8px"]),body.nvt-claude-app input[type="button"],body.nvt-claude-app input[type="submit"],body.nvt-claude-app select{min-height:44px}
  .nvt-claude-public a[style*="height:3"],.nvt-claude-public a[style*="height:4"],.nvt-claude-access a[style*="height:3"],.nvt-claude-access a[style*="height:4"],.nvt-claude-dashboard a[style*="height:3"],.nvt-claude-dashboard a[style*="height:4"]{min-height:44px}
  .nvt-claude-dashboard>div,
  .nvt-claude-dashboard x-dc>div{min-height:100dvh!important}
  .nvt-claude-dashboard [data-screen-label="Top bar"]{position:sticky!important;top:0!important;min-height:60px!important;padding:calc(8px + var(--nvt-safe-top)) 10px 8px!important}
  .nvt-claude-dashboard [data-screen-label="Top bar"] [style*="font:600 16px"]{font-size:15px!important}
  .nvt-claude-dashboard [data-screen-label] [style*="grid-template-columns:repeat(4"],
  .nvt-claude-dashboard [data-screen-label] [style*="grid-template-columns:repeat(3"],
  .nvt-claude-dashboard [data-screen-label] [style*="grid-template-columns:repeat(2"]{grid-template-columns:1fr!important}
  .nvt-claude-dashboard [data-screen-label] [style*="display:flex"]{max-width:100%}
  .nvt-claude-dashboard [data-screen-label] input[type="search"],
  .nvt-claude-dashboard [data-screen-label] input[placeholder*="Search"]{width:100%!important;min-width:0!important}
  .nvt-claude-dashboard [role="dialog"]{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important;border-radius:18px!important}
  .nvt-claude-dashboard [role="dialog"] [style*="overflow-y:auto"]{max-height:calc(100dvh - 132px)!important}
  .nvt-claude-dashboard [style*="position:fixed"][style*="bottom:0"]{padding-bottom:max(8px,var(--nvt-safe-bottom))}
  .nvt-claude-dashboard h1{font-size:clamp(26px,7vw,32px)!important}
}

@media(max-width:639px){
  html{scroll-padding-top:68px}
  .nvt-claude-public header[data-screen-label="01 Header"]>div{height:64px!important;padding-left:12px!important;padding-right:12px!important;gap:8px!important}
  .nvt-claude-public header[data-screen-label="01 Header"] a[aria-label="NVT-USA BSF home"]{gap:7px!important}
  .nvt-claude-public header[data-screen-label="01 Header"] a[href*="#join"]{padding:10px 12px!important;gap:4px!important}
  .nvt-claude-public [data-screen-label]{scroll-margin-top:68px}
  .nvt-claude-public [data-screen-label] [style*="grid-template-columns:repeat(4"],
  .nvt-claude-public [data-screen-label] [style*="grid-template-columns:repeat(3"],
  .nvt-claude-public [data-screen-label] [style*="grid-template-columns:repeat(2"],
  .nvt-claude-public [data-screen-label] [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
  .nvt-claude-public section[data-screen-label]{padding-left:16px!important;padding-right:16px!important}
  .nvt-claude-public h1{font-size:clamp(30px,9vw,38px)!important;line-height:1.12!important}
  .nvt-claude-public h2{font-size:clamp(25px,7.5vw,31px)!important}
  .nvt-claude-public h3{overflow-wrap:anywhere}
  .nvt-claude-public footer[data-screen-label="19 Footer"] [style*="white-space:nowrap"]{white-space:normal!important;overflow-wrap:anywhere}
  .nvt-claude-public footer[data-screen-label="19 Footer"] [style*="justify-content:space-between"]{align-items:flex-start!important}
  .nvt-claude-public [style*="justify-content:space-between"]{row-gap:10px}
  .nvt-claude-public [style*="position:fixed"][style*="bottom:"]{max-width:calc(100vw - 20px)!important}
  .nvt-claude-access main>div:first-child{padding:12px 14px!important}
  .nvt-claude-access main>div:first-child>div:last-child{width:100%;justify-content:flex-end!important;flex-wrap:wrap!important}
  .nvt-claude-access main>div[style*="flex:1;display:flex"]{padding:24px 16px calc(72px + var(--nvt-safe-bottom))!important}
  .nvt-claude-access [data-screen-label] [style*="grid-template-columns:repeat(4"],
  .nvt-claude-access [data-screen-label] [style*="grid-template-columns:repeat(3"],
  .nvt-claude-access [data-screen-label] [style*="grid-template-columns:repeat(2"],
  .nvt-claude-access [data-screen-label] [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
  .nvt-claude-access [data-screen-label="2FA"] [role="group"]{gap:5px!important}
  .nvt-claude-access [data-screen-label="2FA"] [role="group"] input{height:50px!important;font-size:19px!important;padding:0!important}
  .nvt-claude-access h1,.nvt-claude-access h2{font-size:clamp(25px,8vw,31px)!important}
  .nvt-claude-access [data-screen-label] form button[type="submit"]{min-height:52px!important}
  .nvt-claude-dashboard [data-screen-label] [style*="display:flex"][style*="justify-content:space-between"]{flex-wrap:wrap!important}
  .nvt-claude-dashboard [data-screen-label] [style*="gap:12px"]{max-width:100%}
  .nvt-claude-dashboard [data-screen-label] [style*="padding:16px 18px"]{padding-left:12px!important;padding-right:12px!important}
}

@media(max-width:420px){
  .nvt-claude-public header[data-screen-label="01 Header"]>div{padding-left:8px!important;padding-right:8px!important}
  .nvt-claude-public header[data-screen-label="01 Header"] a[aria-label="NVT-USA BSF home"]>span:last-child{font-size:14px!important}
  .nvt-claude-public header[data-screen-label="01 Header"] a[href*="#join"]{padding-left:10px!important;padding-right:10px!important;font-size:12.5px!important}
  .nvt-claude-public section[data-screen-label]{padding-left:12px!important;padding-right:12px!important}
  .nvt-claude-access main>div:first-child{align-items:flex-start!important}
  .nvt-claude-access main>div:first-child>a[style*="Back to site"]{font-size:12.5px!important}
  .nvt-claude-dashboard [data-screen-label="Top bar"]{padding-left:8px!important;padding-right:8px!important}
  .nvt-claude-dashboard [role="dialog"]{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important}
}

@media(orientation:landscape) and (max-height:520px){
  .nvt-claude-access main>div[style*="flex:1;display:flex"]{padding-top:16px!important}
  .nvt-claude-dashboard [role="dialog"]{max-height:92dvh!important}
}

@media(prefers-reduced-motion:reduce){
  body.nvt-claude-app *,
  body.nvt-claude-app *::before,
  body.nvt-claude-app *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    transition-delay:0ms!important;
    scroll-behavior:auto!important;
  }
}
