/* The shortcode page alone escapes Avada's narrow content row. */
body.cgsl-studio-page #main{padding:0!important;background:#f5f4f7!important}
body.cgsl-studio-page #main>.fusion-row{width:100%!important;max-width:none!important;margin:0!important}
body.cgsl-studio-page #content{width:100%!important;float:none!important;margin:0!important}
body.cgsl-studio-page #main .post-content{max-width:none!important}
body.cgsl-studio-page #main .post{margin-bottom:0!important}
.csl{--ink:#282432;--muted:#716a7c;--accent:#71508e;--line:#e3dfe9;--paper:#f7f5f9;color:var(--ink);font:16px/1.65 "Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;width:100%;max-width:none;margin:0 auto;padding:32px clamp(16px,2.6vw,72px) 24px;box-sizing:border-box}
.csl *{box-sizing:border-box}.csl [hidden]{display:none!important}.csl h1,.csl h2,.csl h3,.csl p{margin:0;color:inherit}.csl button,.csl input,.csl textarea{font:inherit;letter-spacing:normal}.csl button,.csl a{touch-action:manipulation}.csl button{cursor:pointer}.csl a{text-decoration:none!important}.csl button:disabled{opacity:.45;cursor:not-allowed}.csl :is(button,a,summary,input,textarea):focus-visible{outline:3px solid #9878b3;outline-offset:3px}
.csl-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.csl-eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--accent)}.csl h1{font-size:clamp(26px,2.2vw,38px);line-height:1.4;font-weight:700;letter-spacing:-.5px;margin:7px 0}.csl-header p{color:var(--muted);font-size:15px}.csl-header-meta{text-align:right;flex-shrink:0}.csl-header-meta p{font-size:13px;margin-top:9px}.csl-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;background:#eee8f4;color:#644780;border-radius:24px;font-size:13px;font-weight:600}.csl-service{font-size:14px;color:var(--muted)!important;margin-bottom:14px!important}.csl-service:empty{display:none}.csl-service a{color:var(--accent);text-decoration:underline!important}
.csl-workspace{display:grid;grid-template-columns:clamp(350px,26vw,480px) minmax(0,1fr);gap:24px;margin:0!important;padding:0!important;border:0!important;align-items:start}.csl-inputs{display:flex;flex-direction:column;gap:16px;min-width:0}.csl-panel{padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px}.csl-panel-heading{display:flex;gap:10px;align-items:center}.csl-step{display:grid;place-items:center;font-size:12px;font-weight:700;background:#eee8f4;color:var(--accent);width:28px;height:28px;border-radius:8px;flex-shrink:0}.csl h2{font-size:19px;font-weight:700;line-height:1.4}.csl-count{margin-left:auto;font-size:13px;color:var(--muted)}.csl-hint{font-size:13px;line-height:1.65;color:var(--muted)!important}.csl-panel-heading+.csl-hint{margin-top:9px}
.csl-drop{margin-top:14px;min-height:82px;border:1.5px dashed #c5b7d3;border-radius:10px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:16px;background:#fbfafc;position:relative;cursor:pointer;overflow:hidden}.csl-drop>span:first-child{font-size:23px;line-height:1;color:var(--accent)}.csl-drop strong{font-size:15px;font-weight:600;color:#634d77}.csl-drop-hint{flex-basis:100%;text-align:center;font-size:12px;line-height:1.2;color:var(--muted)}.csl-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.csl-drop:hover,.csl-drop.is-dragover{border-color:var(--accent);background:#f3edf8}.csl-drop:focus-within{outline:3px solid #9878b3;outline-offset:3px}.csl-drop.is-full{display:none}
.csl-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.csl-thumbs:not(:empty){margin-top:16px}.csl-thumb{min-width:0;position:relative;margin:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;overflow:hidden}.csl-thumb img{display:block;width:100%;height:142px;object-fit:contain;background:#f0edf3}.csl-thumb figcaption{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:6px 9px}.csl-remove{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #e7dfed;background:#fffef9;color:#46344f;border-radius:50%;font-size:21px!important;line-height:1;box-shadow:0 2px 5px #21152715}.csl-sketch-preview:not(:empty){margin-top:14px}.csl-sketch-preview img{height:auto;max-height:210px}.csl-sketch-preview:not(:empty)+.csl-drop{min-height:45px;padding:7px}.csl-sketch-preview:not(:empty)+.csl-drop strong{font-size:13px}
.csl-analysis-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.csl-text-button{border:0;padding:0;background:none;color:var(--accent);font-size:14px!important;font-weight:600}.csl-text-button:hover{text-decoration:underline}.csl-save-status{font-size:13px;color:#526a52!important;margin-top:8px!important}.csl-save-status:empty{display:none}.csl-editor{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.csl-editor summary{cursor:pointer;font-size:14px;font-weight:600}.csl-editor summary span{font-size:12px;color:var(--muted);font-weight:400;margin-left:6px}.csl textarea{width:100%;padding:12px 14px;border:1px solid #d7d1df;border-radius:9px;background:#fdfcfe;color:var(--ink);line-height:1.8;resize:vertical;box-shadow:none}.csl textarea::placeholder{color:#948a9d;font-size:14px}.csl-editor textarea{margin:12px 0 6px;min-height:210px;font-size:15px}.csl-prompt-label{display:flex;gap:10px;font-weight:600;font-size:16px;margin-bottom:10px}.csl-prompt-label span{font-size:13px;font-weight:400;color:var(--muted)}
.csl-primary,.csl-secondary{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;border-radius:10px;padding:13px 20px;min-height:48px;font-size:15px!important;font-weight:600;line-height:1.5;text-align:center}.csl-primary{background:var(--accent);color:#fff!important;box-shadow:0 3px 8px #6f4f8f12}.csl-primary:hover{background:#5b3d77}.csl-secondary{color:#665273!important;background:#fff;border:1px solid #d8cedf}.csl-secondary:hover{background:#f2edf7}.csl #csl-generate{width:100%;justify-content:space-between;margin:16px 0 9px;font-size:17px!important;min-height:54px}.csl-center{text-align:center}.csl-file-limit{font-size:11px;color:#81788c!important;margin-top:14px!important;text-align:center}.csl-error{font-size:14px;padding:12px 14px;background:#fff1f1;color:#a23241!important;border:1px solid #f4d6da;border-radius:8px;margin-top:12px!important;overflow-wrap:anywhere}
.csl-preview{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden;position:sticky;top:110px;min-width:0}.csl-preview-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 26px;border-bottom:1px solid var(--line)}.csl-preview-header h2{font-size:22px;margin-top:5px}.csl-empty,.csl-progress{min-height:clamp(420px,54vh,720px);padding:48px 24px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at center,#fff 0,#f9f7fb 80%)}.csl-empty h3,.csl-progress h3{font-size:clamp(22px,1.6vw,30px);line-height:1.5;font-weight:600}.csl-empty p,.csl-progress p{font-size:15px;color:var(--muted);margin-top:12px;max-width:520px}.csl-empty-frame{position:relative;width:180px;height:140px;border:1px solid #d4c5e2;background:linear-gradient(135deg,#f9f2ec,#e4d9ef);border-radius:16px;margin:0 0 36px;transform:rotate(-5deg);box-shadow:12px 12px 0 -3px #fff,12px 12px 0 -2px #ded3e8}.csl-empty-frame>span{font-size:62px;color:#9371af;display:block;line-height:140px}.csl-empty-frame i{position:absolute;inset:12px;border:1px solid #ffffffaa;border-radius:8px}.csl-empty-steps{display:flex;gap:28px;margin-top:30px;color:#91839c;font-size:13px}.csl-preview-footer{display:flex;justify-content:center;gap:30px;padding:16px 24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);background:#fcfbfd}.csl-preview-footer span:before{content:'✓';color:#8d749d;margin-right:6px}.csl-progress .csl-secondary{margin-top:20px}.csl-spinner{width:42px;height:42px;border:3px solid #e5dcec;border-top-color:var(--accent);border-radius:50%;animation:csl-spin 1s linear infinite;margin-bottom:26px}
.csl-image-stage{padding:18px;background:#f0edf3;display:flex;align-items:center;justify-content:center;min-height:360px}.csl-image-stage img{display:block;width:100%;height:auto;max-height:calc(100vh - 290px);min-height:200px;object-fit:contain}.csl-result-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px}.csl-result-bar strong{font-size:17px}.csl-result-bar p{font-size:13px;color:var(--muted);margin-top:4px}.csl-result-actions{display:flex;gap:10px;flex-shrink:0}.csl-review-note{font-size:13px;color:var(--muted)!important;padding:0 24px 20px}.csl #csl-download-status{padding:0 24px 12px}.csl #csl-download-status:empty{display:none}
.csl-footer{margin-top:22px;display:flex;gap:24px;justify-content:space-between;font-size:12px;color:var(--muted);align-items:start}.csl-footer>p{max-width:900px}.csl-footer details{max-width:430px;min-width:160px}.csl-footer summary{cursor:pointer}.csl-footer details p{margin-top:8px}.csl-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes csl-spin{to{transform:rotate(360deg)}}
@media(min-width:2000px){.csl{font-size:18px;padding-top:40px}.csl-workspace{grid-template-columns:520px minmax(0,1fr);gap:32px}.csl-panel{padding:26px}.csl h2{font-size:22px}.csl-hint{font-size:15px}.csl-thumbs .csl-thumb img{height:175px}.csl-preview-header h2{font-size:26px}.csl-empty,.csl-progress{min-height:650px}}
@media(max-width:1100px){.csl-header-meta{display:none}.csl-workspace{grid-template-columns:340px minmax(0,1fr);gap:16px}.csl-panel{padding:18px}.csl-result-bar{align-items:start;flex-direction:column}.csl-result-actions{width:100%}.csl-result-actions .csl-primary{flex:1}.csl-preview-footer{gap:12px;font-size:11px}.csl-preview{top:90px}.csl-preview-header{padding:18px}}
@media(max-width:780px){.csl{padding:22px 14px}.csl-header{margin-bottom:14px}.csl h1{font-size:27px}.csl-header p{font-size:14px}.csl-workspace{grid-template-columns:1fr;gap:18px}.csl-preview{position:static}.csl-panel{padding:20px}.csl-thumbs .csl-thumb img{height:160px}.csl-empty,.csl-progress{min-height:320px;padding:36px 18px}.csl-empty-frame{width:130px;height:100px;margin-bottom:26px}.csl-empty-frame>span{line-height:100px;font-size:46px}.csl-empty-steps{gap:18px}.csl-image-stage{min-height:180px;padding:8px}.csl-image-stage img{max-height:none;min-height:0}.csl-preview-header h2{font-size:21px}.csl-preview-header .csl-pill{font-size:12px}.csl-result-bar{padding:18px;gap:14px}.csl-review-note{padding:0 18px 18px}.csl-footer{flex-direction:column;gap:12px}.csl-footer details{max-width:none}.csl-preview-footer{flex-wrap:wrap}.csl-service{font-size:13px}.csl-primary,.csl-secondary{min-height:48px}}
@media(prefers-reduced-motion:reduce){.csl *{animation:none!important;scroll-behavior:auto!important}}

/* Same-response public report, independent of optional saved profiles. */
.csl-report{padding:24px;border-top:1px solid var(--csl-line,#e5dfed)}.csl-report h3{margin:0 0 8px}.csl-report-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:16px 0 20px;color:#393044}.csl-report[hidden]{display:none}

/* Reference boards and explicit generation modes, 0.6.0. */
.csl .csl-mode{display:block;width:100%;max-width:100%;padding:12px;margin:8px 0 20px;border:1px solid #d9d5e2;border-radius:12px;background:#fff;color:#30253e;font:inherit}.csl #csl-ref-previews{max-height:330px;overflow-y:auto}.csl #csl-board-previews .csl-thumb img{object-fit:contain}.csl #csl-boards{margin-bottom:16px}
#cg-style-lab select.csl-mode{height:auto;min-height:48px;line-height:1.5}
