/* Student Commons 5.13.0 — resources, safety and first-run guidance. */
.nsc513-resource-form .nsc513-upload-zone{border:1px dashed var(--nsc-border,#9ab2a6);border-radius:14px;padding:18px;background:color-mix(in srgb,var(--nsc-surface,#fff) 94%,var(--nsc-accent,#176b45) 6%)}
.nsc513-resource-form .nsc513-upload-zone input[type=file]{width:100%;min-height:48px;padding:9px;background:transparent}
.nsc513-file-list{display:grid;gap:5px;margin-top:9px;font-size:.86rem;color:var(--nsc-muted,#52645b)}
.nsc513-resource-policy{display:flex;gap:9px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--nsc-soft,#eef7f1);font-size:.88rem;line-height:1.5}
.nsc513-resource-policy a{font-weight:700}
.nsc513-resource-files{display:grid;gap:8px;margin:12px 0}
.nsc513-file-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--nsc-border,#c6d3cc);border-radius:11px;text-decoration:none}
.nsc513-file-link span{min-width:0;overflow-wrap:anywhere}.nsc513-file-link small{white-space:nowrap}
.nsc513-provenance{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0;font-size:.78rem}.nsc513-provenance span{border:1px solid var(--nsc-border,#c6d3cc);border-radius:999px;padding:4px 8px}
.nsc513-action-menu{display:inline-block;position:relative}.nsc513-action-menu>summary{list-style:none;cursor:pointer;border:1px solid var(--nsc-border,#c6d3cc);border-radius:9px;padding:6px 10px;font-weight:700}.nsc513-action-menu>summary::-webkit-details-marker{display:none}.nsc513-action-menu[open]>.nsc513-report-popover{margin-top:8px;max-width:420px;border:1px solid var(--nsc-border,#c6d3cc);border-radius:14px;padding:14px;background:var(--nsc-surface,#fff);box-shadow:0 16px 36px rgba(0,0,0,.12)}
.nsc513-help-panel{margin-top:18px;padding:18px;border:1px solid var(--nsc-border,#c6d3cc);border-radius:16px;background:var(--nsc-surface,#fff)}.nsc513-help-panel h2{margin:0 0 6px;font-size:1.12rem}.nsc513-help-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.nsc513-help-actions a,.nsc513-help-actions button{min-height:42px;padding:9px 13px;border:1px solid var(--nsc-border,#c6d3cc);border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.nsc513-report-history{display:grid;gap:10px}.nsc513-report-history article{padding:12px;border:1px solid var(--nsc-border,#c6d3cc);border-radius:12px}.nsc513-report-history small{display:block;margin-top:4px;color:var(--nsc-muted,#52645b)}
.nsc513-tour-overlay{position:fixed;inset:0;background:rgba(2,12,8,.68);z-index:999990}.nsc513-tour-target{position:relative!important;z-index:999992!important;outline:4px solid #8ff0bb!important;outline-offset:5px!important;border-radius:10px}.nsc513-tour-card{position:fixed;z-index:999993;left:50%;bottom:30px;transform:translateX(-50%);width:min(92vw,460px);padding:20px;border-radius:18px;background:#fff;color:#10251b;box-shadow:0 24px 70px rgba(0,0,0,.35)}.nsc513-tour-card small{font-weight:800;color:#416456}.nsc513-tour-card h2{margin:6px 28px 6px 0;font-size:1.25rem}.nsc513-tour-card p{margin:0 0 18px;line-height:1.55}.nsc513-tour-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:25px;cursor:pointer}.nsc513-tour-actions{display:flex;align-items:center;gap:8px}.nsc513-tour-actions span{flex:1}.nsc513-tour-actions button{min-height:40px;border:1px solid #9ab2a6;border-radius:10px;background:#fff;color:#10251b;padding:8px 12px;font-weight:700;cursor:pointer}.nsc513-tour-actions .is-primary{background:#1e6a43;color:#fff;border-color:#1e6a43}.nsc513-tour-actions button:disabled{opacity:.45}
html[data-theme=dark] .nsc513-tour-card{background:#10251b;color:#f2fff7;border:1px solid #557669}html[data-theme=dark] .nsc513-tour-actions button{background:#172f24;color:#f2fff7;border-color:#557669}html[data-theme=dark] .nsc513-tour-actions .is-primary{background:#8ff0bb;color:#082015;border-color:#8ff0bb}
@media(max-width:720px){.nsc513-tour-card{bottom:max(82px,calc(env(safe-area-inset-bottom) + 72px));padding:17px}.nsc513-resource-form .nsc5-field-grid{grid-template-columns:1fr}.nsc513-file-link{align-items:flex-start;flex-direction:column}}

/* 5.13.1 — anchored first-use tour and final contrast authority. */
.nsc513-tour-card{left:0!important;top:0!important;bottom:auto!important;transform:none!important;width:min(380px,calc(100vw - 24px))!important;padding:18px 18px 16px!important;border:1px solid #8eaa9c!important;border-radius:16px!important;background:#fff!important;color:#10251b!important;-webkit-text-fill-color:#10251b!important;visibility:hidden}
.nsc513-tour-card::before{content:'';position:absolute;width:12px;height:12px;background:inherit;border:inherit;transform:rotate(45deg)}
.nsc513-tour-card[data-placement="right"]::before{left:-7px;top:calc(50% - 6px);border-top:0;border-right:0}.nsc513-tour-card[data-placement="left"]::before{right:-7px;top:calc(50% - 6px);border-left:0;border-bottom:0}.nsc513-tour-card[data-placement="bottom"]::before{top:-7px;left:calc(50% - 6px);border-right:0;border-bottom:0}.nsc513-tour-card[data-placement="top"]::before{bottom:-7px;left:calc(50% - 6px);border-left:0;border-top:0}
.nsc513-tour-card small{color:#365f4d!important;-webkit-text-fill-color:#365f4d!important}.nsc513-tour-card h2{color:#10251b!important;-webkit-text-fill-color:#10251b!important}.nsc513-tour-card p{color:#304f40!important;-webkit-text-fill-color:#304f40!important}.nsc513-tour-close{width:34px;height:34px;border:1px solid #b7c9c0!important;border-radius:9px!important;background:#eef6f1!important;color:#173f2d!important;-webkit-text-fill-color:#173f2d!important;font-weight:800!important}.nsc513-tour-actions button{background:#fff!important;color:#173f2d!important;-webkit-text-fill-color:#173f2d!important;border-color:#789a88!important;font-weight:800!important;opacity:1!important}.nsc513-tour-actions .is-primary{background:#17633f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#17633f!important}.nsc513-tour-actions button:disabled{opacity:.46!important}
html[data-theme=dark] .nsc513-tour-card{background:#10251b!important;color:#f2fff7!important;-webkit-text-fill-color:#f2fff7!important;border-color:#68877a!important}html[data-theme=dark] .nsc513-tour-card small{color:#a9efc8!important;-webkit-text-fill-color:#a9efc8!important}html[data-theme=dark] .nsc513-tour-card h2{color:#f2fff7!important;-webkit-text-fill-color:#f2fff7!important}html[data-theme=dark] .nsc513-tour-card p{color:#d5e9df!important;-webkit-text-fill-color:#d5e9df!important}html[data-theme=dark] .nsc513-tour-close,html[data-theme=dark] .nsc513-tour-actions button{background:#172f24!important;color:#f2fff7!important;-webkit-text-fill-color:#f2fff7!important;border-color:#68877a!important}html[data-theme=dark] .nsc513-tour-actions .is-primary{background:#8ff0bb!important;color:#082015!important;-webkit-text-fill-color:#082015!important;border-color:#8ff0bb!important}
@media(max-width:720px){.nsc513-tour-card{width:min(340px,calc(100vw - 20px))!important;padding:16px!important}}

/* 5.13.2 — final authority for Wallet/Membership hero-card foregrounds.
   The generic member-workspace light-theme rules are intentionally high
   specificity, so these component selectors must win after the full cascade. */
html[data-theme="light"] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-wallet-hero,
html[data-theme="dark"] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-wallet-hero,
html[data-theme="light"] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current,
html[data-theme="dark"] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-wallet-hero :is(strong,h1,h2,h3),
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current :is(strong,h1,h2,h3){
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
}
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-wallet-hero :is(span,.nsc511-eyebrow),
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current :is(span,.nsc511-eyebrow){
  color:#d9f7e8!important;-webkit-text-fill-color:#d9f7e8!important;opacity:1!important;
}
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-wallet-hero :is(p,small),
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current :is(p,small){
  color:#eaf7f0!important;-webkit-text-fill-color:#eaf7f0!important;opacity:1!important;
}
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current .nsc511-membership-meta,
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current .nsc511-membership-meta :is(strong,span,small,p){
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
}
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-wallet-hero .nsc511-primary,
html[data-theme] body.nsc5-document.nsc590-member-document .nsc590-member-app .nsc511-membership-current .nsc511-primary{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
