/* Personalizada, from GEMINI/version28. All presentation stays within version2's editor. */
.sg-root[data-stage=custom] .sg-screen { max-width:1280px; padding:32px 32px 80px; }
.pc-panel { padding:32px; border:1px solid #ffffff1a; border-radius:24px; background:#21212b; }
.pc-heading { padding-bottom:24px; margin-bottom:32px; border-bottom:1px solid #ffffff1a; }
.pc-heading h2 { margin:0 0 8px; font:700 24px/1.2 var(--v28-display); }.pc-heading h2>.sg-fa { color:#ff0080; font-size:21px; margin-right:8px; }.pc-heading p { margin:0; color:#b6b7c5; font-size:14px; }
.pc-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:32px; align-items:start; }.pc-main { min-width:0; display:grid; gap:28px; }
.pc-card { padding:20px; background:#ffffff04; border:1px solid #ffffff1a; border-radius:18px; min-width:0; }.pc-card>label { display:block; font-size:14px; font-weight:600; margin-bottom:8px; }
.pc-row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }.pc-row strong { font-size:14px; }.pc-row small { font-size:11px; color:#c0c0ce; font-weight:400; }.pc-hint { margin:4px 0 0; font-size:12px; color:#9ca3af; }
#sg-custom button { cursor:pointer; }#sg-custom input:not([type=range],[type=radio],[type=checkbox]) { min-height:44px; border-radius:12px; background:#1b1b23; border:1px solid #ffffff1a; padding:12px 16px; color:#f1f1f5; font-size:13px; width:100%; }#sg-custom input::placeholder { color:#9ca3af; }
.pc-title-wrap { position:relative; }.pc-title-wrap input { height:48px; font-weight:600; padding-right:44px!important; }.pc-title-wrap button { position:absolute; right:8px; top:8px; width:28px; height:28px; border:0; border-radius:8px; background:#ffffff08; color:#9ca3af; }
.pc-tools { display:flex; gap:8px; flex-wrap:wrap; }.pc-tools button,.pc-emotions>button { display:inline-flex; align-items:center; gap:7px; min-height:32px; padding:6px 10px; border:1px solid #ffffff0d; background:#ffffff06; border-radius:12px; color:#e5e7eb; font-size:11px; font-weight:600; }.pc-tools .sg-fa { color:#ff0080; }
.pc-lyrics-card #sg-vocal-review { margin-top:16px; }.pc-lyrics-card .sg-review-toolbar,.pc-lyrics-card .sg-lyrics-heading { display:none!important; }.pc-lyrics-card .sg-rich-lyrics,.pc-lyrics-card .sg-colored-preview { min-height:240px; height:300px; max-height:none; background:#18181f; border-radius:16px; font-size:14px; line-height:27px; }.pc-lyrics-card.pc-expanded .sg-rich-lyrics,.pc-lyrics-card.pc-expanded .sg-colored-preview { height:auto; min-height:480px; max-height:none; overflow:visible; }.pc-lyrics-card #sg-lyrics-count { font-size:10px; }
.pc-expand { display:block; width:100%; margin:8px 0 20px; padding:7px; border:0; border-radius:0 0 12px 12px; background:#ffffff0a; color:#d1d5db; font-size:11px; font-weight:600; }.pc-stats { color:#c0c0ce; font-size:12px; margin:10px 0 12px; }
.pc-emotions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:8px; }.pc-segments { display:inline-flex; align-items:center; gap:0; padding:4px; border:1px solid #ffffff1a; border-radius:12px; background:#0006; }.pc-segments button { border:0; border-radius:8px; background:none; color:#aeb0bd; padding:6px 10px; font-size:11px; line-height:16px; white-space:nowrap; }.pc-segments button[aria-pressed=true] { background:linear-gradient(90deg,#ff0080,#9630e4); color:white; font-weight:700; box-shadow:0 3px 10px #ff008035; }.pc-emotions>button.pc-enrich { color:#ff477e; background:#381a28; border:1px solid #8a325450; text-transform:uppercase; letter-spacing:.03em; padding:10px 14px; }
.pc-bpm { display:flex; align-items:center; gap:20px; margin-top:24px; }.pc-bpm input { flex:1; min-width:0; accent-color:#ff0080; height:6px; }.pc-bpm output { width:72px; text-align:right; color:#ff0080; font-size:14px; font-weight:700; }.pc-tempo-presets { display:flex; justify-content:space-between; margin-top:12px; }.pc-tempo-presets button { border:0; background:none; color:#9ca3af; font-size:11px; padding:0; }.pc-tempo-presets button:disabled { opacity:.4; }
.pc-curve-presets { display:flex; flex-wrap:wrap; gap:5px; }.pc-curve-presets button { display:inline-flex; align-items:center; gap:5px; border:0; border-radius:12px; background:#ffffff06; padding:7px 8px; font-size:10px; font-weight:600; color:#c6c7d0; }.pc-curve { height:180px; margin-top:18px; border:1px solid #ffffff1a; border-radius:14px; padding:5px 8px; background:#18181f; }.pc-curve svg { display:block; width:100%; height:100%; touch-action:none; user-select:none; }.pc-curve circle { cursor:ns-resize; }.pc-curve circle:focus-visible { outline:none; stroke:#31e1e7; stroke-width:4; }
.pc-styles { display:grid; gap:16px; }.pc-style-selection { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12px; color:#c6c7d0; }.pc-style-selection button { border:0; background:none; color:#d1d5db; font-size:10px; }.pc-style-selection .sg-chips { margin:0; }.pc-style-selection .sg-chip { border-radius:999px; background:#ff008026; border-color:#ff008080; }.pc-families { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:12px; }.pc-family { min-width:0; position:relative; border:1px solid #ffffff1a; border-radius:15px; background:#ffffff04; color:#e5e7eb; }.pc-family-choose,.pc-families>button { display:flex; flex-direction:column; gap:7px; align-items:flex-start; justify-content:center; width:100%; min-height:116px; padding:15px; background:none; border:0; text-align:left; color:inherit; border-radius:15px; }.pc-families>button { border:1px solid #ffffff1a; }.pc-family strong { font-size:13px; padding-right:18px; }.pc-family small { font-size:10px; line-height:1.5; color:#9ca3af; }.pc-family-active,.pc-families>button[aria-pressed=true] { border-color:#ff008080; background:#ff00800d; }.pc-preview { position:absolute; top:12px; right:10px; display:grid; place-items:center; border:0; width:24px; height:24px; border-radius:6px; background:#ffffff08; color:#d1d5db; }.pc-family .sg-fa { color:#aaa7b6; }.pc-substyles { display:flex; gap:7px; flex-wrap:wrap; margin:14px 0; }.pc-substyles button,.pc-guide-parts button { min-height:30px; padding:5px 10px; border:1px solid #ffffff26; border-radius:9px; background:#ffffff05; color:#d1d5db; font-size:13px; font-weight:400; }.pc-substyles button[aria-pressed=true] { border-color:#ff008080; background:#ff008026; color:#ffd8ed; }#pc-style-search { margin-top:14px; }#pc-more-styles { display:block; margin:12px auto; padding:6px 10px; border:1px solid #ffffff26; border-radius:9px; background:#ffffff05; color:#d1d5db; font-size:12px; }.pc-custom-style { display:flex; gap:8px; margin-top:14px; }.pc-custom-style button { flex-shrink:0; border:1px solid #ffffff26; border-radius:10px; padding:10px; background:#ffffff05; color:white; font-size:11px; }
.pc-aside { position:sticky; top:min(calc(var(--sg-header-height,80px) + var(--sg-workbench-height,62px) + 24px),calc(100dvh - var(--pc-aside-height,700px) - 24px)); display:flex; flex-direction:column; min-width:0; padding:26px; border:1px solid #ffffff1a; border-radius:24px; background:#ffffff04; }.pc-aside-heading { display:flex; align-items:center; gap:8px; padding-bottom:20px; margin-bottom:24px; border-bottom:1px solid #ffffff1a; font:700 13px/1.3 var(--v28-display); text-transform:uppercase; }.pc-aside-heading>.sg-fa { color:#ff0080; }.pc-settings-scroll { min-height:0; overflow:visible; }
#sg-custom .sg-settings { display:grid; gap:24px; margin:0; padding:0; border:0; background:none; box-shadow:none; }#sg-custom .sg-instrumental { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:16px; background:#0004; border:1px solid #ffffff1a; border-radius:16px; }#sg-custom .sg-instrumental .sg-label-row { margin:0 0 4px; font-size:14px; font-weight:600; }#sg-custom .sg-instrumental p { margin:0; font-size:12px; color:#34d399; }#sg-custom .sg-voice-fields { display:grid; gap:22px; }#sg-custom .sg-voice-label { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-bottom:10px; color:#c0c1cc; font-size:12px; font-weight:600; letter-spacing:.025em; text-transform:uppercase; }#sg-custom .sg-voice-label small { text-transform:none; font-weight:400; }#sg-custom .sg-select { position:relative; }#sg-custom select { width:100%; height:44px; padding:0 34px 0 16px; appearance:none; border:1px solid #ffffff26; border-radius:12px; background:#ffffff04; color:#e5e7eb; font-size:14px; }#sg-custom .sg-select>.sg-fa { position:absolute; right:16px; top:16px; font-size:10px; pointer-events:none; color:#9ca3af; }
#sg-custom .sg-info { border:0; background:none; padding:0; color:#9ca3af; font-size:11px; }#sg-custom .sg-label-row { position:relative; }#sg-custom .sg-tip { display:none; position:absolute; z-index:70; top:100%; left:0; padding:10px; background:#15151d; border:1px solid #ffffff26; border-radius:10px; width:220px; color:#d1d5db; font-size:11px; line-height:1.6; text-transform:none; }#sg-custom .sg-info[aria-expanded=true]+.sg-tip { display:block; }
#sg-custom #sg-audio-host>div { padding:0; border:0; }#sg-custom #sg-audio-host>div>p { display:none; }#sg-custom #sg-audio-host>div>div { gap:8px; }#sg-custom #sg-audio-host .js-audio-upload-btn,#sg-custom #sg-audio-host .js-audio-record-btn { flex:1; justify-content:center; min-width:0; padding:10px 8px; border-radius:12px; }#sg-custom #sg-audio-host .js-audio-record-btn { background:linear-gradient(90deg,#ff008040,#8338ec40); }#sg-custom #sg-audio-host button>span { font-size:11px; font-weight:600; text-transform:none; }#sg-custom #sg-audio-host .sg-fa { color:#ff0080; }
#sg-custom .sg-effects { border-top:1px solid #ffffff1a; padding-top:16px; }#sg-custom .sg-effects>summary { display:flex; align-items:center; gap:8px; font-size:12px; color:#c6c7d0; cursor:pointer; list-style:none; }#sg-custom .sg-effects>summary>.sg-fa:first-child { color:#ff0080; }#sg-custom .sg-effects>summary>.sg-fa:last-child { margin-left:auto; font-size:10px; }#sg-custom .sg-effect-options { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }#sg-custom .sg-effect { padding:7px; border:1px solid #ffffff1a; border-radius:9px; background:#ffffff05; font-size:11px; color:#d1d5db; }#sg-custom .sg-effect[aria-pressed=true] { border-color:#ff008080; background:#ff008026; }#sg-custom .sg-instrumental-off { opacity:.4; }
.pc-action-controls { flex-shrink:0; padding-top:20px; margin-top:20px; border-top:1px solid #ffffff1a; }.pc-action-controls .sg-variants { display:block; width:100%; min-width:0; margin:0; padding:0; }.pc-action-controls .sg-variants legend { font-size:11px; text-transform:uppercase; color:#d1d5db; margin-bottom:12px; }.pc-action-controls .sg-label-row { display:flex; align-items:center; gap:7px; }.pc-action-controls .sg-variant-segments { width:100%; min-width:0; box-sizing:border-box; display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:6px; border:1px solid #ffffff1a; border-radius:16px; background:#0006; }.pc-action-controls .sg-variants label { display:block; min-width:0; margin:0; }.pc-action-controls .sg-variants label>span { min-height:44px; display:grid; place-items:center; padding:7px; border:0; border-radius:12px; background:none; color:#9ca3af; font-size:12px; font-weight:600; }.pc-action-controls .sg-variants input:checked+span { color:white; background:linear-gradient(90deg,#ff0080,#9630e4); box-shadow:0 3px 9px #ff008026; }.pc-cost { text-align:right; color:#aeb0bd; font-size:11px; margin:12px 0; }.pc-generate { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:56px; padding:10px; border:0; border-radius:16px; background:linear-gradient(135deg,#ff006e,#8338ec); color:white; font:700 16px/1.4 var(--v28-display); box-shadow:0 10px 20px -8px #ff006e66; }
.pc-bracket-warning { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:12px; padding:10px; background:#fbbf2417; border:1px solid #fbbf2460; border-radius:12px; color:#fcd34d; font-size:11px; }.pc-bracket-warning button { flex-shrink:0; border:0; border-radius:8px; padding:7px; background:#fbbf24; color:#15151d; font-size:11px; }.pc-disabled { opacity:.4; }.pc-dialog { width:min(600px,calc(100vw - 32px)); padding:24px; border:1px solid #ffffff26; border-radius:20px; background:#21212b; color:#f1f1f5; }.pc-dialog::backdrop { background:#0009; backdrop-filter:blur(4px); }.pc-dialog h3 { font:700 20px var(--v28-display); margin:0; }.pc-dialog .pc-row>button { border:0; padding:8px; background:#ffffff0d; color:white; border-radius:8px; }.pc-dialog p { color:#c0c2cc; font-size:13px; line-height:1.7; }.pc-guide-parts { display:flex; flex-wrap:wrap; gap:8px; }
.sg-fa[data-sg-icon=volume]::before { content:'\f028'; }.sg-fa[data-sg-icon=moon]::before { content:'\f186'; }.sg-fa[data-sg-icon=dice]::before { content:'\f522'; }.sg-fa[data-sg-icon=book]::before { content:'\f518'; }
.sg-fa[data-sg-icon=compact-disc]::before { content:'\f51f'; }.sg-fa[data-sg-icon=bolt-lightning]::before { content:'\f0e7'; }.sg-fa[data-sg-icon=guitar]::before { content:'\f7a6'; }.sg-fa[data-sg-icon=wave-square]::before { content:'\f83e'; }.sg-fa[data-sg-icon=flask]::before { content:'\f0c3'; }.sg-fa[data-sg-icon=microphone-lines]::before { content:'\f3c9'; }.sg-fa[data-sg-icon=film]::before { content:'\f008'; }
.pc-lyrics-card .sg-rich-lyrics:has(>.sg-rich-line:only-child>br:only-child)::before { content:attr(data-placeholder); position:absolute; color:#9ca3af; pointer-events:none; font-size:13px; }
.pc-audio-analysis { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px; padding:10px; border:1px solid #ffffff1a; border-radius:10px; background:#0003; color:#c0c2ce; font-size:10px; line-height:1.6; }.pc-audio-analysis button { padding:5px; border:1px solid #ff008050; border-radius:8px; background:#ff008020; color:#ffd2e8; }#pc-audio-trim audio { width:100%; margin:12px 0; }#pc-audio-trim label { display:block; font-size:12px; }#pc-trim-start { width:100%; margin:16px 0; accent-color:#ff0080; }#pc-trim-range { display:block; margin-bottom:16px; color:#ffd2e8; font-size:13px; }
#sg-custom .sg-settings { width:100%; min-width:0; grid-template-columns:minmax(0,1fr); }#sg-custom .sg-settings>* { min-width:0; }#sg-custom .sg-instrumental>div { min-width:0; flex:1; }#sg-custom .sg-instrumental input { flex-shrink:0; }#sg-custom .sg-voice-fields,#sg-custom .sg-input-block { min-width:0; }
.pc-style-selection .sg-chip { max-width:100%; }.pc-style-selection .sg-chip>span { min-width:0; overflow-wrap:anywhere; }.pc-style-selection .sg-chip>button { flex-shrink:0; }.pc-substyles button { max-width:100%; overflow-wrap:anywhere; }
#pc-bpm { appearance:none; -webkit-appearance:none; height:6px; min-height:0; padding:0; border:0; border-radius:999px; background:#ffffff14; cursor:pointer; }#pc-bpm::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:18px; height:18px; border:0; border-radius:50%; background:#ff0080; }#pc-bpm::-moz-range-thumb { width:18px; height:18px; border:0; border-radius:50%; background:#ff0080; }#pc-bpm:disabled { opacity:.5; cursor:default; }#pc-bpm:disabled::-webkit-slider-thumb { background:#666671; }#pc-bpm:disabled::-moz-range-thumb { background:#666671; }
.pc-generate { transition:transform .25s,box-shadow .25s; }.pc-generate:not(:disabled):hover { transform:translateY(-1px); box-shadow:0 10px 25px -8px #ff006e99; }
.pc-mobile-jumps { display:none; }.pc-aside { scroll-margin-top:calc(var(--sg-header-height,80px) + var(--sg-workbench-height,62px) + 16px); }
/* Reference dialogs keep their heading and actions visible while their content scrolls. */
.pc-reference-dialog { max-width:none; max-height:90dvh; padding:0; border-radius:24px; overflow:hidden; box-shadow:0 25px 50px #0006; }
.pc-reference-dialog[open] { display:flex; flex-direction:column; }
.pc-reference-dialog::backdrop { background:#000c; backdrop-filter:blur(12px); }
.pc-structure-notice { display:none; position:fixed; inset:20px 20px auto auto; z-index:9998; width:max-content; max-width:calc(100vw - 40px); box-sizing:border-box; margin:0; padding:14px 20px; align-items:center; gap:12px; border:1px solid #ffffff26; border-radius:16px; background:#21212be6; color:white; box-shadow:0 25px 50px #0006; backdrop-filter:blur(18px); font:600 14px/20px "Inter",system-ui,sans-serif; pointer-events:none; }
.pc-structure-notice:popover-open { display:flex; }
.pc-structure-notice[data-visible=true] { display:flex; }
.pc-structure-notice>.sg-fa { flex-shrink:0; color:#ff0080; font-size:16px; }
@media(max-width:639px) { .pc-structure-notice { inset:12px 12px auto; width:auto; max-width:none; padding:12px 14px; } }
.pc-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:24px 32px; border-bottom:1px solid #ffffff1a; background:#1c1c24; flex-shrink:0; }
.pc-dialog-heading h3 { display:flex; align-items:center; gap:12px; font:700 24px/1.3 var(--v28-display); letter-spacing:-.025em; }
.pc-dialog-heading h3>.sg-fa { color:#ff2e63; }
.pc-dialog-heading p { font-size:14px; line-height:1.5; margin:6px 0 0; color:#d1d5db; }
.pc-reference-dialog .pc-dialog-close { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; padding:0; border:0; border-radius:50%; background:#ffffff1a; color:white; font-size:22px; cursor:pointer; }
.pc-dialog-close:hover { background:#ffffff30; }
.pc-dialog-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; flex:1; padding:32px; background:#181820; }
.pc-dialog-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; flex-shrink:0; padding:16px 32px; border-top:1px solid #ffffff1a; background:#1c1c24; }
.pc-dialog-footer p { flex:1; margin:0; font-size:12px; line-height:1.5; color:#d1d5db; }
.pc-dialog-footer p>.sg-fa { color:#ff2e63; }
.pc-dialog-primary { min-height:40px; padding:10px 24px; border:0; border-radius:12px; background:linear-gradient(90deg,#ff2e63,#9b2cff); color:white; font:700 12px/1.4 "Inter",system-ui,sans-serif; cursor:pointer; }
.pc-guide-dialog { width:min(1024px,calc(100vw - 48px)); }
.pc-guide-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.pc-guide-column { min-width:0; display:flex; flex-direction:column; gap:14px; }
.pc-guide-column h4 { display:flex; align-items:center; gap:8px; min-height:24px; margin:0; color:#ff2e63; font:800 12px/1.5 "Inter",system-ui,sans-serif; letter-spacing:.1em; text-transform:uppercase; }
.pc-guide-cards { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; grid-auto-rows:1fr; flex:1; }
.pc-guide-card { height:156px; box-sizing:border-box; display:flex; flex-direction:column; justify-content:space-between; gap:8px; padding:16px; border:1px solid #ffffff1a; border-radius:16px; background:#22222c; box-shadow:0 1px 2px #0001; transition:background .2s,border-color .2s; }
.pc-guide-card:hover { background:#282834; border-color:#ff2e6373; }
.pc-guide-card-top { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.pc-guide-card-top strong { width:100%; font:800 16px/1.4 "Inter",system-ui,sans-serif; letter-spacing:-.025em; }
.pc-guide-card-top button,.pc-guide-example> .pc-row>button { display:flex; align-items:center; gap:5px; padding:4px 10px; border:1px solid #ff2e6399; border-radius:8px; background:#381828; color:#fce7f3; font:700 11px/1.5 "Inter",system-ui,sans-serif; cursor:pointer; }
.pc-guide-card-top button:not(:disabled):hover,.pc-guide-example> .pc-row>button:hover { background:#ff2e63; color:white; }
.pc-guide-card-top button:disabled { background:#ffffff08; border-color:#ffffff0d; color:#6b7280; cursor:default; }
.pc-guide-card p { min-height:34px; margin:0; font-size:12px; line-height:1.4; color:#d1d5db; }
.pc-guide-card code { display:block; margin-top:8px; padding:4px 10px; border:1px solid #ff2e6340; border-radius:8px; background:#38182873; color:#fbcfe8; font:11px/1.5 ui-monospace,monospace; overflow-wrap:anywhere; }
.pc-guide-example { margin-top:28px; padding:24px; border:1px solid #ffffff1a; border-radius:24px; background:#22222c; }
.pc-guide-example-heading { display:flex; align-items:center; gap:12px; }
.pc-guide-example-heading>.sg-fa { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border:1px solid #ff2e6366; border-radius:12px; background:#381828; color:#ff2e63; }
.pc-guide-example h4 { margin:0; font:700 16px/1.4 var(--v28-display); }
.pc-guide-example p { margin:4px 0 0; font-size:12px; line-height:1.5; color:#d1d5db; }
.pc-guide-example>.pc-row>button { flex-shrink:0; padding:10px 16px; border-radius:12px; font-size:12px; }
.pc-guide-template { margin-top:16px; padding:20px; border:1px solid #ffffff1a; border-radius:16px; background:#1b1b24; }
.pc-guide-template p { font-size:14px; line-height:1.6; margin:0 0 8px; }
.pc-guide-template p:last-child { margin-bottom:0; }
.pc-guide-template code { color:#f9a8d4; font-weight:600; }
.pc-style-dialog { width:min(896px,calc(100vw - 48px)); max-height:88dvh; background:#16161a; }
.pc-style-dialog .pc-dialog-heading { align-items:center; padding:20px 28px; background:#1b1b20; }
.pc-library-heading { display:flex; align-items:center; gap:14px; }
.pc-library-icon { display:grid; place-items:center; width:48px; height:48px; flex-shrink:0; border:1px solid #6e2841; border-radius:16px; background:#3c1927; color:#ff3b6b; }
.pc-library-icon svg { width:24px; height:24px; }
.pc-style-dialog .pc-dialog-heading h3 { font-weight:800; }
.pc-style-dialog .pc-dialog-heading p { margin-top:0; color:#9ca3af; }
.pc-style-dialog .pc-dialog-close { border-radius:12px; background:none; color:#9ca3af; }
.pc-style-dialog .pc-dialog-close:hover { background:#ffffff1a; color:white; }
.pc-catalogue-filters { flex-shrink:0; padding:20px 28px 16px; border-bottom:1px solid #ffffff1a; }
.pc-catalogue-search { position:relative; display:block; }
.pc-catalogue-search>.sg-fa { position:absolute; left:16px; top:17px; color:#9ca3af; font-size:14px; }
#sg-root #pc-catalogue-search { width:100%; height:48px; min-height:48px; padding:0 16px 0 44px; border:1px solid #ffffff1a; border-radius:16px; background:#1c1c21; color:white; font-size:14px; }
.sg-fa[data-sg-icon=search]::before { content:'\f002'; }
.pc-catalogue-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.pc-catalogue-tabs button { padding:6px 14px; border:1px solid #ffffff1a; border-radius:12px; background:#242429; color:#d1d5db; font:800 11px/1.5 "Inter",system-ui,sans-serif; letter-spacing:.05em; text-transform:uppercase; cursor:pointer; }
.pc-catalogue-tabs button[aria-pressed=true] { background:#ff2e63; border-color:#ff2e63; color:white; outline:2px solid white; outline-offset:2px; box-shadow:0 10px 15px #ec48994d; }
.pc-style-dialog .pc-dialog-body { padding:28px; background:#16161a; }
.pc-catalogue-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.pc-catalogue-grid>button { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; padding:14px 16px; border:0; border-radius:16px; background:#222227; color:white; font:700 14px/20px "Inter",system-ui,sans-serif; text-align:left; cursor:pointer; }
.pc-catalogue-grid>button>span:first-child { min-width:0; overflow-wrap:anywhere; }
.pc-catalogue-grid>button:not(:disabled):hover { background:#2b2b32; }
.pc-catalogue-grid>button[aria-pressed=true] { background:#381828; border-color:#ff2e63; box-shadow:0 4px 6px #ec48991a; }
.pc-catalogue-mark { flex-shrink:0; color:#9ca3af; }
.pc-catalogue-grid>button[aria-pressed=true] .pc-catalogue-mark { color:#ff2e63; }
.pc-catalogue-grid>.pc-hint { grid-column:1/-1; text-align:center; padding:20px 0; }
.pc-catalogue-more { display:block; margin:16px auto 0; padding:8px 16px; border:1px solid #ffffff26; border-radius:12px; background:#ffffff0d; color:#d1d5db; font:600 12px/1.5 "Inter",system-ui,sans-serif; cursor:pointer; }
.pc-style-dialog .pc-dialog-footer { padding:16px 28px; background:#121216; }
.pc-catalogue-summary { flex:1; display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:#d1d5db; font-size:12px; }
.pc-catalogue-summary button { display:flex; align-items:center; gap:6px; padding:4px 10px; border:1px solid #ff2e6399; border-radius:8px; background:#381828; color:#fce7f3; font:600 12px/1.5 "Inter",system-ui,sans-serif; cursor:pointer; }
.pc-style-dialog .pc-dialog-primary { min-height:44px; font-size:14px; font-weight:600; }
@media(max-width:767px) { .pc-guide-columns { grid-template-columns:1fr; }.pc-guide-cards { grid-auto-rows:auto; }.pc-guide-card { height:auto; min-height:156px; }.pc-catalogue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:639px) { .pc-reference-dialog { width:calc(100vw - 32px); }.pc-dialog-heading,.pc-style-dialog .pc-dialog-heading { padding:20px; }.pc-dialog-heading h3 { font-size:20px; }.pc-dialog-heading p { font-size:12px; }.pc-dialog-body,.pc-style-dialog .pc-dialog-body { padding:20px; }.pc-dialog-footer,.pc-style-dialog .pc-dialog-footer { padding:16px 20px; }.pc-dialog-footer p { flex-basis:100%; }.pc-dialog-footer>.pc-dialog-primary { margin-left:auto; }.pc-catalogue-filters { padding:20px 20px 16px; }.pc-catalogue-grid { grid-template-columns:1fr; }.pc-catalogue-tabs { gap:6px; }.pc-catalogue-tabs button { padding:5px 9px; font-size:10px; }.pc-catalogue-summary { flex-basis:100%; }.pc-library-icon { width:40px; height:40px; }.pc-guide-example { padding:16px; }.pc-guide-template p { font-size:12px; } }
@container sg-page (max-width:720px) { .pc-mobile-jumps { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding-top:14px; margin-top:14px; border-top:1px solid #ffffff1a; }.pc-mobile-jumps button { min-height:44px; padding:8px; border:1px solid #ffffff26; border-radius:12px; background:#ffffff08; color:#e5e7eb; font-size:11px; font-weight:600; }.pc-mobile-jumps [data-sg-action=custom-generate] { border:0; background:linear-gradient(135deg,#ff006e,#8338ec); color:white; } }
@container sg-page (max-width:900px) { .sg-root[data-stage=custom] .sg-screen { padding:24px 20px 60px; }.pc-panel { padding:24px; }.pc-grid { gap:24px; grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr); }.pc-aside { padding:20px; }.pc-families { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@container sg-page (max-width:720px) { .pc-grid { grid-template-columns:1fr; }.pc-aside { position:static; max-height:none; }.pc-settings-scroll { overflow:visible; }.pc-panel { padding:20px; }.pc-heading h2 { font-size:22px; }.pc-emotions { justify-content:flex-start; }.pc-segments button { padding:6px 8px; font-size:10px; }.pc-card { padding:16px; }.pc-custom-style { flex-wrap:wrap; }.pc-curve { height:160px; }.pc-generate { font-size:16px; }.pc-family-choose { min-height:130px; } }
