*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;color:#233c2c;letter-spacing:-.25px}body{background:#f6f7f2}button,input,textarea,select{font:inherit}button,summary{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8baf78;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #7b9b68;outline-offset:1px}input[type=checkbox]{accent-color:#285b3f;width:16px;height:16px;margin:0}button{border:0;background:none}a{color:inherit}button,summary,input,textarea,select{touch-action:manipulation}.app-header{height:82px;display:flex;align-items:center;padding:0 28px;gap:28px;background:#fff;border-bottom:1px solid #dfe4d8;position:relative;z-index:10}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;min-width:205px}.brand-mark{width:41px;height:43px;border-radius:12px 12px 12px 3px;background:#214e35;color:#f4edcc;font-weight:800;font-size:24px;display:grid;place-items:center}.brand strong{font-size:18px;display:block;letter-spacing:-.8px}.brand small{font-size:11px;color:#77816d;display:block;margin-top:3px;letter-spacing:.5px}.document-name{display:flex;align-items:center;gap:8px;font-size:14px;border-left:1px solid #e4e8df;padding-left:26px}.document-dot{width:7px;height:7px;background:#9eb08b;border-radius:50%}.draft-tag{color:#8a7544;background:#f3eedc;font-size:11px;padding:4px 7px;border-radius:5px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.save-status{font-size:11px;color:#7b8976;margin-right:10px;max-width:160px}.save-status.error{color:#a13d2c}.icon-btn{width:34px;height:34px;display:grid;place-items:center;font-size:23px;border-radius:7px}.icon-btn:hover{background:#f0f3ec}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:8px;padding:11px 16px;font-size:13px;font-weight:700;white-space:nowrap}.primary{background:#234f37;color:#fff;box-shadow:0 2px 3px #173e2e12}.primary:hover{background:#163d29}.quiet{border:1px solid #dbe2d4;background:#fff}.quiet:hover{background:#f3f6ee}.menu{position:relative}.menu-mobile-label{display:none}.menu summary{list-style:none}.menu summary::-webkit-details-marker{display:none}.dropdown{position:absolute;right:0;top:48px;width:210px;background:#fff;border:1px solid #dce3d6;padding:7px;border-radius:10px;box-shadow:0 14px 45px #263a251f}.dropdown button{display:block;width:100%;text-align:left;padding:12px;font-size:13px;border-radius:6px}.dropdown button:hover{background:#f0f4e9}.danger{color:#a2523b}.workspace{display:grid;grid-template-columns:208px 340px minmax(320px,1fr);height:calc(100vh - 82px);overflow:hidden}.outline{display:flex;flex-direction:column;background:#f4f6ee;border-right:1px solid #dce2d5;padding:25px 13px 16px}.outline-heading{display:flex;justify-content:space-between;font-size:12px;font-weight:700;letter-spacing:.4px;padding:0 11px;margin-bottom:20px;color:#6b7b5e}.outline-heading b{font-size:10px;border:1px solid #cbd6c2;border-radius:10px;padding:2px 6px}.section-list{display:flex;flex-direction:column;gap:6px;overflow:auto}.section-item{position:relative;width:100%;display:flex;align-items:center;gap:10px;padding:13px 10px;text-align:left;font-size:12px;border-radius:9px;color:#6a765f;min-height:53px}.section-item:hover{background:#e9eedf}.section-item.active{background:#244f37;color:white;box-shadow:0 4px 10px #26472c14}.section-item .num{font-size:11px;font-variant-numeric:tabular-nums;color:#94a28b}.section-item.active .num{color:#b4c7ab}.section-item .section-label{flex:1;font-weight:650;line-height:1.4}.section-item .badge{min-width:18px;height:18px;border-radius:5px;background:#e4ead9;color:#6f7b60;display:grid;place-items:center;font-size:10px}.section-item.active .badge{background:#426447;color:#e6edda}.section-item.hidden-section .section-label{opacity:.6;text-decoration:line-through}.section-item .drag-handle{font-size:12px;opacity:.25;position:absolute;right:1px}.section-item.drag-over{box-shadow:0 -3px 0 #a3bd8d}.outline-bottom{margin-top:auto;padding-top:25px}.progress-card{display:flex;gap:8px;padding:15px 10px;border-top:1px solid #d8e0ce}.status-dot{width:6px;height:6px;border-radius:50%;background:#c39036;flex-shrink:0;margin-top:5px}.progress-card b{font-size:12px;font-weight:600}.progress-card p{font-size:10px;color:#86917a;margin:6px 0 0}.theme-button{width:100%;font-size:12px;font-weight:500;justify-content:space-between;background:#e7ecdf;border:1px solid #dbe3cf}.local-note{font-size:10px;color:#8a9380;line-height:1.7;margin:12px 10px 0}.editor-panel{background:#fff;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #dce2d5}.editor-heading{padding:27px 26px 21px}.editor-heading>span{font-size:10px;color:#89967d;letter-spacing:1.5px;font-weight:700}.editor-heading h1{font-size:23px;letter-spacing:-1px;margin:10px 0 16px}.section-actions{display:flex;gap:6px;align-items:center}.small-btn{height:26px;min-width:26px;border:1px solid #e0e5d9;border-radius:5px;color:#718264;font-size:15px}.small-btn:hover{background:#f0f4e8}.visibility-control{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:10px;color:#7a8770}.visibility-control input{width:13px;height:13px}.editor-tabs{display:flex;border-top:1px solid #edf0e8;border-bottom:1px solid #dfe5d7;padding:0 21px}.editor-tabs button{flex:1;padding:14px 0;font-size:12px;color:#8b9481;position:relative}.editor-tabs button.active{color:#275438;font-weight:700}.editor-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:8px;right:8px;height:3px;border-radius:2px;background:#315f40}.editor-body{padding:24px 25px 35px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d8dfd0 transparent}.form-label{display:block;font-size:12px;font-weight:700;margin-bottom:23px;line-height:1.5}.field-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.field-caption small{font-size:9px;letter-spacing:.3px;color:#9ca592;font-weight:400}.form-label input,.form-label textarea,.fact-row input[type=text],.photo-card input{width:100%;border:1px solid #dce3d4;background:#fdfefa;border-radius:7px;padding:11px 12px;font-size:13px;line-height:1.7;color:#30452e;resize:vertical;display:block;margin-top:8px}.form-label textarea{min-height:80px}.form-help{font-size:11px;color:#8c9681;line-height:1.75;margin:8px 0 20px}.editor-tip{padding:14px 15px;background:#f1f5e9;border-radius:8px;font-size:11px;line-height:1.8;color:#78896b;border:1px solid #e5ecd9}.photo-card{border:1px solid #e0e6d8;border-radius:10px;padding:11px;margin-bottom:17px;background:#fcfdf9}.photo-card img{display:block;width:100%;height:145px;object-fit:contain;background:#eef2e7;border-radius:6px}.photo-card label{font-size:11px;color:#7c8a71;display:block;margin-top:10px}.photo-buttons{display:flex;gap:5px;margin-top:10px;flex-wrap:wrap}.photo-buttons button{font-size:10px;padding:7px 9px;background:white;border:1px solid #dce3d4;border-radius:5px}.photo-buttons button:hover{background:#edf3e5}.photo-buttons .delete{margin-left:auto;color:#a27866}.add-button{width:100%;padding:12px;border:1px dashed #b9c9a9;border-radius:8px;color:#597845;font-size:12px}.add-button:hover{background:#f2f6eb}.button-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.editor-subtitle{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:0 0 16px}.editor-subtitle small{font-size:10px;color:#9aa48e}.fact-row{border:1px solid #e2e7da;background:#fafcf6;border-radius:8px;padding:12px;margin-bottom:12px}.fact-top{display:flex;align-items:center;gap:8px}.fact-top input[type=text]{margin:0;border:0;background:none;padding:0;font-size:12px;font-weight:700;min-width:0;flex:1}.remove-tiny{color:#9aa48f;font-size:18px;width:21px;padding:0}.confirm-field{margin-top:10px;display:flex;align-items:center;gap:7px;font-size:11px;color:#8b703d}.confirm-field input{width:14px;height:14px}.confirm-field.done{color:#537847}.check-list{margin-top:30px}.check-row{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid #ebefe4;padding:12px 0}.check-row input[type=checkbox]{flex-shrink:0;margin-top:4px;width:15px;height:15px}.check-row textarea{flex:1;border:0;background:transparent;resize:vertical;font-size:12px;line-height:1.7;color:#69785f;min-height:48px;width:100%;padding:0}.check-row.done textarea{color:#99a18f;text-decoration:line-through}.empty-state{font-size:12px;line-height:1.8;color:#8a977d;padding:14px;background:#f5f8ef;border-radius:7px;margin-bottom:14px}.preview-panel{display:flex;flex-direction:column;overflow:hidden;background:#e9ede3}.preview-toolbar{height:57px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 27px;background:#f7f9f2;border-bottom:1px solid #dce3d4;font-size:11px}.preview-toolbar>div{display:flex;align-items:center;gap:7px}.preview-toolbar b{font-size:11px;font-weight:600}.preview-toolbar small{font-size:9px;color:#9aa78e;margin-left:6px;border:1px solid #e0e7d7;padding:3px 5px;border-radius:4px}.live-dot{width:5px;height:5px;background:#7d9b66;border-radius:50%}.preview-controls{gap:14px!important}.check-toggle{display:flex;align-items:center;gap:5px;font-size:10px;color:#829075;white-space:nowrap}.check-toggle input{width:12px;height:12px}.preview-controls select{font-size:10px;border:1px solid #d7e1cd;background:#fff;border-radius:5px;padding:6px;color:#657959}.preview-scroll{flex:1;overflow:auto;padding:0 32px 32px;scrollbar-width:thin;scrollbar-color:#bdcbb2 #e9ede3}.preview-ruler{text-align:center;font-size:9px;letter-spacing:.5px;color:#91a084;padding:24px 0 15px}.preview-frame{position:relative;margin:0 auto;box-shadow:0 10px 30px #1f372519;flex-shrink:0}.page-scale{transform-origin:top left;position:absolute;left:0;top:0;width:860px}.preview-end{text-align:center;margin-top:25px;color:#9ca991;font-size:10px}.preview-scroll .detail-section{cursor:pointer;outline-offset:-4px}.preview-scroll .detail-section:hover{outline:3px solid #b7cda577}.preview-scroll .detail-section.is-selected{outline:3px solid #8cae6c88}.mobile-switch{display:none}dialog{border:1px solid #d9e1d0;border-radius:17px;padding:27px;width:530px;max-width:calc(100vw - 28px);max-height:90vh;overflow:auto;color:#29452e;box-shadow:0 20px 85px #19371b33}dialog::backdrop{background:#18311f66;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start}.dialog-header h2{font-size:23px;margin:7px 0 10px;letter-spacing:-.8px}.kicker{font-size:9px;letter-spacing:1.5px;color:#94a183;font-weight:700}.dialog-description{font-size:12px;line-height:1.8;color:#859277;margin:8px 0 20px}.notice{font-size:12px;line-height:1.8;background:#fbf1d9;color:#96712f;padding:13px;border-radius:8px;margin:18px 0}.notice.complete{background:#ebf3e3;color:#557944}.export-options{display:flex;flex-direction:column;gap:10px}.export-options button{display:flex;align-items:center;gap:15px;text-align:left;border:1px solid #dce5d3;padding:18px 14px;border-radius:10px}.export-options button:hover{background:#f3f7ed;border-color:#9dbb86}.export-options button>span:last-child{margin-left:auto;font-size:20px;color:#8ba178}.format-icon{display:grid;place-items:center;width:46px;height:45px;background:#e9f0e1;border-radius:8px;font-size:10px;font-weight:700;flex-shrink:0}.export-options b{display:block;font-size:13px}.export-options small{display:block;font-size:10px;color:#8a967d;margin-top:6px}.dialog-status{font-size:12px;color:#788d66;min-height:18px;margin:17px 0 0}.photo-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-photo{border:1px solid #dce5d3;border-radius:8px;padding:7px;text-align:left;overflow:hidden}.library-photo:hover{border-color:#62894c;background:#f1f5e9}.library-photo img{width:100%;height:135px;object-fit:cover;border-radius:4px;display:block}.library-photo span{display:block;font-size:10px;line-height:1.5;margin:8px 2px}.crop-preview{height:250px;background:#edf1e5;border-radius:9px;display:grid;place-items:center;overflow:hidden;margin:17px 0}.crop-preview img{max-width:100%;max-height:100%;object-fit:contain}.range-label{display:block;font-size:12px;font-weight:700;margin:20px 0}.range-label input{width:100%;accent-color:#456c33;display:block;margin-top:12px}.range-label output{float:right;color:#8a9b7b}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.color-fields{display:flex;gap:14px;margin:20px 0}.color-fields label{display:flex;flex-direction:column;gap:10px;font-size:12px;flex:1}.color-fields input{width:100%;height:43px;border:1px solid #dbe3d3;border-radius:7px;background:#fff;padding:4px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#244c34;color:white;font-size:12px;padding:13px 20px;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;max-width:90vw;box-shadow:0 6px 25px #163b242b}#toast.show{opacity:1;transform:translate(-50%,0)}.loading-indicator{padding:50px;font-size:16px;color:#7a8b6c}.exporting{cursor:progress}
@media(min-width:1550px){.workspace{grid-template-columns:230px 390px minmax(400px,1fr)}.editor-body{padding:26px 30px}.editor-heading{padding-left:30px}.preview-scroll{padding-left:50px;padding-right:50px}.header-actions{gap:11px}}
@media(max-width:1150px){.workspace{grid-template-columns:174px 305px minmax(300px,1fr)}.app-header{padding:0 18px;gap:15px}.brand{min-width:175px}.document-name{padding-left:14px}.save-status{display:none}.section-item{font-size:11px;padding:12px 8px;gap:7px}.outline{padding-left:8px;padding-right:8px}.editor-heading{padding:24px 20px 18px}.editor-body{padding:22px 19px}.preview-toolbar{padding:0 15px}.preview-toolbar small{display:none}.preview-scroll{padding:0 20px 25px}.preview-controls{gap:7px!important}.check-toggle{font-size:9px}.theme-button{font-size:10px}}
@media(max-width:900px){.workspace{grid-template-columns:148px 290px minmax(270px,1fr)}.document-name{display:none}.brand{min-width:180px}.outline-heading{padding:0 5px}.section-item .badge{display:none}.section-item{padding:12px 7px}.preview-toolbar{flex-wrap:wrap;height:68px;gap:3px;padding:10px 13px}.preview-scroll{padding:0 14px 20px}.preview-ruler{font-size:8px}.progress-card{padding:12px 5px}.progress-card p{display:none}.local-note{margin-left:5px;font-size:9px}.header-actions{gap:3px}}
@media(max-width:740px){.app-header{height:68px;padding:0 10px;gap:8px}.brand{min-width:0;margin-right:auto;gap:8px;flex-shrink:0}.brand-mark{width:32px;height:34px;font-size:20px}.brand strong{font-size:16px}.brand small{display:none}.header-actions{gap:2px;flex-shrink:0}.header-actions .menu{display:block}.header-actions .menu summary{padding:10px;font-size:11px;gap:0}.menu-label,.menu-chevron{display:none}.menu-mobile-label{display:inline}.header-actions .dropdown{width:210px;max-width:calc(100vw - 24px)}.header-actions .icon-btn{width:28px}.header-actions .primary{padding:10px 12px;font-size:11px}.header-actions .primary>span:last-child{display:none}.mobile-switch{height:42px;display:flex;background:#fff;border-bottom:1px solid #dde5d5}.mobile-switch button{flex:1;color:#829275;font-size:12px}.mobile-switch .active{color:#234f37;border-bottom:3px solid #456f35;font-weight:700}.workspace{height:calc(100vh - 110px);display:grid;grid-template-columns:1fr;grid-template-rows:65px minmax(0,1fr)}.outline{padding:7px;background:#f2f6eb;border-right:0;overflow:hidden}.outline-heading,.outline-bottom{display:none}.section-list{flex-direction:row;gap:5px;overflow:auto}.section-item{width:auto;min-width:125px;min-height:48px;padding:8px}.section-item .section-label{font-size:10px}.section-item .num{font-size:9px}.section-item .drag-handle{display:none}.editor-panel{grid-row:2;border:0}.editor-heading{padding:18px 20px 12px}.editor-heading>span{font-size:9px}.editor-heading h1{font-size:20px;margin:7px 0 10px}.editor-tabs button{padding:12px}.editor-body{padding:20px}.preview-panel{display:none;grid-row:2}.workspace.preview-mode .editor-panel{display:none}.workspace.preview-mode .preview-panel{display:flex}.preview-toolbar{height:48px;flex-wrap:nowrap;padding:0 15px}.preview-toolbar small{display:inline}.preview-toolbar b{font-size:11px}.preview-controls{gap:10px!important}.preview-scroll{padding:0 14px 25px}.form-label input,.form-label textarea{font-size:14px}.photo-card img{height:180px}.local-note{font-size:10px}dialog{padding:22px}.dialog-header h2{font-size:21px}}

.export-file-link{display:block;margin-top:12px;color:#275438;font-weight:700;text-decoration:underline;text-underline-offset:3px}.section-item .section-label{min-width:0;overflow-wrap:anywhere}

/* Reusable photo library */
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#library-dialog{width:min(860px,calc(100vw - 32px));max-width:860px}.library-upload-area{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eff5e9;border:1px dashed #b2c6a2;border-radius:12px;padding:20px;margin:16px 0 12px}.library-upload-area strong{font-size:15px}.library-upload-area p{font-size:12px;color:#718362;line-height:1.7;margin:7px 0 0}.library-storage-note{font-size:11px;color:#7b8772;line-height:1.8;margin:0 0 20px}.library-controls{display:flex;gap:10px}.library-search-label{flex:1;min-width:0}.library-controls input,.library-controls select{width:100%;padding:11px 12px;background:white;border:1px solid #d8e2cd;border-radius:8px;font-size:13px;color:#34502c}.library-controls select{width:auto;max-width:45%}.library-summary{display:flex;justify-content:space-between;font-size:11px;color:#829274;margin:15px 0 7px}.library-feedback{display:flex;align-items:center;gap:10px;margin-bottom:15px}.library-feedback p{font-size:12px;color:#597644;line-height:1.6;flex:1;margin:4px 0}.library-feedback .error{color:#a55732}.library-feedback button{padding:8px;font-size:11px}.library-errors:empty{display:none}.library-errors{font-size:12px;color:#a55732;background:#fff4e8;padding:12px;border-radius:8px;margin-bottom:16px;line-height:1.7}.library-errors li{overflow-wrap:anywhere}.library-errors ul{max-height:150px;overflow:auto;padding-left:20px}
#photo-library{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.library-card{border:1px solid #dce5d3;border-radius:10px;overflow:hidden;background:#fff}.library-card>.library-photo{border:0;border-radius:0;width:100%;padding:8px}.library-card .library-photo img{height:130px;object-fit:contain;background:#f2f4ed}.library-card .library-name{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:9px 2px 3px}.library-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1e7;padding:7px 10px;min-height:32px;font-size:10px;color:#8c987f}.library-remove{font-size:10px;color:#9c705a;padding:3px}.library-remove:hover{color:#9b3f26;text-decoration:underline}.library-empty{grid-column:1/-1;text-align:center;padding:40px 10px;background:#f5f7ef;border-radius:12px;color:#849275;font-size:13px}.library-source-preview{position:relative;overflow:hidden;height:130px;width:100%!important;border-radius:4px}.library-source-preview img{position:absolute;max-width:none!important;object-fit:fill!important;border-radius:0!important}.library-dragover .library-upload-area{outline:3px solid #82a86a;background:#e0edd5}
@media(max-width:700px){#photo-library{grid-template-columns:repeat(3,minmax(0,1fr))}.library-upload-area{align-items:flex-start;flex-direction:column}.library-upload-area .button{width:100%}.library-controls{flex-wrap:wrap}.library-controls select{max-width:50%}.library-card .library-photo img,.library-source-preview{height:100px}}
@media(max-width:460px){#photo-library{grid-template-columns:repeat(2,minmax(0,1fr))}.library-controls select{width:100%;max-width:none}.library-search-label{flex-basis:100%}.library-feedback{flex-wrap:wrap}.library-feedback p{flex-basis:100%}}

.library-backup{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.library-backup button{font-size:11px;padding:8px 11px}

.editor-tabs{padding-left:10px;padding-right:10px}.editor-tabs button{font-size:11px}.layout-heading{font-size:13px;margin:26px 0 15px;padding-top:18px;border-top:1px solid #e5ebdd}.layout-field{display:block;font-size:11px;font-weight:600;margin:14px 0}.layout-field>span{display:block;margin-bottom:8px}.layout-field select{width:100%;border:1px solid #dce3d4;background:#fcfdf9;color:#30452e;border-radius:7px;padding:10px;font-size:12px}.layout-preset-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.layout-preset-row button{font-size:10px;padding:8px}.layout-range{display:block;font-size:11px;margin:17px 0}.layout-range>span{display:flex;align-items:center;justify-content:space-between}.layout-range output{font-size:10px;color:#6f8b5e;background:#f0f5e9;border-radius:5px;padding:4px 7px;font-variant-numeric:tabular-nums}.layout-range input{width:100%;accent-color:#315f40;margin-top:10px}.layout-order-row{display:flex;gap:5px;align-items:center;border:1px solid #e0e7d8;background:#f8faf4;border-radius:6px;padding:9px;margin-bottom:6px;font-size:11px}.layout-order-row>span{flex:1;line-height:1.5}.layout-order-row button{flex-shrink:0}.layout-visibility{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}.layout-visibility label,.layout-checkbox{display:flex;align-items:center;gap:7px;font-size:11px;color:#748465}.layout-visibility input,.layout-checkbox input{width:13px;height:13px}.layout-reset{width:100%;margin-top:25px;font-size:12px}

/* Editor furniture is excluded from exported artwork. */
.free-section .free-object{cursor:move;touch-action:none;user-select:none}.free-section .free-object:hover{outline:1px dashed #4d8968}.free-section .free-object:focus-visible{outline:2px solid #357a56}.free-selection{position:absolute;border:2px solid #37855d;pointer-events:none;z-index:1000;box-sizing:border-box}.free-handle{position:absolute;width:14px;height:14px;background:#fff;border:2px solid #37855d;border-radius:3px;padding:0;pointer-events:auto;touch-action:none}.handle-nw{top:-8px;left:-8px;cursor:nwse-resize}.handle-ne{top:-8px;right:-8px;cursor:nesw-resize}.handle-sw{bottom:-8px;left:-8px;cursor:nesw-resize}.handle-se{bottom:-8px;right:-8px;cursor:nwse-resize}.handle-n{top:-8px;left:calc(50% - 7px);cursor:ns-resize}.handle-s{bottom:-8px;left:calc(50% - 7px);cursor:ns-resize}.handle-w{left:-8px;top:calc(50% - 7px);cursor:ew-resize}.handle-e{right:-8px;top:calc(50% - 7px);cursor:ew-resize}.free-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.free-input-grid label{font-size:12px;color:#3b5344}.free-input-grid input,.layout-field input{display:block;width:100%;padding:10px;border:1px solid #d3ddce;border-radius:7px;background:white;margin-top:6px}.free-help{font-size:12px;line-height:1.8;background:#edf5e9;padding:14px;border-radius:8px}.free-enable{width:100%;margin-bottom:14px}#free-edit-btn{font-size:11px;padding:7px 9px;white-space:nowrap}.exporting .free-selection{display:none}

.free-add-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.free-add-row .button{padding:10px 6px;font-size:12px}.free-photo-menu{border:1px solid #cbd8c7;border-radius:7px;background:white;font-size:12px}.free-photo-menu summary{cursor:pointer;padding:11px 6px;text-align:center;font-weight:700}.free-photo-menu .button{width:100%;border:0}.free-place-hint{background:#fff1cf;border:1px solid #d8b05e;border-radius:8px;padding:12px;font-size:12px;line-height:1.8;margin:12px 0}.free-place-hint span{display:block}.placing-object,.placing-object .free-object{cursor:crosshair!important}.placing-object{outline:3px dashed #b78b37!important}.layout-field textarea{display:block;width:100%;padding:12px;border:1px solid #d3ddce;border-radius:7px;resize:vertical;line-height:1.6}.free-delete{margin-top:14px;color:#a34e36}
.layout-field .small-btn{min-width:38px;flex-shrink:0;white-space:nowrap}.free-add-row{align-items:start}

/* Marketgreen integration: navigation and local-data migration help. */
.outline{position:relative;min-height:0;z-index:9}.outline-bottom{flex-shrink:0}.section-list{min-height:0}
.studio-home-link{display:flex;align-items:center;min-height:40px;margin-top:12px;padding:10px;border:1px solid #d4deca;border-radius:8px;color:#28543a;background:#fff;font-size:12px;font-weight:700;text-decoration:none;line-height:1.5}
.studio-home-link:hover{background:#e9f0e1;border-color:#9ab58a}
.studio-migration{position:relative;margin:10px 10px 0;font-size:11px;line-height:1.7;color:#53684b}
.studio-migration summary{padding:5px 0;font-weight:700;cursor:pointer;border-radius:3px}
.studio-migration-body{position:absolute;bottom:calc(100% + 8px);left:0;width:min(320px,calc(100vw - 32px));max-height:min(50vh,340px);overflow:auto;padding:13px 16px;overflow-wrap:anywhere;background:#fff;border:1px solid #cbd8bf;border-radius:9px;box-shadow:0 10px 24px #203c2526;z-index:20}
.studio-migration-body p{margin:5px 0 10px}
.studio-migration-body ol{padding-left:18px;margin:8px 0}
.studio-migration-body li+li{margin-top:9px}
.studio-migration-body b{font-weight:700;color:#244f37}
@media(max-width:900px) and (min-width:741px){.studio-migration{margin-left:5px;margin-right:5px;font-size:10px}.studio-home-link{padding:9px 6px;font-size:11px}}
@media(max-width:740px){.workspace{grid-template-rows:106px minmax(0,1fr)}.outline{position:relative;overflow:visible;z-index:9}.section-list{flex-shrink:0;height:50px}.outline-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;padding-top:0;min-height:35px}.outline-bottom>.progress-card,.outline-bottom>.theme-button,.outline-bottom>.local-note{display:none}.studio-home-link{order:-1;margin:0;min-height:35px;padding:6px 9px;font-size:11px;flex-shrink:0}.studio-migration{position:static;margin:0 4px 0 0;font-size:11px}.studio-migration summary{padding:7px 3px;white-space:nowrap}.studio-migration-body{position:absolute;top:calc(100% - 3px);bottom:auto;left:7px;right:7px;width:auto;padding:13px 16px;background:#fff;border:1px solid #cbd8bf;border-radius:9px;box-shadow:0 10px 24px #203c2526;max-height:min(48vh,320px);overflow:auto;z-index:20;line-height:1.8}.studio-migration-body p:last-child{margin-bottom:0}}
