/* Styles added by the Next.js app (not part of the CEO's design files): legal pages, 404,
   footer legal links, loading/error states, studio additions, the profile page. Loaded after the
   design stylesheets on every page except the admin (its own stylesheet).
   Uses the design's existing fonts and colours. */

/* Counsellor popup honeypot: present for bots, invisible and unreachable for people. */
.nyc-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* Footer legal links (every page): privacy, terms, refund policy, contact. A row under the shared
   footer's note (Refund policy is in its nav); LegalFooter on pages without a footer. */
.nyc-legal-links{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:11px;line-height:1.6;color:inherit}
.nyc-legal-links a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.nyc-legal-links a:hover{text-decoration-thickness:2px}
.nyc-legal-links a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
.nyc-site-footer .nyc-legal-links{max-width:1240px;margin:12px auto 0;gap:6px 18px;font:400 12px/1.5 NYCNav,sans-serif;color:#aebbaa}
.nyc-site-footer .nyc-legal-links a:hover{color:#d0df83}
/* Pages without a design footer (experience, studio): one small closing row. */
.nyc-legal-footer{position:relative;z-index:5;padding:22px 6% 26px;background:#173f32;color:#d3e0c8;font-family:Neue,Arial,sans-serif}
.full-journey .nyc-legal-footer{background:#010805;color:#b9c9b4;border-top:1px solid #ffffff1a;padding-bottom:120px}

/* Legal pages (privacy, terms, pricing and refunds): long-form reading in the resource pages'
   type and colours. Text: src/components/legal. */
.nyc-legal-page{padding-top:60px}
.nyc-legal-head{max-width:860px}
.nyc-legal-intro{max-width:760px;font-size:17px;line-height:1.65}
.nyc-legal-intro p{margin:0 0 14px}
.nyc-legal-updated{font-size:13px;letter-spacing:.04em;color:#5d6d61}
.nyc-legal-notice{font-size:13px;line-height:1.6;padding:16px 18px;background:#efeadf;border-left:2px solid #173f32}
.nyc-legal-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:60px;margin-top:50px;align-items:start}
.nyc-legal-index{position:sticky;top:calc(var(--header-height,72px) + 24px);max-height:calc(100vh - var(--header-height,72px) - 48px);overflow:auto;font-size:13px;line-height:1.45}
.nyc-legal-index ol,.nyc-legal-toc ol{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:9px}
.nyc-legal-index a,.nyc-legal-toc a{display:flex;gap:10px;color:inherit;text-decoration:none}
.nyc-legal-index a span,.nyc-legal-toc a span{font-size:11px;color:#6d7c70;min-width:20px;padding-top:1px}
.nyc-legal-index a:hover,.nyc-legal-toc a:hover{text-decoration:underline;text-underline-offset:3px}
.nyc-legal-index a:focus-visible,.nyc-legal-toc a:focus-visible,.nyc-legal-toc summary:focus-visible{outline:2px solid #173f32;outline-offset:3px}
.nyc-legal-layout .nyc-legal-index{display:block}
.nyc-legal-toc{display:none}
.nyc-legal-sections{list-style:none;margin:0;padding:0;max-width:760px;counter-reset:legal}
.nyc-legal-sections>li{counter-increment:legal;padding:0 0 40px;margin:0 0 40px;border-bottom:1px solid #20372c1f;scroll-margin-top:calc(var(--header-height,72px) + 24px)}
.nyc-legal-sections>li:last-child{border-bottom:0;margin-bottom:0}
.nyc-legal-sections h2{font:28px/1.1 NeueHeavy,Arial,sans-serif;letter-spacing:-.03em;margin:0 0 18px}
.nyc-legal-sections h2::before{content:counter(legal,decimal-leading-zero);display:block;font:11px/1.5 Neue,Arial,sans-serif;letter-spacing:.12em;margin-bottom:10px;color:#6d7c70}
.nyc-legal-body{font-size:16px;line-height:1.7}
.nyc-legal-body p{margin:0 0 12px}
.nyc-legal-body ul,.nyc-legal-body ol{margin:8px 0 14px;padding-left:1.35em}
.nyc-legal-body ul{list-style:disc}
.nyc-legal-body ol{list-style:decimal}
.nyc-legal-body ul.roman,.nyc-legal-body ul ul{list-style:lower-roman}
.nyc-legal-body ul.plain{list-style:none;padding-left:0}
.nyc-legal-body li{margin:6px 0}
.nyc-legal-body .term{font-weight:500;color:#173f32}
.nyc-legal-body .example{margin:8px 0;font-size:14px;padding:10px 14px;background:#efeadf}
.nyc-legal-body a,.nyc-legal-intro a{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:900px){.nyc-legal-page{padding-top:40px}.nyc-legal-layout{grid-template-columns:1fr;gap:28px;margin-top:30px}.nyc-legal-layout .nyc-legal-index{display:none}.nyc-legal-toc{display:block;border:1px solid #20372c26;border-radius:3px;padding:14px 16px;font-size:14px}.nyc-legal-toc summary{cursor:pointer;font-weight:500}.nyc-legal-sections h2{font-size:23px}.nyc-legal-body{font-size:15px}.nyc-legal-intro{font-size:16px}}

/* 404 */
.nyc-not-found{padding:90px 6% 110px;min-height:56vh}
.nyc-not-found>p:not(.resource-label){max-width:560px;font-size:18px}
.nyc-not-found-links{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:30px}
@media(max-width:700px){.nyc-not-found{padding:60px 6% 80px}.nyc-not-found>p:not(.resource-label){font-size:16px}}

/* Loading, empty and error states added by the app. */
[aria-busy=true]{cursor:progress}

/* Studio bar of the page guide (/admin-preview): site-ui.css gives every body>header z-index 90,
   which put this bar above the fixed site header (60) and its open menu. It keeps the page's normal
   stacking order. */
.studio-header{z-index:auto}

/* Studio resource cards on /resources: cover colours set in the content studio, taken from the
   guide covers in hub.css (src/lib/resources/cover.ts lists them). */
.rs-cover.nyc-cover-forest{background:#1d2a23}
.rs-cover.nyc-cover-navy{background:#1b2b5c}
.rs-cover.nyc-cover-ocean{background:#0b3b5c}
.rs-cover.nyc-cover-midnight{background:#0f2a3a}
.rs-cover.nyc-cover-blue{background:#0052cc}
.rs-cover.nyc-cover-slate{background:#232f3e}
.rs-cover.nyc-cover-black{background:#111}
.rs-cover.nyc-cover-purple{background:#3d2c52}
.rs-cover.nyc-cover-rust{background:#8a3a1f}
.rs-cover.nyc-cover-orange{background:#b3541e}
.rs-cover.nyc-cover-lime{background:#d0df83;color:#173f32}
.rs-cover.nyc-cover-sand{background:#f1dfce;color:#173f32}
.rs-cover:is(.nyc-cover-lime,.nyc-cover-sand)::after{background-image:radial-gradient(#173f3222 1px,transparent 1.2px)}
.rs-cover:is(.nyc-cover-lime,.nyc-cover-sand) .rs-cover-logo:not(.nyc-cover-image){background:#173f32}
.rs-cover.nyc-cover-lime .rs-cover-logo svg{color:#d0df83}
.rs-cover.nyc-cover-sand .rs-cover-logo svg{color:#f1dfce}

/* Profile page (/profile, not in the design): the previous app's profile details in the account
   pages' style (funnel.css fields, buttons and sage panels; the studio editor's fieldset legends).
   `.nyc-form` (fields, dropdowns, autofill) is shared with the dashboard's goodies form. */
.nyc-profile{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:8%;align-items:start;padding:60px 8% 90px;min-height:75svh}
.nyc-profile .back-link{display:inline-flex;align-items:center;gap:8px;margin-bottom:34px;font-size:12px;line-height:1.5;color:#65715f;text-decoration:none}
.nyc-profile h1{margin:14px 0 24px}
.nyc-profile-lead{max-width:440px;margin:0 0 32px;font-size:18px}
.nyc-profile-card{position:relative;display:flex;align-items:center;gap:24px;max-width:520px;padding:26px;background:var(--sage);border:1px solid #bdc9b3}
.nyc-profile-card:before{content:'';position:absolute;left:0;top:0;width:8px;height:8px;background:var(--green)}
.nyc-profile-card>div:last-child{min-width:0}
.nyc-avatar{display:grid;place-items:center;flex:none;width:104px;height:104px;overflow:hidden;border:3px solid #faf8f2;border-radius:50%;box-shadow:0 0 0 1px #bdc9b3;background:var(--green);color:#faf8f2;font:38px/1 NeueHeavy;letter-spacing:-.04em}
.nyc-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.nyc-avatar .nyc-icon{width:44px;height:44px}
.nyc-profile-card strong{display:block;font:26px/1.1 NeueHeavy;letter-spacing:-.035em;overflow-wrap:anywhere}
.nyc-profile-card p{margin:7px 0 16px;font-size:13px;line-height:1.5;color:#596653;overflow-wrap:anywhere}
.nyc-profile-card .secondary-button{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;font-size:13px}
.nyc-profile-intro>#photo-status{margin:14px 0 0}
.nyc-profile-intro>#photo-status:empty{margin:0}
.nyc-profile-notice{display:flex;align-items:flex-start;gap:14px;align-self:center;max-width:520px;padding:24px;background:var(--sage);font-size:15px;line-height:1.6}
.nyc-profile-notice p{margin:0}
.nyc-profile-notice .secondary-button{margin-top:14px}
.nyc-form{width:100%;max-width:640px}
.nyc-form fieldset{min-width:0;margin:0;padding:0;border:0}
.nyc-form fieldset+fieldset{margin-top:44px;padding-top:36px;border-top:1px solid var(--line)}
.nyc-form legend{float:left;width:100%;margin:0 0 4px;padding:0;font:28px/1.1 NeueHeavy;letter-spacing:-.035em}
.nyc-form-grid{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.nyc-form-field{min-width:0}
.nyc-form-field.is-wide{grid-column:1/-1}
.nyc-form-field>label{display:block;margin:22px 0 10px;font-size:14px}
.nyc-form-field>.field-caption,.nyc-form-field>.field-error{margin:10px 0 0}
.nyc-form-field .field-caption a{text-decoration:underline}
/* Dropdowns: the design's own chevron (counsellor popup, roadmap planner) instead of the
   browser's arrow, which sits against the border. It is an icon over the select, not a background
   image: browsers remove background images from fields they autofill. */
.funnel-page .nyc-form select{appearance:none;-webkit-appearance:none;padding-right:46px}
.nyc-select{position:relative}
.nyc-select>.nyc-icon{position:absolute;top:50%;right:16px;width:16px;height:16px;margin-top:-8px;color:#173f32;pointer-events:none}
.nyc-select>select:disabled+.nyc-icon{color:#8a9585}
/* Fields the browser fills from a saved address (city, state, name) keep the site's colours. The
   browser paints its own background with !important, so an inset shadow covers it (!important:
   site-ui.css removes the box-shadow of a focused field with !important); saving also clears the
   browser's autofill mark (src/components/forms/autofill.ts). Separate rules: a browser that
   doesn't know one of the two selectors drops only that rule. */
.funnel-page .nyc-form input:autofill,.funnel-page .nyc-form select:autofill{box-shadow:inset 0 0 0 100px #fffefa!important;-webkit-text-fill-color:#222e26;caret-color:#222e26;filter:none}
.funnel-page .nyc-form input:-webkit-autofill,.funnel-page .nyc-form select:-webkit-autofill{-webkit-box-shadow:inset 0 0 0 100px #fffefa!important;box-shadow:inset 0 0 0 100px #fffefa!important;-webkit-text-fill-color:#222e26;caret-color:#222e26}
.nyc-form select[aria-invalid=true]{border-color:#933b2b}
/* funnel.css's field border outranks its own aria-invalid colour: marked fields show it here. */
.funnel-page .nyc-form input[aria-invalid=true]:not([type=radio]):not([type=checkbox]){border-color:#933b2b}
.funnel-page .nyc-form select:has(option[value='']:checked){color:#757575}
.nyc-form select option{color:#222e26}
.funnel-page .nyc-form input:disabled{background:#eff1e9;color:#56634f;-webkit-text-fill-color:#56634f;opacity:1;cursor:not-allowed}
.funnel-page .nyc-form select:disabled{background-color:#eff1e9;color:#56634f;opacity:1;cursor:not-allowed}
.nyc-form .phone-field:has(input:disabled){background:#eff1e9}
.nyc-form>.profile-context{margin:0 0 34px}
.nyc-form>.profile-context a{text-decoration:underline}
.funnel-page .nyc-form .phone-field input:disabled{background:none}
/* The +91 box is the field: the number inside has no border of its own. */
.funnel-page .nyc-form .phone-field input{border:0;background:none}
.nyc-form .phone-field:has(input[aria-invalid=true]){border-color:#933b2b}
.nyc-form>.field-error{margin:32px 0 0}
.nyc-form>.ac-button{width:100%;margin-top:32px}
.nyc-form>.action-status .nyc-icon{margin-right:4px}
.nyc-spin{display:inline-flex}
.nyc-spin .nyc-icon{animation:nyc-spin 1s linear infinite}
@keyframes nyc-spin{to{transform:rotate(360deg)}}
@media(min-width:761px) and (min-height:720px){.nyc-profile-intro{position:sticky;top:calc(var(--header-height,80px) + 24px)}}
@media(prefers-reduced-motion:reduce){.nyc-spin .nyc-icon{animation:none}}
@media(max-width:760px){.nyc-profile{grid-template-columns:1fr;gap:44px;padding:30px 6% 60px}.nyc-profile .back-link{margin-bottom:24px}.nyc-profile-lead{margin-bottom:26px;font-size:16px}.nyc-profile-card{align-items:flex-start;gap:18px;padding:20px}.nyc-avatar{width:80px;height:80px;font-size:30px}.nyc-avatar .nyc-icon{width:34px;height:34px}.nyc-profile-card strong{font-size:22px}.nyc-form-grid{grid-template-columns:1fr}.nyc-form legend{font-size:25px}.nyc-form fieldset+fieldset{margin-top:36px;padding-top:30px}}

/* Profile photo editor: a square frame with the round crop marked, zoom and turn controls. */
.nyc-photo-dialog{width:min(520px,94vw)}
.nyc-photo-dialog h2{margin:16px 0 12px}
.nyc-photo-dialog #photo-hint{margin:0 0 20px}
.nyc-photo-frame{position:relative;width:min(320px,100%);aspect-ratio:1;margin:0 auto;overflow:hidden;border-radius:3px;background:#1b3029;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.nyc-photo-frame:active{cursor:grabbing}
.nyc-photo-frame:focus-visible{outline:2px solid #56775e;outline-offset:3px}
.nyc-photo-frame canvas:not([hidden]){display:block;width:100%;height:100%}
.nyc-photo-circle{position:absolute;inset:0;border:2px solid #faf8f2cc;border-radius:50%;box-shadow:0 0 0 999px #132e25a6;pointer-events:none}
.review-dialog .nyc-photo-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;color:#faf8f2;font-size:14px;text-align:center}
.nyc-photo-controls{display:flex;align-items:center;gap:12px;width:min(320px,100%);margin:22px auto 0}
.review-dialog .nyc-photo-controls label{display:inline-flex;margin:0}
.funnel-page .nyc-photo-controls input[type=range]{flex:1;width:auto;min-width:0;min-height:0;padding:0;border:0;background:none;accent-color:#173f32}
.nyc-photo-controls .secondary-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:13px}
.nyc-photo-dialog .field-error{margin:16px 0 0}
.nyc-photo-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:26px}
.nyc-photo-actions .ac-button{min-width:190px}
@media(max-width:760px){.nyc-photo-actions .ac-button,.nyc-photo-actions .secondary-button{flex:1}}

/* Dashboard (/dashboard, not in the design): the previous app's enrolled courses (classroom,
   Discord channel) and goodies form, in the profile page's style. */
.nyc-dashboard{padding:60px 8% 90px;min-height:75svh}
.nyc-dashboard-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 60px;margin-bottom:38px}
.nyc-dashboard-head h1{margin:14px 0 24px}
.nyc-dashboard-head .nyc-profile-lead{margin:0}
.nyc-dashboard-head>.text-link{margin-bottom:6px}
.nyc-dashboard-notice{display:flex;align-items:center;gap:12px;max-width:760px;margin:0 0 30px;padding:16px 20px;background:var(--sage);font-size:15px;line-height:1.5}
.nyc-dashboard-notice.is-problem{background:var(--peach)}
.nyc-dashboard>.nyc-profile-notice{max-width:760px}
.nyc-course-list{display:grid;gap:28px}
.nyc-course{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:center;padding:20px 40px 20px 20px;background:#fffdf7;border:1px solid var(--line)}
.nyc-course:before{content:'';position:absolute;left:0;top:0;width:8px;height:8px;background:var(--green)}
.nyc-course-cover{display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;background:var(--sage)}
.nyc-course-cover img{display:block;width:100%;height:100%;object-fit:contain}
.nyc-course-cover .nyc-course-logo{width:28%;height:auto;object-fit:contain}
.nyc-course-cover:has(.nyc-course-logo){background:var(--green)}
.funnel-page .nyc-course-body h3{margin:10px 0 8px;font-size:clamp(28px,2.6vw,38px);line-height:1.05;letter-spacing:-.04em;overflow-wrap:anywhere}
.nyc-course-meta{margin:0 0 22px;font-size:13px;color:#596653}
.nyc-course-body>.ac-button{width:100%}
.nyc-course-classroom{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;min-height:58px;padding:12px 16px;background:var(--sage);font-size:14px;line-height:1.5}
.nyc-course-classroom.is-problem{background:var(--peach)}
.nyc-course-classroom .nyc-icon{width:20px;height:20px;flex:none}
.nyc-course-classroom p{flex:1 1 160px;margin:0}
.nyc-course-classroom .secondary-button{margin-left:auto}
.nyc-course-classroom:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.nyc-course-discord{margin-top:12px}
.nyc-course-discord .secondary-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;text-decoration:none}
.nyc-course-discord .secondary-button img{width:20px;height:20px;flex:none}
.nyc-course-discord .field-caption,.nyc-course-discord .field-error{margin:10px 0 0}
.funnel-page .nyc-dashboard-empty{max-width:760px;margin:10px 0 0}
.nyc-dashboard-empty>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px}
.nyc-goodies{margin-top:72px;padding-top:56px;border-top:1px solid var(--line)}
.nyc-goodies h2{margin:14px 0 18px}
.nyc-goodies-lead{max-width:560px;margin:0 0 34px;font-size:17px}
.nyc-form.nyc-goodies-form{max-width:760px}
.nyc-sizes>div{clear:both;display:flex;flex-wrap:wrap;gap:10px;padding-top:18px}
.nyc-size{position:relative}
.nyc-size input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.nyc-size span{display:grid;place-items:center;min-width:64px;height:48px;padding:0 14px;border:1px solid #bac6b5;border-radius:3px;background:#fffefa;font-size:15px}
.nyc-size input:checked+span{background:var(--green);border-color:var(--green);color:#faf8f2}
.nyc-size input:focus-visible+span{outline:2px solid #56775e;outline-offset:2px}
.nyc-sizes>.field-error{margin:12px 0 0}
.nyc-goodies-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:32px}
.nyc-goodies-actions .ac-button{flex:1 1 280px}
.nyc-goodies-done{display:flex;align-items:flex-start;gap:18px;max-width:760px;padding:28px;background:var(--sage);border:1px solid #bdc9b3}
.nyc-goodies-done>.nyc-icon{width:28px;height:28px;color:var(--green)}
.funnel-page .nyc-goodies-done h3{margin:0 0 6px;font-size:26px}
.nyc-goodies-done p{margin:0 0 18px;font-size:15px}
.nyc-goodies-done dl{display:grid;grid-template-columns:auto 1fr;gap:10px 24px;margin:0 0 18px;font-size:15px;line-height:1.5}
.nyc-goodies-done dt{padding-top:3px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#596653}
.nyc-goodies-done dd{margin:0;overflow-wrap:anywhere}
.nyc-goodies-done .text-link .nyc-icon{width:16px;height:16px}
@media(max-width:760px){.nyc-dashboard{padding:30px 6% 60px}.nyc-dashboard-head{margin-bottom:30px}.nyc-course{grid-template-columns:1fr;gap:22px;padding:14px 14px 22px}.nyc-goodies{margin-top:52px;padding-top:40px}.nyc-goodies-done{flex-direction:column;padding:22px}.nyc-goodies-done dl{grid-template-columns:1fr;gap:2px}.nyc-goodies-done dt:not(:first-child){margin-top:12px}}

/* The Discord bot's return (/discord-callback): no header, just what is happening. */
.nyc-discord-return{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100svh;padding:40px 6%;text-align:center}
.nyc-discord-return>img{box-sizing:content-box;padding:16px;background:var(--green)}
.nyc-discord-return>.resource-label{margin-top:22px}
.nyc-discord-return h1{margin:12px 0 22px}
.nyc-discord-status{display:inline-flex;align-items:center;gap:10px;font-size:15px}

/* Signed-in header (site-header.css .acct-*): the button's name on one line; long names and emails wrap inside the account menu (journey.css makes .header-accounts nowrap). */
.nyc-site-header .acct-nm{white-space:nowrap}
.nyc-site-header .acct-hd>span{min-width:0}
.nyc-site-header .acct-hd :is(b,small){white-space:normal;overflow-wrap:anywhere}
/* The classroom link's place while GET /enrolled-courses is asked (AccountMenu): an unseen copy, so the links below it don't move when it arrives. */
.nyc-site-header .acct-menu .acct-slot{visibility:hidden}

/* Certificate pages (/verify/<id>, /certificate/<id>; not in the design): the advisor family's hub
   look (eyebrow, artifact frame, chips, rows). Markup: src/components/certificate/. */
.nyc-cert{padding:84px 0 100px}
.nyc-cert-head{max-width:820px}
.nyc-cert-head h1{font:500 clamp(40px,6vw,72px)/1 Neue,sans-serif;letter-spacing:-.05em;color:var(--ink);overflow-wrap:anywhere}
.nyc-cert .nyc-cert-lead{margin:18px 0 0;text-align:left}
.nyc-cert-state{margin-top:22px}
.nyc-cert-chip{font-weight:500}
.nyc-cert-chip .nyc-icon{width:15px;height:15px}
.nyc-cert-chip.is-valid{background:#173f32;color:#eef3e6}
.nyc-cert-chip:is(.is-revoked,.is-expired){background:#9a3b2e;color:#fff}
.nyc-cert-notice{display:flex;gap:14px;align-items:flex-start;max-width:820px;margin-top:28px;padding:18px 20px;border-left:4px solid #9a3b2e;border-radius:0 10px 10px 0;background:var(--peach);color:var(--text)}
.nyc-cert-notice>.nyc-icon{flex:none;width:22px;height:22px;margin-top:2px;color:#9a3b2e}
.nyc-cert-notice strong{display:block;font:500 20px/1.25 Neue,sans-serif;letter-spacing:-.02em;color:#7d2f24}
.nyc-cert-notice p{margin-top:6px;font:16px/1.5 Neue,sans-serif}
.nyc-cert-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:44px;align-items:start;margin-top:44px}
.nyc-cert-grid>.nyc-cert-details:only-child{grid-column:1/-1;max-width:820px}
.nyc-cert-figure{margin:0}
.nyc-cert-graphic{display:block;width:100%;background:#fff;user-select:none;-webkit-user-select:none}
.nyc-cert-graphic>svg{display:block;width:100%;height:100%}
.nyc-cert-figure.is-missing{display:grid;place-items:center;aspect-ratio:1565/1106;padding:28px}
.nyc-cert-missing{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:42ch;text-align:center;font:15px/1.5 Neue,sans-serif;color:var(--muted)}
.nyc-cert-missing strong{display:block;margin-bottom:4px;font-size:17px;font-weight:500;color:var(--ink)}
.nyc-cert-missing>.nyc-icon{width:28px;height:28px;color:var(--ink)}
.nyc-cert-actions{margin-top:22px}
.nyc-cert-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px}
.nyc-cert-buttons .hub-primary{min-height:48px;padding:12px 18px;border:0;font-size:15px;cursor:pointer}
.nyc-cert-buttons .hub-primary.is-secondary{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.nyc-cert-buttons .hub-primary.is-secondary:hover{background:#173f320f}
.nyc-cert-buttons .hub-primary:is(:disabled,[aria-disabled=true]){opacity:.55;transform:none;cursor:not-allowed}
.nyc-cert-buttons .hub-primary[aria-busy=true]{opacity:.8;cursor:progress}
.nyc-cert-buttons .hub-link .nyc-icon{width:16px;height:16px}
.nyc-cert-actions .hub-note{margin-top:12px}
.nyc-cert-error{margin-top:12px;font:14px/1.4 Neue,sans-serif;color:#9a3b2e}
.nyc-cert-error:empty{margin:0}
.nyc-cert-details h2{margin-bottom:14px;font:500 22px/1.25 Neue,sans-serif;letter-spacing:-.02em;color:var(--ink)}
.nyc-cert-rows{margin:0;border-top:1px solid #173f3240}
.nyc-cert-rows>div{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.4fr);gap:4px 16px;padding:14px 0;border-bottom:1px solid #173f3240}
.nyc-cert-rows dt{font:12px/1.6 Neue,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nyc-cert-rows dd{margin:0;font:500 16px/1.5 Neue,sans-serif;color:var(--ink);overflow-wrap:anywhere}
.nyc-cert-rows code{font:500 15px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.02em}
.nyc-cert-status.is-valid::before{content:'';display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#2f8a5b;vertical-align:middle}
.nyc-cert-status:is(.is-revoked,.is-expired){color:#9a3b2e}
.nyc-cert-rows>.is-url{grid-template-columns:1fr}
.nyc-cert-rows>.is-url dd{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.nyc-cert-url{flex:1 1 220px;min-width:0;padding:9px 12px;border:1px solid #173f3233;border-radius:8px;background:var(--card);font:400 14px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--text);overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.nyc-cert-copy{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:8px 14px;border:1.5px solid var(--ink);border-radius:5px;background:var(--card);color:var(--ink);font:500 14px/1 Neue,sans-serif;cursor:pointer}
.nyc-cert-copy:hover{background:#eef3e4}
.nyc-cert-copy .nyc-icon{width:16px;height:16px}
.nyc-cert-copy-status{flex-basis:100%;font:13px/1.4 Neue,sans-serif;color:#9a3b2e}
.nyc-cert :is(.hub-primary,.hub-link,.nyc-cert-copy):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.nyc-cert-message{min-height:62vh}
.nyc-cert-message>*{max-width:760px}
.nyc-cert-message h1{font:500 clamp(36px,5.4vw,60px)/1.02 Neue,sans-serif;letter-spacing:-.05em;color:var(--ink)}
.nyc-cert-message .hub-lead{margin:20px 0 0;text-align:left}
.nyc-cert-message .hub-actions{justify-content:flex-start}
.nyc-cert-nowrap{white-space:nowrap}
@media(max-width:900px){.nyc-cert-grid{grid-template-columns:1fr;gap:36px}}
@media(max-width:600px){.nyc-cert{padding:48px 0 72px}.nyc-cert-rows>div{grid-template-columns:1fr;gap:2px}.nyc-cert-buttons .hub-link{width:100%;justify-content:center}}
