/* Donezo — interface. Componentes reutilizáveis, tokens no :root. */

:root {
	--dz-navy-950: #00003f;
	--dz-navy-900: #00005f;
	--dz-navy-800: #0b0d78;
	--dz-brand: #16198f;
	--dz-brand-500: #2f3fae;
	--dz-brand-100: #e6e8fa;
	--dz-brand-50: #f3f4fd;
	--dz-fox: #ff6a00;
	--dz-ink: #12133a;
	--dz-ink-2: #4a4c70;
	--dz-ink-3: #7c7e9c;
	--dz-line: #e2e4f0;
	--dz-surface: #f5f6fb;
	--dz-white: #ffffff;
	--dz-ok: #12805c;
	--dz-ok-bg: #e5f5ee;
	--dz-warn: #9a5b00;
	--dz-warn-bg: #fff3dc;
	--dz-err: #b42318;
	--dz-err-bg: #fdeceb;
	--dz-radius: 14px;
	--dz-radius-sm: 10px;
	--dz-shadow: 0 1px 2px rgba(10, 12, 60, .06), 0 6px 20px rgba(10, 12, 60, .06);
	--dz-shadow-lg: 0 18px 50px rgba(0, 0, 40, .28);
	--dz-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--dz-focus: 0 0 0 3px rgba(47, 63, 174, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--dz-font); color: var(--dz-ink); font-size: 15px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--dz-brand-500); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--dz-focus); border-radius: 6px; }
.dz-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botões ---------- */
.dz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, transform .05s;
}
.dz-btn:active { transform: translateY(1px); }
.dz-btn[disabled] { opacity: .55; cursor: not-allowed; }
.dz-btn--primary { background: var(--dz-brand-500); color: #fff; }
.dz-btn--primary:hover { background: var(--dz-brand); }
.dz-btn--ghost { background: transparent; border-color: var(--dz-line); color: var(--dz-ink); }
.dz-btn--ghost:hover { background: var(--dz-brand-50); border-color: var(--dz-brand-100); }
.dz-btn--danger { background: var(--dz-err-bg); color: var(--dz-err); border-color: #f6c9c5; }
.dz-btn--danger:hover { background: #fbd9d6; }
.dz-btn--light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .25); }
.dz-btn--light:hover { background: rgba(255, 255, 255, .24); }
.dz-btn--block { width: 100%; }
.dz-btn--sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }

/* ---------- Formulários ---------- */
.dz-form { display: grid; gap: 16px; }
.dz-field { display: grid; gap: 6px; }
.dz-field__label { font-weight: 600; font-size: 13.5px; color: var(--dz-ink-2); }
.dz-field__hint { font-size: 12.5px; color: var(--dz-ink-3); }
.dz-input, .dz-select {
	width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--dz-radius-sm);
	border: 1px solid #cfd2e6; background: #fff; font-size: 15px;
}
.dz-input:focus, .dz-select:focus { border-color: var(--dz-brand-500); box-shadow: var(--dz-focus); outline: none; }
.dz-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dz-ink-2); cursor: pointer; }
.dz-check input { width: 18px; height: 18px; accent-color: var(--dz-brand-500); }
.dz-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.dz-checks .dz-check { padding: 10px 12px; border: 1px solid var(--dz-line); border-radius: var(--dz-radius-sm); }
.dz-checks .dz-check:has(input:checked) { border-color: var(--dz-brand-500); background: var(--dz-brand-50); color: var(--dz-ink); }

