@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Tamil:wght@400;600;700;800&display=swap');
:root{--ink:#18202f;--muted:#737b88;--gold:#f3cc48;--line:#e5e7eb;--paper:#f7f8fa;--font:'DM Sans','Noto Sans Tamil',sans-serif}*{box-sizing:border-box}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--paper);font-size:16px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #4679c7;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,'Noto Sans Tamil',sans-serif}h2{font-size:26px;letter-spacing:-.7px}h3{font-size:16px}button{border:0;background:none;color:inherit}.brand{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:.4px;font-weight:800}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#9ea7b7;margin-top:5px}.brandmark{display:inline-flex;align-items:center;justify-content:center;position:relative;width:43px;height:46px;background:var(--gold);color:var(--ink);font-family:Manrope,sans-serif;font-size:32px;border-radius:11px;font-weight:800}.brandmark span{font-size:15px;position:absolute;right:3px;top:0}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:#151d2b;color:#fff;padding:34px 22px;display:flex;flex-direction:column;z-index:3}.sidebar>.button{margin:38px 0 30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;border-radius:9px;font-size:14px;font-weight:700;min-height:46px;white-space:nowrap}.gold{background:var(--gold);color:#18202f}.gold:hover{background:#ffda60}.dark{background:var(--ink);color:white}.outline{border:1px solid #d9dee5;background:white}.outline:hover{background:#f1f3f6}.navlink{width:100%;display:flex;align-items:center;gap:15px;padding:15px 17px;color:#a7b0c0;text-align:left;margin-bottom:7px;border-radius:8px;font-size:18px}.navlink span{font-size:14px;font-weight:600}.navlink.active{color:var(--gold);background:#2a303a}.sidebar-bottom{margin-top:auto;font-size:13px;color:#c1c7d1;line-height:1.7}.sidebar-bottom small{display:block;color:#778195;margin-top:22px;font-size:12px}.free-note{font-size:12px;border-bottom:1px solid #333b49;padding-bottom:20px;margin-bottom:19px}.status-dot{display:inline-block;background:var(--gold);width:6px;height:6px;border-radius:50%;margin-right:5px}.home-main{margin-left:236px;padding:0 48px;max-width:1700px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;margin-bottom:14px}.topbar .eyebrow{margin:0;color:#777f8b}.muted{color:var(--muted)}.quiet-link{font-size:13px;color:#666f7f}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:39px 0 29px}.welcome h1{font-size:46px;letter-spacing:-2.3px;line-height:1.1;margin:0 0 17px;font-weight:800}.welcome h1 em{font-style:normal;color:#929aaa}.welcome p:last-child{font-size:14px;color:#78808f;margin-bottom:0}.start-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:32px}.start-grid>a{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 15px;display:flex;gap:13px;align-items:center}.start-grid>a:hover{border-color:#c6a429;transform:translateY(-2px)}.start-grid strong{display:block;font-size:13px}.start-grid small{color:var(--muted);font-size:11px;display:block;margin-top:6px}.start-grid>a>span:last-child{margin-left:auto;color:#8c94a0;font-size:16px}.size-symbol{display:flex;align-items:center;justify-content:center;font-size:24px;color:#977930;width:30px;height:32px;background:#fff9e4;flex-shrink:0}.size-symbol.square{border:2px solid #c4a447;width:24px;height:24px;margin:4px 3px;border-radius:4px}.size-symbol.portrait{width:20px;height:30px;border:2px solid #8c8db4;margin:0 5px;border-radius:4px;background:#f2f0ff}.size-symbol.wide{width:30px;height:20px;border:2px solid #669e8e;border-radius:4px;background:#ebf7f0}.feature-banner{position:relative;overflow:hidden;background:#1a2638;color:#fff;border-radius:18px;padding:35px 38px;display:flex;justify-content:space-between;min-height:270px}.pill{font-size:10px;letter-spacing:1.8px;padding:7px 11px;border:1px solid #66717b;border-radius:5px;display:inline-block;color:#d9dee7;font-weight:700}.feature-banner h2{font-size:36px;line-height:1.15;margin:19px 0 13px;letter-spacing:-1.3px}.feature-banner p{font-size:13px;color:#aeb9c9;margin-bottom:23px}.type-art{align-self:center;transform:rotate(-8deg);font-size:59px;line-height:.95;letter-spacing:-3px;font-weight:800;font-family:Manrope,sans-serif;color:var(--gold);margin:0 45px 0 15px}.type-art>span{display:block}.type-art>span:first-child{color:transparent;-webkit-text-stroke:1px #8291a7}.type-art small{display:block;font-size:8px;letter-spacing:2px;color:#8f9caf;margin-top:17px}.star{font-size:54px;margin-left:10px;color:#eaf0f9}.gallery-section{padding:36px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading .eyebrow{margin-bottom:9px}.section-heading h2{margin-bottom:18px;font-size:24px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:9px;color:#8c95a3}.search input{border:0;outline:none!important;background:none;font-size:14px;width:205px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.chip{border:1px solid var(--line);background:white;border-radius:22px;font-size:13px;padding:9px 17px}.chip.selected{background:var(--ink);border-color:var(--ink);color:white}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px}.template-card{max-width:350px;text-align:left}.template-preview{background:#e9ecf1;border-radius:14px;overflow:hidden;padding:20px;position:relative}.template-preview canvas{width:100%;height:auto;display:block;box-shadow:0 10px 20px #1112;max-height:360px;object-fit:contain}.template-card:hover .template-preview{background:#dfe4ea}.card-meta{padding:15px 2px;display:flex;justify-content:space-between;gap:10px}.card-meta strong{display:block;font-size:14px;margin-bottom:5px}.card-meta small{font-size:12px;color:var(--muted)}.badge{font-size:10px;color:#657565;background:#edf3eb;border-radius:5px;padding:5px 7px;height:23px;letter-spacing:.6px}.empty-state{padding:45px 25px;border:1px dashed #bcc3ce;border-radius:13px;color:var(--muted);grid-column:1/-1}.home-footer{border-top:1px solid var(--line);padding:22px 0;display:flex;gap:20px;justify-content:space-between;color:var(--muted);font-size:12px}.subtle{font-size:13px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:14px 23px;font-size:14px;z-index:99;box-shadow:0 4px 30px #0002;max-width:90vw;display:none}#toast.visible{display:block}.editor-body{height:100dvh;overflow:hidden;background:#e9edf2}.editor-header{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;padding:0 23px}.editor-header .brandmark{width:37px;height:40px;font-size:27px}.editor-header input{border:0;font-size:14px;font-weight:700;width:190px;padding:9px;border-radius:6px;min-width:60px}.save-status{font-size:12px;color:var(--muted)}.history{display:flex;gap:4px;margin-left:auto;border-right:1px solid var(--line);padding-right:12px}.history button{font-size:26px;width:36px;height:40px}.editor-layout{display:grid;grid-template-columns:240px minmax(200px,1fr) 270px;height:calc(100dvh - 76px)}.tools-panel,.inspector{background:white;overflow:auto;padding:24px 19px}.tools-panel{border-right:1px solid var(--line)}.tools-panel h2{font-size:18px;margin-bottom:22px}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool-grid button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:14px 7px;border:1px solid var(--line);border-radius:9px;font-size:12px}.tool-grid button:hover{background:#fff9e4;border-color:#d9bc5c}.tool-grid b{font-size:25px;line-height:1.2}.tool-section{border-top:1px solid var(--line);margin-top:24px;padding-top:23px}.tool-section h3{font-size:14px;margin-bottom:16px}label{display:block;font-size:12px;font-weight:600;margin-bottom:13px;color:#5d6877}input:not([type=color]):not([type=file]):not([type=checkbox]),select,textarea{max-width:100%}label input:not([type=checkbox]),label textarea,label select{display:block;width:100%;border:1px solid #dfe3ea;border-radius:7px;padding:9px 10px;margin-top:6px;background:white;color:var(--ink);font-size:16px;min-height:40px}label input[type=color]{padding:4px;height:39px;cursor:pointer}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.full{width:100%}.hint{color:#7b8593;font-size:12px;line-height:1.7}.text-action{display:block;text-align:left;padding:10px 0;font-size:13px}.text-action:hover{color:#9a7410}.stage-panel{display:flex;flex-direction:column;min-width:0;padding:18px 26px;overflow:hidden}.stage-top,.stage-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#788390;gap:10px}.stage-top{height:32px}.pill.light{border-color:#cfd6df;color:#758090;font-size:9px}.canvas-wrap{display:flex;justify-content:center;align-items:center;flex:1;min-height:0;min-width:0;padding:25px 0}.canvas-wrap canvas{display:block;box-shadow:0 12px 45px #24354b21;touch-action:none;max-width:100%;max-height:100%;background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;object-fit:contain}.stage-bottom{min-height:30px}.inspector{border-left:1px solid var(--line);padding:0 18px 20px}.inspector-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:23px;position:sticky;top:0;background:white;z-index:2}.inspector-tabs button{width:50%;padding:20px 0 15px;font-size:13px;color:var(--muted);border-bottom:2px solid transparent}.inspector-tabs button[aria-selected=true]{color:var(--ink);border-color:var(--gold);font-weight:700}.empty-properties{text-align:center;padding:65px 10px;color:var(--muted)}.empty-properties>span{font-size:38px;color:#bdc5d0}.empty-properties h3{font-size:16px;color:#667181;margin-top:16px}.empty-properties p{font-size:13px;line-height:1.8}.property-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px}.property-heading h3{margin:0}.small-buttons{display:flex;gap:6px;margin:12px 0;flex-wrap:wrap}.small-buttons button{border:1px solid var(--line);border-radius:6px;min-height:36px;padding:7px 10px;font-size:12px}.small-buttons button:hover{background:#f2f4f7}.checklabel{display:flex;align-items:center;gap:8px;font-size:13px;padding:5px 0}.checklabel input{width:16px;height:16px}.layer-row{display:flex;align-items:center;gap:9px;width:100%;padding:14px 11px;border:1px solid var(--line);border-radius:8px;margin-bottom:8px;text-align:left;font-size:13px}.layer-row.selected{background:#fff8df;border-color:#dec87a}.layer-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-row small{margin-left:auto}.danger{color:#af3e36}dialog{border:1px solid var(--line);border-radius:17px;max-width:460px;width:calc(100% - 32px);padding:28px;box-shadow:0 20px 100px #0003;color:var(--ink)}dialog::backdrop{background:#111b2b88;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-heading h2{font-size:25px;margin:0}.icon-button{font-size:27px;min-width:38px;min-height:38px}dialog p{font-size:14px;color:var(--muted);line-height:1.7}.admin-body{min-height:100vh}.simple-header{background:#151d2b;padding:24px 6%;display:flex;align-items:center;justify-content:space-between;color:#fff}.simple-header a:last-child{font-size:14px;color:#d7ddea}.admin-main{max-width:1050px;margin:42px auto;padding:0 25px}.admin-main h1{letter-spacing:-1px;font-size:34px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:28px;margin-bottom:24px}.login-panel{max-width:470px;margin:55px auto}.admin-grid{display:grid;grid-template-columns:340px 1fr;gap:25px}.admin-item{border-bottom:1px solid var(--line);padding:19px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-item strong{display:block;font-size:15px}.admin-item small{color:var(--muted);font-size:12px}.notice{padding:14px 18px;background:#fff7dc;border:1px solid #edddab;border-radius:9px;font-size:14px;line-height:1.7}.guide{max-width:800px;margin:40px auto;padding:0 25px;line-height:1.9}.guide h2{margin-top:35px}.guide li{margin-bottom:10px}.guide code{background:#e9edf2;padding:3px 7px;border-radius:4px}.guide a{color:#856409;text-decoration:underline}.file-picker{border:1px dashed #a7b0c0;padding:18px;border-radius:8px;background:#f8fafc;font-size:13px}.file-picker input{width:100%;font-size:13px;margin-top:12px}.mobile-only{display:none}[hidden]{display:none!important}
@media(min-width:1500px){.home-main{padding:0 65px}.feature-banner{padding:45px 50px}.type-art{margin-right:100px;font-size:75px}.template-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
@media(max-width:1150px){.sidebar{width:200px;padding:28px 16px}.brand{font-size:14px}.brandmark{width:36px}.home-main{margin-left:200px;padding:0 28px}.start-grid{grid-template-columns:repeat(2,1fr)}.type-art{font-size:48px;margin-right:10px}.feature-banner{padding:28px}.editor-layout{grid-template-columns:190px minmax(180px,1fr) 245px}.tools-panel{padding:23px 13px}.stage-panel{padding:14px}.save-status{display:none}}
@media(max-width:800px){.sidebar{position:static;width:100%;height:auto;padding:17px 22px;flex-direction:row;align-items:center;justify-content:space-between}.sidebar>.button,.sidebar-bottom{display:none}.sidebar nav{display:flex}.navlink{width:auto;padding:10px;margin:0}.navlink span{display:none}.home-main{margin:0;padding:0 23px}.topbar{height:60px}.welcome{padding:27px 0}.welcome h1{font-size:37px}.welcome .button{display:none}.feature-banner h2{font-size:30px}.type-art{font-size:40px;letter-spacing:-2px}.type-art .star{font-size:35px}.feature-banner p{max-width:180px;line-height:1.8}.feature-banner{padding:25px 22px}.section-heading{display:block}.search{margin-bottom:17px}.search input{width:100%}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.template-preview{padding:13px}.home-footer{flex-wrap:wrap;font-size:11px}.editor-body{height:auto;overflow:auto}.editor-header{position:sticky;top:0;z-index:8;padding:10px 12px;height:auto;min-height:65px;gap:7px;flex-wrap:wrap}.editor-header input{width:130px;flex:1;font-size:16px}.editor-header .button{padding:10px;font-size:12px;min-height:39px}.history{margin-left:0;padding-right:0;border:0}.history button{width:26px}.editor-layout{display:flex;flex-direction:column;height:auto}.stage-panel{order:0;height:58dvh;min-height:320px;padding:12px 18px}.tools-panel{order:1;padding:17px 18px;border:0;border-top:1px solid var(--line);overflow:visible}.tools-panel>.eyebrow,.tools-panel>h2{display:none}.tool-grid{grid-template-columns:repeat(4,1fr)}.tool-grid button{padding:9px;gap:3px}.tool-grid b{font-size:20px}.tool-section{display:inline-block;vertical-align:top;width:calc(50% - 10px);margin-top:20px}.tool-section+.tool-section{margin-left:15px}.inspector{order:2;overflow:visible;border-top:1px solid var(--line)}.inspector-tabs{position:static}.empty-properties{padding:20px}.stage-bottom{font-size:10px}.admin-grid{grid-template-columns:1fr}.admin-main{padding:0 18px;margin:25px auto}.simple-header{padding:18px}.panel{padding:21px}}
@media(max-width:430px){.type-art{font-size:31px;margin-right:0}.type-art small{font-size:6px}.feature-banner h2{font-size:26px}.feature-banner .button{font-size:12px;padding:12px}.feature-banner>div:first-child{max-width:60%}.start-grid>a{padding:15px 11px;gap:9px}.start-grid strong{font-size:12px}.start-grid small{font-size:10px}.editor-header #save-draft{order:4}.editor-header #export-open{order:5}.editor-header .history{margin-left:auto}.template-grid{grid-template-columns:1fr 1fr}.card-meta{flex-wrap:wrap}.card-meta strong{font-size:12px}}
