:root { color-scheme: light; font-family: system-ui, sans-serif; color: #253329; background: #f6f5ef; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1500px; margin: auto; padding: 24px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 6px 0 12px; font-weight: 650; letter-spacing: -.03em; }
p { line-height: 1.5; }
.eyebrow { color: #56745a; font-size: .85rem; letter-spacing: .08em; margin-bottom: 0; }
.notice { background: #ebe6d7; padding: 12px 16px; border-radius: 8px; }
.controls { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding: 18px; background: white; border: 1px solid #d8dfd5; border-radius: 10px; }
.photo-label { display: grid; gap: 8px; flex: 1 1 260px; }
select { padding: 10px; max-width: 100%; }
select, button { font: inherit; color: inherit; background: white; border: 1px solid #b9c8b9; border-radius: 6px; }
button { padding: 9px 13px; cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button:hover:not(:disabled), button[aria-pressed="true"] { background: #e7efe4; border-color: #587259; }
button:focus-visible, select:focus-visible, input:focus-visible, canvas:focus-visible { outline: 3px solid #e08e43; outline-offset: 3px; }
.strength { flex: 1 1 300px; }
.strength label { display: flex; justify-content: space-between; }
input[type="range"] { width: 100%; accent-color: #43664a; margin: 12px 0; }
input[type="checkbox"] { accent-color: #43664a; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { padding: 5px 12px; font-size: .9rem; }
.check { white-space: nowrap; }
.sample-note { color: #586353; font-size: .95rem; }
.workspace { border-radius: 10px; overflow: hidden; background: #ddd; border: 1px solid #d1d8ce; }
canvas { width: 100%; height: auto; display: block; touch-action: pan-y; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0; }
.primary { background: #36583d; border-color: #36583d; color: white; }
.primary:hover:not(:disabled) { background: #27492f; }
#status { color: #586353; font-size: .9rem; }
details { padding: 16px; border: 1px solid #d8dfd5; border-radius: 8px; background: white; }
summary { cursor: pointer; }
footer { font-size: .85rem; color: #65705f; margin-top: 24px; }
@media (max-width: 650px) { main { padding: 14px; } .controls { gap: 16px; padding: 14px; } }
