.line-controls h2{font-size:28px;margin-top:0}.line-controls>button{width:100%;margin-top:14px}.line-controls>label{font-weight:500}.line-controls .check{display:flex;align-items:flex-start;gap:9px;line-height:1.6}.line-controls .check input{flex-shrink:0}.line-editor .connection-help{padding:18px;background:#f1efe5;border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.connection-help p{font-size:13px;margin:8px 0}.connection-help button{margin-right:10px}.needs-connection{color:#922541}.connected-ok{color:#1b6848}.zoom-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.zoom-tools button[aria-pressed=true]{background:var(--green);color:white}#drawing-viewport{height:560px;overflow:auto;position:relative;background:#e9e8e0;border:1px solid var(--line);overscroll-behavior:contain}.line-editor #line-canvas{max-width:none;border:0;display:block;cursor:none;object-fit:initial}.line-editor #line-canvas.pan-view{cursor:grab}.line-editor #loose-overlay{position:absolute;top:0;left:0;max-width:none;border:0;pointer-events:none;display:block;background:transparent}#brush-cursor{position:fixed;pointer-events:none;border-radius:50%;outline:1px solid #111;box-shadow:0 0 0 2px white;transform:translate(-50%,-50%);z-index:10000}#brush-cursor.erase-cursor{outline-color:#a02541}#line-3d-dialog{width:min(1050px,96vw);max-width:1050px;max-height:94vh;overflow:auto;padding:22px;background:var(--paper);color:var(--green);border:1px solid var(--line);border-radius:12px}#line-3d-dialog::backdrop{background:#102c26b3}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.preview-heading h2{margin:0;font-size:32px}.preview-heading button{font-size:24px;border:0}#line-3d-viewport{height:min(60vh,600px);min-height:290px;width:100%;margin-top:15px}#line-3d-viewport canvas{width:100%;height:100%;display:block;touch-action:none}@media(max-width:800px){.line-editor{order:1!important}.line-layout{gap:20px}.line-controls{order:0}#drawing-viewport{height:440px}.connection-help button{margin-bottom:8px}#line-3d-dialog{padding:15px}}
.line-editor #bridge-overlay{position:absolute;top:0;left:0;max-width:none;border:0;pointer-events:none;background:transparent;display:block}.editor-shortcuts{margin:14px 0;padding:12px 15px;border:1px solid var(--line);border-radius:7px}.editor-shortcuts summary{cursor:pointer;font-weight:600}.editor-shortcuts p{font-size:12px;line-height:1.9}kbd{font:11px inherit;display:inline-block;padding:1px 5px;border:1px solid #aeb5ab;border-radius:4px;background:#fffefa;color:var(--green)}.line-tools button[aria-pressed=true] kbd,.zoom-tools button[aria-pressed=true] kbd{background:#284d42;color:white;border-color:#6c8f81}

#support-overlay{position:absolute;top:0;left:0;pointer-events:none!important;background:transparent!important;border:0!important;max-width:none!important}

.line-art-designer .line-example,.line-art-designer .photo-guide{display:none}.designer-guide-link{font-size:14px;margin:16px 0}.line-art-designer .line-layout{margin-top:20px}

.line-brush-presets{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.line-brush-presets button{min-height:40px;padding:8px 14px;border:1px solid #bfcdb7;border-radius:8px;background:#fafbf5;color:#173f32}.line-brush-presets button[aria-pressed=true]{background:#173f32;color:#fff}#brush-width-output{display:inline-block;margin:0 10px;font-size:13px;font-weight:700}

/* Give the drawing the full content width; keep the longer checks below it. */
.line-guided .journey-editor-split{display:flex;flex-direction:column}.line-guided .journey-edit-area{order:0;width:100%}.line-guided .journey-editor-assistance{order:1;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:14px}.line-guided .journey-edit-area #drawing-viewport{height:min(76vh,900px);min-height:400px}
.line-editor-expanded{overflow:hidden}#line-editor-focus{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:16px;border:0;border-radius:0;background:var(--paper,#faf8f0);color:var(--green,#123e33)}#line-editor-focus::backdrop{background:#faf8f0}
#line-editor-focus[open]>.line-editor{display:flex;flex-direction:column;height:100%;margin:0;padding:0;width:100%;min-height:0}#line-editor-focus .journey-editor-title,#line-editor-focus .journey-actions{display:none}#line-editor-focus .journey-editor-split{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;margin:0;gap:12px}#line-editor-focus .journey-edit-area{display:flex;flex-direction:column;min-height:0;grid-column:1;grid-row:1}#line-editor-focus .journey-editor-assistance{display:none}#line-editor-focus.show-drawing-checks .journey-editor-split{grid-template-columns:minmax(0,1fr)240px}#line-editor-focus.show-drawing-checks .journey-editor-assistance{display:block;grid-column:2;grid-row:1;overflow:auto;min-height:0}
#line-editor-focus #drawing-viewport{flex:1;height:auto!important;min-height:160px}#line-editor-focus .journey-edit-area>p,#line-editor-focus .editor-shortcuts,#line-editor-focus .zoom-tools,#line-editor-focus .line-tools,#line-editor-focus .line-brush-presets{margin:3px 0}#line-editor-focus #line-summary{max-height:44px;overflow:auto}#line-editor-focus #show-line-3d{margin:6px 0 0 auto;padding:9px 16px}#line-editor-focus .journey-edit-area>details:not(.editor-shortcuts),#line-editor-focus .journey-edit-area>a{display:none}
@media(max-width:700px){.line-guided .journey-editor-assistance{grid-template-columns:1fr}#line-editor-focus{padding:8px}#line-editor-focus.show-drawing-checks .journey-editor-split{grid-template-columns:minmax(0,1fr)}#line-editor-focus.show-drawing-checks .journey-editor-assistance{grid-column:1;grid-row:2;max-height:30vh}#line-editor-focus .journey-edit-area>p{font-size:10px}#line-editor-focus .journey-edit-area #brush-size{display:inline-block;margin:0;max-width:150px}}

.line-brush-settings{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.line-brush-settings label{font-size:12px}.line-brush-settings #brush-size{margin:0;max-width:220px}.line-brush-settings .line-brush-presets{margin:0}
#line-editor-focus{overflow:hidden}#line-editor-focus .journey-editor-split{grid-template-rows:minmax(0,1fr)}#line-editor-focus .journey-edit-area{overflow:hidden}#line-editor-focus .line-brush-settings{margin:4px 0;flex-shrink:0}#line-editor-focus .line-brush-settings label{font-size:11px}#line-editor-focus .line-brush-presets button{min-height:32px;padding:5px 10px}#line-editor-focus .editor-shortcuts{padding:5px 12px;flex-shrink:0}#line-editor-focus .journey-edit-area>p{flex-shrink:0}
@media(max-width:700px){#line-editor-focus.show-drawing-checks .journey-editor-split{grid-template-rows:minmax(0,1fr)minmax(0,30vh)}}

.line-guided .journey-editor-assistance{order:-1}
