:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#243b36;background:#f7f8f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:8px;padding:13px 19px;background:#244d40;color:white;font-weight:600}button:hover{filter:brightness(.95)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a5ba54;outline-offset:3px}[hidden]{display:none!important}header{height:96px;border-bottom:1px solid #dfe5dc;display:flex;align-items:center;gap:28px;padding:0 6vw}.brand{font-size:37px;font-weight:850;letter-spacing:-1.8px;white-space:nowrap;color:#244d40;text-decoration:none}.brand .dot{color:#9eae59}.tag,.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px}header #account{margin-left:auto;display:flex;gap:16px;align-items:center;font-size:13px}main{max-width:1200px;margin:auto;padding:58px 28px 80px}.intro{margin-bottom:44px}.eyebrow{color:#758551}h1{font-size:clamp(38px,5vw,64px);letter-spacing:-2.8px;line-height:1.08;font-weight:650;margin:20px 0}h1 span{color:#809260}.intro p,p{color:#77817b;line-height:1.7;font-size:14px}h2{font-size:23px;letter-spacing:-.6px;margin:12px 0}h3{overflow-wrap:anywhere}.section-title{display:flex;justify-content:space-between;align-items:center;margin:22px 0}.section-title>span{font-size:10px;letter-spacing:1.7px;color:#879185}.modes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.mode{text-align:left;background:#fff;color:#34463b;border:1px solid #e0e5db;padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:14px;position:relative}.mode.selected{background:#eef2df;border-color:#82985b;box-shadow:inset 0 0 0 1px #82985b}.mode.selected:after{content:'✓';position:absolute;right:20px;top:23px;color:#667d3c}.mode strong{font-size:17px}.mode>span:not(.icon){color:#778175;font-size:13px;font-weight:400;line-height:1.6}.mode small{font-size:9px;letter-spacing:1.2px;color:#748361;margin-top:8px}.icon{font-size:25px;color:#6c854b}.panel{background:#fff;border:1px solid #e0e5db;border-radius:12px;padding:24px}.drop{min-height:248px;border:1.5px dashed #c6d0bb;border-radius:8px;background:#fbfcf8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;cursor:pointer;position:relative}.drop.drag{background:#eef2df;border-color:#244d40}.drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.drop:focus-within{outline:3px solid #a5ba54}.upload-icon{background:#eef2e4;padding:9px 17px;font-size:27px;border-radius:12px;color:#647a47}.drop strong{font-size:18px}.drop>span:not(.upload-icon){font-size:13px;color:#818a7c}.drop small,small{font-size:11px;color:#899181}.library-title{margin-top:48px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}input:not([type=checkbox]):not([type=file]):not([type=range]){border:1px solid #dce2d5;padding:12px;border-radius:7px;min-width:0;background:#fcfdf9;color:#35463b}input[type=range]{width:100%;accent-color:#607d45}label{display:block;font-size:13px;color:#62705f}label input:not([type=checkbox]){display:block;margin-top:8px;width:100%}.secondary{background:#eef1e8;color:#455a3a}.text-button{background:none;color:#697b5d}.auth{display:grid;grid-template-columns:1fr 1fr;gap:40px}.auth form{display:grid;gap:18px}.editor-layout{display:grid;grid-template-columns:1fr 1fr;gap:36px}.canvas-wrap{background:#e9ede2;border-radius:8px;padding:20px;display:flex;justify-content:center;align-items:center}canvas{max-width:100%;max-height:480px;width:auto;height:auto;box-shadow:0 6px 24px #182b3020;touch-action:none}.editor-tools{align-self:center}.editor-tools label{margin:18px 0}.notice{color:#947025}.result{margin-top:20px;background:#eef2df}.result .actions{margin:16px 0}.result input{flex:1}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{border:1px solid #e0e5db;border-radius:10px;background:#fff;overflow:hidden}.card img{width:100%;height:170px;object-fit:contain;background:#edf0e8}.card-body{padding:15px}.card h3{font-size:13px;margin:0 0 7px}.card p{font-size:11px;margin:0 0 12px}.card button{padding:8px 10px;font-size:11px}.empty{padding:48px;border:1px dashed #dce2d5;text-align:center;border-radius:10px;color:#88917e}.user-heading{margin-top:28px;font-size:15px}.user-heading span{color:#87917f;font-weight:400}#status:not(:empty){position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:15px 25px;background:#243b36;color:#fff;border-radius:10px;box-shadow:0 5px 30px #0002;max-width:90%;z-index:3}footer{display:flex;align-items:center;justify-content:space-between;padding:24px 6vw;border-top:1px solid #dfe5dc;font-size:11px;color:#89917f}footer .brand{font-size:25px}footer>span:last-child{font-size:9px;letter-spacing:1.4px}@media(max-width:760px){header{height:76px;padding:0 22px}.tag{display:none}header #account{font-size:11px;gap:5px}main{padding:32px 18px}.modes{grid-template-columns:1fr}.mode{padding:18px;gap:8px}.mode .icon{display:none}.auth,.editor-layout{grid-template-columns:1fr;gap:20px}.cards{grid-template-columns:repeat(2,1fr)}.section-title{align-items:flex-start;gap:12px;flex-direction:column}footer>span:last-child{display:none}.intro p br{display:none}}

