/* Editor de Evidências — layout de inspeção técnica: header, ferramentas
   verticais, canvas central, painel de propriedades/apontamentos e barra
   inferior. base.css aplica button/input/select/label{...!important} ao app
   inteiro, por isso os controles do editor também usam !important. */
.aura-evidence-editor{
  --ev-bg:#08141b;--ev-bg-2:#0b1c25;--ev-canvas:#0a1820;--ev-surface:#0f212c;--ev-surface-2:#122a36;--ev-field:#0c1b24;
  --ev-border:#1f3b4b;--ev-border-2:#26485a;--ev-text:#eaf3f8;--ev-muted:#9fb5c3;--ev-faint:#7a92a1;
  --ev-accent:#19c2c8;--ev-accent-2:#11b7be;--ev-accent-soft:rgba(25,194,200,.14);--ev-danger:#e5484d;--ev-warn:#f5a524;--ev-ok:#2fbf71;
  --ev-font:var(--font-ui);
  position:fixed;inset:0;z-index:120000;display:grid;grid-template-rows:64px minmax(0,1fr);user-select:none;-webkit-user-select:none;background:var(--ev-bg);color:var(--ev-text);font:400 13px/1.4 var(--ev-font);-webkit-font-smoothing:antialiased;letter-spacing:0
}
.aura-evidence-editor[hidden]{display:none}
.aura-evidence-editor *{box-sizing:border-box}
.aura-evidence-editor .aura-evidence-ico{width:18px;height:18px;flex:0 0 auto;display:block}

