/* Zeichenhilfe 0.3.2 · style.css (unverändert), Selektoren auf .an-zh begrenzt · Claude B 07.11.2026 */
.an-zh, .an-zh * { box-sizing: border-box; }
.an-zh { color: #283342; background: #f3f6f8; font-family: Arial, sans-serif; --navy: #0a2a4d; --blue: #3c6ea8; --line: #d7e1e9; }
.an-zh { margin: 0; }
.an-zh [hidden] { display: none !important; }
.an-zh .frame { width: min(1360px, calc(100% - 48px)); margin: auto; }
.an-zh .top { background: white; border-bottom: 1px solid var(--line); }
.an-zh .top-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.an-zh .top img { height: auto; max-width: 50%; }
.an-zh .badge { border-radius: 20px; background: #edf3fa; color: var(--navy); padding: 8px 13px; font-size: .82rem; font-weight: 700; text-align: center; }
.an-zh .intro { margin: 27px 0 21px; }
.an-zh .eyebrow,.an-zh .caption { color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .09em; }
.an-zh h1 { color: var(--navy); font-size: clamp(1.85rem, 5vw, 2.65rem); margin: 5px 0 7px; }
.an-zh p { line-height: 1.45; }
.an-zh .intro p { max-width: 640px; margin: 0; }
.an-zh .editor { background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 24px #0a2a4d0b; }
.an-zh .files,.an-zh .tools,.an-zh .workflow { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.an-zh .files,.an-zh .tools,.an-zh .view-tools,.an-zh .history,.an-zh #draftActions,.an-zh #reference { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.an-zh button,.an-zh input { font: inherit; }
.an-zh button { min-height: 44px; color: var(--navy); background: #fff; border: 1px solid #bfceda; border-radius: 7px; padding: 6px 10px; font-size: .89rem; font-weight: 600; cursor: pointer; }
.an-zh button:hover:not(:disabled) { background: #eaf1f8; }
.an-zh button:disabled { opacity: .48; cursor: default; }
.an-zh button[aria-pressed="true"],.an-zh .primary { color: white; background: var(--navy); border-color: var(--navy); }
.an-zh button[aria-pressed="true"]:hover,.an-zh .primary:hover:not(:disabled) { background: #24517b; }
.an-zh :focus-visible { outline: 3px solid #3c6ea8; outline-offset: 2px; }
.an-zh .dot { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 50%; border: 1px solid #28334270; background: var(--dot); }
.an-zh .lawn { --dot: #a8c88f; } .an-zh .bed { --dot: #eeb266; } .an-zh .building { --dot: #a5aab7; } .an-zh .water { --dot: #69bde8; }
.an-zh .workflow { background: #edf3fa; }
.an-zh .workflow p { margin: 0; font-size: .92rem; }
.an-zh .drawing-status { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 12px; margin-bottom: 5px; font-size: .88rem; }
.an-zh .drawing-status .muted:empty { display: none; }
.an-zh #draftActions,.an-zh #reference { margin-top: 8px; }
.an-zh #meters { width: 120px; min-height: 44px; border: 1px solid #899bad; padding: 6px 8px; border-radius: 7px; }
.an-zh #notice:not(:empty) { color: #754015; margin-top: 6px; font-weight: 600; }
.an-zh .work { display: grid; grid-template-columns: minmax(0, 1fr) 248px; }
.an-zh .drawing { min-width: 0; }
.an-zh #board { display: block; width: 100%; height: clamp(315px, 53vh, 620px); background: #f4f8fa; touch-action: none; user-select: none; }
.an-zh #board[data-mode="pan"] { cursor: grab; }
.an-zh #board:not([data-mode="pan"]):not([data-mode="select"]) { cursor: crosshair; }
.an-zh #board[data-mode="select"] [data-id] { cursor: move; }
.an-zh .view-tools { padding: 8px 12px; border-top: 1px solid var(--line); }
.an-zh .view-tools button { min-width: 44px; }
.an-zh .editing-tools { padding-top: 0; border-top: 0; }
.an-zh #measurement { margin: 0; padding: 8px 12px; color: var(--navy); font-weight: 600; }
.an-zh .view-tools label { display: flex; align-items: center; min-height: 44px; font-size: .88rem; gap: 5px; }
.an-zh .view-tools input { width: 18px; height: 18px; accent-color: var(--blue); }
.an-zh .details { padding: 12px 14px; border-left: 1px solid var(--line); min-width: 0; }
.an-zh .details p { margin: 0 0 6px; }
.an-zh .measure-state { font-weight: 700; color: var(--navy); }
.an-zh .muted { font-size: .85rem; color: #475a6d; }
.an-zh #items { list-style: none; padding: 0; margin: 0 0 8px; max-height: 250px; overflow-y: auto; }
.an-zh #items button { width: 100%; text-align: left; margin-bottom: 4px; }
.an-zh #items small { display: block; font-weight: normal; }
.an-zh .history { margin-top: 12px; }
.an-zh .privacy,.an-zh .help { font-size: .9rem; }
.an-zh .help { margin: 12px 0 28px; }
.an-zh .help summary { cursor: pointer; color: var(--navy); font-weight: 700; }
.an-zh .help li { margin: 5px 0; line-height: 1.4; }
@media (max-width: 720px) {
  .an-zh .frame { width: calc(100% - 24px); }
  .an-zh .top-inner { min-height: 54px; }
  .an-zh .top img { width: 128px; }
  .an-zh .badge { font-size: .74rem; }
  .an-zh .intro { margin: 12px 0; }
  .an-zh .intro .eyebrow { display: none; }
  .an-zh .intro p { font-size: .92rem; }
  .an-zh .files:not(.output) { display: grid; grid-template-columns: 1fr 1.25fr; }
  .an-zh .files:not(.output) button { padding: 5px 6px; }
  .an-zh .work { display: block; }
  .an-zh .details { border: 0; border-top: 1px solid var(--line); }
  .an-zh #board { height: clamp(260px, 40vh, 450px); }
}
.an-zh .actions { padding: 0 12px 8px; border-top: 1px solid var(--line); }

.an-zh .output { border-top: 1px solid var(--line); border-bottom: 0; }
.an-zh #replacePlan { width: min(420px, calc(100% - 32px)); padding: 20px; color: inherit; border: 1px solid var(--line); border-radius: 12px; }
.an-zh #replacePlan::backdrop { background: #0a2a4d66; }
.an-zh #replacePlan h2 { color: var(--navy); font-size: 1.2rem; margin: 0; }
.an-zh .dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.an-zh .send-sketch { padding: 8px 12px; border-top: 1px solid var(--line); background: #edf3fa; }
.an-zh #consultation { width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 18px; color: inherit; border: 1px solid var(--line); border-radius: 12px; }
.an-zh #consultation::backdrop { background: #0a2a4d66; }
.an-zh .consultation-header { display: flex; align-items: start; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.an-zh #consultation h2,.an-zh #consultation h3 { color: var(--navy); margin: 0; }
.an-zh #consultation h2 { font-size: 1.28rem; }
.an-zh #consultation h3 { font-size: 1.03rem; }
.an-zh #consultation p { margin: 6px 0 10px; }
.an-zh .consultation-demo { padding: 9px 10px; border-radius: 6px; background: #edf3fa; font-size: .9rem; }
.an-zh #consultationForm { display: grid; gap: 16px; }
.an-zh #reviewDrawing { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; }
.an-zh #reviewDrawing svg { display: block; width: 100%; height: auto; max-height: 235px; }
.an-zh #consultation summary { cursor: pointer; color: var(--navy); }
.an-zh #reviewItems,.an-zh #reviewFilesList { padding-left: 22px; overflow-wrap: anywhere; }
.an-zh #reviewFilesList li { margin-bottom: 6px; }
.an-zh #reviewFilesList button { margin-left: 6px; }
.an-zh .review-option { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; }
.an-zh .review-option input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.an-zh .review-option small { display: block; color: #475a6d; }
.an-zh .review-fields { display: grid; gap: 5px; }
.an-zh .review-fields label { margin-top: 5px; font-weight: 600; }
.an-zh .review-fields input,.an-zh .review-fields textarea { min-width: 0; min-height: 44px; padding: 7px 9px; font: inherit; border: 1px solid #899bad; border-radius: 6px; }
.an-zh .review-fields textarea { resize: vertical; }
.an-zh .review-submit { border-top: 1px solid var(--line); padding-top: 12px; }
.an-zh .review-error { color: #754015; }
.an-zh .review-fields .review-error:empty { display: none; }
.an-zh .review-fields [aria-invalid="true"] { border-color: #9d4b25; }
.an-zh #consultation p:empty { margin: 0; }
@media (max-width: 500px) {
  .an-zh #consultation { padding: 12px; }
  .an-zh #sendSketch,.an-zh #checkConsultation { width: 100%; }
}
