/* Studio-only styles; recipient and guide pages retain their own presentation. */
:root{--ink:#20332f;--muted:#75817d;--paper:#f6f7f8;--green:#17735f;--line:#e1e6e4;--radius:12px;color-scheme:light}
.studio-page [hidden]{display:none!important}
body.studio-page{font-size:13px;letter-spacing:-.025em;background:#f6f7f8}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.studio-page .wrap{width:calc(100% - 48px);max-width:1440px}.studio-page .site-header{height:62px;max-width:none;padding:0 28px;background:#fff;border-color:#e3e7e5}.studio-page .brand{font-size:25px;gap:8px}.studio-page .brand img{width:28px;height:28px}.studio-page .site-header nav{gap:26px;font-size:12px;color:#64736e}.studio-page .header-cta{font-size:11px;min-height:32px;padding:5px 10px;gap:8px;border-radius:6px}
.studio-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 20px}.studio-title{display:flex;gap:17px;align-items:center;min-width:0}.studio-label{font-size:11px;font-weight:700;color:#6c7c76;white-space:nowrap;border-right:1px solid #d3dbd7;padding-right:17px}.studio-hero h1{font-size:21px;line-height:1.35;letter-spacing:-.05em;font-weight:700}.project-actions{display:flex;gap:7px;flex-shrink:0}.project-actions button{border:1px solid #d8e0dc;border-radius:6px;background:#fff;padding:8px 12px;font-size:11px;font-weight:600;white-space:nowrap}.project-actions button:hover{background:#eef5f2;border-color:#9db6ac}
.template-section{padding:16px 18px 9px;border:1px solid #e1e6e3;border-radius:10px;background:#fff;overflow:hidden}.section-caption{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:12px;min-width:0}.template-title{display:flex;align-items:baseline;gap:7px;flex-shrink:0}.section-caption h2{font-size:13px;letter-spacing:-.025em}.template-title>span{font-size:10px;color:#87938e}.template-filters{display:flex;align-items:center;gap:5px;overflow:auto;scrollbar-width:none;min-width:0}.template-filters button{padding:5px 11px;border-radius:5px;font-size:11px;white-space:nowrap;color:#77837d}.template-filters button:hover{background:#f0f5f2}.template-filters button.active,.template-filters button[aria-pressed=true]{background:#e5f1eb;color:#17624d;font-weight:700}
.template-grid{display:grid;grid-auto-flow:column;grid-auto-columns:128px;grid-template-columns:none;gap:10px;overflow:auto;padding:3px 2px 10px;scrollbar-width:thin;scrollbar-color:#cbd4cf transparent;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.template-card{position:relative;display:block;min-width:0;padding:4px;border:1px solid transparent;border-radius:8px;text-align:left;background:#fff;scroll-snap-align:start;transition:border-color .15s,background .15s}.template-card:hover{border-color:#bccfc4;background:#f8faf9}.template-card.active{border-color:#2c7d62;background:#f0f8f3;box-shadow:0 0 0 1px #2c7d62}.template-thumb{display:flex;align-items:center;justify-content:center;height:130px;padding:9px;background:#eef0ef;border-radius:5px;overflow:hidden}.template-card:nth-child(3n+2) .template-thumb{background:#e9edeb}.template-card:nth-child(3n) .template-thumb{background:#f2eeeb}.template-thumb canvas{display:block;height:112px;width:auto;max-width:100%;box-shadow:0 2px 5px #1d312316}.template-meta{padding:7px 2px 2px;display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0}.template-meta strong{font-size:11px;font-weight:600;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-meta span{font-size:9px;color:#8c968f;white-space:nowrap}
.studio-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 1px 11px;gap:15px}.studio-heading h2{font-size:14px;font-weight:700}.studio-heading>span{font-size:11px;color:#6c7b74}.studio-page .generator{display:grid;grid-template-columns:310px minmax(0,1fr);align-items:stretch;border:1px solid #dce3df;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 4px 20px #19332a03}.studio-page .form-panel{padding:0;min-width:0;background:#fff;z-index:1}.editor-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;border-bottom:1px solid #e0e7e2;padding:0 15px}.editor-tabs button{font-size:12px;font-weight:600;color:#88918d;min-height:49px;padding:12px 5px;border-bottom:2px solid transparent;white-space:nowrap}.editor-tabs button.active{color:#12634d;border-color:#1b7258}
#qr-fields{margin:0;border:0;padding:0;min-width:0}#qr-form [role=tabpanel]{padding:22px 20px 5px;min-width:0}.form-panel h2{font-size:17px;letter-spacing:-.04em}.panel-description{font-size:11px;color:#83918a;margin:8px 0 21px;line-height:1.6}.field{margin:0 0 16px;min-width:0}.field label,.theme-field legend{display:block;font-size:11px;font-weight:600;margin-bottom:6px;color:#5f6f66}.required{color:#26755a;font-size:11px}.optional{color:#9aa59f;font-size:10px;font-weight:400}
.studio-page input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=color]),.studio-page select,.studio-page textarea{width:100%;max-width:100%;height:39px;min-width:0;padding:8px 10px;border:1px solid #dce3df;border-radius:6px;background:#fff;color:#364d42;font:inherit;font-size:12px;line-height:1.4;transition:border-color .15s}.studio-page textarea{height:auto;min-height:77px;resize:vertical}.studio-page select{appearance:auto;padding:7px 8px;cursor:pointer}.select-wrap:after{display:none}.studio-page input:focus,.studio-page select:focus,.studio-page textarea:focus{outline:2px solid #d3e7dc;border-color:#61947b}.studio-page input::placeholder,.studio-page textarea::placeholder{color:#a0aaa4;font-size:11px}
.quick-banks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:7px}.quick-banks button{justify-content:flex-start;gap:6px;padding:5px 9px;min-height:30px;font-size:10px;border:1px solid #e1e7e3;background:#f8faf8;border-radius:4px;white-space:nowrap}.quick-banks img{display:block;width:18px;height:18px;flex:0 0 18px;object-fit:contain;background:#fff;border-radius:50%}.quick-banks button:hover,.quick-banks button.active{background:#ecf5ee;border-color:#8db49a;color:#266c46}.field-error{font-size:11px;color:#b2503f;margin-top:5px;line-height:1.6}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-explainer{border:1px solid #e8ece9;background:#f8faf8;border-radius:6px;padding:13px 12px;margin:19px 0 10px}.account-explainer strong{font-size:10px;font-weight:600}.account-explainer p{font-size:10px;color:#8a968e;margin-top:7px;line-height:1.7}
.design-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.design-heading button{font-size:10px;color:#7c8d81;text-decoration:underline;text-underline-offset:3px}.panel-caption{font-size:10px;color:#8c9991}.design-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px}.design-colors label,.object-colors label{display:block;font-size:10px;font-weight:600;color:#6d7e72}
.studio-page input[type=color]{display:block;width:100%;height:34px;padding:3px;margin-top:6px;border:1px solid #dce3df;border-radius:5px;background:#fff;cursor:pointer}.studio-page input[type=color]::-webkit-color-swatch-wrapper{padding:1px}.studio-page input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.studio-page input[type=range]{display:block;width:100%;height:24px;padding:0;margin:0;border:0;background:transparent;accent-color:#247b5b;outline:none;cursor:pointer}.studio-page input[type=checkbox]{width:14px;height:14px;padding:0;margin:0;accent-color:#247b5b}
.palette-details,.extra-copy{border-top:1px solid #e6ece7;border-bottom:1px solid #e6ece7;margin:0 0 18px}.palette-details summary,.extra-copy summary{font-size:11px;color:#76877a;padding:11px 0;cursor:pointer;font-weight:500}.palette-details[open] summary,.extra-copy[open] summary{margin-bottom:5px}.theme-field{border:0;padding:0;margin:0 0 18px}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 7px}.theme-options label{font-size:10px;gap:5px;color:#7a897e}.swatch{width:20px;height:20px;flex-shrink:0}.theme-options input:checked+.swatch{outline:2px solid #478264}.logo-field input[type=file]{height:auto!important;padding:8px!important;background:#f8faf7!important;font-size:10px!important;overflow:hidden}.logo-field input::file-selector-button{font:inherit;color:#497057;border:1px solid #d8e1d8;background:#fff;border-radius:4px;padding:4px 6px;margin-right:6px;cursor:pointer}.logo-help{font-size:10px;color:#8c998f;margin-top:6px;line-height:1.7}.logo-help button{font-size:10px;color:#447553;text-decoration:underline;padding:5px 0}
.generate-area{padding:15px 20px 18px;border-top:1px solid #edf0ed;margin-top:10px}.studio-page .button-dark{background:#185d47;color:#fff}.studio-page .button-dark:hover:not(:disabled){background:#124b39}.generate-button{width:100%;min-height:41px;margin:0;border-radius:6px;font-size:12px}.generate-button .icon{width:16px;height:16px}.form-note{font-size:9px;color:#93a093;line-height:1.6;margin-top:9px}
.add-text{display:flex;align-items:center;gap:9px;width:100%;padding:11px 13px;background:#eaf4ee;border:1px solid #cfe3d5;border-radius:7px;color:#246843;font-weight:650;font-size:12px}.add-text>span:first-child{font:700 23px Georgia,serif;line-height:1}.add-text .add-plus{margin-left:auto;font-size:18px;font-weight:400;color:#60876e}.add-text:hover{background:#deeee3}.shape-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0 20px}.shape-grid button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:65px;padding:10px 4px;border:1px solid #e2e8e3;border-radius:6px;background:#fff;color:#52695b}.shape-grid button:hover{border-color:#89ad95;background:#f4f9f4}.shape-grid svg{width:23px;height:23px;fill:#c2d6c9;stroke:#5e806b;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}.shape-grid button[data-add-shape=line] svg{fill:none;stroke-width:2}.shape-grid span{font-size:10px;white-space:nowrap}
.custom-properties{padding-top:17px;border-top:1px solid #e4eae5;margin-top:8px}.inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 16px}.inspector-heading h3{font-size:12px;font-weight:700;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inspector-heading button{font-size:10px;border:1px solid #dce5dd;padding:4px 8px;border-radius:5px;background:#f8faf7}.inspector-heading button[aria-pressed=true]{color:#996a29;background:#fff5e6;border-color:#e7cda8}.object-colors{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin:0 0 17px}.object-colors>.shape-properties{display:grid;grid-template-columns:1fr 1fr;gap:10px}.object-colors input[type=number]{margin-top:6px;height:34px!important}.object-colors:has(.shape-properties[hidden]){grid-template-columns:1fr}.object-colors:has(.shape-properties[hidden])>label{max-width:80px}.shape-properties .no-fill-label{grid-column:1/-1;display:flex!important;align-items:center;gap:6px;padding-top:0!important}.range-field label{display:flex;align-items:center;justify-content:space-between}.range-field output{font-size:10px;font-weight:500;color:#829083;font-variant-numeric:tabular-nums}
.layer-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:17px 0 20px}.layer-actions button{font-size:10px;min-height:32px;border:1px solid #dce5dc;border-radius:5px;background:#fafcf9}.layer-actions button:hover:not(:disabled){background:#edf5eb}.layer-actions .danger-action{color:#aa5a4e}.layer-actions .danger-action:hover:not(:disabled){background:#fcf0ed;border-color:#e2b6ac}.layers-panel{border-top:1px solid #e3eae4;margin-top:16px}.layers-panel summary{padding:13px 0;font-size:11px;color:#5d7463;cursor:pointer;font-weight:650}.layer-list{display:flex;flex-direction:column;gap:4px;max-height:240px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c9d9c9 transparent}.layer-list .layer-row{display:flex;align-items:center;gap:4px;min-height:34px;width:100%;padding:3px;background:#f8faf7;border:1px solid #e6ece4;border-radius:5px;min-width:0}.layer-list .layer-select{flex:1;min-width:0;display:block;padding:5px 6px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#657b69}.layer-list .layer-visibility{padding:5px;font-size:9px;white-space:nowrap;color:#92a18d}.layer-list .layer-row:hover{border-color:#acc4aa}.layer-list .layer-row.is-selected{border-color:#6b9c70;background:#eaf4e8}.layer-list .layer-row.is-selected .layer-select{color:#2d6435}.layer-list:empty:after{content:'추가한 요소가 여기에 표시됩니다.';display:block;font-size:11px;color:#95a28e;padding:16px 0;text-align:center}.layer-tip{font-size:9px;line-height:1.7;color:#96a18f;margin:9px 0 6px}
.studio-page .preview-panel{position:relative;top:auto;padding:0;min-height:0;min-width:0;border:0;border-left:1px solid #dce3df;border-radius:0;background:#e9eeed;display:flex;flex-direction:column}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 17px;border-bottom:1px solid #dce3df;background:#f8faf9;min-height:52px}.history-actions{display:flex;align-items:center;gap:4px}.history-actions button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:20px;line-height:1;background:#fff;border:1px solid #dce5df;border-radius:5px;color:#647b6d}.history-actions button:hover:not(:disabled){background:#edf5f0;border-color:#9eb9a9}.history-actions>span{margin-left:9px;color:#8a9890;font-size:10px;line-height:1.5}.segmented{padding:3px;border:1px solid #e0e7e2;background:#edf1ee;border-radius:6px;flex-shrink:0}.segmented button{min-height:25px;padding:4px 10px;font-size:10px;line-height:1.4;color:#849188;border-radius:4px}.segmented button.active{background:#fff;color:#39674c;box-shadow:0 1px 3px #203f2112}
.studio-page .poster-stage{display:flex;justify-content:center;align-items:center;flex:1 0 auto;min-height:0;min-width:0;padding:28px 28px 24px;margin:0;overflow:hidden;background-color:#e9eeed;background-image:radial-gradient(#bfcac5 .6px,transparent .6px);background-size:14px 14px}.canvas-wrap{position:relative;isolation:isolate;width:min(100%,420px);flex:0 1 420px;min-width:0;line-height:0;box-shadow:0 2px 5px #23372c16,0 10px 25px #23372c12}.studio-page .poster-stage #poster-canvas{display:block;width:100%;max-width:100%;height:auto;border:0;box-shadow:none}.studio-page .poster-stage #selection-canvas{position:absolute;inset:0;z-index:1;display:block;width:100%;max-width:100%;height:100%;margin:0;border:0;background:transparent;box-shadow:none;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.studio-page .poster-stage #selection-canvas:active{cursor:grabbing}.studio-page .poster-stage #selection-canvas:focus-visible{outline:2px solid #3f8b67;outline-offset:3px}.poster-stage.qr-mode .canvas-wrap{width:min(100%,380px);flex-basis:380px}
.selection-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f8faf8;border-top:1px solid #dce3df;border-bottom:1px solid #dce3df;padding:11px 17px;margin:0;font-size:10px;color:#718273}.selection-tools .field{margin:0;flex:1 1 140px}.selection-tools .range-field{flex:1 1 115px}.selection-tools label{font-size:10px;margin-bottom:4px}.selection-tools select{height:31px!important;padding:4px 7px!important;font-size:11px!important}.selection-tools .range-field input{height:31px}.selection-tools button{font-size:10px;min-height:31px;padding:5px 9px;background:#fff;border:1px solid #dce4db;border-radius:5px;white-space:nowrap;align-self:flex-end}.check-label{display:flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap;margin:0!important;align-self:center;padding-top:14px}
.export-panel{padding:15px 17px 14px;background:#fff}.output-status{margin-bottom:10px}.preview-status{margin:0;min-height:0;font-size:11px;line-height:1.6;color:#8a978c;text-align:left}.preview-status.ready{color:#3a7e4f;font-weight:500}.layout-status{font-size:11px;line-height:1.6;color:#b16b38;margin:6px 0 0}.layout-status:empty{display:none}.download-actions{display:flex;gap:7px;margin:0}.download-actions>.button{flex:1;min-width:0;min-height:39px;border-radius:6px;padding:8px 12px;font-size:11px}.button-white{border:1px solid #d4e1d4;background:#fff;color:#456e47}.button-white:hover:not(:disabled){background:#f4f9f1}.icon-button{width:40px;min-width:40px;border:1px solid #d4e1d4;border-radius:6px;background:#fff}.download-actions .icon{width:15px;height:15px}.preview-secondary{display:flex;align-items:center;justify-content:flex-start;gap:15px;flex-wrap:wrap;margin-top:8px}.preview-secondary button{font-size:10px;padding:3px 0;color:#7e947b}.preview-secondary span{font-size:9px;color:#9dab95;margin-left:auto}
.editor-help{margin-top:18px;margin-bottom:25px}.editor-help>details{border:1px solid #e0e7e0;border-radius:7px;background:#fff}.editor-help summary{padding:12px 16px;font-size:11px;font-weight:600;color:#748671;cursor:pointer}.editor-help details>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 16px 17px}.editor-help p{font-size:11px;color:#8a9884;line-height:1.8}.editor-help strong{font-weight:600;color:#597354}.editor-help a{font-size:11px;color:#537a4a;text-decoration:underline;text-underline-offset:3px}.studio-page .site-footer{margin-top:0;padding:20px 0 22px}.studio-page .site-footer .brand{font-size:21px}.studio-page .site-footer .brand img{width:24px;height:24px}.footer-tagline,.footer-links a,.footer-bottom{font-size:10px;color:#97a08f}.footer-links{gap:20px}.footer-bottom{margin-top:14px}
@media(min-width:1400px){.studio-page .generator{grid-template-columns:330px minmax(0,1fr)}.canvas-wrap{width:min(100%,450px);flex-basis:450px}.studio-page .poster-stage{padding:27px}.template-grid{grid-auto-columns:135px}.template-thumb{height:138px}.template-thumb canvas{height:120px}}
@media(max-width:1100px){.studio-page .wrap{width:calc(100% - 36px)}.studio-page .site-header{padding:0 22px}.studio-title{display:block}.studio-label{border:0;padding:0;font-size:10px;display:block;margin-bottom:5px}.studio-hero h1{font-size:19px}.studio-page .generator{grid-template-columns:290px minmax(0,1fr)}#qr-form [role=tabpanel]{padding:20px 17px 4px}.generate-area{padding:14px 17px 17px}.history-actions>span{display:none}.template-grid{grid-auto-columns:118px}.template-thumb{height:120px}.template-thumb canvas{height:104px}.template-meta{display:block}.template-meta span{display:none}.studio-page .poster-stage{padding:24px 23px}.preview-toolbar{padding:10px 14px}.selection-tools{padding:11px 14px;gap:9px}.selection-tools .field{flex-basis:120px}.selection-tools .range-field{flex-basis:100px}.export-panel{padding:14px}.preview-secondary span{display:none}}
@media(max-width:760px){.studio-page .wrap{width:calc(100% - 24px)}.studio-page .site-header{height:57px;padding:0 16px}.studio-page .site-header nav{display:none}.studio-page .brand{font-size:23px}.studio-page .header-cta{font-size:10px;padding:5px 8px;min-height:29px}.studio-hero{align-items:flex-start;padding:19px 3px 17px;gap:12px}.studio-title{max-width:60%}.studio-hero h1{font-size:17px;line-height:1.4}.studio-label{font-size:10px;margin-bottom:4px}.project-actions{gap:5px;flex-direction:column}.project-actions button{font-size:10px;padding:5px 9px;min-height:29px}.template-section{padding:12px 10px 4px;border-radius:8px}.section-caption{display:block;margin-bottom:9px}.template-title{margin:0 0 9px}.section-caption h2{font-size:12px}.template-filters{gap:3px}.template-filters button{padding:4px 10px;font-size:10px}.template-grid{grid-auto-columns:112px;gap:7px;padding-bottom:9px}.template-thumb{height:115px;padding:8px}.template-thumb canvas{height:99px}.template-meta{padding-top:6px}.template-meta strong{font-size:10px}.studio-heading{padding:17px 2px 9px}.studio-heading h2{font-size:13px}.studio-heading>span{font-size:10px}.studio-page .generator{grid-template-columns:minmax(0,1fr);border-radius:8px}.editor-tabs{padding:0 13px}.editor-tabs button{font-size:12px;min-height:46px}.studio-page .form-panel{padding:0}#qr-form [role=tabpanel]{padding:19px 18px 3px}.form-panel h2{font-size:17px}.field{margin-bottom:15px}.field label,.theme-field legend{font-size:11px}.studio-page input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=color]),.studio-page select,.studio-page textarea{font-size:16px;height:41px;padding:8px 10px}.studio-page textarea{height:auto;min-height:82px}.studio-page input::placeholder,.studio-page textarea::placeholder{font-size:12px}.quick-banks button{font-size:10px;min-height:29px}.account-explainer{margin-top:16px}.account-explainer strong,.account-explainer p{font-size:10px}.design-heading{margin-bottom:18px}.design-colors input[type=color]{height:37px}.theme-options{grid-template-columns:repeat(4,minmax(0,1fr))}.palette-details summary,.extra-copy summary{font-size:11px}.generate-area{padding:13px 18px 16px}.generate-button{min-height:41px;font-size:12px}.form-note{font-size:9px}.add-text{padding:11px 13px;font-size:12px}.shape-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.shape-grid button{min-height:56px;padding:8px 2px}.shape-grid svg{width:22px;height:22px}.shape-grid span{font-size:8px}.panel-caption{font-size:9px}.custom-properties{padding-top:16px}.layer-list{max-height:160px}.layer-list .layer-select{font-size:11px}.layer-list .layer-row{min-height:36px}.layer-actions button{font-size:11px;min-height:34px}.object-colors input[type=number]{font-size:14px!important}.studio-page .preview-panel{position:static;padding:0;border-left:0;border-top:1px solid #dce3df;min-height:0}.preview-toolbar{padding:9px 13px;min-height:49px}.history-actions>span{display:inline;font-size:9px;max-width:120px;margin-left:6px}.history-actions button{width:28px;height:28px}.segmented button{min-height:24px;padding:3px 8px;font-size:10px}.studio-page .poster-stage{min-height:0;margin:0;padding:24px 24px 22px}.canvas-wrap{width:min(100%,380px);flex-basis:380px}.selection-tools{padding:11px 13px;gap:9px}.selection-tools .field{flex:1 1 42%}.selection-tools .range-field{flex:1 1 42%}.selection-tools select{font-size:14px!important;height:34px!important}.selection-tools button{min-height:31px;align-self:center}.selection-tools .check-label{padding-top:0;margin-left:auto!important}.selection-tools label{font-size:10px}.export-panel{padding:13px}.preview-status,.layout-status{font-size:11px}.download-actions>.button{font-size:11px;min-height:41px}.preview-secondary{gap:15px}.preview-secondary button{font-size:10px}.editor-help{margin:14px auto 20px}.editor-help details>div{grid-template-columns:1fr;gap:10px;padding:0 14px 15px}.editor-help summary{padding:11px 14px}.editor-help p,.editor-help a{font-size:11px}.studio-page .site-footer{padding-top:18px}.footer-top{gap:15px}.footer-links{gap:12px;flex-wrap:wrap}.footer-links a,.footer-bottom{font-size:9px}}
@media(max-width:380px){.studio-page .wrap{width:calc(100% - 20px)}.studio-hero h1{font-size:16px}.studio-title{max-width:61%}.studio-page .header-cta{font-size:9px}#qr-form [role=tabpanel]{padding-left:15px;padding-right:15px}.generate-area{padding-left:15px;padding-right:15px}.shape-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shape-grid button{min-height:56px;flex-direction:row;gap:7px}.shape-grid span{font-size:10px}.history-actions>span{display:none}.studio-page .poster-stage{padding:20px}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.template-card{transition:none}.template-grid{scroll-behavior:auto}}
.base-text-tools{display:grid;grid-template-columns:1.2fr .65fr 1.2fr 1fr .65fr;gap:10px;padding:12px 17px;background:#f8faf8;border-bottom:1px solid #dce3df}.base-text-tools[hidden]{display:none}.base-text-tools .field{margin:0;min-width:0}.base-text-tools label{font-size:10px;margin-bottom:4px;color:#718273}.studio-page .base-text-tools select,.studio-page .base-text-tools input{height:32px!important;min-width:0;padding:4px 7px!important;font-size:11px!important}.studio-page .base-text-tools input[type=color]{margin:0;padding:3px!important}.base-text-tools .base-spacing-field input{width:100%}@media(max-width:760px){.base-text-tools{grid-template-columns:1.2fr .7fr 1.2fr;gap:10px;padding:12px 13px}.studio-page .base-text-tools select,.studio-page .base-text-tools input{font-size:14px!important;height:34px!important}.base-text-tools .base-spacing-field{max-width:90px}}
.editor-tabs{grid-template-columns:repeat(4,minmax(0,1fr));padding-left:10px;padding-right:10px}.editor-tabs button{font-size:11px;padding-left:2px;padding-right:2px}.image-panel-heading{margin-bottom:15px}.image-upload-actions{display:grid;grid-template-columns:1fr;gap:7px}.image-upload-actions button{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:40px;padding:10px 12px;border:1px solid #d9e3dd;border-radius:6px;background:#fff;color:#476252;font-size:12px;font-weight:600;text-align:left}.image-upload-actions .image-upload-primary{background:#eaf4ee;border-color:#c8dfd0;color:#246843}.image-upload-actions button:hover:not(:disabled){background:#e2eee6;border-color:#a1bea9}.image-upload-actions svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.image-upload-actions .upload-plus{margin-left:auto;font-size:18px;line-height:1;font-weight:400}.image-file-note{font-size:9px;color:#829388;line-height:1.6;margin:9px 0 0}.image-status{font-size:11px;color:#597964;line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}.image-status:empty{display:none}.image-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0;max-height:210px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c9d9c9 transparent}.image-library:empty{display:none}.image-library button{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:4px;border:1px solid #e0e7e2;border-radius:6px;background:#f8faf8;text-align:left;color:#5e7566}.image-library button:hover{border-color:#9dbca7}.image-library button[aria-pressed=true],.image-library button.is-selected{border-color:#39825b;box-shadow:0 0 0 1px #39825b;background:#edf6ef}.image-library img{display:block;width:100%;height:56px;object-fit:cover;border-radius:3px;background:#e7ece9}.image-library span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.5;margin-top:5px;padding:0 1px}.image-properties{border-top:1px solid #e2e9e4;padding-top:16px;margin-top:18px}.image-properties .inspector-heading{margin-bottom:12px}.image-properties .inspector-heading h3{min-width:0;flex:1}.image-properties .inspector-heading button{flex:none}.image-preview-row{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:17px}.image-preview-wrap{display:flex;align-items:center;justify-content:center;width:66px;height:80px;overflow:hidden;border:1px solid #dbe4dd;border-radius:5px;background-color:#fff;background-image:linear-gradient(45deg,#e8ede9 25%,transparent 25%),linear-gradient(-45deg,#e8ede9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8ede9 75%),linear-gradient(-45deg,transparent 75%,#e8ede9 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}.image-preview-wrap img{display:block;max-width:100%;max-height:100%;object-fit:contain}.image-preview-row>.field{margin:0}.image-preview-row .image-aspect-label{display:flex;gap:6px;padding-top:9px;font-size:10px;color:#6a7d70;font-weight:400}.image-measure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.image-measure-grid input{font-variant-numeric:tabular-nums}.image-properties .range-field{margin-bottom:13px}.image-crop-controls{padding:13px 0 1px;border-top:1px solid #e7ece8;margin-top:17px}.image-crop-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px;font-size:11px;color:#5e7566;font-weight:600}.image-crop-heading button{font-size:9px;font-weight:400;color:#89988d;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.image-crop-controls label{font-weight:400;color:#7d8e81}.image-flip-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:2px 0 8px}.image-flip-actions button,.image-background-action{min-height:33px;padding:7px 8px;border:1px solid #dae4dc;background:#fff;border-radius:5px;color:#607766;font-size:10px}.image-flip-actions button[aria-pressed=true]{background:#eaf4ed;border-color:#97b8a1;color:#337449}.image-flip-actions button:hover:not(:disabled),.image-background-action:hover:not(:disabled){background:#f1f7f2;border-color:#a5c0ae}.image-background-action{display:block;width:100%;background:#f5f8f5;font-weight:600}.image-layer-actions{margin:12px 0 16px}.image-edit-tip{font-size:10px;line-height:1.7;color:#8b998f;margin:16px 0 9px}.image-properties button:disabled,.image-upload-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.editor-tabs{padding-left:10px;padding-right:10px}.editor-tabs button{font-size:11px}.image-upload-actions{grid-template-columns:1fr 1fr}.image-upload-actions button{min-height:44px;font-size:11px;padding:10px 9px;gap:7px}.image-upload-actions svg{width:18px;height:18px}.image-file-note{font-size:10px}.image-library{grid-template-columns:repeat(4,minmax(0,1fr));max-height:192px}.image-library img{height:60px}.image-library span{font-size:10px}.image-properties .image-preview-row{grid-template-columns:76px minmax(0,1fr);gap:12px}.image-preview-wrap{width:76px;height:85px}.image-properties .image-aspect-label{font-size:11px}.image-crop-heading{font-size:12px}.image-crop-heading button{font-size:10px}.image-flip-actions button,.image-background-action{font-size:11px;min-height:36px}.image-edit-tip{font-size:10px}}
@media(max-width:380px){.editor-tabs button{font-size:10px}.image-upload-actions{grid-template-columns:1fr}.image-library{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Keep the canvas stationary while taller inspectors open in the sidebar. */
@media(min-width:761px){
  .studio-page .generator{height:940px;min-height:0;align-items:stretch;}
  .studio-page .form-panel{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#c5d3ca transparent;}
  .studio-page .form-panel .editor-tabs{position:sticky;top:0;z-index:3;background:#fff;}
  .studio-page .preview-panel{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#c5d3ca transparent;}
  .studio-page .preview-toolbar,.studio-page .selection-tools,.studio-page .base-text-tools,.studio-page .export-panel{flex-shrink:0;}
  .studio-page .poster-stage{height:600px;min-height:600px;flex:0 0 600px;padding:24px;align-items:center;}
  .studio-page .poster-stage .canvas-wrap{width:min(100%,408px);flex:0 1 408px;}
  .studio-page .poster-stage.qr-mode .canvas-wrap{width:min(100%,380px);flex-basis:380px;}
  .studio-page .selection-tools{display:grid;grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) max-content max-content;gap:8px;padding:10px 14px;align-items:end;}
  .studio-page .selection-tools .field{min-width:0;}
  .studio-page .selection-tools .check-label{padding-top:0;align-self:center;}
  .studio-page .base-text-tools{padding:10px 14px;gap:8px;}
}
.image-library-empty{grid-column:1/-1;font-size:11px;line-height:1.7;color:#7c8d82;padding:5px 0}