/* ---------- Controles base (neutraliza os globais de base.css) ---------- */
.aura-evidence-editor button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:0!important;min-height:36px!important;height:36px;margin:0!important;padding:0 14px!important;border:1px solid var(--ev-border-2)!important;border-radius:7px!important;background:var(--ev-surface-2)!important;color:var(--ev-text)!important;font:500 13px/1 var(--ev-font)!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important;cursor:pointer;transition:background-color .12s ease,border-color .12s ease,color .12s ease}
.aura-evidence-editor button:hover:not(:disabled){background:#173443!important;border-color:#335b70!important;color:#fff!important;box-shadow:none!important;transform:none!important}
.aura-evidence-editor button:active:not(:disabled){background:#10283a!important;transform:none!important}
.aura-evidence-editor button:focus-visible{outline:2px solid var(--ev-accent)!important;outline-offset:2px}
.aura-evidence-editor button:disabled{opacity:.4!important;cursor:not-allowed;box-shadow:none!important}
.aura-evidence-editor button[aria-pressed="true"]{background:#0f6f76!important;border-color:var(--ev-accent)!important;color:#fff!important}
.aura-evidence-editor button[aria-pressed="true"]:hover:not(:disabled){background:#12808a!important;border-color:#4fdbe0!important}
.aura-evidence-editor .aura-evidence-icon-btn{width:36px!important;padding:0!important}
.aura-evidence-editor label{margin:0!important;color:inherit!important;font-size:inherit!important;letter-spacing:0!important;text-transform:none!important;font-weight:inherit!important}
.aura-evidence-editor input,.aura-evidence-editor select{font-family:var(--ev-font)!important;letter-spacing:0!important;user-select:text;-webkit-user-select:text}
.aura-evidence-editor [hidden]{display:none!important}

/* ---------- Header ---------- */
.aura-evidence-header{display:flex;align-items:center;min-width:0;padding:0 16px 0 0;background:linear-gradient(180deg,#0d2029 0%,#0a1a22 100%);border-bottom:1px solid var(--ev-border);box-shadow:0 1px 0 rgba(0,0,0,.35)}
.aura-evidence-brand{display:flex;align-items:center;gap:10px;height:100%;padding:0 22px 0 20px;border-right:1px solid var(--ev-border);flex:0 0 auto}
.aura-evidence-logo{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:linear-gradient(145deg,#22d3d8,#0e8f96);color:#062127}
.aura-evidence-logo .aura-evidence-ico{width:20px;height:20px}
.aura-evidence-brand b{font:700 18px/1 var(--ev-font);letter-spacing:.04em;color:#fff}
.aura-evidence-brand i{width:1px;height:20px;margin:0 6px;background:var(--ev-border-2)}
.aura-evidence-title{font:600 15px/1.2 var(--ev-font);color:var(--ev-text);white-space:nowrap}
.aura-evidence-file{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;flex:1 1 auto;padding:0 24px}
.aura-evidence-file strong{font:600 15px/1.2 var(--ev-font);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aura-evidence-file small{display:flex;align-items:center;min-width:0;overflow:hidden;white-space:nowrap;font:400 12px/1.2 var(--ev-font);color:var(--ev-muted)}
.aura-evidence-file small span+span::before{content:"";display:inline-block;width:1px;height:11px;margin:0 10px;vertical-align:-1px;background:var(--ev-border-2)}
.aura-evidence-header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.aura-evidence-dirty{display:inline-flex;align-items:center;gap:7px;margin-right:12px;font:500 11.5px/1 var(--ev-font);color:var(--ev-muted);white-space:nowrap}
.aura-evidence-dirty .aura-evidence-ico{width:17px;height:17px;color:var(--ev-ok)}
.aura-evidence-dirty i{width:6px;height:6px;border-radius:50%;background:var(--ev-ok)}
.aura-evidence-dirty[data-dirty="true"]{color:#d8e4ea}
.aura-evidence-dirty[data-dirty="true"] .aura-evidence-ico{color:#5d7888}
.aura-evidence-dirty[data-dirty="true"] i{background:var(--ev-warn);box-shadow:0 0 0 3px rgba(245,165,36,.18)}
.aura-evidence-header-actions .aura-evidence-icon-btn{width:38px!important;height:38px;min-height:38px!important}
.aura-evidence-header-actions button{height:38px;min-height:38px!important}
.aura-evidence-header-actions [data-action="delete"],.aura-evidence-header-actions [data-action="close"]{margin-left:8px!important}
.aura-evidence-editor .aura-evidence-header-actions button,.aura-evidence-editor .aura-evidence-bottombar button{font-size:13.5px!important}
.aura-evidence-editor .aura-evidence-ghost{background:transparent!important}
.aura-evidence-editor .aura-evidence-ghost:hover:not(:disabled){background:var(--ev-surface-2)!important}
.aura-evidence-editor .aura-evidence-danger{background:transparent!important;border-color:rgba(229,72,77,.42)!important;color:#f28b8e!important}
.aura-evidence-editor .aura-evidence-danger:hover:not(:disabled){background:rgba(229,72,77,.12)!important;border-color:rgba(242,139,142,.8)!important;color:#ffb0b2!important}
.aura-evidence-editor .aura-evidence-close{min-width:84px!important;background:#1b3140!important;border-color:#2a4556!important;color:#e3edf2!important}
.aura-evidence-editor .aura-evidence-close:hover:not(:disabled){background:#223c4d!important;border-color:#3a5b6e!important}
.aura-evidence-editor .aura-evidence-save{min-width:100px!important;background:linear-gradient(180deg,#17b6b6,#0e9a9e)!important;border-color:#26c9cc!important;color:#fff!important;font-weight:600!important}
.aura-evidence-editor .aura-evidence-save:hover:not(:disabled){background:linear-gradient(180deg,#1cc6c6,#10a8ad)!important;border-color:#5fe0e3!important}

/* ---------- Área de trabalho ---------- */
.aura-evidence-workspace{min-height:0;display:grid;grid-template-columns:96px minmax(0,1fr) 360px;gap:12px;padding:12px}

/* Ferramentas verticais */
.aura-evidence-tools{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-height:0;overflow-y:auto;padding:8px;background:var(--ev-surface);border:1px solid var(--ev-border);border-radius:10px;scrollbar-width:thin}
.aura-evidence-tools button{flex-direction:column!important;gap:7px!important;height:auto;min-height:74px!important;padding:10px 4px 9px!important;border-color:transparent!important;background:transparent!important;color:#c9d7df!important;font:500 12px/1.1 var(--ev-font)!important}
.aura-evidence-tools button .aura-evidence-ico{width:24px;height:24px;stroke-width:1.7}
.aura-evidence-tools button:hover:not(:disabled){background:rgba(255,255,255,.04)!important;border-color:var(--ev-border)!important;color:#fff!important}
.aura-evidence-tools button[aria-pressed="true"]{background:linear-gradient(180deg,#123f49,#0f323b)!important;border-color:var(--ev-accent)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(25,194,200,.25)!important}
.aura-evidence-tools button[aria-pressed="true"] .aura-evidence-ico{color:#fff}

/* Canvas + barra inferior */
.aura-evidence-center{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}
.aura-evidence-stage-scroll{min-width:0;min-height:0;overflow:auto;display:grid;place-items:center;padding:15px;background:var(--ev-canvas);border-radius:10px;touch-action:none;scrollbar-color:#2a4556 transparent}
.aura-evidence-stage{position:relative;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.04);transform-origin:center center}
.aura-evidence-background{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.aura-annotation-layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible;touch-action:none;user-select:none}
/* Seleção técnica: a cor real do objeto nunca muda; a seleção é só a
   moldura teal de 1px e as alças (desenhadas pelo renderer). */
.aura-annotation-layer .aura-ann-object{cursor:move}
.aura-annotation-layer .aura-ann-selected{filter:none}
.aura-annotation-layer .aura-ann-bbox{pointer-events:none}
.aura-annotation-layer .aura-ann-handle{cursor:nwse-resize}
.aura-annotation-layer .aura-ann-handle[data-handle="start"],.aura-annotation-layer .aura-ann-handle[data-handle="end"]{cursor:crosshair}
.aura-annotation-layer .aura-ann-handle-mark{transition:fill .1s ease}
.aura-annotation-layer .aura-ann-handle:hover rect.aura-ann-handle-mark{fill:#d9fbfc}
.aura-annotation-layer .aura-ann-handle:hover circle.aura-ann-handle-mark{fill:#5fe0e3}
/* Hover sutil em objeto selecionável (só com a ferramenta Selecionar e fora
   de arraste): contorno teal fino, sem glow e sem trocar a cor. */
.aura-evidence-editor[data-active-tool="select"]:not([data-drag-mode="move"]):not([data-drag-mode="resize"]):not([data-drag-mode="start"]):not([data-drag-mode="end"]) .aura-annotation-layer .aura-ann-object:not(.aura-ann-selected):hover{filter:drop-shadow(0 0 .6px rgba(25,194,200,.95)) drop-shadow(0 0 .6px rgba(25,194,200,.95))}
/* Durante o arraste o layer detém o ponteiro: o cursor segue o modo. */
.aura-evidence-editor[data-drag-mode="move"] .aura-annotation-layer,.aura-evidence-editor[data-drag-mode="move"] .aura-annotation-layer *{cursor:move!important}
.aura-evidence-editor[data-drag-mode="resize"] .aura-annotation-layer,.aura-evidence-editor[data-drag-mode="resize"] .aura-annotation-layer *{cursor:nwse-resize!important}
.aura-evidence-editor[data-drag-mode="start"] .aura-annotation-layer,.aura-evidence-editor[data-drag-mode="start"] .aura-annotation-layer *,.aura-evidence-editor[data-drag-mode="end"] .aura-annotation-layer,.aura-evidence-editor[data-drag-mode="end"] .aura-annotation-layer *{cursor:crosshair!important}
.aura-evidence-view-original .aura-annotation-layer{display:none}

.aura-evidence-bottombar{display:flex;align-items:center;gap:16px;min-width:0;height:64px;padding:0 20px;background:var(--ev-surface);border:1px solid var(--ev-border);border-radius:10px}
.aura-evidence-zoom,.aura-evidence-pagebar{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.aura-evidence-zoom [data-zoom]{min-width:58px;text-align:center;font:600 14px/1 var(--ev-font);color:#fff;font-variant-numeric:tabular-nums}
.aura-evidence-zoom [data-action="fit"]{margin-left:6px!important}
.aura-evidence-bottombar button{height:38px;min-height:38px!important}
.aura-evidence-bottombar .aura-evidence-icon-btn{width:38px!important}
.aura-evidence-bottombar [data-action="annotated"][aria-pressed="true"],.aura-evidence-bottombar [data-action="original"][aria-pressed="true"]{background:#0f7d83!important;border-color:var(--ev-accent)!important;color:#fff!important}
.aura-evidence-status{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-size:12px;color:var(--ev-faint)}
.aura-evidence-pagebar label{display:flex;align-items:center;gap:2px;padding:0 12px;font:400 14px/1 var(--ev-font)!important;color:var(--ev-muted)!important;white-space:nowrap}
.aura-evidence-pagebar input[data-page]{width:24px!important;min-width:0!important;min-height:0!important;height:28px;padding:0!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:#fff!important;font:700 14px/1 var(--ev-font)!important;text-align:center;box-shadow:none!important;-moz-appearance:textfield}
.aura-evidence-pagebar input[data-page]:not(:disabled):hover,.aura-evidence-pagebar input[data-page]:focus{border-color:var(--ev-border-2)!important;background:var(--ev-field)!important;outline:none}
.aura-evidence-pagebar input[data-page]:disabled{opacity:1;cursor:default}
.aura-evidence-pagebar [data-pages]{color:var(--ev-muted)}
.aura-evidence-pagebar input::-webkit-inner-spin-button,.aura-evidence-pagebar input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* ---------- Painel direito ---------- */
.aura-evidence-side{min-height:0;display:flex;flex-direction:column;gap:12px;overflow:hidden}
.aura-evidence-card{background:var(--ev-surface);border:1px solid var(--ev-border);border-radius:10px;min-height:0}
.aura-evidence-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;height:58px;margin:0 20px;border-bottom:1px solid var(--ev-border)}
.aura-evidence-card-head h3{margin:0;font:600 16px/1 var(--ev-font);color:#fff;letter-spacing:0}
.aura-evidence-editor .aura-evidence-collapse{width:30px!important;height:30px;min-height:30px!important;padding:0!important;border-color:transparent!important;background:transparent!important;color:var(--ev-muted)!important}
.aura-evidence-props.is-collapsed .aura-evidence-props-body{display:none}
.aura-evidence-props.is-collapsed .aura-evidence-card-head{border-bottom-color:transparent}
.aura-evidence-props.is-collapsed .aura-evidence-collapse .aura-evidence-ico{transform:rotate(180deg)}
.aura-evidence-props{flex:0 0 auto;max-height:74%;overflow:auto;scrollbar-width:thin}
.aura-evidence-props-body{display:flex;flex-direction:column;gap:13px;padding:14px 20px 18px}
.aura-evidence-field{display:flex;flex-direction:column;gap:8px}
.aura-evidence-label{font:400 13px/1 var(--ev-font);color:var(--ev-muted)}
.aura-evidence-select{position:relative;display:flex;align-items:center;height:40px;border:1px solid var(--ev-border-2);border-radius:7px;background:var(--ev-field)}
.aura-evidence-select:hover{border-color:#335b70}
.aura-evidence-select:focus-within{border-color:var(--ev-accent);box-shadow:0 0 0 3px rgba(25,194,200,.16)}
.aura-evidence-select [data-tool-icon]{display:grid;place-items:center;width:40px;height:100%;color:#dbe7ed;pointer-events:none}
.aura-evidence-select [data-tool-icon] .aura-evidence-ico{width:19px;height:19px}
.aura-evidence-select select{flex:1 1 auto;width:100%!important;min-width:0!important;height:100%;min-height:0!important;margin:0!important;padding:0 36px 0 12px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--ev-text)!important;font:500 14px/1 var(--ev-font)!important;box-shadow:none!important;appearance:none;-webkit-appearance:none;cursor:pointer;outline:none}
.aura-evidence-select [data-tool-icon]+select{padding-left:0!important}
.aura-evidence-select select option{background:#0f212c;color:var(--ev-text)}
.aura-evidence-select>.aura-evidence-ico{position:absolute;right:12px;width:16px;height:16px;color:var(--ev-muted);pointer-events:none}
.aura-evidence-select select:disabled{opacity:.45;cursor:not-allowed}
.aura-evidence-select-sm{width:120px}
.aura-evidence-swatch{position:relative;display:inline-flex!important;align-items:center;gap:8px;width:80px;height:40px;padding:0 10px 0 5px;border:1px solid var(--ev-border-2);border-radius:7px;background:var(--ev-field);cursor:pointer}
.aura-evidence-swatch:hover{border-color:#335b70}
.aura-evidence-swatch:focus-within{border-color:var(--ev-accent);box-shadow:0 0 0 3px rgba(25,194,200,.16)}
.aura-evidence-swatch input[type="color"]{width:38px!important;min-width:0!important;height:30px;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important;cursor:pointer;-webkit-appearance:none;appearance:none}
.aura-evidence-swatch input[type="color"]::-webkit-color-swatch-wrapper{padding:0}
.aura-evidence-swatch input[type="color"]::-webkit-color-swatch{border:0;border-radius:4px}
.aura-evidence-swatch input[type="color"]::-moz-color-swatch{border:0;border-radius:4px}
.aura-evidence-swatch>.aura-evidence-ico{width:16px;height:16px;color:#dbe7ed}
.aura-evidence-swatch:has(input:disabled){opacity:.45;cursor:not-allowed}
/* Cor: seletor livre + hexadecimal + paleta rápida de atalhos */
.aura-evidence-color-row{display:flex;align-items:center;gap:12px}
.aura-evidence-hex{font:500 12.5px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ev-muted);letter-spacing:.02em;user-select:text}
.aura-evidence-palette{display:flex;flex-wrap:wrap;gap:8px;margin-top:0}
.aura-evidence-editor .aura-evidence-chip{width:22px!important;height:22px;min-height:22px!important;padding:0!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:5px!important;background:var(--chip)!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)!important;cursor:pointer}
.aura-evidence-editor .aura-evidence-chip:hover:not(:disabled){background:var(--chip)!important;border-color:rgba(255,255,255,.55)!important}
.aura-evidence-editor .aura-evidence-chip[aria-pressed="true"],.aura-evidence-editor .aura-evidence-chip[aria-pressed="true"]:hover:not(:disabled){background:var(--chip)!important;border-color:transparent!important;box-shadow:0 0 0 2px var(--ev-surface),0 0 0 3.5px var(--ev-accent)!important}
.aura-evidence-editor .aura-evidence-chip-auto,.aura-evidence-editor .aura-evidence-chip-auto:hover:not(:disabled),.aura-evidence-editor .aura-evidence-chip-auto[aria-pressed="true"]{background:linear-gradient(135deg,#f5f7fa 0 50%,#1c252c 50% 100%)!important}
.aura-evidence-editor .aura-evidence-chip:disabled{opacity:.35!important}
.aura-evidence-field[data-prop="textColor"]:has(input:disabled) .aura-evidence-palette{opacity:.4;pointer-events:none}
.aura-evidence-range{display:flex;align-items:center;gap:18px}
.aura-evidence-num{display:inline-flex!important;align-items:center;flex:0 0 auto;width:92px;height:40px;padding:0 10px 0 12px;border:1px solid var(--ev-border-2);border-radius:7px;background:var(--ev-field)}
.aura-evidence-num:focus-within{border-color:var(--ev-accent);box-shadow:0 0 0 3px rgba(25,194,200,.16)}
.aura-evidence-num input{flex:1 1 auto;width:100%!important;min-width:0!important;height:100%;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;font:500 14px/1 var(--ev-font)!important;box-shadow:none!important;outline:none}
.aura-evidence-num input::-webkit-inner-spin-button,.aura-evidence-num input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.aura-evidence-num input{-moz-appearance:textfield}
.aura-evidence-step{display:flex;flex-direction:column;margin-left:8px}
.aura-evidence-editor .aura-evidence-step button{width:16px!important;height:14px;min-height:14px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--ev-muted)!important}
.aura-evidence-editor .aura-evidence-step button:hover:not(:disabled){background:transparent!important;color:#fff!important}
.aura-evidence-step .aura-evidence-ico{width:13px;height:13px;stroke-width:2.2}
.aura-evidence-num em{margin-left:4px;font:400 13px/1 var(--ev-font);font-style:normal;color:var(--ev-muted)}
.aura-evidence-editor input[type="range"]{flex:1 1 auto;width:auto!important;min-width:0!important;height:18px;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;-webkit-appearance:none;appearance:none;cursor:pointer;--pct:50%}
.aura-evidence-editor input[type="range"]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,#1f8fe0 0,#1f8fe0 var(--pct),#243f4e var(--pct),#243f4e 100%)}
.aura-evidence-editor input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border:3px solid #0b1c25;border-radius:50%;background:#2aa7f0;box-shadow:0 0 0 1px #2aa7f0}
.aura-evidence-editor input[type="range"]::-moz-range-track{height:4px;border-radius:4px;background:#243f4e}
.aura-evidence-editor input[type="range"]::-moz-range-progress{height:4px;border-radius:4px;background:#1f8fe0}
.aura-evidence-editor input[type="range"]::-moz-range-thumb{width:14px;height:14px;border:3px solid #0b1c25;border-radius:50%;background:#2aa7f0}
.aura-evidence-editor input[type="range"]:focus-visible{outline:2px solid var(--ev-accent);outline-offset:4px}
.aura-evidence-toggle{display:inline-flex!important;align-items:center;justify-content:flex-start!important;width:auto!important;gap:12px;cursor:pointer;font:400 14px/1 var(--ev-font)!important;color:#d7e3ea!important}
.aura-evidence-toggle input{position:absolute;opacity:0;width:1px;height:1px;min-height:0!important;pointer-events:none}
.aura-evidence-toggle i{position:relative;width:42px;height:24px;border-radius:12px;background:#243f4e;transition:background-color .15s ease}
.aura-evidence-toggle i::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#e8eff3;transition:transform .15s ease}
.aura-evidence-toggle input:checked+i{background:var(--ev-accent-2)}
.aura-evidence-toggle input:checked+i::after{transform:translateX(18px)}
.aura-evidence-toggle input:focus-visible+i{outline:2px solid var(--ev-accent);outline-offset:2px}
.aura-evidence-editor .aura-evidence-wide{width:100%!important}

/* Apontamentos */
.aura-evidence-points{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}
.aura-evidence-editor .aura-evidence-new{height:34px;min-height:34px!important;padding:0 14px 0 12px!important;font-size:13.5px!important}
.aura-evidence-new .aura-evidence-ico{width:16px;height:16px}
.aura-evidence-point-list{flex:1 1 auto;min-height:0;overflow:auto;padding:4px 20px 12px;scrollbar-width:thin}
.aura-evidence-point{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--ev-border);cursor:pointer}
.aura-evidence-point:hover .aura-evidence-point-text b{color:#fff}
.aura-evidence-point.is-selected{background:linear-gradient(90deg,rgba(25,194,200,.08),transparent);box-shadow:inset 2px 0 0 var(--ev-accent);margin:0 -20px;padding-left:20px;padding-right:20px}
.aura-evidence-point-num{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:var(--point-color,#ef233c);color:var(--point-ink,#fff);font:700 16px/1 var(--ev-font);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.aura-evidence-point-text{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-width:0}
.aura-evidence-point-text b{font:500 14px/1.2 var(--ev-font);color:#e6eff4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aura-evidence-point-text small{font:400 12.5px/1 var(--ev-font);color:var(--ev-muted)}
.aura-evidence-edit-actions{display:flex;gap:4px;flex:0 0 auto}
.aura-evidence-editor .aura-evidence-edit-actions button{width:32px!important;height:32px;min-height:32px!important;border-color:transparent!important;background:transparent!important;color:#c9d7df!important}
.aura-evidence-editor .aura-evidence-edit-actions button:hover{background:var(--ev-surface-2)!important;border-color:var(--ev-border-2)!important;color:#fff!important}
.aura-evidence-editor .aura-evidence-edit-actions [data-delete-point]:hover{color:#ff7b7f!important;border-color:rgba(229,72,77,.5)!important}
.aura-evidence-edit-actions .aura-evidence-ico{width:17px;height:17px}
.aura-evidence-empty{margin:18px 0 0;font-size:13px;color:var(--ev-faint)}

/* ---------- Cursores por ferramenta ---------- */
.aura-evidence-editor .aura-annotation-layer{cursor:crosshair}
.aura-evidence-editor[data-active-tool="select"] .aura-annotation-layer{cursor:default}
.aura-evidence-editor[data-active-tool="text"] .aura-annotation-layer,.aura-evidence-editor[data-active-tool="callout"] .aura-annotation-layer{cursor:text}
.aura-evidence-editor[data-active-tool="marker"] .aura-annotation-layer{cursor:crosshair}
.aura-evidence-editor:not([data-active-tool="select"]) .aura-annotation-layer .aura-ann-object{cursor:inherit}

/* ---------- Toast ---------- */
.aura-evidence-toast{position:fixed;left:50%;bottom:96px;z-index:120001;padding:10px 18px;border:1px solid rgba(25,194,200,.6);border-radius:8px;background:rgba(10,32,40,.97);color:var(--ev-text,#eaf3f8);font:500 13px/1 var(--font-ui);box-shadow:0 14px 34px rgba(0,0,0,.45);opacity:0;transform:translate(-50%,10px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.aura-evidence-toast.is-visible{opacity:1;transform:translate(-50%,0)}

/* ---------- Telas baixas (ex.: 1366×768): Propriedades cabe sem rolagem ----------
   Mesmos controles e mesma linguagem; só densidade e composição:
   label ao lado do controle nas linhas simples, hexadecimal na linha do
   rótulo e swatch + paleta rápida numa única linha. */
@media (max-height:900px) and (min-width:801px){
  .aura-evidence-card-head{height:48px}
  .aura-evidence-card-head h3{font-size:15px}
  .aura-evidence-props{max-height:none;overflow:visible}
  .aura-evidence-props-body{gap:12px;padding:12px 18px 16px}
  .aura-evidence-field{gap:6px}
  .aura-evidence-label{font-size:12px;white-space:nowrap}
  .aura-evidence-field[data-prop="tool"],.aura-evidence-field[data-prop="stroke"],.aura-evidence-field[data-prop="opacity"],.aura-evidence-field[data-prop="fontSize"]{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;column-gap:8px}
  .aura-evidence-select,.aura-evidence-swatch,.aura-evidence-num{height:34px}
  .aura-evidence-swatch{width:64px;padding:0 8px 0 4px}
  .aura-evidence-swatch input[type="color"]{width:32px!important;height:24px}
  .aura-evidence-num{width:88px;padding:0 8px 0 10px}
  .aura-evidence-range{gap:12px}
  .aura-evidence-select-sm{width:100px}
  .aura-evidence-field[data-prop="color"],.aura-evidence-field[data-prop="textColor"]{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"l h" "s p";align-items:center;column-gap:10px;row-gap:6px}
  .aura-evidence-field[data-prop="color"]>.aura-evidence-label,.aura-evidence-field[data-prop="textColor"]>.aura-evidence-label{grid-area:l}
  .aura-evidence-field[data-prop="color"] .aura-evidence-color-row,.aura-evidence-field[data-prop="textColor"] .aura-evidence-color-row{display:contents}
  .aura-evidence-field[data-prop="color"] .aura-evidence-swatch,.aura-evidence-field[data-prop="textColor"] .aura-evidence-swatch{grid-area:s}
  .aura-evidence-field[data-prop="color"] .aura-evidence-hex,.aura-evidence-field[data-prop="textColor"] .aura-evidence-hex{grid-area:h;justify-self:end;font-size:12px}
  .aura-evidence-field[data-prop="color"] .aura-evidence-palette,.aura-evidence-field[data-prop="textColor"] .aura-evidence-palette{grid-area:p;flex-wrap:nowrap;gap:6px;justify-content:flex-start}
  .aura-evidence-editor .aura-evidence-chip{width:21px!important;height:21px;min-height:21px!important;flex:0 0 auto}
  .aura-evidence-toggle i{width:38px;height:22px}
  .aura-evidence-toggle i::after{width:16px;height:16px}
  .aura-evidence-toggle input:checked+i::after{transform:translateX(16px)}
  .aura-evidence-editor .aura-evidence-wide{height:34px;min-height:34px!important}
  .aura-evidence-point{padding:10px 0}
  .aura-evidence-point-num{width:34px;height:34px;font-size:15px}
}
/* ---------- Responsivo ---------- */
@media(max-height:900px) and (min-width:801px){
  .aura-evidence-tools{gap:2px;padding:6px}
  .aura-evidence-tools button{min-height:58px!important;gap:5px!important;padding:7px 4px 6px!important;font-size:11.5px!important}
  .aura-evidence-tools button .aura-evidence-ico{width:21px;height:21px}
}
@media(max-width:1440px) and (min-width:801px){
  .aura-evidence-brand{padding:0 18px 0 16px}
  .aura-evidence-file{padding:0 16px}
  .aura-evidence-header-actions{gap:6px}
  .aura-evidence-dirty{margin-right:6px}
  .aura-evidence-editor .aura-evidence-header-actions button:not(.aura-evidence-icon-btn){padding:0 12px!important}
  .aura-evidence-editor .aura-evidence-close{min-width:0!important}
  .aura-evidence-editor .aura-evidence-save{min-width:0!important}
  .aura-evidence-header-actions [data-action="delete"],.aura-evidence-header-actions [data-action="close"]{margin-left:6px!important}
}
@media(max-width:1280px){
  .aura-evidence-workspace{grid-template-columns:84px minmax(0,1fr) 300px;gap:10px;padding:10px}
  .aura-evidence-dirty{display:none}
  .aura-evidence-file{padding:0 16px}
}
@media(max-width:1024px){
  .aura-evidence-brand b,.aura-evidence-brand i{display:none}
  .aura-evidence-header-actions [data-action="delete"] span,.aura-evidence-header-actions [data-action="clear"] span{display:none}
  .aura-evidence-header-actions [data-action="delete"],.aura-evidence-header-actions [data-action="clear"]{width:38px!important;padding:0!important}
  .aura-evidence-status{display:none}
}
@media(max-width:800px){
  .aura-evidence-editor{grid-template-rows:auto minmax(0,1fr)}
  .aura-evidence-header{flex-wrap:wrap;padding:8px 10px;gap:8px}
  .aura-evidence-brand{height:auto;padding:0;border-right:0}
  .aura-evidence-file{order:3;flex-basis:100%;padding:0}
  .aura-evidence-header-actions{margin-left:auto;gap:6px}
  .aura-evidence-editor .aura-evidence-close{min-width:0!important}
  .aura-evidence-editor .aura-evidence-save{min-width:0!important}
  .aura-evidence-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:8px;padding:8px;overflow:auto;overflow-x:hidden}
  .aura-evidence-center{grid-template-rows:auto auto}
  /* Empilhado: cada bloco tem a própria altura; o workspace é que rola. */
  .aura-evidence-workspace{align-content:start}
  .aura-evidence-tools,.aura-evidence-center,.aura-evidence-side{min-height:auto}
  /* A área da foto tem a altura de uma evidência 16:9 na largura da tela
     (+ padding que fit() desconta), para "Ajustar" usar a largura inteira. */
  .aura-evidence-stage-scroll{min-height:calc((100vw - 16px) * .5625 + 30px)}
  .aura-evidence-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;overflow:visible;padding:6px}
  .aura-evidence-tools button{min-width:0!important;min-height:58px!important;padding:8px 2px 7px!important;font-size:11px!important}
  .aura-evidence-tools button .aura-evidence-ico{width:21px;height:21px}
  .aura-evidence-bottombar{flex-wrap:wrap;height:auto;padding:8px 10px;gap:8px}
  .aura-evidence-zoom{display:contents}
  .aura-evidence-pagebar{margin-left:auto;gap:6px}
  .aura-evidence-pagebar label{padding:0 6px}
  .aura-evidence-side{overflow:visible}
  .aura-evidence-props{max-height:none}
  .aura-evidence-points{min-height:200px}
  .aura-evidence-stage-scroll{padding:15px}
}
@media(max-width:560px){
  .aura-evidence-header-actions{flex-wrap:wrap}
  .aura-evidence-zoom [data-action="fit"]{margin-left:0!important}
}
@media print{.aura-evidence-editor{display:none!important}}
@media(prefers-reduced-motion:reduce){.aura-evidence-editor button,.aura-evidence-toggle i,.aura-evidence-toggle i::after{transition:none!important}.aura-evidence-toast{transition:opacity .18s ease}}
