@import url("/image-converter/styles.css?v=1");
/* Home Assistant entity references */
.he-drop { text-align: center; padding: 28px 18px; border: 2px dashed var(--border); border-radius: 14px; background: var(--panel-2); }
.he-drop.over, body.over .he-drop { border-color: var(--accent); background: rgba(149, 214, 0, .06); }
.he-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.he-buttons .btn { font-size: 15px; padding: 12px 22px; }
.he-drop p { margin: 12px auto 0; color: var(--muted); font-size: 13px; max-width: 640px; }
#status { margin-top: 14px; font-size: 14px; }
#status:empty { display: none; }
#status p { margin: 6px 0 0; overflow-wrap: anywhere; }
.he-warn { color: var(--warn); }
.he-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.he-bar h2 { margin: 0; }
.he-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.he-summary { margin: 10px 0 14px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.he-summary b { color: var(--text); font-weight: 600; }
.he-grid { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 18px; align-items: start; }
.he-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.he-input { width: 100%; box-sizing: border-box; background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; min-height: 42px; }
.he-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.he-input[aria-invalid="true"] { border-color: var(--bad); }
.he-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.he-filters button { background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12px; cursor: pointer; min-height: 30px; }
.he-filters button[aria-pressed="true"] { color: #10130a; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.he-list { list-style: none; margin: 0; padding: 4px; max-height: min(62vh, 640px); overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); }
.he-list:empty { display: none; }
.he-list li { margin: 0; }
.he-item { display: flex; gap: 8px; align-items: baseline; width: 100%; text-align: left; background: transparent; color: var(--text); border: 0; border-radius: 7px; padding: 7px 9px; font: inherit; font-size: 13px; cursor: pointer; }
.he-item:hover { background: #1b1d24; }
.he-item[aria-current="true"] { background: #222531; box-shadow: inset 3px 0 0 var(--accent); }
.he-item .he-id { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.he-item .he-n { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.he-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); align-self: center; }
.he-empty { color: var(--muted); font-size: 13px; margin: 10px 2px; }
#more { margin-top: 8px; }
.he-detail { min-width: 0; }
.he-detail h3 { margin: 0 0 4px; font-size: 17px; overflow-wrap: anywhere; }
.he-detail h3:focus { outline: none; }
.he-meta { color: var(--muted); font-size: 13px; margin: 0 0 10px; overflow-wrap: anywhere; }
.he-flag { display: inline-block; color: #1a1205; background: var(--warn); border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 700; margin: 2px 6px 2px 0; }
.he-tag { display: inline-block; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 0 6px; font-size: 11px; margin-right: 6px; white-space: nowrap; }
.he-tag.c { color: #b9a6ff; border-color: #3b3360; }
.he-tag.d { color: var(--accent); border-color: #3a4a12; }
.he-file { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--border); }
.he-file h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.he-file h4 .he-kind { color: var(--muted); font-weight: 400; margin-left: 6px; }
.he-places { list-style: none; margin: 0; padding: 0; }
.he-places li { margin: 0 0 9px; }
.he-where { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.he-ln { display: inline-block; min-width: 46px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.he-code { display: block; margin-top: 3px; padding: 6px 9px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 7px; font-size: 12.5px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.he-code mark { background: rgba(149, 214, 0, .22); color: var(--text); border-radius: 3px; padding: 0 1px; }
.he-code.del { border-color: #4a2626; }
.he-code.del mark { background: rgba(255, 107, 107, .25); }
.he-code.add { border-color: #2f4a12; }
.he-rename { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.he-note { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
#renameOut:empty { display: none; }
#renameOut { margin-top: 14px; }
.he-change { margin: 0 0 10px; }
.he-filehead { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.he-files ul { margin: 8px 0 0; padding-left: 20px; font-size: 13px; }
.he-files li { margin: 4px 0; overflow-wrap: anywhere; }
.he-files summary { cursor: pointer; font-weight: 650; }
.he-files h3 { font-size: 14px; margin: 14px 0 4px; }
.how h3 { font-size: 15px; margin: 16px 0 4px; }
.how p { margin: 0 0 8px; }
.btn:focus-visible, .he-item:focus-visible, .he-filters button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) {
  .he-grid { grid-template-columns: minmax(0, 1fr); }
  .he-list { max-height: 46vh; }
  .he-rename { grid-template-columns: minmax(0, 1fr); }
}
