.widgets-page .page-heading h1{font-size:32px;line-height:40px}
.widgets-page h2{font-size:22px;line-height:30px}
.widgets-page .lead{font-size:16px;line-height:24px}
.widgets-page .doc-section{min-width:0}
.widget-demo-section>.section-heading{flex-wrap:wrap;gap:16px}
.apps-editor{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:24px;overflow:auto;background:var(--surface-primary);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:16px;font:14px/22px var(--font-family-brand)}
.apps-editor::backdrop{background:rgb(0 0 0 / .45)}
.apps-editor-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}
.apps-editor-heading h2{font-size:22px;line-height:30px;margin:0}
.apps-editor .eyebrow{margin:0 0 4px}
.apps-editor>p{margin:12px 0}
.apps-editor-help{color:var(--text-secondary)}
.apps-editor-status{padding:12px;background:var(--surface-secondary);border-radius:8px;overflow-wrap:anywhere}
.apps-editor-status[data-error="true"]{border:1px solid var(--border-strong)}
.apps-editor fieldset{padding:0;border:0;margin:0;min-width:0}
.apps-editor-rows{list-style:none;padding:0;margin:8px 0}
.apps-editor-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--border-subtle)}
.apps-editor-position{color:var(--text-secondary);font-variant-numeric:tabular-nums}
.apps-editor-link{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:600}
.apps-editor-link .field{width:100%;min-width:0;min-height:44px;font:400 14px/22px var(--font-family-brand)}
.apps-editor [data-menu-move="up"] .lucide{transform:rotate(180deg)}
.apps-editor-order{display:flex;gap:4px;align-self:end}
.apps-editor .icon-button{min-width:44px;min-height:44px;flex-shrink:0}
.apps-editor-footer{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;flex-wrap:wrap}
.apps-editor [hidden]{display:none!important}
.apps-editor button:disabled{opacity:.45;cursor:default}
@media(max-width:540px){.apps-editor{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}.apps-editor-row{grid-template-columns:24px minmax(0,1fr);gap:8px}.apps-editor-order{grid-column:2;justify-content:flex-end}.apps-editor-heading h2{font-size:20px;line-height:28px}}
.widget-demo-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0}
.widget-demo-controls label{display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:20px;min-width:160px}
.widget-demo-controls .field{max-width:240px;font:inherit;min-height:44px}
.widget-demo-stage{padding:16px;background:var(--surface-secondary);border:1px solid var(--border-subtle);border-radius:14px;min-width:0}
.widget-demo-frame{margin:0 auto;max-width:100%;width:1152px;min-width:0}
.widget-demo-frame[data-device="tablet"]{width:768px}
.widget-demo-frame[data-device="mobile"]{width:390px}
.widget-demo-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;margin-bottom:12px;font-size:14px;line-height:20px}
.widget-demo-frame[data-device="mobile"] .widget-demo-bar{flex-wrap:wrap;min-height:112px;align-content:center;gap:8px}
.widget-demo-frame[data-device="mobile"] .widget-demo-bar>span{width:100%}
.widget-hint{font-size:14px;line-height:22px;color:var(--text-secondary);margin-top:16px}
.widget-code{font:13px/21px ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:480px;overflow:auto;tab-size:2}
.widget-code-section .section-heading{gap:16px;flex-wrap:wrap}
.widget-code-section .section-heading h2{margin:0}
.widgets-page code{font-size:13px;overflow-wrap:anywhere}
@media(max-width:767px){.widget-demo-stage{padding:8px}.widget-demo-controls{gap:12px}.widget-demo-controls label{flex:1}.widgets-page .page-heading h1{font-size:28px;line-height:36px}.widgets-page .segmented{max-width:100%;flex-wrap:wrap}.widgets-page h2{font-size:20px;line-height:28px}}
.korax-news-slot{display:flex;align-items:center;flex:0 0 44px;min-width:44px;min-height:44px}
.news-editor-row{list-style:none;border-bottom:1px solid var(--border-subtle);padding:16px 0;display:grid;gap:12px}
.news-editor-row-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600}
.news-editor-app{display:flex;gap:12px;align-items:center}.news-editor-app img{object-fit:contain;flex:none}.news-editor-app label{flex:1}
.news-editor-enabled{display:flex;gap:10px;align-items:center;min-height:44px}.news-editor-enabled input{width:18px;height:18px;accent-color:var(--action-text)}
.news-editor [data-news-move="up"] svg{transform:rotate(180deg)}
.news-editor textarea{resize:vertical}
.news-editor .apps-editor-link{font-size:14px;line-height:20px}
.news-demo-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:64px;margin-bottom:12px}.news-demo-bar>span:first-child{margin-right:auto}

.topbar .korax-news-slot a{display:flex}
#novidades{scroll-margin-top:calc(var(--layout-topbar) + 24px)}

.apps-editor-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.apps-editor-identity{grid-column:1/-1;display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600}
.apps-editor-identity img{object-fit:contain}
.apps-editor-url{grid-column:1/-1}
.apps-editor-footer{position:sticky;bottom:-24px;background:var(--surface-primary);padding-bottom:16px;border-top:1px solid var(--border-subtle)}
@media(max-width:640px){.apps-editor-fields{grid-template-columns:minmax(0,1fr)}.apps-editor-footer{bottom:-16px}}

.apps-editor-upload{position:relative;overflow:hidden;cursor:pointer;font-size:14px;font-weight:500}.apps-editor-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.apps-editor-upload:focus-within{outline:2px solid var(--accent);outline-offset:3px}.apps-editor-identity{flex-wrap:wrap}.apps-editor-identity [data-menu-identity]{margin-right:auto}
