/* Line 15860 (upskill-media-7-r1): the Google-path look for the media pages behind ai.features.media_upskill_7.
   Every colour, the type family and the radius are read from the tokens in css/ns-tokens.css (.ns-gp scope, light and
   dark); nothing here names a colour of its own. 375 px first: one column, full-width controls, 44 px touch targets. */

/* The merge card (chats/partials/local-media-merge). */
.ns-gp.ns-gp-card {
    font-family: var(--ns-font);
    color: var(--ns-text);
    background: var(--ns-card);
    border: 1px solid var(--ns-border-strong);
    border-radius: var(--ns-radius);
    padding: 16px;
    margin: 16px 0;
    max-width: 640px;
}
.ns-gp.ns-gp-card > summary { font-size: 16px; font-weight: 500; cursor: pointer; min-height: 24px; }
.ns-gp.ns-gp-card p { color: var(--ns-text-2); font-size: 14px; line-height: 1.5; margin: 8px 0 0; }
.ns-gp.ns-gp-card p[role="status"] { color: var(--ns-text); }
.ns-gp.ns-gp-card form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.ns-gp.ns-gp-card label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.ns-gp.ns-gp-card input[type="file"] {
    font: inherit; font-size: 14px; color: var(--ns-text-2); max-width: 100%;
    padding: 8px; border: 1px dashed var(--ns-border-strong); border-radius: 8px; background: var(--ns-surface);
}
.ns-gp .ns-gp-btn {
    align-self: flex-start; min-height: 44px; padding: 0 24px; border: 0; border-radius: 22px;
    font: 500 14px/44px var(--ns-font); color: var(--ns-on-accent); background: var(--ns-gold); cursor: pointer;
}
.ns-gp .ns-gp-btn:focus-visible { outline: 2px solid var(--ns-text); outline-offset: 2px; }
.ns-gp .ns-gp-btn:disabled { opacity: .5; cursor: not-allowed; }
.ns-gp.ns-gp-card a { color: var(--ns-gold-light); }
@media (max-width: 480px) { .ns-gp .ns-gp-btn { align-self: stretch; } }

/* The mic/camera consent line (js/media-consent.js): it sits on whatever surface the door has, so it keeps the
   surface's ink (no fading opacity) and only takes the type and a clear link. */
.ns-media-consent-line.ns-gp-note {
    font: 400 12px/1.5 Roboto, 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    color: inherit; margin: 8px 0 0; max-width: 100%; overflow-wrap: anywhere;
}
.ns-media-consent-line.ns-gp-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* The self-portrait page (agents/self_portrait): its sheet reads --ns-bg-primary / --ns-bg-card / --ns-accent /
   --ns-text / --ns-border, so the Google path only re-points those at the tokens. */
.ns-gp.ns-self-portrait-page {
    --ns-bg-primary: var(--ns-bg);
    --ns-bg-card: var(--ns-card);
    --ns-accent: var(--ns-gold);
    font-family: var(--ns-font);
    color: var(--ns-text);
}
.ns-gp.ns-self-portrait-page .ns-main-card { box-shadow: 0 1px 3px rgba(60, 64, 67, .3); background: var(--ns-bg); }
.ns-gp.ns-self-portrait-page .ns-main-header h2 { font-size: 22px; font-weight: 500; }
.ns-gp.ns-self-portrait-page .ns-section-header { background: var(--ns-surface); font-size: 16px; font-weight: 500; }
.ns-gp.ns-self-portrait-page .ns-btn-primary { border-radius: 22px !important; color: var(--ns-on-accent) !important; font-weight: 500; }
.ns-gp.ns-self-portrait-page .form-label { color: var(--ns-text); font-weight: 500; }

/* Line 15859 (upskill-media-6-r1): a whole page on the Google path (agents/blog-drafts), read from the tokens only.
   One calm column, 16 px type, 44 px targets; the inline rule lines give way to the token border. */
.ns-gp.ns-gp-page {
    font-family: var(--ns-font);
    color: var(--ns-text);
    background: var(--ns-bg);
    border-radius: var(--ns-radius);
    padding: 24px 16px;
    font-size: 16px;
    line-height: 1.6;
}
.ns-gp.ns-gp-page h1 { font-size: 24px; font-weight: 500; line-height: 1.3; margin: 0 0 8px; }
.ns-gp.ns-gp-page h2 { font-size: 18px; font-weight: 500; margin: 24px 0 8px; }
.ns-gp.ns-gp-page h3 { font-size: 16px; font-weight: 500; }
.ns-gp.ns-gp-page p, .ns-gp.ns-gp-page .text-muted, .ns-gp.ns-gp-page dd { color: var(--ns-text-2) !important; }
.ns-gp.ns-gp-page a { color: var(--ns-gold-light); display: inline-flex; align-items: center; min-height: 44px; }
.ns-gp.ns-gp-page ul > li { border-bottom: 1px solid var(--ns-border) !important; }
.ns-gp.ns-gp-page details > summary { color: var(--ns-text); list-style-position: inside; }
.ns-gp.ns-gp-page details[open] { background: var(--ns-card); border-radius: 8px; padding: 0 12px 12px; }
.ns-gp.ns-gp-page summary:focus-visible { outline: 2px solid var(--ns-text); outline-offset: 2px; }
@media (min-width: 768px) { .ns-gp.ns-gp-page { padding: 32px; } }

/* Line 15859: the create form's portrait step (js/assistant/creator-image2-portraits.js with data-gp="1"). */
.ns-gp.ns-gp-portraits {
    font-family: var(--ns-font);
    color: var(--ns-text);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    margin: 16px 0; padding: 16px;
    background: var(--ns-surface);
    border-radius: var(--ns-radius);
}
.ns-gp.ns-gp-portraits p[role="status"] { color: var(--ns-text-2); font-size: 14px; line-height: 1.5; margin: 0; text-align: center; }
@media (max-width: 480px) { .ns-gp.ns-gp-portraits .ns-gp-btn { align-self: stretch; } }