/* ---------- Alertas e selos ---------- */
.dz-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--dz-radius-sm); font-size: 14px; }
.dz-alert--ok { background: var(--dz-ok-bg); color: var(--dz-ok); }
.dz-alert--erro { background: var(--dz-err-bg); color: var(--dz-err); }
.dz-alert--aviso { background: var(--dz-warn-bg); color: var(--dz-warn); }
.dz-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--dz-brand-50); color: var(--dz-brand); white-space: nowrap; }
.dz-pill--ok { background: var(--dz-ok-bg); color: var(--dz-ok); }
.dz-pill--aviso { background: var(--dz-warn-bg); color: var(--dz-warn); }
.dz-pill--erro { background: var(--dz-err-bg); color: var(--dz-err); }
.dz-pill--muted { background: #eef0f6; color: var(--dz-ink-3); }

/* ---------- Telas de acesso ---------- */
.dz-auth { min-height: 100vh; background-color: var(--dz-navy-900); background-size: cover; background-position: center; display: flex; }
.dz-auth__wrap { margin: auto; width: 100%; max-width: 440px; padding: 32px 20px; display: grid; gap: 22px; justify-items: center; }
.dz-auth__logo { width: 210px; height: auto; }
.dz-auth__card { position: relative; width: 100%; margin-top: 62px; background: #fff; border-radius: 20px; padding: 0 28px 28px; box-shadow: var(--dz-shadow-lg); }
.dz-auth__mascot { display: block; width: 92px; height: auto; margin: -78px auto 8px; }
.dz-auth__title { margin: 0 0 18px; font-size: 22px; text-align: center; letter-spacing: -.01em; }
.dz-auth__text { margin: 0 0 18px; color: var(--dz-ink-2); text-align: center; font-size: 14.5px; }
.dz-auth__link { margin: 18px 0 0; text-align: center; font-size: 14px; }
.dz-auth__foot { margin: 0; color: rgba(255, 255, 255, .7); font-size: 12.5px; }

/* ---------- Aplicativo ---------- */
.dz-app { background: var(--dz-surface); min-height: 100vh; }
.dz-boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--dz-ink-2); }
.dz-noscript { padding: 24px; text-align: center; }

.dz-top {
	position: sticky; top: 0; z-index: 20; background: var(--dz-navy-900); color: #fff;
	padding: 0 max(16px, env(safe-area-inset-left)); box-shadow: 0 2px 10px rgba(0, 0, 40, .25);
}
.dz-top__inner { max-width: 1160px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 16px; }
.dz-top__brand { display: flex; align-items: center; text-decoration: none; }
.dz-top__brand img { height: 30px; width: auto; }
.dz-top__spacer { flex: 1; }
.dz-top__user { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.dz-top__name { font-weight: 600; }
.dz-top__role { font-size: 12px; opacity: .75; }
.dz-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--dz-brand-500); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 2px solid rgba(255, 255, 255, .35); }
.dz-menu { position: relative; }
.dz-menu__btn { background: none; border: 0; color: #fff; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px; border-radius: 12px; text-align: left; }
.dz-menu__btn:hover { background: rgba(255, 255, 255, .08); }
.dz-menu__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; color: var(--dz-ink); border-radius: 12px; box-shadow: var(--dz-shadow-lg); padding: 6px; display: none; }
.dz-menu__list.is-open { display: block; }
.dz-menu__item { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--dz-ink); background: none; border: 0; cursor: pointer; font-size: 14px; }
.dz-menu__item:hover { background: var(--dz-brand-50); }
.dz-menu__sep { height: 1px; background: var(--dz-line); margin: 6px 4px; }

.dz-main { max-width: 1160px; margin: 0 auto; padding: 28px 16px 64px; }
.dz-page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dz-page-head h1 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.dz-page-head p { margin: 4px 0 0; color: var(--dz-ink-2); }
.dz-section-title { margin: 32px 0 14px; font-size: 17px; }

