*{box-sizing:border-box}body{margin:0;background:#f6f8fb;color:#24364c;font-family:Inter,system-ui,sans-serif}.site-layout .poster-main{max-width:none!important;width:auto!important;margin:0!important;padding:24px!important}button,input,textarea{font:inherit}button,.button,.upload{border:1px solid #dbe4ed;border-radius:9px;padding:11px 14px;background:white;color:#24364c;cursor:pointer;text-decoration:none;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:hover,.button:hover,.upload:hover{background:#eef5fb;border-color:#9ebad0}button:disabled{opacity:.5;cursor:wait}.primary{background:#243d59!important;color:white!important;border-color:#243d59!important}header.poster-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}h1{font-size:23px;letter-spacing:-.6px;margin:0 0 7px}header p{font-size:13px;color:#718197;margin:0}.header-actions{display:flex;gap:8px;flex-wrap:wrap}.workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.tools{background:white;border:1px solid #e1e8ef;border-radius:14px;padding:18px;position:sticky;top:18px;max-height:calc(100vh - 40px);overflow:auto}.tools h2{font-size:15px;margin:0 0 14px}.templates{display:grid;grid-template-columns:1fr 1fr;gap:10px}.templates button{padding:5px;display:block;font-size:10px;text-align:left;line-height:1.4}.templates button[aria-pressed=true]{border-color:#4590be;box-shadow:0 0 0 1px #4590be}.templates img{width:100%;height:116px;object-fit:contain;display:block;background:#f7f9fb;margin-bottom:5px}.tool-actions{display:grid;gap:9px;margin-top:20px}.upload input{display:none}.help{font-size:12px;color:#718197;line-height:1.6}.stage-area{min-width:0;text-align:center}.poster-wrap{margin:0 auto;position:relative;box-shadow:0 8px 35px #1f344719;background:white}.poster{position:relative;width:500px;overflow:hidden;transform-origin:top left;background:#fff;text-align:left}.poster-node{position:absolute;margin:0;padding:0;border:0;white-space:pre-wrap;text-decoration:none;display:block;overflow-wrap:break-word}.poster-node[contenteditable]{outline:none;cursor:text}.poster-node[contenteditable]:hover{outline:1px dashed #4086b6}.poster-node[contenteditable]:focus{outline:2px solid #4086b6;background-color:#ffffff20!important}.poster-node[data-image=company-logo]{cursor:pointer}#status{font-size:13px;min-height:20px;margin:12px 0;color:#63778c}.edit-field{border-top:1px solid #e5ebf1;margin-top:18px;padding-top:14px}.edit-field label{font-size:12px;display:block;margin:8px 0}.edit-field textarea{width:100%;min-height:100px;resize:vertical}.edit-field input{width:80px}input,textarea{border:1px solid #d7e2ed;border-radius:8px;padding:10px;color:#24364c;background:#fff}dialog{border:1px solid #e0e7ef;border-radius:18px;width:min(550px,calc(100% - 30px));padding:28px;color:#24364c;box-shadow:0 24px 100px #142c4333}dialog::backdrop{background:#18304766;backdrop-filter:blur(4px)}dialog h2{margin:0 40px 22px 0;font-size:22px}dialog label{display:block;font-size:13px;margin:16px 0}dialog input{display:block;width:100%;margin-top:8px}.close{position:absolute;top:17px;right:17px;width:34px;height:34px;padding:7px;border-radius:50%}.close svg{width:18px;height:18px}#saved-list{display:grid;gap:8px;margin-top:16px}#saved-list button{justify-content:space-between;text-align:left}#public-link{overflow-wrap:anywhere;font-size:13px}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap}.preview .workspace{display:block}.preview .tools{display:none}.preview .poster-header{max-width:900px;margin:0 auto 20px}[hidden]{display:none!important}body.public{padding:24px}.public .poster-wrap{width:min(500px,100%);aspect-ratio:var(--ratio);overflow:hidden}.public .poster{transform:scale(var(--scale,1))}.public footer{text-align:center;margin:18px}
@media(max-width:900px){.workspace{grid-template-columns:230px minmax(0,1fr);gap:16px}.site-layout .poster-main{padding:18px!important}header.poster-header{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.site-layout .poster-main{padding:76px 14px 20px!important}.workspace{display:flex;flex-direction:column}.tools{position:static;width:100%;max-height:none}.templates{grid-template-columns:repeat(3,1fr)}.templates img{height:90px}.stage-area{width:100%}.tool-actions{grid-template-columns:1fr 1fr}.help{margin:10px 0}.poster-header h1{font-size:21px}}
@media print{body,body.site-layout{padding:0!important;margin:0!important;background:white!important}body>*:not(.poster-main){display:none!important}.site-layout .poster-main{padding:0!important;margin:0!important}.poster-header,.tools,#status,dialog,footer{display:none!important}.workspace{display:block}.poster-wrap{box-shadow:none;margin:0 auto}.poster-node[contenteditable]{outline:none!important}.poster{-webkit-print-color-adjust:exact;print-color-adjust:exact}@page{margin:0;size:132.3mm 165.4mm}}

.poster-mobile-header{display:none}@media(max-width:900px){body>.poster-mobile-header{display:flex;position:fixed;top:0;left:0;right:0;z-index:50;height:56px;padding:8px 16px;gap:12px;align-items:center;background:white;border-bottom:1px solid #e1e8ef}.site-layout .poster-main{padding-top:76px!important}}

.library-view .workspace,.library-view #save,.library-view #mine,.library-view #use{display:none!important}.library-view #library{display:block!important}.library-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 12px}#library-status{font-size:13px;color:#687c90;margin:16px 0 20px}#library-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.saved-poster{background:white;border:1px solid #dfe7ef;border-radius:12px;padding:24px}.saved-poster h2{font-size:18px;line-height:1.45;margin:0 0 10px;overflow-wrap:anywhere}.saved-poster p{font-size:12px;color:#758497;margin:0 0 24px}.saved-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:650px){#library-list{grid-template-columns:1fr}.saved-poster{padding:20px}}
