:root{--bg:#f5f6fa;--panel:#fff;--line:#dfe4ec;--muted:#748096;--text:#172338;--green:#2558d9;--soft:#edf2fc;--orange:#ff6b24;--shadow:0 8px 26px #1723380a;--ui:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei","PingFang TC",Arial,sans-serif}body{background:var(--bg);color:var(--text)}.design-loading{min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.camonster-wordmark{font:750 24px var(--ui);letter-spacing:-.7px;display:inline-flex;align-items:center;gap:0;color:#172338;white-space:nowrap;text-decoration:none}.camonster-wordmark span{color:#ff6b24}.btn{background:#fff;border-color:var(--line);min-height:36px;padding:8px 13px;font-weight:500}.btn:hover{background:#f0f4fb}.btn.primary{background:#2558d9;border-color:#2558d9}.btn.primary:hover{background:#204dc0}.btn:focus-visible,.icon-btn:focus-visible{outline:2px solid #2558d9;outline-offset:2px}.btn.small{min-height:32px;padding:6px 10px}.studio-topbar{position:sticky;top:0;z-index:25;height:56px;display:flex;justify-content:space-between;align-items:center;padding:8px 20px;background:#fff;border-bottom:1px solid var(--line);gap:12px}.studio-topbar nav{display:flex;gap:7px}.studio-catalog{max-width:1480px;padding:24px 24px 40px;margin:auto}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.catalog-heading h1{font-size:24px;margin:0;font-weight:650;letter-spacing:-.4px}.studio-nav{display:flex;gap:6px;margin-bottom:16px;border-bottom:1px solid var(--line)}.studio-nav button{padding:10px 14px;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.studio-nav button.active{color:#2558d9;border-bottom-color:#2558d9}.filterbar{margin-bottom:18px}.filter-chip{background:#fff;color:#56657d;border-color:var(--line);padding:7px 12px}.filter-chip.active{background:#2558d9;border-color:#2558d9;color:#fff}.search-box{background:#fff;border-color:var(--line);color:#7c889c;min-width:220px}.template-grid{gap:20px 16px}.template-image{border-color:var(--line);background:#edf0f6!important;border-radius:10px}.template-image:hover{border-color:#bdccee;box-shadow:0 8px 22px #21365410;transform:translateY(-2px)}.template-image .thumb{height:280px}.template-info{padding:10px 2px 0}.template-info h3,.template-info h3 span{font:600 13px var(--ui);letter-spacing:0}.template-overlay .btn{background:#ffffffed}.heart-button.active{color:#2558d9}.heart-button.active .icon{fill:#2558d9}.empty-state{border-color:var(--line);background:#fff;padding:50px 20px}.empty-state h2{font-size:18px}.catalog-more{padding-top:22px;display:flex;justify-content:center}.editor-bar{height:56px;padding:8px 20px;background:#fff;border-color:var(--line)}.editor-panel{width:330px;background:#fff;border-color:var(--line)}.editor-tabs{background:#fff;border-color:var(--line)}.editor-tab.active{color:#2558d9;border-color:#2558d9}.editor-canvas{background:#edf0f6}.editor-divider{height:24px}.document-title{font-size:13px}.save-state{font-size:10px;color:#7c8799}.canvas-top{color:#6d7c93}.canvas-top>span+span{display:none}.canvas-badge{background:#fff;border-color:var(--line);color:#56657d}.panel-top{padding:15px 0 8px;margin-bottom:10px}.panel-top h2{font-size:16px;margin:0;font-weight:600}.panel-scroll{padding:0 16px 22px}.accordion{border-color:var(--line);background:#fff}.accordion summary{color:#32435d}.accordion summary:hover{background:#f5f7fc}.field input,.field textarea,.field select,.color-field input{border-color:var(--line);background:#fff;color:#273950}input:focus,textarea:focus,select:focus{outline:2px solid #c9d7f8;outline-offset:1px;border-color:#809ee8!important}.palette.active{outline-color:#2558d9}.media-slot-tabs button.active{color:#2558d9;border-color:#2558d9;background:#edf3ff}.media-buttons .btn{padding:7px 10px}.photo-credit{background:#f5f7fc;border-color:var(--line);font-size:11px}.photo-credit span{line-height:1.45}.photo-credit a{color:#4266ad}.form-hint{line-height:1.55}.preview-info h2{color:#172338}.preview-info{padding:30px 25px}.preview-info h3{display:none}.preview-cta{margin-top:24px}.modal{background:#fff;border-color:var(--line)}.modal-padding h2{font-size:20px;margin:0 0 20px}.modal-padding .export-option{min-height:56px}.export-option strong{font-size:14px;font-weight:500}.modal .eyebrow,.photo-library-head .eyebrow{display:none}.photo-library-head h2{font-size:20px}.photo-library-foot{display:none}.photo-filter button.active{background:#2558d9;color:#fff}.zoom-bar{background:#fff;border-color:var(--line)}.mobile-editor-switch{background:#2558d9}.print-frame{position:fixed;left:0;bottom:0;width:1px;height:1px;opacity:0;border:0;pointer-events:none}#toast{background:#1e2c43}#toast.error{background:#b42318}
.media-editor-preview{position:relative;overflow:hidden;isolation:isolate}.media-editor-preview .media-frame{position:relative;width:100%;height:100%;margin:0}.media-editor-preview .media-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.media-editor-preview .media-tint{pointer-events:none}.media-editor-preview .media-placeholder{pointer-events:none}.editor-tabs{position:relative;z-index:2}
@media(max-width:1100px){.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.studio-topbar{padding:8px 12px}.studio-topbar nav{gap:5px}.studio-topbar .btn{font-size:12px;padding:7px 9px}.studio-catalog{padding:18px 12px 28px}.catalog-heading{align-items:stretch;flex-direction:column;gap:12px}.catalog-heading h1{font-size:22px}.search-box{min-width:0}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.template-image .thumb{height:235px}.template-info h3{font-size:12px}.filter-chips{gap:5px}.filter-chip{font-size:12px;padding:7px 9px}.editor-bar{padding:8px 10px}.editor-bar .camonster-wordmark{font-size:20px}.editor-bar-left{gap:8px}.editor-bar-right{gap:2px}.document-title{width:125px;min-width:50px;max-width:30vw}.editor-divider{display:none}.editor-bar .btn{font-size:12px;padding:7px 9px}.editor-panel{width:100%}.preview-modal{max-width:94vw}.preview-info{padding:20px}.preview-info h2{font-size:22px}}
@media(max-width:400px){.template-image .thumb{height:205px}.studio-topbar .camonster-wordmark{font-size:22px}.editor-bar .camonster-wordmark{font-size:18px}.editor-bar .document-title{max-width:24vw}.studio-nav button{padding:9px 11px}}
