:root{--bg:#f5f4f0;--card:#fff;--text:#292d29;--muted:#777c72;--line:#e3e5dd;--accent:#596f48;--tint:#edf0e7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body.dark{--bg:#20231f;--card:#292e28;--text:#f2f2ea;--muted:#b1b7ab;--line:#444b40;--accent:#a6bf8b;--tint:#384431}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b6926d;outline-offset:4px}button{border:0;background:none;color:inherit}button:disabled,fieldset:disabled{opacity:.5;cursor:default}header{max-width:1370px;margin:auto;padding:28px 5%;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--text);font-size:29px;font-weight:650;letter-spacing:-1.5px}.dot{color:var(--accent)}.logo{display:inline-flex;background:var(--accent);color:var(--bg);width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;font-size:27px;vertical-align:middle;margin-right:8px}.tag{margin-left:auto;color:var(--muted);font-size:10px;letter-spacing:1.8px}.quiet{font-size:13px;padding:8px;color:var(--muted)}main{max-width:1210px;padding:0 36px;margin:auto}.intro{padding:54px 0 36px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--accent)}h1{font-family:Georgia,serif;font-size:clamp(36px,4.4vw,57px);font-weight:400;letter-spacing:-2px;line-height:1.08;margin:17px 0}.intro p{line-height:1.7;font-size:15px;color:var(--muted);margin:0}.workspace{display:grid;grid-template-columns:1.35fr 1fr;gap:64px;align-items:start}.preview-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:14px}.preview-top i{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:5px}.device{position:relative;overflow:hidden;border-radius:15%;background:linear-gradient(145deg,#d2d6c9,#b9bdad 48%,#e1d7c4);aspect-ratio:1;box-shadow:0 18px 48px #242b1f12;border:8px solid var(--card)}canvas{width:100%;height:100%;display:block;touch-action:manipulation}#empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;color:#374333;background:radial-gradient(ellipse at 40% 25%,#e5e6d8a0,transparent)}#empty h2{font:26px Georgia,serif;max-width:220px}#empty p{font-size:13px;max-width:220px;line-height:1.6;margin:0 0 20px}#empty small{font-size:10px;margin-top:15px}.empty-icon{font-size:50px;opacity:.6}.primary{background:#566c45;color:white;border-radius:12px;padding:15px 24px;font-weight:600;font-size:14px}.caption{text-align:center;color:var(--muted);font-size:12px;margin:22px 0}aside{border:1px solid var(--line);border-radius:22px;background:var(--card);padding:26px 28px}.panel-head{display:flex;align-items:center;justify-content:space-between}.panel-head h2{font:26px Georgia,serif;margin:0}#status{font-size:12px;line-height:1.6;color:var(--muted);min-height:20px;margin:13px 0 18px}fieldset{padding:0;margin:0;border:0;min-width:0}.label{display:flex;gap:12px;font-size:11px;color:var(--muted);padding-top:24px;margin-bottom:14px}.label:first-child{padding-top:0}.label span{font-size:13px;color:var(--text);font-weight:650}.segmented{display:flex;padding:4px;border-radius:10px;background:var(--bg);gap:4px}.segmented button{flex:1;font-size:12px;padding:10px 5px;border-radius:7px}.segmented .active{background:var(--card);box-shadow:0 1px 5px #0001;color:var(--accent);font-weight:650}.help{font-size:11px;line-height:1.6;color:var(--muted)}.slider-label{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin:15px 0 9px}output{color:var(--muted);font-size:11px}input[type=range]{width:100%;accent-color:var(--accent);height:4px;margin:8px 0}input[type=color]{width:33px;height:24px;border:1px solid var(--line);padding:1px;border-radius:5px;background:none}.styles{display:flex;gap:9px}.styles button{flex:1;border:1px solid var(--line);border-radius:10px;padding:7px;font-size:10px}.styles button.active{border:1.5px solid var(--accent);background:var(--tint)}.swatch{display:block;height:38px;border-radius:5px;margin-bottom:6px}.blur{background:radial-gradient(ellipse at 15% 100%,#8e9b72,transparent),linear-gradient(115deg,#b7c1a5,#dbbe9a,#6f7c5c)}.gradient{background:linear-gradient(140deg,#cbd4b6,#e3c9b3)}.solid{background:#b6a699}details{margin-top:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}summary{font-size:12px;cursor:pointer}.export-options{display:flex;gap:8px}select{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:11px;font-size:12px}#format{width:85px}.download,.secondary{width:100%;margin-top:12px}.secondary{border:1px solid var(--line);padding:12px;border-radius:10px;font-size:12px}.export-note{text-align:center;margin-bottom:0}footer{display:flex;justify-content:space-between;padding:40px 0;font-size:11px;color:var(--muted);gap:20px}#filmstrip{display:flex;gap:10px;overflow:auto;padding:5px}#filmstrip button{padding:3px;border:2px solid transparent;border-radius:10px;flex-shrink:0}#filmstrip button.active{border-color:var(--accent)}#filmstrip img{display:block;object-fit:cover;width:64px;height:64px;border-radius:6px}@media(max-width:760px){header{padding:20px}.tag{display:none}#theme{margin-left:auto}main{padding:0 20px}.intro{padding:35px 0 25px}.workspace{grid-template-columns:1fr;gap:25px}.preview-column{max-width:540px;width:100%;margin:auto}aside{padding:24px}.intro h1{letter-spacing:-1px}footer{flex-direction:column;gap:10px}} 