.dz-card { background: #fff; border-radius: var(--dz-radius); box-shadow: var(--dz-shadow); border: 1px solid var(--dz-line); }
.dz-card__body { padding: 20px; }

/* Boas-vindas */
.dz-hero { display: grid; grid-template-columns: 1fr auto; align-items: end; overflow: hidden; background: linear-gradient(120deg, var(--dz-navy-900), var(--dz-brand) 70%, var(--dz-brand-500)); color: #fff; border: 0; }
.dz-hero__text { padding: 28px; }
.dz-hero__text h1 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.dz-hero__text p { margin: 6px 0 0; opacity: .85; }
.dz-hero__mascot { width: 150px; margin-right: 24px; align-self: end; }
.dz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.dz-stat { padding: 16px 18px; }
.dz-stat__label { font-size: 13px; color: var(--dz-ink-2); font-weight: 600; }
.dz-stat__value { font-size: 26px; font-weight: 700; margin-top: 2px; letter-spacing: -.01em; }
.dz-stat__note { font-size: 12.5px; color: var(--dz-ink-3); }

/* Cartões de portal */
.dz-portals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.dz-portal {
	display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden;
	transition: transform .15s, box-shadow .15s; cursor: pointer;
}
.dz-portal:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10, 12, 60, .14); }
.dz-portal__logo { height: 128px; display: grid; place-items: center; padding: 22px 28px; }
.dz-portal__logo img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; }
.dz-portal__body { padding: 14px 18px 18px; display: grid; gap: 6px; border-top: 4px solid var(--dz-portal, var(--dz-brand-500)); }
.dz-portal__name { font-weight: 700; font-size: 16px; }
.dz-portal__desc { font-size: 13.5px; color: var(--dz-ink-2); }
.dz-portal__meta { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--dz-ink-3); }
.dz-progress { height: 8px; border-radius: 99px; background: #eceef6; overflow: hidden; }
.dz-progress__bar { height: 100%; background: var(--dz-brand-500); border-radius: 99px; }

/* Ambiente do portal */
.dz-portal-head { border-radius: var(--dz-radius); color: #fff; padding: 18px 22px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: var(--dz-shadow); }
.dz-portal-head--light { color: var(--dz-ink); border: 1px solid var(--dz-line); }
.dz-portal-head--light .dz-portal-head__title p { opacity: 1; color: var(--dz-ink-2); }
.dz-portal-head__logo { height: 56px; width: auto; max-width: 260px; object-fit: contain; }
.dz-portal-head__title { flex: 1; min-width: 180px; }
.dz-portal-head__title h1 { margin: 0; font-size: 22px; }
.dz-portal-head__title p { margin: 2px 0 0; opacity: .85; font-size: 14px; }
.dz-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* Estado vazio */
.dz-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 20px; }
.dz-empty img { width: 140px; }
.dz-empty h2 { margin: 4px 0 0; font-size: 19px; }
.dz-empty p { margin: 0; color: var(--dz-ink-2); max-width: 520px; }

/* Tabela */
.dz-table-wrap { overflow-x: auto; }
.dz-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dz-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--dz-ink-3); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--dz-line); white-space: nowrap; }
.dz-table td { padding: 14px 16px; border-bottom: 1px solid var(--dz-line); vertical-align: top; }
.dz-table tr:last-child td { border-bottom: 0; }
.dz-table__sub { color: var(--dz-ink-3); font-size: 13px; }
.dz-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Modal */
.dz-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 40, .45); }
.dz-modal__box { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: var(--dz-shadow-lg); }
.dz-modal__head { padding: 20px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dz-modal__head h2 { margin: 0; font-size: 19px; }
.dz-modal__close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--dz-ink-3); padding: 4px 8px; border-radius: 8px; }
.dz-modal__body { padding: 18px 24px; }
.dz-modal__foot { padding: 0 24px 22px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.dz-modal__foot .dz-spacer { flex: 1; }

/* Avisos rápidos */
.dz-toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.dz-toast { padding: 12px 16px; border-radius: 12px; background: var(--dz-ink); color: #fff; box-shadow: var(--dz-shadow-lg); font-size: 14px; animation: dz-in .2s ease-out; }
.dz-toast--ok { background: var(--dz-ok); }
.dz-toast--erro { background: var(--dz-err); }
@keyframes dz-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dz-skeleton { background: linear-gradient(90deg, #eceef6, #f6f7fb, #eceef6); background-size: 200% 100%; animation: dz-sk 1.2s infinite; border-radius: var(--dz-radius); }
@keyframes dz-sk { to { background-position: -200% 0; } }

.dz-diag-group { margin: 0; padding: 14px 16px 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--dz-ink-3); }


/* ---------- Etapa 2: ambiente de notícias ---------- */
.dz-switch__label { font-size: 13px; color: var(--dz-ink-3); align-self: center; margin-right: 2px; }
.dz-toolbar { margin-top: 18px; padding: 14px 16px; display: grid; gap: 10px; position: sticky; top: 72px; z-index: 10; }
.dz-toolbar__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dz-toolbar__spacer { flex: 1; }
.dz-toolbar__status { font-size: 13px; color: var(--dz-ink-2); }
.dz-news-count { font-weight: 700; color: var(--dz-ink); }
.dz-segment { display: inline-flex; background: var(--dz-surface); border: 1px solid var(--dz-line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.dz-segment__btn { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--dz-ink-2); cursor: pointer; white-space: nowrap; }
.dz-segment__btn[aria-checked="true"] { background: #fff; color: var(--dz-brand); box-shadow: 0 1px 3px rgba(10, 12, 60, .14); }
.dz-range { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--dz-ink-2); }
.dz-range[hidden] { display: none; }
.dz-input--sm, .dz-select--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; width: auto; }
.dz-news-errors details { font-size: 13px; color: var(--dz-warn); background: var(--dz-warn-bg); border-radius: var(--dz-radius-sm); padding: 8px 12px; }
.dz-news-errors summary { cursor: pointer; font-weight: 600; }
.dz-news-errors ul { margin: 8px 0 0; padding-left: 18px; }
.dz-news { margin-top: 18px; }
.dz-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.dz-news-card { display: flex; flex-direction: column; overflow: hidden; }
.dz-news-card__media { aspect-ratio: 16 / 9; background: var(--dz-surface); overflow: hidden; }
.dz-news-card__img { width: 100%; height: 100%; object-fit: cover; }
.dz-news-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); font-weight: 700; font-size: 18px; padding: 16px; text-align: center; }
.dz-news-card__body { padding: 14px 16px 6px; display: grid; gap: 8px; flex: 1; align-content: start; }
.dz-news-card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--dz-ink-3); }
.dz-news-card__meta strong { color: var(--dz-brand-500); font-weight: 700; }
.dz-news-card__title { margin: 0; font-size: 16.5px; line-height: 1.35; letter-spacing: -.005em; }
.dz-news-card__excerpt { margin: 0; font-size: 13.5px; color: var(--dz-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dz-news-card__actions { display: flex; gap: 8px; padding: 10px 16px 16px; justify-content: space-between; }
.dz-news-more { display: flex; justify-content: center; margin-top: 22px; }
.dz-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dz-test__list { margin: -6px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--dz-ink-2); }
.dz-color { width: 64px; height: 40px; border: 1px solid #cfd2e6; border-radius: 10px; padding: 3px; background: #fff; cursor: pointer; }
.dz-file { font-size: 14px; }
.dz-logo-preview { border-radius: var(--dz-radius-sm); }
.dz-break { word-break: break-all; }
@media (max-width: 720px) {
	.dz-toolbar { top: 64px; position: static; }
	.dz-segment { width: 100%; }
	.dz-segment__btn { flex: 1; padding: 7px 8px; }
	.dz-news-card__actions .dz-btn { flex: 1; }
}

/* ---------- Etapa 3: produção editorial ---------- */
.dz-textarea { min-height: 0; resize: vertical; line-height: 1.5; }
.dz-textarea--tall { min-height: 320px; font-size: 14px; }
.dz-pre { white-space: pre-wrap; word-break: break-word; background: var(--dz-surface); border: 1px solid var(--dz-line); border-radius: var(--dz-radius-sm); padding: 12px; font-size: 12.5px; max-height: 260px; overflow: auto; margin: 8px 0 0; }
.dz-pre--tall { max-height: 70vh; }
.dz-details summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--dz-brand-500); }
.dz-copied { color: var(--dz-ok); font-weight: 600; font-size: 14px; }
.dz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dz-modal__box--wide { max-width: 920px; }