@media(max-width:760px){header{height:auto;min-height:76px;flex-wrap:wrap;padding:16px 22px;gap:12px}header #account{max-width:100%;flex-wrap:wrap}header #account>span{overflow-wrap:anywhere}}

.guest-notice{margin:28px 0;background:#eef2df}.guest-notice p{margin:8px 0}.guest-notice small{color:#576b48}#guest-result{margin-top:22px;border-top:1px solid #d5ddc1;padding-top:18px}#guest-save-note{font-weight:600}#guest-history-note{max-width:780px}#workspace{scroll-margin-top:24px}

/* Quiet sage and grey surfaces keep white cards distinct without heavy contrast. */
:root{background:#f0f3ee}
header,footer{background:#e9eee7;border-color:#d6dfd2}
.intro p,p{color:#667267}
.panel,.card,.mode{border-color:#d5dfcf}
.panel{box-shadow:0 4px 20px #243b3604}
.auth{background:linear-gradient(110deg,#e8efe2 0%,#f4f7ef 50%,#fff 100%)}
.auth input:not([type=checkbox]){background:#fff}
.mode{background:#fafcf8;transition:background-color .18s,border-color .18s}
.mode:hover{background:#f2f6ed}
.mode.selected,.mode.selected:hover{background:#e2ecd7;border-color:#82985b}
.drop{background:#f0f5eb;border-color:#b9c9ac}
.drop.drag{background:#e1ebd5}
.upload-icon{background:#e1ead7;color:#526c39}
.guest-notice{background:#e8efdf;border-color:#cedcc1;box-shadow:none}
.result{background:#e5eedb;border-color:#cbdaba}
.canvas-wrap,.card img{background:#e7ede2}
.empty{background:#e8ede5;border-color:#cbd6c4;color:#687661}
.secondary{background:#e4ecdc;color:#425a35}
footer{color:#687661}

header{height:auto;min-height:104px;padding-top:18px;padding-bottom:18px;flex-wrap:wrap}.brand-lockup{display:flex;flex-direction:column;gap:3px;flex-shrink:0}.brand-lockup .brand{display:flex;align-items:center;gap:10px;line-height:1.1}.brand-lockup .brand img{flex-shrink:0}.project-credit{font-size:11px;color:#75816f;letter-spacing:.2px;padding-left:42px}.project-credit strong{font-weight:600;color:#4b624e}@media(max-width:760px){header{min-height:90px}.brand-lockup .brand{font-size:32px}.project-credit{font-size:10px}}

.upload-title{margin-bottom:22px;max-width:620px}.upload-title input{display:block;width:100%;margin-top:8px}.upload-title p{font-size:12px;margin:8px 0 0;line-height:1.6}
