
:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#222b29;background:#fafbf9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #81bb5b;outline-offset:3px}button{border:0} .sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#f1f3ed;border-right:1px solid #e2e5df;padding:32px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:9px;font-size:30px;font-weight:750;letter-spacing:-1.5px}.logo{display:inline-flex;align-items:center;justify-content:center;background:#d5f49a;color:#294726;border-radius:12px;width:37px;height:37px;font-size:33px;font-weight:800;line-height:1;transform:rotate(-8deg)}.beta{font-size:9px;letter-spacing:1px;border:1px solid #cbd1c5;border-radius:4px;padding:3px 5px;margin-left:5px;color:#70796b}.workspace{display:flex;align-items:center;gap:10px;margin:42px 0 36px;font-size:12px;font-weight:600}.avatar{display:grid;place-items:center;background:#e0e7d6;border:1px solid #cfd9c3;border-radius:10px;width:35px;height:35px}.workspace small{display:block;font-size:9px;font-weight:400;margin-top:5px;color:#81877c}.nav-label,.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:650;color:#8b9184}.nav{display:flex;align-items:center;gap:10px;margin-top:14px;padding:13px;border-radius:8px;font-size:13px}.nav.active{background:#e3ebd9;color:#344b2d}.nav b{margin-left:auto;font-size:11px;background:#d4dfc8;border-radius:5px;padding:3px 6px}.sidebar-bottom{margin-top:auto;padding:24px 9px;color:#57604f;font-size:12px}.tip-icon{font-size:24px;color:#6d8259;margin-bottom:14px}.sidebar-bottom p{line-height:1.8;color:#87907d}.key,kbd{border:1px solid #d5dbce;background:#f7f8f3;padding:3px 6px;border-radius:4px;font-family:inherit;font-size:10px}.sidebar-bottom small{display:block;margin-top:12px;font-size:10px;color:#88917f}.connected{border-top:1px solid #dfe3d8;padding-top:23px;font-size:9px;color:#8a9282}.connected i{display:inline-block;width:6px;height:6px;border-radius:100%;background:#8eab6a;margin-right:5px}main{margin-left:250px}header{height:83px;border-bottom:1px solid #e8eae4;display:flex;justify-content:space-between;align-items:center;padding:0 46px}.breadcrumb{font-size:12px;color:#5f695c}.breadcrumb span{margin:0 17px;color:#bdc4b5}.subtle{background:transparent;color:#78816f;font-size:12px;padding:9px}.subtle span{margin-left:12px}.content{max-width:1450px;margin:auto;padding:45px 46px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:9px;color:#7f9271}h1{font-size:39px;letter-spacing:-1.7px;font-weight:600;margin:12px 0}h1 span{color:#8eb56a}.heading p{font-size:13px;color:#92998c;margin:0}.primary,.secondary,.danger{padding:13px 18px;border-radius:7px;font-size:12px;font-weight:600}.primary{background:#d4f49c;color:#2a4221;box-shadow:0 2px 2px #24301c09;border:1px solid #c0e586}.primary span{font-size:18px;margin-right:6px}.secondary{background:#eff2e9;color:#46513d;border:1px solid #dce2d4}.danger{background:#a93632;color:white}.capture-banner{display:flex;align-items:center;gap:17px;border:1px dashed #d1dcc3;border-radius:10px;background:#f3f6ed;padding:23px;margin:32px 0}.banner-icon{display:grid;place-items:center;width:42px;height:42px;background:#e5eed9;border-radius:12px;font-size:24px;color:#799063}.capture-banner strong{font-size:13px;font-weight:600}.capture-banner p{font-size:11px;color:#8a957e;margin:8px 0 0}.format{margin-left:auto;font-size:10px;color:#9aa38f}.toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4e8df;gap:15px;margin-bottom:25px}.tab{background:none;padding:14px 1px 17px;font-size:12px;color:#44563a;border-bottom:2px solid #7e9b61}.tab span{background:#e9eedf;color:#7f8c72;padding:2px 6px;border-radius:4px;font-size:10px;margin-left:8px}.filters{display:flex;gap:13px;align-items:center;padding-bottom:10px}.search{display:flex;align-items:center;border:1px solid #e4e7df;background:white;border-radius:6px;padding:8px 10px;gap:7px;color:#9ca591}.search input{background:transparent;border:0;outline:0;font-size:11px;width:150px;color:#46513d}.filters select{border:1px solid #e3e6df;border-radius:6px;padding:9px;font-size:11px;color:#737f69;background:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:white;border:1px solid #e3e7dc;border-radius:10px;overflow:hidden;transition:box-shadow .2s,transform .2s}.card:hover{box-shadow:0 7px 24px #3443220d;transform:translateY(-2px)}.preview{height:190px;display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#f0f2ed 0% 25%,#e8ece3 0% 50%) 50% / 18px 18px;border-bottom:1px solid #e7eadf;padding:15px}.preview img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 2px 9px #29302215}.card-info{padding:16px}.card h3{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 9px}.meta{font-size:10px;color:#a0a793;display:flex;justify-content:space-between}.card-actions{display:flex;gap:8px;margin-top:15px}.copy{flex:1;background:#f3f6ed;color:#6c8059;border:1px solid #e2e9d9;padding:8px;font-size:10px;border-radius:5px}.remove{background:transparent;color:#969d90;padding:8px;font-size:10px}.empty{text-align:center;padding:63px 20px 85px}.empty-icon{font-size:35px;color:#849b6e;background:#eff4e6;border:1px solid #dce6ce;border-radius:18px;width:75px;height:75px;display:grid;place-items:center;margin:auto}.empty h2{font-size:22px;letter-spacing:-.6px;font-weight:550;margin:23px 0 12px}.empty p{font-size:12px;color:#929b87;line-height:1.9;margin-bottom:23px}footer{display:flex;justify-content:space-between;margin-top:28px;border-top:1px solid #e5e9df;padding-top:23px;font-size:10px;color:#a1a993}.tiny-logo{font-size:17px;font-weight:800;margin-left:9px;color:#8b9e78}dialog{border:1px solid #dce4d0;border-radius:16px;padding:32px;width:440px;max-width:calc(100% - 30px);color:#34432b;box-shadow:0 20px 80px #18211230}dialog::backdrop{background:#202c2459;backdrop-filter:blur(4px)}dialog h2{letter-spacing:-.6px;font-size:25px}dialog p{font-size:13px;color:#839079;line-height:1.6}dialog label{display:block;font-size:12px;margin:20px 0 8px}dialog input{width:100%;padding:12px;border:1px solid #cbd7bd;border-radius:6px}dialog .hint{font-size:11px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#status{font-size:12px;color:#71825f;margin:12px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#2d3c26;color:#f2f8e9;padding:14px 22px;border-radius:9px;font-size:13px;box-shadow:0 5px 30px #25351c20;display:none;z-index:5}#drop-overlay{position:fixed;inset:14px;z-index:10;background:#eaf5dcf2;border:3px dashed #95b76f;border-radius:20px;align-items:center;justify-content:center;flex-direction:column;font-size:28px;color:#57743d;pointer-events:none}#drop-overlay:not([hidden]){display:flex}#drop-overlay small{font-size:14px;margin-top:15px}.share-body{background:#f3f5ef}.share-header{padding:25px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dde4d4}.share-header .brand{font-size:25px}.share-content{margin:35px auto;max-width:1200px;padding:0 25px;text-align:center}.shared-image{max-width:100%;max-height:75vh;border-radius:7px;box-shadow:0 12px 50px #26371817}.share-note{color:#939e88;font-size:12px;margin:25px}.share-actions{display:flex;gap:12px;align-items:center} [hidden]{display:none!important}@media(min-width:1600px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:210px;padding:25px 16px}main{margin-left:210px}.content{padding:35px 28px}header{padding:0 28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.format{display:none}}@media(max-width:720px){.sidebar{position:relative;width:100%;padding:18px 23px;border-right:0;border-bottom:1px solid #e3e7db}.workspace,.nav-label,.nav,.sidebar-bottom,.connected{display:none}main{margin:0}header{height:60px;padding:0 23px}.content{padding:28px 23px}.heading{align-items:flex-start;flex-direction:column}h1{font-size:34px}.capture-banner{padding:18px;margin:25px 0}.toolbar{align-items:flex-start;flex-direction:column;gap:10px}.filters{width:100%}.search{flex:1}.search input{width:100%}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preview{height:130px}.card-info{padding:12px}.meta{flex-direction:column;gap:5px}footer{gap:15px}.share-header{padding:20px}.share-actions{gap:5px}}@media(max-width:420px){.grid{grid-template-columns:1fr}}
/* Capture editor */
.card-actions .edit{background:#e8f3da;color:#496735;border:1px solid #d8e8c8;padding:8px;font-size:10px;border-radius:5px}
.editor-dialog{width:min(1400px,calc(100% - 28px));height:min(900px,calc(100% - 28px));max-width:none;padding:0;overflow:hidden;background:#f8faf5}
.editor-head{height:76px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe5d8}
.editor-head h2{margin:5px 0 0;font-size:22px}.editor-close{font-size:29px;color:#73806b;background:transparent;padding:5px 12px}
.editor-tools{min-height:66px;padding:10px 18px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #dfe5d8;background:white;flex-wrap:wrap}
.editor-tools label{display:flex;align-items:center;gap:8px;margin:0;font-size:11px;color:#6d7767}
.editor-tools input[type=range]{width:110px;padding:0;border:0;accent-color:#7fa05d}.editor-tools input[type=color]{width:38px;height:34px;padding:3px;border-radius:6px;background:white}
.editor-tools #editor-text{width:220px;padding:8px}.editor-tools output{min-width:38px;color:#8a9383}
.tool-choice{display:flex;background:#edf1e8;border-radius:7px;padding:3px}.editor-tool{background:transparent;padding:8px 12px;border-radius:5px;color:#738068}
.editor-tool.selected{background:white;color:#334b29;box-shadow:0 1px 5px #3542261c}.editor-history{margin-left:auto;display:flex}
.canvas-stage{height:calc(100% - 214px);min-height:200px;overflow:auto;display:grid;place-items:center;padding:22px;background:repeating-conic-gradient(#edf0e9 0% 25%,#e5e9e1 0% 50%) 50% / 20px 20px}
.canvas-stage canvas{display:block;max-width:100%;max-height:100%;box-shadow:0 10px 38px #24301c30;background:white;cursor:crosshair;touch-action:none}.canvas-stage canvas.text-cursor{cursor:text}
.editor-footer{height:72px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dfe5d8;background:white}
.editor-footer>span{font-size:11px;color:#7c8874}.editor-footer>div{display:flex;gap:10px}
.share-edit{display:inline-flex;margin:0 auto 30px;align-items:center;justify-content:center}
.canvas-stage canvas.draw-cursor{cursor:none}.brush-preview{position:fixed;z-index:10002;border:1px solid #fff;outline:1px solid #23301f80;border-radius:50%;opacity:.72;pointer-events:none;transform:translate(-50%,-50%)}
.inline-text-editor{position:fixed;z-index:10003;width:260px;min-height:1.4em;padding:2px 5px!important;overflow:hidden;resize:none;border:1px dashed currentColor!important;border-radius:3px!important;background:#ffffffd9;font-weight:600;line-height:1.2;transform:translateY(-2px)}
@media(max-width:720px){.editor-dialog{height:calc(100% - 12px);width:calc(100% - 12px)}.editor-tools{gap:8px}.editor-tools label{flex:1 1 180px}.editor-history{margin-left:0}.canvas-stage{height:calc(100% - 290px);padding:10px}.editor-footer{height:auto;min-height:72px;align-items:flex-start;flex-direction:column}.editor-footer>div{align-self:stretch}.editor-footer button{flex:1}}