.dz-articles__card { margin-top: 16px; padding: 12px 16px; }
.dz-articles__card summary { cursor: pointer; font-weight: 700; }
.dz-articles__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.dz-articles__list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.dz-articles__list a { font-weight: 600; color: var(--dz-ink); text-decoration: none; flex: 1; min-width: 200px; }
.dz-articles__list a:hover { color: var(--dz-brand-500); text-decoration: underline; }

.dz-editor-bar { position: sticky; top: 64px; z-index: 15; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; margin: -8px 0 12px; background: var(--dz-surface); }
.dz-save-state { font-size: 13px; color: var(--dz-ink-3); }
.dz-save-state.is-dirty { color: var(--dz-warn); font-weight: 600; }
.dz-editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.dz-editor__main { padding: 26px 30px 34px; }
.dz-editor__side { display: grid; gap: 14px; }
.dz-side { padding: 16px; display: grid; gap: 10px; }
.dz-side--warn { background: var(--dz-warn-bg); border-color: #f3d9a4; color: var(--dz-warn); }
.dz-side--warn ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
.dz-side__title { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--dz-ink-3); }
.dz-side--warn .dz-side__title { color: var(--dz-warn); }
.dz-title-input, .dz-subtitle-input { width: 100%; border: 0; resize: none; overflow: hidden; background: transparent; padding: 0; }
.dz-title-input { font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.dz-subtitle-input { font-size: 18px; color: var(--dz-ink-2); line-height: 1.45; margin-top: 8px; }
.dz-title-input:focus, .dz-subtitle-input:focus { box-shadow: none; outline: none; }
.dz-count-row { display: flex; justify-content: flex-end; }
.dz-count { font-size: 12px; color: var(--dz-ink-3); font-weight: 500; text-transform: none; letter-spacing: 0; }
.dz-count.is-over { color: var(--dz-err); font-weight: 700; }
.dz-editor-toolbar { position: sticky; top: 124px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; margin: 18px 0 10px; background: #fff; border: 1px solid var(--dz-line); border-radius: 12px; box-shadow: 0 2px 8px rgba(10, 12, 60, .06); }
.dz-tool { min-width: 36px; height: 34px; border: 0; background: transparent; border-radius: 8px; font-weight: 700; cursor: pointer; color: var(--dz-ink-2); padding: 0 8px; }
.dz-tool:hover { background: var(--dz-brand-50); color: var(--dz-brand); }
.dz-tool--wide { font-weight: 600; font-size: 13.5px; }
.dz-tool-sep { width: 1px; background: var(--dz-line); margin: 4px 4px; }
.dz-body { min-height: 380px; font-size: 17px; line-height: 1.7; color: var(--dz-ink); outline: none; }
.dz-body:focus { box-shadow: none; }
.dz-body p { margin: 0 0 1em; }
.dz-body h2 { font-size: 22px; margin: 1.3em 0 .5em; }
.dz-body h3 { font-size: 18.5px; margin: 1.2em 0 .5em; }
.dz-body blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--dz-brand-100); color: var(--dz-ink-2); font-style: italic; }
.dz-body a { color: var(--dz-brand-500); }
.dz-block { margin: 1em 0; border: 2px dashed var(--dz-brand-100); border-radius: 12px; padding: 10px; background: var(--dz-brand-50); user-select: none; }
.dz-block__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--dz-brand); margin-bottom: 8px; }
.dz-block__remove { border: 0; background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; color: var(--dz-err); font-weight: 600; }
.dz-block__imgs { display: flex; gap: 8px; overflow-x: auto; }
.dz-block__imgs figure { margin: 0; flex: 0 0 auto; width: 200px; }
.dz-block:not(.dz-block--carousel) .dz-block__imgs figure { width: 100%; }
.dz-block__imgs img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; }
.dz-block--carousel .dz-block__imgs img { height: 120px; }
.dz-block__imgs figcaption { font-size: 12.5px; color: var(--dz-ink-2); margin-top: 4px; line-height: 1.35; }
.dz-featured { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; display: grid; gap: 6px; font-size: 12.5px; color: var(--dz-ink-2); }
.dz-featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.dz-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dz-thumb { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.dz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dz-thumb.is-featured { border-color: var(--dz-fox); }
.dz-chips--select { gap: 6px; }
.dz-chip-check { display: inline-flex; }
.dz-chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.dz-chip-check span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--dz-line); font-size: 13px; cursor: pointer; }
.dz-chip-check input:checked + span { background: var(--dz-brand-500); border-color: var(--dz-brand-500); color: #fff; }
.dz-chip-check input:focus-visible + span { box-shadow: var(--dz-focus); }
.dz-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dz-picker__item { display: grid; gap: 4px; font-size: 12.5px; color: var(--dz-ink-2); border: 2px solid var(--dz-line); border-radius: 10px; padding: 6px; cursor: pointer; position: relative; }
.dz-picker__item input { position: absolute; top: 10px; left: 10px; width: 18px; height: 18px; accent-color: var(--dz-brand-500); }
.dz-picker__item:has(input:checked) { border-color: var(--dz-brand-500); background: var(--dz-brand-50); }
.dz-picker__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.dz-upload-preview img { max-height: 220px; width: auto; max-width: 100%; border-radius: 10px; }

/* Prévia */
.dz-preview { border: 1px solid var(--dz-line); border-radius: 14px; overflow: hidden; background: #fff; }
.dz-preview__brand { padding: 14px 20px; display: flex; align-items: center; }
.dz-preview__brand img { height: 40px; width: auto; }
.dz-preview__inner { padding: 24px clamp(18px, 4vw, 48px) 36px; max-width: 760px; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; }
.dz-preview__cat { font-family: var(--dz-font); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.dz-preview h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 8px 0 10px; }
.dz-preview__sub { font-size: 19px; color: var(--dz-ink-2); margin: 0 0 12px; line-height: 1.45; }
.dz-preview__meta { font-family: var(--dz-font); font-size: 13px; color: var(--dz-ink-3); }
.dz-preview__body { font-size: 18px; line-height: 1.7; }
.dz-preview__body h2 { font-size: 23px; }
.dz-preview__body blockquote { border-left: 4px solid var(--dz-line); margin: 1em 0; padding-left: 16px; color: var(--dz-ink-2); }
.dz-figure { margin: 18px 0; }
.dz-figure img { width: 100%; border-radius: 6px; }
.dz-figure figcaption, .dz-carousel figcaption { font-family: var(--dz-font); font-size: 13px; color: var(--dz-ink-2); margin-top: 6px; }
.dz-credit { color: var(--dz-ink-3); }

/* Carrossel (mesmo componente usado nos portais) */
.dz-carousel { position: relative; overflow: hidden; margin: 22px 0; border-radius: 8px; background: #0e0f1d; outline: none; }
.dz-carousel:focus-visible { box-shadow: var(--dz-focus); }
.dz-carousel__track { display: flex; transition: transform .3s ease; }
.dz-carousel__slide { flex: 0 0 100%; margin: 0; }
.dz-carousel__slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #0e0f1d; }
.dz-carousel__slide figcaption { background: #fff; padding: 8px 12px; margin: 0; }
.dz-carousel__nav { position: absolute; top: calc(50% - 40px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.dz-carousel__nav--prev { left: 10px; }
.dz-carousel__nav--next { right: 10px; }
.dz-carousel__foot { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 10px; background: #fff; }
.dz-carousel__dots { display: flex; gap: 6px; }
.dz-carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #ccd0e0; cursor: pointer; padding: 0; }
.dz-carousel__dots button[aria-current="true"] { background: var(--dz-brand-500); }
.dz-carousel__count { font-family: var(--dz-font); font-size: 12.5px; color: var(--dz-ink-3); }

@media (max-width: 980px) {
	.dz-editor { grid-template-columns: 1fr; }
	.dz-editor__main { padding: 18px; }
	.dz-title-input { font-size: 24px; }
	.dz-two { grid-template-columns: 1fr; }
	.dz-editor-toolbar { top: 112px; }
}

@media (max-width: 720px) {
	.dz-top__inner { height: 58px; }
	.dz-top__brand img { height: 26px; }
	.dz-top__text { display: none; }
	.dz-hero { grid-template-columns: 1fr; }
	.dz-hero__mascot { display: none; }
	.dz-hero__text h1 { font-size: 23px; }
	.dz-main { padding-top: 18px; }
	.dz-table--stack thead { display: none; }
	.dz-table--stack tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--dz-line); }
	.dz-table--stack td { border: 0; padding: 4px 16px; }
	.dz-modal { align-items: end; padding: 0; }
	.dz-modal__box { border-radius: 18px 18px 0 0; max-height: 92vh; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}
