[data-text-overridden]{white-space:pre-line}.editor-toolbar{position:fixed;bottom:20px;right:24px;z-index:1000;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d6deed;border-radius:12px;padding:12px;box-shadow:0 8px 36px #17202e24;font:14px/1.5 var(--font,Arial,sans-serif);max-width:calc(100vw - 32px)}.editor-toolbar [hidden],.editor-dialog [hidden]{display:none!important}.editor-toolbar.is-editing{left:24px;right:24px;max-width:none}.editor-toolbar button,.editor-dialog button,.image-edit-actions button{font:600 14px/1.5 var(--font,Arial,sans-serif);padding:10px 16px;border:1px solid #ced5e2;border-radius:6px;cursor:pointer;background:white;color:#17202e}.editor-toolbar .editor-primary,.editor-dialog .editor-primary{background:#2849df;color:#fff;border-color:#2849df}.editor-toolbar button:disabled,.editor-dialog button:disabled{opacity:.5;cursor:not-allowed}.editor-guidance{color:#505a68;flex:1}.editor-status{color:#2849df;font-size:13px;max-width:440px;white-space:normal}.editor-status.is-error{color:#b32939}.portfolio-editing{padding-bottom:100px}.portfolio-editing [data-edit-text]{outline:1px dashed #b5c2e6;outline-offset:4px;cursor:text;min-height:1em;white-space:pre-line}.portfolio-editing [data-edit-text]:focus{outline:2px solid #2849df;background:#f5f7ff}.portfolio-editing .editor-selected-slot{box-shadow:-8px 0 0 #2849df}.inserted-image{margin:26px auto;max-width:100%;clear:both}.inserted-image img{width:100%;height:auto;border-radius:5px}.inserted-image.image-medium{width:75%}.inserted-image.image-small{width:50%}.inserted-image figcaption{text-align:center;font-size:14px;color:#616a78;padding-top:12px;white-space:pre-line;overflow-wrap:anywhere}.image-edit-actions{display:flex;flex-wrap:wrap;gap:6px;background:#edf1ff;padding:10px;border-radius:6px 6px 0 0}.image-edit-actions button{font-size:13px;padding:6px 10px}.editor-dialog{width:min(760px,calc(100vw - 32px));max-height:90vh;border:1px solid #d9dfeb;border-radius:14px;padding:0;color:#17202e;font-family:var(--font,Arial,sans-serif);box-shadow:0 25px 80px #17202e40}.editor-dialog::backdrop{background:#10192899}.image-editor-heading{position:sticky;top:0;z-index:2;background:white;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid #dde1e7;margin:0}.image-editor-heading h2{font-size:21px}.image-editor-heading button{font-size:24px;line-height:1;padding:5px 10px;border:0}.image-editor-body{padding:22px 24px}.editor-field{display:grid;gap:7px;font-size:14px;font-weight:600;margin-bottom:18px}.editor-field input,.editor-field select{font:400 15px/1.5 var(--font,Arial,sans-serif);color:#17202e;border:1px solid #bac5d7;border-radius:6px;padding:11px 12px;background:white;min-width:0;width:100%}.editor-field input:focus,.editor-field select:focus{outline:2px solid #2849df;outline-offset:2px}.editor-media-tabs{display:flex;gap:10px;margin-bottom:18px}.editor-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;background:#f4f6ff;border:1px dashed #8398d8;border-radius:8px;cursor:pointer;text-align:center;padding:20px}.editor-upload input{max-width:100%;font:14px var(--font);margin-bottom:12px}.editor-upload strong{font-size:16px}.editor-upload span{font-size:13px;color:#616a78}#image-status{font-size:14px;line-height:1.7;margin:16px 0;color:#2849df}#image-preview{display:block;max-height:250px;object-fit:contain;width:100%;margin:20px 0;background:#f4f6f9;border-radius:6px}.image-editor-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:white;border-top:1px solid #dde1e7}.image-editor-footer>span{font-size:13px;color:#616a78}.editor-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:300px;overflow:auto}.editor-library .library-item{padding:8px;text-align:left;overflow:hidden}.library-item img{width:100%;height:90px;object-fit:contain;background:#f4f6f9}.library-item span{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:8px}#library-more{margin-top:12px}
@media(max-width:900px){.editor-guidance{display:none}.editor-toolbar .editor-status{flex:1}.editor-toolbar.is-editing{flex-wrap:wrap}.editor-status{max-width:none}.editor-dialog{max-height:92vh}}
@media(max-width:600px){.editor-toolbar,.editor-toolbar.is-editing{bottom:10px;left:10px;right:10px;padding:10px;gap:8px;max-width:none}.editor-toolbar:not(.is-editing){left:auto}.editor-toolbar button{padding:9px 12px}.editor-toolbar.is-editing .editor-status{flex-basis:100%;order:5;font-size:13px}.editor-toolbar.is-editing #x{display:none}.editor-toolbar.is-editing button:last-child{margin-left:auto}.portfolio-editing{padding-bottom:150px}.image-editor-body,.image-editor-heading,.image-editor-footer{padding:16px}.image-editor-footer{flex-wrap:wrap}.editor-library{grid-template-columns:repeat(2,minmax(0,1fr))}.inserted-image.image-small{width:70%}.inserted-image.image-medium{width:90%}}
@media print{.editor-toolbar,.editor-dialog,.image-edit-actions{display:none!important}.portfolio-editing [data-edit-text]{outline:0}.inserted-image{break-inside:avoid}}
/* Precision layout editor: overlays the page without changing its viewport width. */
.layout-panel{position:fixed;z-index:990;top:12px;right:16px;bottom:106px;width:330px;overflow:auto;padding:18px;background:#fff;color:#17202e;border:1px solid #cbd4e2;border-radius:10px;box-shadow:0 12px 55px #0004;font:14px/1.5 var(--font,Arial,sans-serif);text-align:left;isolation:isolate}.layout-panel[hidden]{display:none!important}.layout-panel *{box-sizing:border-box}.layout-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.layout-panel h2{font-size:20px;line-height:1.4;margin:0}.layout-panel button{font:500 12px/1.4 var(--font,Arial,sans-serif);padding:7px 10px;border:1px solid #bdc9db;border-radius:4px;background:#fff;color:#17202e;cursor:pointer}.layout-panel p{font-size:12px;line-height:1.6;margin:10px 0;color:#566273}.layout-panel .layout-message{color:#2849df}.layout-devices{display:flex;gap:8px;margin-top:14px}.layout-devices button{flex:1;font-size:14px}.layout-devices button[aria-pressed=true],.editor-toolbar button[aria-pressed=true]{background:#e8edff;border-color:#2849df;color:#1534b6}.layout-target-label{display:grid;gap:7px;font-size:13px;font-weight:600;margin:15px 0}.layout-panel select,.layout-panel input[type=number]{display:block;width:100%;max-width:100%;min-width:0;font:400 13px/1.4 var(--font,Arial,sans-serif);padding:8px;border:1px solid #bfc9d9;background:#fff;color:#17202e;border-radius:4px}.layout-panel input:invalid{border-color:#b32939}.layout-control{margin:14px 0}.layout-control-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;font-size:12px}.layout-control-title button{padding:3px 7px;font-size:11px}.layout-number-line{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:12px;align-items:center}.layout-number-line input[type=range]{width:100%;accent-color:#2849df;margin:0}.layout-spacing{border-top:1px solid #dce2eb;margin:18px 0;padding-top:12px}.layout-spacing summary{font-weight:600;cursor:pointer;font-size:13px}.layout-save-note{border-top:1px solid #dce2eb;padding-top:12px}.layout-panel input:focus-visible,.layout-panel select:focus-visible,.layout-panel button:focus-visible{outline:2px solid #2849df;outline-offset:2px}.layout-picking [data-layout-id]{cursor:crosshair!important}.layout-selected{outline:3px solid #ecab35!important;outline-offset:5px!important}.layout-picking [data-edit-text]{cursor:crosshair;outline:0}.layout-picking .scene-media{pointer-events:none}.editor-busy .image-edit-actions,.editor-busy .cover-edit{pointer-events:none;opacity:.5}.layout-panel[inert]{opacity:.65}.portfolio-editing [data-edit-text]:focus{color:#17202e}.portfolio-editing .scene [data-edit-text]:focus{background:#17202e;color:white}.portfolio-editing .scene-profile [data-edit-text]:focus,.portfolio-editing .scene-contact [data-edit-text]:focus{background:#f5f7ff;color:#17202e}
@media(max-width:720px){.layout-panel{top:auto;bottom:158px;right:10px;left:10px;width:auto;max-height:46svh;padding:14px}.layout-panel-heading{margin-bottom:7px}.layout-intro{display:none}.layout-panel h2{font-size:18px}.layout-panel .layout-device-note{font-size:11px}.layout-devices{margin-top:8px}}
@media print{.layout-panel{display:none!important}.layout-selected{outline:0!important}}

edit-text{display:inline-block;max-width:100%;white-space:inherit}

.scene-overlays{position:absolute;inset:0;z-index:5;pointer-events:none}
.scene-overlays>.inserted-image{position:absolute;left:75%;top:25%;width:25%;max-width:100%;margin:0;transform:translate(-50%,-50%);pointer-events:auto;background:transparent}
.scene-overlays>.inserted-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.scene-overlays>.inserted-image figcaption{position:static;background:#111b;color:#fff;padding:6px 10px}
.scene-overlays .image-edit-actions{position:absolute;bottom:100%;left:0;display:flex;flex-wrap:wrap;min-width:210px;background:#fff;z-index:8}
@media(max-width:720px){.scene-overlays>.inserted-image{left:50%;width:60%}}

.structure-dialog{width:min(900px,94vw)}.structure-row{display:flex;gap:8px;align-items:center;border-bottom:1px solid #ddd;padding:12px 0}.structure-row label{flex:1;display:flex;gap:10px;align-items:center}.structure-row input{width:18px;height:18px;flex-shrink:0}.structure-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.structure-dialog button{cursor:pointer;padding:8px;border:1px solid #bac6dc;background:white;border-radius:4px;color:#13233b}.structure-dialog button:disabled{opacity:.45}.structure-dialog [data-path]{font-size:12px;color:#617087}

[data-structure-hidden]{display:none!important}

.section-background{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.section-background>.inserted-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;translate:none!important}
.section-background>.inserted-image img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;border:0!important;border-radius:0!important;filter:brightness(var(--section-brightness,1))}
.section-background>.inserted-image:has(~.inserted-image),.section-background figcaption{display:none}
.section-background:has(.inserted-image)::after{content:"";position:absolute;inset:0;background:#0005}
.scene-profile>.section-background:has(.inserted-image)::after,.scene-contact>.section-background:has(.inserted-image)::after{background:#ffffffa6}
.scene:has(>.section-background>.inserted-image)>.scene-media,.scene:has(>.section-background>.inserted-image)>.scene-shade{display:none}
.scene-profile>.profile-visual,.scene-contact>.contact-inner,.scene-contact>.footer{z-index:2;position:relative}
.scene-contact>.footer{position:absolute}

.scene-profile>.profile-visual[data-structure-hidden]{display:block!important}
.profile-visual[data-structure-hidden]>.scene-media,.profile-visual:has(.profile-gallery>.inserted-image)>.scene-media{display:none}
.profile-gallery{position:relative;z-index:2;display:flex;flex-direction:column;gap:16px;width:100%}
.profile-gallery>.inserted-image{margin:0;flex-shrink:0}
.profile-gallery>.inserted-image img{width:100%;height:auto;max-height:none;object-fit:contain}
.profile-visual:has(.profile-gallery>.inserted-image){height:auto;min-height:330px}
.portfolio-editing .profile-visual[data-structure-hidden]:not(:has(.profile-gallery>.inserted-image)){outline:1px dashed #8a94a6;background:#edf1f655}


.text-style-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-left:1px solid #ccd3df;padding-left:10px}.text-style-controls[hidden]{display:none}.text-style-controls>span{font-size:11px;color:#62718a}.text-style-controls label{display:flex;align-items:center;gap:5px;font-size:12px}.text-style-controls input{width:32px;height:30px;padding:2px}.text-style-controls button[aria-pressed="true"]{background:#dce3ff;border-color:#3450d0}

.added-text-block{display:block;font-size:16px;font-weight:400;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;min-width:0;max-width:100%}.portfolio-editing .added-text-block:empty::before{content:'빈 문단 · 클릭해서 입력';opacity:.55}.editor-dialog textarea{width:100%;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #bdc7df;border-radius:6px;}
/* Mobile is a document flow: saved free-image coordinates apply only on desktop. */
@media(max-width:720px){
 :root body{--nav-height:100px}
 :root body .header[data-layout-id]{height:100px!important;padding:4px 16px!important;translate:none!important;grid-template-rows:38px 1fr}
 :root body .header .brand[data-layout-id]{font-size:14px!important;white-space:normal;width:auto!important;translate:none!important}
 :root body .header nav[data-layout-id]{font-size:16px!important;gap:18px!important;width:auto!important;translate:none!important}
 :root body .header nav [data-layout-id]{font-size:inherit!important;translate:none!important}
 :root body.scene-home .scene[data-layout-id]{display:flex;flex-direction:column;align-items:stretch!important;justify-content:flex-start!important;min-height:0;height:auto;padding:40px 22px 44px!important;gap:24px;width:100%!important;translate:none!important}
 :root body.scene-home .scene-content[data-layout-id],:root body.scene-home .contact-inner[data-layout-id]{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;translate:none!important}
 :root body.scene-home :is(.scene-content,.contact-inner) [data-layout-id]{translate:none!important;max-width:100%!important;min-width:0;overflow-wrap:anywhere}
 :root body.scene-home :is(.scene-content,.contact-inner) :is(h1,h2,h3)[data-layout-id]{font-size:clamp(23px,6vw,30px)!important;line-height:1.5;white-space:normal}
 :root body.scene-home :is(.scene-content,.contact-inner) p[data-layout-id]{font-size:16px!important;line-height:1.8;white-space:pre-line}
 :root body.scene-home .scene-overlays{position:relative;inset:auto;display:flex;flex-direction:column;gap:20px;width:100%;pointer-events:auto;order:3}
 :root body.scene-home .scene-overlays:not(:has(.inserted-image)){display:none}
 :root body.scene-home .scene-overlays>.inserted-image[data-layout-id]{position:relative;inset:auto!important;translate:none!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
 :root body.scene-home .scene-overlays>.inserted-image img{width:100%;height:auto;max-height:none}
 :root body.scene-home .scene-overlays .image-edit-actions{position:static;min-width:0}
 :root body.scene-home .scene-content>.inserted-image{max-height:none}
 :root body.scene-home .scene-content>.inserted-image img{max-height:none;height:auto}
 :root body.scene-home .profile-content{order:0}
 :root body.scene-home .profile-visual[data-layout-id]{order:1;height:auto;min-height:0;width:100%!important;translate:none!important;align-self:stretch}
 :root body.scene-home .profile-visual>.scene-media{position:relative;aspect-ratio:4/3}
 :root body.scene-home .profile-gallery>.inserted-image[data-layout-id]{width:100%!important;translate:none!important;margin:0!important}
 :root body.scene-home .experience>div{display:block;padding:14px 0;border-bottom:1px solid #8883}
 :root body.scene-home .experience>div>span{display:block;margin-bottom:6px}
 :root body.scene-home .scene-next{position:relative;inset:auto;align-self:flex-end;order:4;margin-top:12px}
 :root body.scene-home .scene-contact .footer{position:relative;inset:auto;width:100%;margin-top:32px;flex-wrap:wrap;gap:12px}
 :root body.scene-home .email[data-layout-id]{font-size:clamp(18px,5vw,26px)!important;gap:12px}
 :root body.scene-home .profile-content>p:has(.text-link){margin-left:0}
 :root body.scene-home .scene:has(.section-background>.inserted-image)>.section-background::after{background:#101820b3}
 :root body.scene-home :is(.scene-profile,.scene-contact):has(.section-background>.inserted-image)>.section-background::after{background:#fffD}
 .portfolio-editing [data-edit-link]{cursor:pointer}
}

/* Match paragraphs inserted into a list to native list items, including old saved rows. */
:root body :is(ul,ol)>li.added-text-block{display:list-item;font-size:inherit;font-weight:inherit;line-height:inherit;white-space:normal;margin:0;padding:0}
:root body .resume-page :is(ul,ol)>li.added-text-block{font-size:15px;color:var(--muted)}
/* The main hero owns two independent columns; saved absolute positions cannot cross into text. */
:root body.scene-home .scene-main[data-layout-id]{display:grid!important;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,80px)!important;align-items:center!important;min-height:calc(100svh - var(--nav-height));height:auto!important;width:100%!important;padding:48px clamp(24px,6vw,112px)!important;translate:none!important}
:root body.scene-home .scene-main .hero-identity[data-layout-id]{display:flex;flex-direction:column;align-items:flex-start;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;translate:none!important;min-width:0}
:root body.scene-home .scene-main .hero-identity [data-layout-id]{translate:none!important;max-width:100%!important;min-width:0;margin-left:0!important;margin-right:0!important}
:root body.scene-home .scene-main .hero-identity h1[data-layout-id]{font-size:clamp(24px,2.25vw,38px)!important;line-height:1.55!important;width:100%!important;margin:0!important;white-space:normal;overflow-wrap:anywhere}
:root body.scene-home .scene-main .hero-identity .eyebrow{font-size:14px!important;letter-spacing:.06em;margin:22px 0 16px!important}
:root body.scene-home .scene-main .hero-identity>.inserted-image[data-layout-id]{width:150px!important;max-height:none;max-width:100%!important;position:relative;inset:auto!important;transform:none!important;margin:0!important;padding:0!important}
:root body.scene-home .scene-main .hero-identity>.inserted-image img{width:100%;height:auto;max-height:200px;object-fit:contain;object-position:left center}
:root body.scene-home .scene-main .scroll-cue[data-layout-id]{margin:28px 0 0!important;width:auto!important;font-size:14px!important;gap:30px}
:root body.scene-home .scene-main>.scene-overlays{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;min-width:0;align-items:center;pointer-events:auto;z-index:2;order:0}
:root body.scene-home .scene-main>.scene-overlays>.inserted-image[data-layout-id]{position:relative;inset:auto!important;translate:none!important;transform:none!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important}
:root body.scene-home .scene-main>.scene-overlays>.inserted-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
:root body.scene-home .scene-main>.scene-overlays .image-edit-actions{position:static;min-width:0;flex-wrap:wrap}
@media(max-width:1000px){
 :root body.scene-home .scene-main[data-layout-id]{grid-template-columns:minmax(0,1fr);gap:30px!important}
 :root body.scene-home .scene-main .hero-identity>.inserted-image{order:2;margin-top:20px!important}
 :root body.scene-home .scene-main .hero-identity .eyebrow{order:0;margin-top:0!important}
 :root body.scene-home .scene-main .hero-identity h1{order:1}
 :root body.scene-home .scene-main .scroll-cue{order:3}
 :root body.scene-home .scene-main>.scene-overlays{order:4;gap:12px}
}
@media(max-width:720px){
 :root body.scene-home .scene-main[data-layout-id]{padding:32px 22px!important;gap:28px!important}
 :root body.scene-home .scene-main .hero-identity>.inserted-image[data-layout-id]{width:108px!important}
 :root body.scene-home .scene-main .hero-identity>.inserted-image img{max-height:144px}
 :root body.scene-home .scene-main .hero-identity h1[data-layout-id]{font-size:25px!important}
}

h2.added-text-block,h3.added-text-block{font-weight:700;color:var(--ink);line-height:1.5}h2.added-text-block{font-size:24px}h3.added-text-block{font-size:20px}
.detail-cover{position:relative}
.detail-cover-edit{position:absolute;right:16px;top:16px;z-index:5;padding:10px 16px;border:1px solid #75808c;border-radius:4px;background:#192735;color:white;cursor:pointer;font:600 14px/1.4 sans-serif}
.detail-cover:has(>[data-inserted-image])>img{display:none}
.detail-cover>[data-inserted-image]{margin:0 auto}
.video-heading{display:flex;align-items:center;gap:0;padding:20px 10px;font-size:15px;line-height:1.8;background:var(--soft)}
.video-heading>.video-title{display:block;margin:0;padding:0;min-width:0;font:inherit;color:inherit}
.video-heading>.video-label{flex:none;margin-right:20px;font-size:11px;color:var(--blue)}
.video-heading>.video-label:empty,.video-heading>.video-label:has(>edit-text:empty),.video-heading>.video-label:has(>[data-structure-hidden]){display:none}
.video-poster{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;background:#111;cursor:pointer;overflow:hidden}
.video-poster img{width:100%;height:100%;object-fit:cover;display:block}
.video-poster>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#e62117;color:#fff;padding:12px 24px;border-radius:12px;font-size:28px}
/* Shared by videos on every project page, including pages without worlds.css. */
.video-content iframe{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;border:0;background:#121b2b}
.video-content>.text-link{display:table;font-size:13px;margin-top:12px}
.video-content iframe[hidden],.video-poster[hidden]{display:none!important}
.video-position-edit{display:none}
.portfolio-editing .video-position-edit{display:block;margin:8px 0 8px auto;padding:9px 16px;cursor:pointer}

/* Compact support-world introductions and remove rows whose only label is hidden. */
.world-layout #overview>.text-link:has(>edit-text[data-structure-hidden]){display:none}
.world-layout .case-body:has(>#scenario[data-structure-id="block-world-added-scenario"])>#overview{margin-bottom:28px}

.video-order-controls{display:none}.portfolio-editing .video-order-controls{display:flex;justify-content:flex-end;gap:6px;margin:8px 0}.portfolio-editing .video-order-controls .video-position-edit{margin:0}.video-order-controls button:disabled{opacity:.4;cursor:default}
