.hmp-app {
  --hmp-bg: #0b1018;
  --hmp-sidebar: #0f1622;
  --hmp-panel: #141d2b;
  --hmp-panel-2: #182334;
  --hmp-text: #edf3fb;
  --hmp-muted: #91a0b5;
  --hmp-line: #28364a;
  --hmp-accent: #68d5b5;
  --hmp-accent-strong: #28b991;
  --hmp-warning: #f2c66d;
  --hmp-danger: #ff7979;
  --hmp-radius: 13px;
  --hmp-shadow: 0 22px 60px rgba(0, 0, 0, .34);
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--hmp-text);
  background: var(--hmp-bg);
  border: 1px solid var(--hmp-line);
  border-radius: var(--hmp-radius);
  box-shadow: var(--hmp-shadow);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  isolation: isolate;
}

.hmp-app *, .hmp-app *::before, .hmp-app *::after { box-sizing: border-box; }
.hmp-app button, .hmp-app input, .hmp-app textarea { font: inherit; }
.hmp-app button { cursor: pointer; }
.hmp-app [hidden] { display: none !important; }
.hmp-app a { color: #83ddc3; text-decoration: underline; text-underline-offset: 2px; }
.hmp-app a:hover { color: #b2f4df; }

.hmp-app__chrome { width: 100%; min-width: 0; max-width: 100%; overflow: visible; border-radius: inherit; }
.hmp-toolbar {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px 16px 14px 20px;
  background: linear-gradient(135deg, #111a28, #0f1724);
  border-bottom: 1px solid var(--hmp-line);
  border-radius: var(--hmp-radius) var(--hmp-radius) 0 0;
}

.hmp-title h2, .hmp-dialog h3 { margin: 0 !important; color: var(--hmp-text) !important; font-weight: 700; letter-spacing: -.02em; }
.hmp-title { min-width: 0; }
.hmp-title h2 { font-size: clamp(20px, 2.2vw, 28px) !important; line-height: 1.1 !important; }
.hmp-kicker { display: block; margin-bottom: 4px; color: var(--hmp-accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hmp-toolbar__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.hmp-print-images-toggle { display: inline-grid; flex: 0 0 auto; place-items: center; width: 28px; min-height: 38px; margin: 0 0 0 -5px; color: #dce7f5; background: #111a28; border: 1px solid #2c3b50; border-radius: 8px; cursor: pointer; }
.hmp-print-images-toggle:hover { background: #1d2a3e; border-color: #496078; }
.hmp-print-images-toggle input { width: 15px; height: 15px; margin: 0; accent-color: var(--hmp-accent-strong); cursor: pointer; }
.hmp-live-state { display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; color: #b9c7d9; font-size: 12px; white-space: nowrap; }
.hmp-live-state i { width: 8px; height: 8px; background: var(--hmp-accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(104, 213, 181, .11); }
.hmp-live-state.is-offline i { background: var(--hmp-danger); box-shadow: 0 0 0 4px rgba(255, 121, 121, .11); }

.hmp-icon-button, .hmp-filter summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 11px;
  color: #dce7f5;
  background: #172234;
  border: 1px solid #2c3b50;
  border-radius: 9px;
  font-weight: 650;
  line-height: 1;
  list-style: none;
  text-decoration: none;
  transition: border-color .15s, background .15s, transform .15s;
}
.hmp-icon-button:hover, .hmp-filter summary:hover { background: #1d2a3e; border-color: #496078; }
.hmp-icon-button:active { transform: translateY(1px); }
.hmp-icon-button svg, .hmp-filter svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hmp-filter { position: relative; margin: 0; }
.hmp-filter summary { cursor: pointer; }
.hmp-filter summary::-webkit-details-marker { display: none; }
.hmp-filter summary b { min-width: 30px; padding: 3px 6px; color: #b9f1df; background: rgba(104, 213, 181, .12); border-radius: 99px; font-size: 10px; text-align: center; }
.hmp-filter__popover { position: absolute; top: calc(100% + 8px); right: 0; width: min(370px, calc(100vw - 30px)); padding: 14px; background: #121b29; border: 1px solid #33445a; border-radius: 12px; box-shadow: var(--hmp-shadow); }
.hmp-filter__section + .hmp-filter__section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hmp-line); }
.hmp-filter__head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--hmp-line); }
.hmp-filter__head div { display: flex; gap: 6px; align-items: center; color: #58677c; }
.hmp-filter__head button { padding: 0; color: #9bdcca; background: transparent; border: 0; font-size: 12px; }
.hmp-filter__items { display: grid; gap: 4px; max-height: 25vh; padding-top: 9px; overflow: auto; }
.hmp-filter__items label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 7px; border-radius: 7px; cursor: pointer; }
.hmp-filter__items label:hover { background: #192638; }
.hmp-filter__items input { width: 17px; height: 17px; margin: 0; accent-color: var(--hmp-accent-strong); }
.hmp-filter__section--tasks > label { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 2px 1px; color: #cbd7e6; cursor: pointer; }
.hmp-filter__section--tasks input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--hmp-accent-strong); }
.hmp-filter__section--tasks label > span { display: grid; gap: 2px; }
.hmp-filter__section--tasks strong { font-size: 12px; }
.hmp-filter__section--tasks small { color: #718096; font-size: 10px; line-height: 1.3; }

.hmp-table-scroll { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 100%; min-height: 260px; max-height: min(72vh, 880px); overflow-x: auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #35475e #0c121c; }
.hmp-loading, .hmp-error, .hmp-empty-state { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 260px; padding: 30px; color: var(--hmp-muted); text-align: center; }
.hmp-loading span { width: 18px; height: 18px; border: 2px solid #314259; border-top-color: var(--hmp-accent); border-radius: 50%; animation: hmp-spin .8s linear infinite; }
.hmp-error { color: #ffaaaa; }
@keyframes hmp-spin { to { transform: rotate(360deg); } }

.hmp-planner-table { width: 100%; min-width: 0; max-width: none; margin: 0 !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0 !important; color: var(--hmp-text); background: var(--hmp-bg); table-layout: fixed; }
.hmp-planner-table col.hmp-scene-col { width: var(--hmp-scene-column-width, 180px); }
.hmp-planner-table col.hmp-trade-col { width: var(--hmp-trade-column-width, 290px); }
.hmp-planner-table col.hmp-is-hidden { width: 0 !important; visibility: collapse; }
.hmp-planner-table th, .hmp-planner-table td { width: var(--hmp-trade-column-width, 290px); min-width: var(--hmp-trade-column-width, 290px); max-width: var(--hmp-trade-column-width, 290px); padding: 0 !important; overflow: hidden; vertical-align: top !important; background: #101824; border: 0 !important; border-right: 1px solid var(--hmp-line) !important; border-bottom: 1px solid var(--hmp-line) !important; text-align: left; }
.hmp-planner-table thead th { position: sticky; top: 0; z-index: 4; height: 48px; padding: 13px 14px !important; color: #aab8ca; background: #121c2b; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hmp-planner-table .hmp-scene-column { position: sticky; left: 0; z-index: 3; width: var(--hmp-scene-column-width, 180px); min-width: var(--hmp-scene-column-width, 180px); max-width: var(--hmp-scene-column-width, 180px); padding: 15px 14px !important; color: #edf3fb; background: #0e1622; font-size: 13px; font-weight: 750; }
.hmp-planner-table thead .hmp-scene-column { z-index: 6; color: var(--hmp-accent); background: #101a28; }
.hmp-planner-table tbody tr:hover td { background: #121c2a; }
.hmp-planner-table tbody tr:hover .hmp-scene-column { background: #111c2a; }
.hmp-planner-table tbody tr.hmp-is-row-hover td { background: #121c2a; }
.hmp-planner-table tbody tr.hmp-is-row-hover .hmp-scene-column { background: #111c2a; }
.hmp-planner-table .hmp-is-column-hover { background: #121c2a !important; }
.hmp-planner-table thead .hmp-is-column-hover { background: #172438 !important; }
.hmp-planner-table tbody tr.hmp-is-row-hover td.hmp-is-column-hover { background: #162235 !important; }
.hmp-planner-table .hmp-is-cell-hover { outline: 2px solid color-mix(in srgb,var(--hmp-accent) 68%,transparent); outline-offset: -2px; }
.hmp-planner-table tbody > tr > th, .hmp-planner-table tbody > tr > td { height: 1px; }
.hmp-planner-table .hmp-is-hidden { display: none !important; }
.hmp-table-print-header { display: none !important; }
.hmp-scene-cell { display: flex; flex-direction: column; min-height: 150px; height: 100%; }
.hmp-scene-name { display: block; overflow-wrap: anywhere; }
.hmp-scene-legacy-attachments { flex: 0 0 auto; align-self: stretch; min-width: 0; max-width: calc(100% + 28px); margin: auto -14px -15px; padding-top: 11px; overflow: hidden; contain: paint; }
.hmp-planner-table .hmp-is-drop-target { background: #173026 !important; box-shadow: inset 0 0 0 2px var(--hmp-accent); }

.hmp-cell { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 150px; height: 100%; padding: 12px 13px 11px; overflow: hidden; }
.hmp-cell__controls { position: absolute; z-index: 2; top: 8px; right: 8px; left: 8px; display: flex; align-items: flex-start; justify-content: flex-end; gap: 5px; pointer-events: none; }
.hmp-cell__badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; min-width: 0; pointer-events: auto; }
.hmp-cell-badge { display: inline-block; max-width: 130px; padding: 3px 6px; overflow: hidden; color: #e8d39e; background: rgba(242, 198, 109, .09); border: 1px solid rgba(242, 198, 109, .2); border-radius: 5px; font-size: 9px; font-weight: 750; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.hmp-cell-badge--lock { color: #ffc0c0; background: rgba(255, 121, 121, .08); border-color: rgba(255, 121, 121, .2); }
.hmp-cell-action-button { display: inline-grid; flex: 0 0 auto; place-items: center; width: 27px; height: 27px; margin: -3px -3px 0 0; padding: 0; color: #9fb1c7; background: #101824; border: 1px solid transparent; border-radius: 7px; opacity: .82; pointer-events: auto; }
.hmp-cell-action-button:hover { color: var(--hmp-accent); background: rgba(104, 213, 181, .08); border-color: rgba(104, 213, 181, .2); opacity: 1; }
.hmp-cell-action-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hmp-cell__body { min-height: 77px; color: #d8e2ef; overflow-wrap: anywhere; }
.hmp-cell__attachments { flex: 0 0 auto; align-self: stretch; min-width: 0; max-width: calc(100% + 26px); margin: auto -13px -11px; padding-top: 11px; overflow: hidden; text-align: left; contain: paint; }
.hmp-placeholder { color: #66758a; font-style: italic; }
.hmp-prose-line + .hmp-prose-line { margin-top: 3px; }
.hmp-cell__meta { min-height: 17px; margin-top: 10px; color: #65748a; font-size: 9px; line-height: 1.3; }

.hmp-attachments { display: flex; flex-wrap: nowrap; align-items: flex-start; position: relative; justify-content: flex-start; gap: 7px; width: 100%; min-width: 0; max-width: 100%; padding: 7px; overflow-x: auto; overflow-y: hidden; color: #cbd8e8; background: #05080d; scrollbar-color: #35475e #05080d; scrollbar-width: thin; overscroll-behavior-inline: contain; contain: layout paint; }
.hmp-attachment--image { flex: 0 0 auto; width: max-content; max-width: none; }
.hmp-attachment--image .hmp-attachment__preview { width: max-content; max-width: none; }
.hmp-attachments--cell .hmp-attachment--pdf, .hmp-attachments--legacy .hmp-attachment--pdf { flex: 0 0 150px; width: 150px; max-width: 150px; }
.hmp-attachment { position: relative; min-width: 0; overflow: hidden; background: #0a111a; border: 1px solid #2a3b50; border-radius: 7px; }
.hmp-attachment__preview { display: flex; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 0; align-items: center; justify-content: center; color: #cbd8e8; background: transparent; border: 0; border-radius: inherit; text-align: left; }
.hmp-attachment__preview:hover { color: var(--hmp-accent); background: #111e2c; }
.hmp-app[data-hmp-app] .hmp-attachment--image img { display: block !important; flex: none; width: auto !important; height: 112px !important; max-width: none !important; max-height: 150px !important; margin: 0 !important; padding: 0 !important; object-fit: contain !important; object-position: center top !important; }
.hmp-attachments--many .hmp-attachment--image img { width: auto; height: 72px; }
.hmp-app[data-hmp-app] .hmp-attachments--few .hmp-attachment--image img { width: auto !important; height: 140px !important; }
.hmp-app[data-hmp-app] .hmp-attachments--many .hmp-attachment--image img { width: auto !important; height: 72px !important; }
.hmp-attachments--many .hmp-attachment__comment { -webkit-line-clamp: 2; }
.hmp-attachment__comment { display: -webkit-box; padding: 6px 7px 7px; overflow: hidden; color: #aebdd0; background: #0a111a; border-top: 1px solid #223246; font-size: 10px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.hmp-attachment--pdf .hmp-attachment__preview { justify-content: flex-start; gap: 8px; min-height: 112px; padding: 9px 10px; }
.hmp-attachment--pdf svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.hmp-attachment--pdf span { min-width: 0; overflow: hidden; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }

.hmp-checklist { display: grid; gap: 6px; margin: 2px 0 10px !important; padding: 0 !important; list-style: none !important; }
.hmp-checklist:last-child { margin-bottom: 0 !important; }
.hmp-checklist li { display: flex; align-items: flex-start; gap: 8px; margin: 0 !important; padding: 0 !important; }
.hmp-checklist input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--hmp-accent-strong); }
.hmp-checklist input:disabled { opacity: .55; }
.hmp-checklist li.is-checked span { color: #718096; text-decoration: line-through; text-decoration-color: #526277; }
.hmp-app.hmp-hide-completed .hmp-table-scroll .hmp-checklist li.is-checked { display: none !important; }
.hmp-bullet-list { display: grid; gap: 3px; margin: 2px 0 10px !important; padding: 0 !important; list-style: none !important; }
.hmp-bullet-list:last-child { margin-bottom: 0 !important; }
.hmp-bullet-list li { display: grid; grid-template-columns: .7em minmax(0, 1fr); gap: 2px; margin: 0 !important; padding: 0 !important; }
.hmp-bullet-list li::before { content: "•"; }
.hmp-mention { display: inline-block; width: max-content; min-width: max-content; max-width: none; margin: 0; padding: 0 2px; color: #071a14; background: var(--hmp-accent); border: 0; border-radius: 3px; font: inherit; font-weight: 800; line-height: inherit; overflow-wrap: normal !important; text-decoration: none; white-space: nowrap !important; word-break: keep-all !important; }
.hmp-mention:hover { color: #06130f; background: #9cebd4; }
.hmp-mark { color: inherit; }
.hmp-mark--0 { color: var(--hmp-mark-0-color, #d8e2ef); font-weight: var(--hmp-mark-0-weight, 400); font-style: var(--hmp-mark-0-style, normal); text-decoration: var(--hmp-mark-0-decoration, none); }
.hmp-mark--1 { color: var(--hmp-mark-1-color, #f2c66d); font-weight: var(--hmp-mark-1-weight, 700); font-style: var(--hmp-mark-1-style, normal); text-decoration: var(--hmp-mark-1-decoration, none); }
.hmp-mark--2 { color: var(--hmp-mark-2-color, #77bdfb); font-weight: var(--hmp-mark-2-weight, 700); font-style: var(--hmp-mark-2-style, normal); text-decoration: var(--hmp-mark-2-decoration, none); }
.hmp-mark--3 { color: var(--hmp-mark-3-color, #ff7979); font-weight: var(--hmp-mark-3-weight, 700); font-style: var(--hmp-mark-3-style, normal); text-decoration: var(--hmp-mark-3-decoration, underline); }

.hmp-app__footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 38px; padding: 8px 14px; color: #718096; background: #0d141f; border-radius: 0 0 var(--hmp-radius) var(--hmp-radius); font-size: 10px; }
.hmp-app code { padding: 2px 5px; color: #a4ead5; background: #182638; border: 1px solid #263a50; border-radius: 4px; }

.hmp-overlay { position: fixed; z-index: 2147483646; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(3, 7, 12, .8); backdrop-filter: blur(6px); }
.hmp-dialog { width: min(94vw, 540px); max-height: calc(100vh - 32px); padding: 20px; overflow: auto; color: var(--hmp-text); background: #121b29; border: 1px solid #34465d; border-radius: 15px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.hmp-editor-dialog { width: min(94vw, 840px); }
.hmp-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.hmp-dialog h3 { font-size: 22px !important; line-height: 1.25 !important; }
.hmp-dialog p { color: #aab7c8; }
.hmp-close { width: 34px; height: 34px; padding: 0; color: #95a5b9; background: transparent; border: 1px solid #33445a; border-radius: 8px; font-size: 23px; line-height: 1; }
.hmp-close:hover { color: white; background: #1d2a3d; }
.hmp-editor-dialog textarea { display: block; width: 100%; min-height: min(54vh, 480px); padding: 14px; resize: vertical; color: #e8f0fa; caret-color: var(--hmp-accent); background: #090f17; border: 1px solid #34475f; border-radius: 10px; outline: 0; line-height: 1.55; }
.hmp-editor-dialog textarea:focus { border-color: var(--hmp-accent-strong); box-shadow: 0 0 0 3px rgba(40, 185, 145, .12); }
/* Protect editable text from theme rules, including inherited WebKit text fill. */
.hmp-app[data-hmp-app] .hmp-editor-dialog textarea[data-hmp-textarea],
.hmp-app[data-hmp-app] .hmp-name-dialog input,
.hmp-app[data-hmp-app] .hmp-todo-view-field select {
  color: var(--hmp-text, #edf3fb) !important;
  -webkit-text-fill-color: var(--hmp-text, #edf3fb) !important;
  background: var(--hmp-bg, #0b1018) !important;
  caret-color: var(--hmp-text, #edf3fb) !important;
  opacity: 1 !important;
  color-scheme: dark;
}
.hmp-app[data-hmp-app] .hmp-editor-dialog textarea::placeholder,
.hmp-app[data-hmp-app] .hmp-name-dialog input::placeholder {
  color: var(--hmp-muted, #91a0b5) !important;
  -webkit-text-fill-color: var(--hmp-muted, #91a0b5) !important;
  opacity: 1 !important;
}
.hmp-editor-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; color: #7e8ea3; font-size: 11px; }
.hmp-draft-notice { margin-bottom: 12px; padding: 9px 11px; color: #ebd9a7; background: rgba(242, 198, 109, .09); border: 1px solid rgba(242, 198, 109, .22); border-radius: 8px; font-size: 12px; }
.hmp-dialog footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 14px; }
.hmp-primary-button, .hmp-secondary-button, .hmp-danger-button { min-height: 40px; padding: 8px 14px; border-radius: 9px; font-weight: 750; }
.hmp-primary-button { color: #06130f; background: var(--hmp-accent); border: 1px solid var(--hmp-accent); }
.hmp-primary-button:hover { background: #85e7cb; }
.hmp-primary-button:disabled { cursor: wait; opacity: .6; }
.hmp-primary-button svg { width: 16px; height: 16px; margin-right: 5px; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -3px; }
.hmp-secondary-button { color: #dbe6f3; background: #1a2637; border: 1px solid #35475e; }
.hmp-danger-button { color: #fff; background: #9c3d48; border: 1px solid #bb5360; }
.hmp-name-dialog label { display: grid; gap: 6px; margin-top: 18px; }
.hmp-name-dialog label span { color: #c7d3e2; font-size: 12px; font-weight: 700; }
.hmp-name-dialog input { width: 100%; min-height: 44px; padding: 8px 11px; color: #fff; background: #0b121c; border: 1px solid #34475f; border-radius: 9px; outline: 0; }
.hmp-name-dialog input:focus { border-color: var(--hmp-accent); }
.hmp-name-error { margin: 14px 0 0 !important; padding: 10px 11px; color: #ffd1d1 !important; background: rgba(255, 121, 121, .1); border: 1px solid rgba(255, 121, 121, .28); border-radius: 8px; font-weight: 650; }
.hmp-todo-overlay { place-items: start center; padding-top: 16px; }
.hmp-todo-dialog { width: min(94vw, 760px); }
.hmp-todo-options { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 14px; min-height: 32px; margin: -5px 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--hmp-line); }
.hmp-todo-options label { margin: 0; color: #b8c6d8; font-size: 11px; font-weight: 700; }
.hmp-todo-view-field { display: grid; flex: 1 1 390px; gap: 4px; }
.hmp-todo-view-field select { width: 100%; min-height: 34px; padding: 5px 30px 5px 9px; color: #e5edf7; background: #0b131e; border: 1px solid #35475e; border-radius: 7px; font: inherit; }
.hmp-todo-completed-field { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 34px; cursor: pointer; white-space: nowrap; }
.hmp-todo-options input { width: 15px; height: 15px; margin: 0; accent-color: var(--hmp-accent-strong); }
.hmp-todo-list { display: grid; gap: 7px; max-height: min(58vh, 620px); padding-right: 3px; overflow: auto; scrollbar-color: #40536c #0c121c; }
.hmp-todo-group { margin: 0; padding: 9px 10px; background: #0c141f; border: 1px solid #2a3a4e; border-radius: 8px; }
.hmp-todo-group > strong { display: block; margin-bottom: 6px; color: #edf3fb; font-size: 12px; line-height: 1.3; }
.hmp-todo-group__items { display: grid; gap: 4px; }
.hmp-todo-item__content { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 7px; margin: 0; color: #cbd7e6; line-height: 1.35; }
.hmp-todo-item__content--text { display: block; }
.hmp-todo-item__content input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--hmp-accent-strong); }
.hmp-todo-item__content--checklist { cursor: pointer; }
.hmp-todo-item__content--checklist.is-checked .hmp-todo-item__text { color: #718096; text-decoration: line-through; }
.hmp-todo-marker { color: var(--hmp-accent); font-weight: 800; }
.hmp-todo-unassigned { display: inline-block; grid-column: 2; width: max-content; margin-top: 2px; padding: 1px 5px; color: #a9b7c8; background: #1a2636; border: 1px solid #34475e; border-radius: 99px; font-size: 9px; font-weight: 750; line-height: 1.4; }
.hmp-todo-empty { margin: 0; padding: 24px; text-align: center; background: #0c141f; border: 1px dashed #34465d; border-radius: 9px; }
.hmp-overlay[data-hmp-name-dialog] { z-index: 2147483647; }
.hmp-attachment-overlay { padding: 5px; }
.hmp-attachment-dialog { display: flex; flex-direction: column; width: calc(100vw - 10px); height: calc(100vh - 10px); max-height: none; padding: 10px; overflow: hidden; border-radius: 8px; }
.hmp-attachment-dialog > header { flex: 0 0 auto; align-items: center; min-height: 42px; margin: 0 0 8px; }
.hmp-attachment-heading { display: flex; min-width: 0; align-items: center; gap: 10px; }
.hmp-attachment-dialog > header h3 { min-width: 0; overflow: hidden; font-size: 15px !important; text-overflow: ellipsis; white-space: nowrap; }
.hmp-attachment-heading > span { flex: 0 0 auto; color: #8494a9; font-size: 11px; font-weight: 750; white-space: nowrap; }
.hmp-attachment-modal-delete { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; padding: 6px 10px; color: #fff; background: #9c3d48; border: 1px solid #c05a66; border-radius: 8px; font-size: 12px; font-weight: 750; }
.hmp-attachment-modal-delete:hover { background: #b94956; }
.hmp-attachment-modal-delete svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hmp-attachment-modal-print { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:6px 10px; }
.hmp-attachment-modal-print svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hmp-attachment-preview { position: relative; display: grid; flex: 1 1 auto; min-height: 0; place-items: center; overflow: hidden; background: #080d14; border-radius: 6px; }
.hmp-attachment-preview img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.hmp-attachment-preview iframe { width: 100%; height: 100%; background: #fff; border: 0; }
.hmp-attachment-dialog > .hmp-attachment-footer { display: flex; flex: 0 0 auto; flex-direction: row; align-items: flex-end; justify-content: flex-start; flex-wrap: wrap; gap: 8px; min-height: 43px; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #2b3b50; }
.hmp-attachment-comment-form { display: grid; flex: 1 1 520px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; width: auto; min-width: min(100%, 300px); }
.hmp-attachment-comment-form label { display: grid; min-width: 0; gap: 4px; margin: 0; }
.hmp-attachment-comment-form label > span { color: #91a0b5; font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.hmp-attachment-comment-form input { width: 100%; min-width: 0; height: 36px; margin: 0; padding: 7px 9px; color: #fff !important; -webkit-text-fill-color: #fff !important; caret-color: #fff; background: #0b121d !important; border: 1px solid #34465d; border-radius: 7px; }
.hmp-attachment-comment-form input::placeholder { color: #8797aa !important; -webkit-text-fill-color: #8797aa !important; opacity: 1; }
.hmp-attachment-comment-form input:focus { border-color: var(--hmp-accent); outline: 2px solid rgba(104, 213, 181, .14); outline-offset: 0; }
.hmp-attachment-comment-form .hmp-primary-button { min-height: 36px; }
.hmp-attachment-footer-actions { display: flex; flex: 0 0 auto; min-height: 36px; align-items: center; justify-content: flex-start; gap: 10px; }
.hmp-attachment-footer-actions > small { color: #91a0b5; font-size: 10px; }
.hmp-attachment-nav { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 48px; height: 64px; margin: 0; padding: 0 0 5px; color: #fff; background: rgba(5, 10, 17, .76); border: 1px solid rgba(255, 255, 255, .35); border-radius: 9px; box-shadow: 0 6px 22px rgba(0, 0, 0, .4); font-size: 42px; line-height: 1; transform: translateY(-50%); }
.hmp-attachment-nav:hover { color: var(--hmp-accent); background: rgba(11, 22, 34, .94); }
.hmp-attachment-nav:disabled { cursor: default; opacity: .25; }
.hmp-attachment-nav--previous { left: 12px; }
.hmp-attachment-nav--next { right: 12px; }
.hmp-app[data-hmp-app] .hmp-attachment-dialog { position: relative !important; display:flex !important; flex-direction:column !important; }
.hmp-app[data-hmp-app] .hmp-attachment-dialog > .hmp-attachment-preview { position:relative !important; display:flex !important; flex:1 1 auto !important; align-items:center !important; justify-content:center !important; min-width:0 !important; min-height:0 !important; overflow:hidden !important; }
.hmp-app[data-hmp-app] .hmp-attachment-preview > img { display:block !important; width:auto !important; height:auto !important; max-width:calc(100% - 10px) !important; max-height:100% !important; margin:0 !important; object-fit:contain !important; object-position:center !important; }
.hmp-app[data-hmp-app] .hmp-attachment-preview > iframe { display:block; flex:1 1 auto; min-width:0; min-height:0; }
.hmp-app[data-hmp-app] .hmp-attachment-preview > .hmp-attachment-nav { position:absolute !important; z-index:5 !important; top:50% !important; bottom:auto !important; width:48px !important; height:64px !important; min-width:48px !important; min-height:64px !important; margin:0 !important; padding:0 0 5px !important; transform:translateY(-50%) !important; line-height:1 !important; }
.hmp-app[data-hmp-app] .hmp-attachment-preview > .hmp-attachment-nav--previous { right:auto !important; left:12px !important; }
.hmp-app[data-hmp-app] .hmp-attachment-preview > .hmp-attachment-nav--next { right:12px !important; left:auto !important; }
.hmp-app[data-hmp-app] .hmp-attachment-dialog > footer.hmp-attachment-footer { position:static !important; inset:auto !important; display:flex !important; flex:0 0 auto !important; flex-direction:row !important; align-items:flex-end !important; justify-content:flex-start !important; width:100% !important; margin:8px 0 0 !important; padding:8px 0 0 !important; }
.hmp-app[data-hmp-app] .hmp-attachment-footer-actions { order:0; }
.hmp-app[data-hmp-app] .hmp-attachment-comment-form { position:static !important; order:1; flex:1 1 520px !important; min-width:min(100%,300px) !important; margin:0 !important; }
.hmp-app[data-hmp-app] .hmp-attachment-comment-form label { position:static !important; float:none !important; width:auto !important; margin:0 !important; }
.hmp-print-header, .hmp-todo-print-sheet { display: none; }

.hmp-toast { position: fixed; z-index: 2147483647; right: 18px; bottom: 18px; max-width: min(420px, calc(100vw - 36px)); padding: 11px 14px; color: #092019; background: var(--hmp-accent); border-radius: 9px; box-shadow: var(--hmp-shadow); font-weight: 700; }
.hmp-toast.is-error { color: white; background: #a7434e; }

html.hmp-no-scroll { overflow: hidden !important; }
.hmp-app.hmp-has-overlay { z-index: 2147483000; }
.hmp-app.is-expanded { position: fixed; z-index: 2147483000; inset: 5px; display: flex; flex-direction: column; width: auto; height: auto; max-width: none; overflow: hidden; border-radius: 9px; }
.hmp-app.is-expanded .hmp-app__chrome { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; height: auto; }
.hmp-app.is-expanded .hmp-table-scroll { flex: 1 1 auto; max-height: none; }
.hmp-app.is-expanded .hmp-toolbar { border-radius: 8px 8px 0 0; }
.hmp-app.is-expanded .hmp-app__footer { border-radius: 0 0 8px 8px; }

@media (max-width: 760px) {
  .hmp-app { --hmp-scene-column-width: 112px; --hmp-trade-column-width: 232px; border-radius: 9px; }
  .hmp-app[data-hmp-app] .hmp-app__chrome { min-width: 0; overflow: hidden; }
  .hmp-app[data-hmp-app] header.hmp-toolbar {
    position: relative !important;
    inset: auto !important;
    z-index: 12;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: start !important;
    justify-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px !important;
    overflow: visible;
    transform: none !important;
  }
  .hmp-title h2 { max-width: 100%; font-size: clamp(17px, 5vw, 21px) !important; overflow-wrap: anywhere; }
  .hmp-kicker { margin-bottom: 2px; font-size: 9px; }
  .hmp-app[data-hmp-app] .hmp-toolbar__actions {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  .hmp-live-state { flex: 1 1 auto; min-width: 52px; margin: 0; font-size: 11px; }
  .hmp-icon-button span { display: none; }
  .hmp-icon-button { flex: 0 0 34px; width: 34px; min-height: 34px; padding: 6px; }
  .hmp-filter { flex: 0 0 auto; }
  .hmp-filter summary { min-height: 34px; padding: 6px 8px; gap: 5px; font-size: 12px; }
  .hmp-filter summary b { min-width: 0; padding-inline: 5px; }
  .hmp-print-images-toggle { width: 26px; min-height: 34px; margin-left: 0; }
  .hmp-filter__popover { position: absolute !important; top: calc(100% + 5px) !important; right: 0 !important; left: auto !important; width: min(360px, calc(100vw - 18px)); max-height: calc(100dvh - 125px); padding: 10px; overflow: auto; }
  .hmp-filter__section + .hmp-filter__section { margin-top: 8px; padding-top: 8px; }
  .hmp-filter__head { gap: 8px; padding-bottom: 6px; }
  .hmp-filter__items { max-height: 21vh; padding-top: 5px; }
  .hmp-filter__items label { gap: 7px; padding: 6px 4px; }
  .hmp-table-scroll { z-index: 1; min-height: 230px; max-height: min(68dvh, 760px); margin: 0; }
  .hmp-planner-table th, .hmp-planner-table td { width: var(--hmp-trade-column-width); min-width: var(--hmp-trade-column-width); max-width: var(--hmp-trade-column-width); }
  .hmp-planner-table thead th { height: 40px; padding: 9px 8px !important; font-size: 10px; }
  .hmp-planner-table .hmp-scene-column { width: var(--hmp-scene-column-width); min-width: var(--hmp-scene-column-width); max-width: var(--hmp-scene-column-width); padding: 9px 8px !important; font-size: 12px; }
  .hmp-scene-cell, .hmp-cell { min-height: 122px; }
  .hmp-cell { padding: 9px 8px 8px; }
  .hmp-cell__controls { top: 5px; right: 5px; left: 5px; gap: 3px; }
  .hmp-cell-action-button { width: 25px; height: 25px; }
  .hmp-cell__body { min-height: 60px; }
  .hmp-cell__meta { min-height: 14px; margin-top: 6px; font-size: 8px; }
  .hmp-cell__attachments { margin: auto -8px -8px; padding-top: 8px; }
  .hmp-scene-legacy-attachments { margin: auto -8px -9px; padding-top: 8px; }
  .hmp-attachments { gap: 5px; padding: 5px; }
  .hmp-attachment--image img { height: 92px; max-height: 120px; }
  .hmp-attachments--few .hmp-attachment--image img { height: 108px; }
  .hmp-attachments--many .hmp-attachment--image img { height: 62px; }
  .hmp-app__footer { align-items: flex-start; flex-direction: column; gap: 2px; min-height: 0; padding: 6px 8px; line-height: 1.35; }
  .hmp-overlay { place-items: start center; padding: 5px; overflow: auto; }
  .hmp-dialog { width: 100%; max-height: calc(100dvh - 10px); padding: 11px; border-radius: 9px; }
  .hmp-dialog > header { gap: 9px; margin-bottom: 9px; }
  .hmp-dialog h3 { font-size: 18px !important; overflow-wrap: anywhere; }
  .hmp-close { flex: 0 0 32px; width: 32px; height: 32px; }
  .hmp-editor-dialog { padding: 10px; }
  .hmp-editor-dialog textarea { min-height: 46dvh; padding: 10px; }
  .hmp-editor-help { align-items: flex-start; flex-direction: column; gap: 3px; min-height: 0; padding: 6px 0; }
  .hmp-dialog footer { flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .hmp-dialog footer > button { flex: 1 1 180px; }
  .hmp-todo-overlay { padding-top: 5px; }
  .hmp-todo-options { align-items: stretch; flex-direction: column; gap: 6px; margin-top: 0; }
  .hmp-todo-view-field { flex-basis: auto; }
  .hmp-todo-list { max-height: calc(100dvh - 225px); }
  .hmp-todo-group { padding: 7px 8px; }
  .hmp-attachment-dialog { width: 100%; height: calc(100dvh - 10px); max-height: calc(100dvh - 10px); padding: 7px; }
  .hmp-attachment-dialog > header { min-height: 34px; margin-bottom: 5px; }
  .hmp-attachment-dialog > .hmp-attachment-footer { align-items: stretch; gap: 6px; min-height: 0; margin-top: 5px; padding-top: 6px; }
  .hmp-attachment-comment-form { flex: 1 1 100%; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; min-width: 0; }
  .hmp-attachment-footer-actions { flex-wrap: wrap; min-height: 0; gap: 6px; }
  .hmp-attachment-nav { width: 38px; height: 50px; font-size: 34px; }
  .hmp-attachment-nav--previous { left: 5px; }
  .hmp-attachment-nav--next { right: 5px; }
  .hmp-toast { right: 7px; bottom: 7px; max-width: calc(100vw - 14px); }
}

@media (max-width: 420px) {
  .hmp-app { --hmp-scene-column-width: 102px; --hmp-trade-column-width: 218px; border-radius: 7px; }
  .hmp-app[data-hmp-app] header.hmp-toolbar { padding: 7px !important; }
  .hmp-toolbar__actions { gap: 4px !important; }
  .hmp-live-state > span { max-width: 56px; overflow: hidden; text-overflow: ellipsis; }
  .hmp-filter summary { padding-inline: 7px; }
  .hmp-filter summary > span { display: none; }
  .hmp-planner-table thead th { padding-inline: 7px !important; }
  .hmp-planner-table .hmp-scene-column { padding-inline: 7px !important; }
  .hmp-editor-help code { padding-inline: 3px; }
  .hmp-dialog footer > button { flex-basis: 100%; }
  .hmp-attachment-comment-form { grid-template-columns: minmax(0, 1fr); }
  .hmp-attachment-comment-form .hmp-primary-button { width: 100%; }
}

.hmp-mention-editor { position:relative; width:100%; min-width:0; }
.hmp-mention-editor > textarea { width:100%; }
.hmp-mention-suggestions { position:absolute; z-index:2147483645; top:6px; left:6px; display:grid; width:min(330px,calc(100% - 12px)); max-height:210px; overflow:auto; padding:4px; border:1px solid var(--hmp-line); border-radius:7px; color:var(--hmp-text); background:var(--hmp-panel); box-shadow:0 14px 32px rgba(0,0,0,.42); }
.hmp-mention-suggestions[hidden] { display:none !important; }
.hmp-mention-suggestions button { display:block; width:100%; min-height:32px; margin:0; padding:6px 8px; border:0; border-radius:5px; color:var(--hmp-text); background:transparent; text-align:left; font:inherit; cursor:pointer; }
.hmp-mention-suggestions button:hover, .hmp-mention-suggestions button.is-active, .hmp-mention-suggestions button[aria-selected="true"] { color:#08251b; background:var(--hmp-accent); }
.hmp-mention-mirror { position:absolute; top:0; left:0; z-index:-1; width:100%; height:100%; overflow:auto; visibility:hidden; white-space:pre-wrap; overflow-wrap:anywhere; pointer-events:none; }

@media print {
  html, body.hmp-printing { margin: 0 !important; padding: 0 !important; color: #000 !important; background: #fff !important; background-image: none !important; }
  body.hmp-printing-table { page: auto; }
  body.hmp-printing-todos { page: hmp-todos; }
  body.hmp-printing > :not(.hmp-print-target) { display: none !important; }
  body.hmp-printing * { visibility: hidden !important; }
  body.hmp-printing .hmp-print-target, body.hmp-printing .hmp-print-target * { visibility: visible !important; }
  body.hmp-printing .hmp-print-target { position: static !important; inset: auto !important; box-sizing: border-box !important; width: 100% !important; height: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; color: #000 !important; background: #fff !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  body.hmp-printing .hmp-print-target, body.hmp-printing .hmp-print-target * { color: #000 !important; background-color: #fff !important; background-image: none !important; box-shadow: none !important; text-shadow: none !important; font-family: Arial, Helvetica, sans-serif !important; }
  .hmp-print-target picture, .hmp-print-target video, .hmp-print-target canvas { display: none !important; }
  .hmp-print-target .hmp-print-header { display: none !important; }
  body.hmp-printing .hmp-print-target .hmp-toolbar, body.hmp-printing .hmp-print-target .hmp-app__footer, body.hmp-printing .hmp-print-target .hmp-cell__controls, body.hmp-printing .hmp-print-target .hmp-cell__meta, body.hmp-printing .hmp-print-target .hmp-overlay, body.hmp-printing .hmp-print-target .hmp-toast { display: none !important; }
  .hmp-print-target .hmp-app__chrome { display: block !important; height: auto !important; overflow: visible !important; border-radius: 0 !important; }
  .hmp-print-target .hmp-table-scroll { display: block !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; }
  .hmp-print-target .hmp-planner-table { width: 100% !important; min-width: 0 !important; color: #000 !important; background: #fff !important; border: 0 !important; border-collapse: separate !important; border-spacing: 0 !important; table-layout: fixed !important; }
  .hmp-print-target .hmp-planner-table col.hmp-scene-col { width: var(--hmp-print-scene-width, 15%) !important; min-width: 0 !important; max-width: none !important; }
  .hmp-print-target .hmp-planner-table col.hmp-trade-col:not(.hmp-is-hidden) { width: auto !important; min-width: 0 !important; max-width: none !important; visibility: visible !important; }
  .hmp-print-target .hmp-planner-table col.hmp-is-hidden { display: none !important; width: 0 !important; visibility: collapse !important; }
  .hmp-print-target .hmp-planner-table thead { position: static !important; z-index: auto !important; display: table-header-group !important; background: #fff !important; break-inside: avoid !important; page-break-inside: avoid !important; }
  .hmp-print-target .hmp-planner-table tfoot { display: table-footer-group !important; }
  .hmp-print-target .hmp-planner-table th, .hmp-print-target .hmp-planner-table td { position: static !important; width: auto !important; min-width: 0 !important; max-width: none !important; height: auto !important; padding: var(--hmp-print-cell-padding, 1.6mm) !important; overflow-wrap: anywhere !important; word-break: break-word !important; white-space: normal !important; color: #000 !important; background: #fff !important; border: 0 !important; border-right: .2mm solid #000 !important; border-bottom: .2mm solid #000 !important; font-size: var(--hmp-print-font-size, 8pt) !important; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .hmp-print-target .hmp-planner-table tr > :first-child { border-left: .2mm solid #000 !important; }
  .hmp-print-target .hmp-planner-table thead th { position: static !important; z-index: auto !important; font-weight: 800 !important; letter-spacing: .03em; line-height: 1.25 !important; overflow-wrap: anywhere !important; box-shadow: inset 0 -.2mm 0 #000 !important; }
  .hmp-print-target.hmp-print-mode-table .hmp-table-print-header { display: table-row !important; }
  .hmp-print-target .hmp-table-print-header th { padding: 0 0 1.2mm !important; border: 0 !important; border-bottom: .2mm solid #000 !important; font-size: 8.5pt !important; letter-spacing: 0 !important; line-height: 1.2 !important; text-transform: none !important; box-shadow: none !important; }
  .hmp-print-target .hmp-table-print-header div { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1mm 5mm; width: 100%; }
  .hmp-print-target .hmp-table-print-header strong { flex: 1 1 80mm; min-width: 0; font-size: 9.5pt !important; overflow-wrap: anywhere; }
  .hmp-print-target .hmp-table-print-header span { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
  .hmp-print-target .hmp-table-column-head th { padding: var(--hmp-print-cell-padding, 1.6mm) !important; vertical-align: middle !important; text-transform: uppercase !important; }
  .hmp-print-target .hmp-planner-table .hmp-scene-column { width: var(--hmp-print-scene-width, 15%) !important; max-width: none !important; }
  .hmp-print-target .hmp-cell, .hmp-print-target .hmp-scene-cell { display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; min-height: 0 !important; height: auto !important; padding: 0 !important; overflow: visible !important; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .hmp-print-target .hmp-cell__body, .hmp-print-target .hmp-prose-line, .hmp-print-target .hmp-mark, .hmp-print-target .hmp-checklist li, .hmp-print-target .hmp-checklist li > span, .hmp-print-target .hmp-bullet-list li, .hmp-print-target .hmp-bullet-list li > span { min-width: 0 !important; max-width: 100% !important; overflow-wrap: anywhere !important; word-break: break-word !important; white-space: normal !important; }
  .hmp-print-target .hmp-cell__body { min-height: 0 !important; color: #000 !important; overflow: visible !important; }
  .hmp-print-target .hmp-checklist, .hmp-print-target .hmp-bullet-list { margin-bottom: 2mm !important; }
  .hmp-print-target .hmp-checklist input { accent-color: #000 !important; filter: grayscale(1); }
  .hmp-print-target .hmp-checklist li.is-checked span { color: #000 !important; }
  .hmp-print-target .hmp-mention { width: auto !important; min-width: 0 !important; max-width: 100% !important; padding: 0 !important; overflow-wrap: anywhere !important; word-break: break-word !important; white-space: normal !important; color: #000 !important; background: #fff !important; border: 0 !important; font-weight: 800; }
  .hmp-print-target a { max-width: 100% !important; overflow-wrap: anywhere !important; word-break: break-word !important; white-space: normal !important; color: #000 !important; text-decoration: underline !important; }
  .hmp-print-target .hmp-placeholder { color: #000 !important; }
  .hmp-print-target .hmp-drop-hint, .hmp-print-target:not(.hmp-print-with-images) .hmp-attachment--image { display: none !important; }
  .hmp-print-target .hmp-cell__attachments, .hmp-print-target .hmp-scene-legacy-attachments { margin: 0 !important; padding-top: 1mm !important; }
  .hmp-print-target .hmp-attachments { display: block !important; padding: 1mm 0 0 !important; overflow: visible !important; background: #fff !important; }
  .hmp-print-target .hmp-attachments .hmp-attachment { flex: none !important; width: auto !important; min-width: 0 !important; max-width: none !important; border: 0 !important; border-radius: 0 !important; }
  .hmp-print-target.hmp-print-with-images .hmp-attachments { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; align-items: start !important; justify-items: center !important; gap: 1.5mm !important; }
  .hmp-print-target.hmp-print-with-images .hmp-attachment--image { display: grid !important; justify-items: center !important; width: 100% !important; max-width: 100% !important; break-inside: avoid !important; page-break-inside: avoid !important; }
  .hmp-print-target.hmp-print-with-images .hmp-attachment--image .hmp-attachment__preview { display: flex !important; width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; overflow: visible !important; align-items: flex-start !important; justify-content: center !important; }
  .hmp-print-target.hmp-print-with-images .hmp-attachment--image img { display: block !important; width: auto !important; height: auto !important; max-width: 100% !important; max-height: var(--hmp-print-image-max-height, 28mm) !important; margin: 0 auto !important; object-fit: contain !important; object-position: center top !important; filter: grayscale(1) !important; background: #fff !important; }
  .hmp-print-target.hmp-print-with-images .hmp-attachment__comment { display: block !important; padding: 1mm 0 0 !important; overflow: visible !important; color: #000 !important; background: #fff !important; border-top: .2mm solid #000 !important; font-size: 7pt !important; -webkit-line-clamp: unset !important; }
  .hmp-print-target .hmp-attachment--pdf .hmp-attachment__preview { justify-content: flex-start; min-height: 0; padding: 0 !important; color: #000 !important; }
  .hmp-print-target .hmp-attachment--pdf svg { display: none !important; }
  .hmp-print-target.hmp-print-mode-table .hmp-todo-print-sheet { display: none !important; }
  .hmp-print-target.hmp-print-mode-todos .hmp-app__chrome { display: none !important; }
  .hmp-print-target.hmp-print-mode-todos .hmp-todo-print-sheet { display: block !important; }
  body.hmp-printing .hmp-print-target.hmp-print-mode-todos, body.hmp-printing .hmp-print-target.hmp-print-mode-todos * { font-family: Arial, Helvetica, sans-serif !important; background-image: none !important; text-shadow: none !important; }
  .hmp-print-target .hmp-todo-print-pages { display: block !important; width: 100% !important; }
  .hmp-print-target .hmp-todo-print-page-sheet { display: block !important; box-sizing: border-box !important; width: 100% !important; min-height: 184mm !important; margin: 0 !important; padding: 0 !important; color: #000 !important; background: #fff !important; break-after: page !important; page-break-after: always !important; }
  .hmp-print-target .hmp-todo-print-page-sheet:last-child { break-after: auto !important; page-break-after: auto !important; }
  .hmp-print-target .hmp-todo-print-header { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1mm 5mm; width: 100% !important; margin: 0 !important; padding: 0 0 1.5mm !important; color: #000 !important; background: #fff !important; border: 0 !important; border-bottom: .2mm solid #000 !important; font-size: 9pt !important; line-height: 1.25 !important; break-inside: avoid !important; page-break-inside: avoid !important; }
  .hmp-print-target .hmp-todo-print-header strong { flex: 1 1 80mm; min-width: 0; color: #000 !important; font-size: 10pt !important; overflow-wrap: anywhere; }
  .hmp-print-target .hmp-todo-print-meta { display: inline-flex !important; flex: 0 0 auto; align-items: baseline; margin-left: auto; color: #000 !important; white-space: nowrap; }
  .hmp-print-target .hmp-todo-print-list { padding-top: 1.5mm !important; }
  .hmp-print-target .hmp-todo-list { display: block !important; max-height: none !important; overflow: visible !important; }
  .hmp-print-target .hmp-todo-group { margin: 0 0 2.5mm !important; padding: 0 0 2.5mm !important; color: #000 !important; background: #fff !important; border: 0 !important; border-bottom: .2mm solid #000 !important; border-radius: 0 !important; break-inside: avoid; page-break-inside: avoid; }
  .hmp-print-target .hmp-todo-group > strong, .hmp-print-target .hmp-todo-item__content, .hmp-print-target .hmp-todo-marker { color: #000 !important; }
  .hmp-print-target .hmp-todo-item__content--checklist.is-checked .hmp-todo-item__text { color: #000 !important; }
  .hmp-print-target .hmp-todo-empty { padding: 0 !important; color: #000 !important; background: #fff !important; border: 0 !important; text-align: left; }
  .hmp-print-target.hmp-print-mode-table.hmp-print-split-cells tr, .hmp-print-target.hmp-print-mode-table.hmp-print-split-cells td, .hmp-print-target.hmp-print-mode-table.hmp-print-split-cells .hmp-cell { break-inside: auto !important; page-break-inside: auto !important; }
  .hmp-print-target.hmp-print-mode-table:not(.hmp-print-split-cells) tr, .hmp-print-target.hmp-print-mode-table:not(.hmp-print-split-cells) td, .hmp-print-target.hmp-print-mode-table:not(.hmp-print-split-cells) .hmp-cell { break-inside: avoid !important; page-break-inside: avoid !important; }
}

@page hmp-todos {
  margin: 6mm 8mm 10mm;
  size: A4 landscape;
  @bottom-right {
    content: none;
  }
}

@page {
  margin: 6mm 8mm 10mm;
  size: A4 landscape;
  @bottom-right {
    content: "Seite " counter(page) "/" counter(pages);
    color: #000;
    font: 7.5pt/1.2 Arial, Helvetica, sans-serif;
  }
}
