.cms-mode{padding-top:64px;padding-right:340px}.cms-mode #cms-toolbar{position:fixed;inset:0 0 auto;z-index:9999;display:flex;gap:10px;align-items:center;padding:10px 18px;background:#11151b;color:#f7f7f7;border-bottom:1px solid #4b5563;font:14px system-ui;flex-wrap:wrap}.cms-mode #cms-toolbar strong{color:#ff9d4b;margin-right:8px}.cms-mode #cms-toolbar a,.cms-mode #cms-toolbar button,.cms-mode #cms-toolbar select{background:#262b33;border:1px solid #454c55;border-radius:7px;padding:7px 10px;color:white;text-decoration:none;cursor:pointer;font:inherit}.cms-mode #cms-toolbar #cms-publish{background:#ec832c;color:#151515;font-weight:700}.cms-mode #cms-unsaved{color:#ddd}.cms-mode #cms-notice{color:#ffbd80}.cms-mode #cms-panel{position:fixed;z-index:9998;right:0;top:64px;bottom:0;width:340px;max-width:100vw;padding:24px;overflow:auto;background:#181c22;color:#f5f5f5;border-left:1px solid #41464d;font:14px/1.4 system-ui;box-shadow:-10px 0 40px #0005}.cms-mode #cms-panel h2{font-size:22px;margin:0 0 18px}.cms-mode #cms-panel label{display:block;margin:12px 0;color:#cbd1d7}.cms-mode #cms-panel input,.cms-mode #cms-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px;border:1px solid #505760;border-radius:6px;background:#262b32;color:white;font:inherit}.cms-mode #cms-panel textarea{min-height:90px}.cms-mode #cms-panel button{background:#31363d;color:#fff;border:1px solid #565d67;padding:9px;border-radius:6px;cursor:pointer;margin:3px}.cms-mode #cms-panel .cms-actions,.cms-mode #cms-panel .cms-add-list{display:flex;flex-wrap:wrap;margin-top:15px}.cms-mode #cms-panel .cms-media{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.cms-mode #cms-panel .cms-media button{overflow:hidden}.cms-mode #cms-panel .cms-media img{width:100%;height:88px;object-fit:cover;display:block}.cms-mode #cms-panel .cms-element-type{text-transform:uppercase;letter-spacing:.14em;color:#e9a06d}.cms-mode .cms-editing [data-cms-id]:hover,.cms-mode .cms-editing [data-cms-added]:hover{outline:2px solid #f59649!important;outline-offset:3px;cursor:pointer}.cms-mode .cms-editing .cms-selected{outline:2px solid #ff9d4b!important;outline-offset:4px}.cms-mode[data-cms-device="tablet"] #app{max-width:850px;margin:auto;border:1px solid #424950}.cms-mode[data-cms-device="mobile"] #app{max-width:390px;margin:auto;border:1px solid #424950}.cms-added{margin-top:4rem;margin-bottom:4rem}.cms-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.cms-gallery img,.cms-added>img{width:100%;max-height:550px;object-fit:cover;border-radius:16px}@media(max-width:850px){.cms-mode{padding-right:0;padding-top:110px}.cms-mode #cms-panel{position:relative;top:0;width:auto;max-width:none;border:0}.cms-mode #cms-toolbar{min-height:90px}.cms-mode[data-cms-device="mobile"] #app{max-width:390px}}
.cms-preview #cms-panel{display:none}.cms-preview{padding-right:0}.cms-preview .cms-editing [data-cms-id]:hover,.cms-preview .cms-editing [data-cms-added]:hover,.cms-preview .cms-editing .cms-selected{outline:none!important;cursor:inherit}
.cms-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}.cms-added iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:16px}.cms-added.feature-card{padding:30px;border:1px solid #383b40;border-radius:16px}
.cms-mode .site-header [data-cms-id]:hover,.cms-mode .footer [data-cms-id]:hover{outline:2px solid #f59649;outline-offset:3px;cursor:pointer}.cms-mode .site-header .cms-selected,.cms-mode .footer .cms-selected{outline:2px solid #ff9d4b;outline-offset:4px}
.cms-mode .cms-editing [draggable="true"]{cursor:grab}.cms-mode .cms-editing [draggable="true"]:active{cursor:grabbing}
/* The editor shell uses the live portfolio as its canvas. */
.cms-mode{background:#24272c;padding:72px 316px 0 252px;min-height:100vh}
.cms-mode #cms-toolbar{height:72px;min-height:72px;padding:0 16px;gap:18px;flex-wrap:nowrap;background:#14171b;border-color:#30353c;box-shadow:0 8px 28px #0004;font:500 14px/1.3 system-ui,sans-serif}
.cms-mode #cms-toolbar .cms-toolbar-start,.cms-mode #cms-toolbar .cms-toolbar-actions,.cms-mode #cms-toolbar .cms-devices{display:flex;align-items:center;gap:6px;white-space:nowrap}
.cms-mode #cms-toolbar .cms-toolbar-start{gap:18px}.cms-mode #cms-toolbar .cms-brand{color:#fff;font-weight:750;letter-spacing:.11em}.cms-mode #cms-toolbar .cms-brand em{color:#efa65e;font-size:11px;font-style:normal;font-weight:600}
.cms-mode #cms-toolbar .cms-toolbar-actions{margin-left:auto}.cms-mode #cms-toolbar .cms-page-select{display:flex;align-items:center;gap:8px;color:#aeb4bd;white-space:nowrap}
.cms-mode #cms-toolbar a,.cms-mode #cms-toolbar button,.cms-mode #cms-toolbar select{background:transparent;color:#e3e5e7;border:1px solid transparent;padding:9px 10px;border-radius:7px;line-height:1.2}
.cms-mode #cms-toolbar a:hover,.cms-mode #cms-toolbar button:hover{background:#30353a}.cms-mode #cms-toolbar select{background:#252a30;border-color:#454a50;max-width:155px}
.cms-mode #cms-toolbar .cms-devices{background:#22272d;padding:3px;border-radius:9px}.cms-mode #cms-toolbar .cms-devices button.active{background:#4b3425;color:#ffb875}
.cms-mode #cms-toolbar #cms-save{border-color:#51575f}.cms-mode #cms-toolbar #cms-publish{background:#e99449;border-color:#e99449;color:#17191b;padding:10px 18px}
.cms-mode #cms-toolbar #cms-unsaved{font-size:12px;color:#abb5bf;max-width:105px;white-space:normal}.cms-mode #cms-toolbar #cms-notice{position:absolute;top:73px;left:50%;transform:translateX(-50%);background:#282d33;color:#f8c187;border-radius:0 0 8px 8px;padding:0 12px;line-height:32px;min-height:0;box-shadow:0 8px 20px #0005}.cms-mode #cms-toolbar #cms-notice:empty{display:none}
.cms-mode #cms-sidebar,.cms-mode #cms-panel{position:fixed;z-index:9997;top:72px;bottom:0;overflow:auto;background:#181b20;color:#e9eaec;font:14px/1.45 system-ui,sans-serif;box-shadow:none}
.cms-mode #cms-sidebar{left:0;width:252px;border-right:1px solid #353a41;display:flex;flex-direction:column}.cms-mode #cms-panel{right:0;left:auto;width:316px;max-width:316px;border-left:1px solid #353a41;padding:22px 19px}
.cms-sidebar-tabs{display:flex;padding:14px 10px 10px;gap:3px;border-bottom:1px solid #343941}.cms-mode .cms-sidebar-tabs button,.cms-mode .cms-sidebar-bottom button{background:transparent;color:#bac0c7;border:0;border-radius:7px;padding:10px 11px;cursor:pointer;font:inherit}.cms-mode .cms-sidebar-tabs button.active{background:#37302a;color:#ffb875}.cms-mode #cms-sidebar-content{flex:1;padding:14px 10px;overflow:auto}.cms-mode #cms-sidebar-content input{width:100%;box-sizing:border-box;background:#272b31;color:#f5f5f5;border:1px solid #454b53;border-radius:7px;padding:10px;margin-bottom:10px}.cms-side-caption{color:#9da4ae;letter-spacing:.12em;font-size:12px;margin:6px 9px 12px}.cms-mode .cms-side-item{display:block;width:100%;text-align:left;padding:10px 11px;margin:2px 0;color:#d4d8dc;background:none;border:0;border-radius:7px;cursor:pointer;font:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cms-mode .cms-side-item:hover{background:#2b3036}.cms-mode .cms-side-item.active{color:#ffb875;background:#3b3029}.cms-sidebar-bottom{border-top:1px solid #363b42;padding:12px;display:grid}.cms-mode .cms-sidebar-bottom button{text-align:left}.cms-mode .cms-sidebar-bottom button:hover{background:#2e3339}
.cms-mode #cms-panel h2{font-size:18px;font-weight:650;margin-bottom:14px}.cms-mode #cms-panel .cms-element-type{font-size:11px;letter-spacing:.12em}.cms-mode #cms-panel label{font-size:13px;color:#c3c9d0}.cms-mode #cms-panel input,.cms-mode #cms-panel textarea,.cms-mode #cms-panel select{background:#24292f;border:1px solid #4b525b;border-radius:7px;padding:10px;font-size:14px}.cms-mode #cms-panel button{background:#292e34;border:1px solid #4a5159;border-radius:7px;padding:9px 11px;margin:3px}.cms-mode #cms-panel button:hover{background:#3a4149}.cms-mode #cms-panel .cms-actions{border-top:1px solid #3c4148;padding-top:12px;gap:4px}
.cms-mode .site-header{position:relative;top:auto}.cms-mode .footer{position:relative}.cms-mode[data-cms-device="tablet"] .site-header,.cms-mode[data-cms-device="tablet"] #app,.cms-mode[data-cms-device="tablet"] .footer{max-width:800px;margin-left:auto;margin-right:auto}.cms-mode[data-cms-device="mobile"] .site-header,.cms-mode[data-cms-device="mobile"] #app,.cms-mode[data-cms-device="mobile"] .footer{max-width:390px;margin-left:auto;margin-right:auto}.cms-mode[data-cms-device="mobile"] #app{border:0}.cms-mode[data-cms-device="mobile"] .site-header{overflow:hidden}.cms-mode[data-cms-device="mobile"] .footer{overflow:hidden}.cms-added{max-width:1100px}.cms-mode #cms-mobile-bar,.cms-mode .cms-mobile-exit{display:none!important}
.cms-preview #cms-sidebar,.cms-preview #cms-panel,.cms-preview #cms-mobile-bar{display:none!important}.cms-preview{padding:72px 0 0}.cms-preview #cms-toolbar{display:flex}.cms-preview .cms-editing [data-cms-id],.cms-preview .cms-editing [data-cms-added]{cursor:inherit!important}
@media(max-width:1400px){.cms-mode #cms-toolbar{gap:7px}.cms-mode #cms-toolbar .cms-brand{display:none}.cms-mode #cms-toolbar .cms-toolbar-start{gap:2px}.cms-mode #cms-toolbar .cms-toolbar-actions{gap:1px}.cms-mode #cms-toolbar #cms-unsaved{display:none}}
@media(max-width:1100px){.cms-mode{padding:65px 0 64px}.cms-mode #cms-toolbar{height:65px;min-height:65px;padding:0 8px}.cms-mode #cms-toolbar .cms-toolbar-start{display:none}.cms-mode #cms-toolbar .cms-page-select{font-size:0}.cms-mode #cms-toolbar .cms-page-select select{font-size:14px;max-width:100px}.cms-mode #cms-toolbar .cms-devices button{font-size:0;padding:7px}.cms-mode #cms-toolbar .cms-devices button::first-letter{font-size:14px}.cms-mode #cms-toolbar .cms-toolbar-actions span:not(#cms-unsaved){display:none}.cms-mode #cms-toolbar .cms-toolbar-actions button{padding:8px}.cms-mode #cms-toolbar #cms-save{font-size:0}.cms-mode #cms-toolbar #cms-save::after{content:'Save';font-size:13px}.cms-mode #cms-toolbar #cms-publish{padding:9px}.cms-mode #cms-toolbar #cms-notice{top:65px}.cms-mode #cms-sidebar{top:65px;bottom:64px;width:min(320px,90vw);transform:translateX(-110%);z-index:9998;transition:transform .18s}.cms-mode.cms-sidebar-open #cms-sidebar{transform:translateX(0)}.cms-mode #cms-panel{top:auto;bottom:64px;left:0;right:0;width:100%;max-width:none;max-height:min(65vh,580px);border-left:0;border-top:1px solid #5b626b;border-radius:16px 16px 0 0;transform:translateY(110%);transition:transform .18s;z-index:9998;box-sizing:border-box}.cms-mode.cms-panel-open #cms-panel{transform:translateY(0)}.cms-mode #cms-mobile-bar{display:flex;position:fixed;z-index:9999;bottom:0;left:0;right:0;height:64px;background:#181b20;border-top:1px solid #394048;align-items:center;justify-content:space-around;font:14px system-ui}.cms-mode #cms-mobile-bar button{color:#e9e9e9;background:none;border:0;min-width:64px;min-height:48px;border-radius:8px}.cms-mode #cms-mobile-bar button.active{color:#ffaf6b;background:#3a3028}.cms-mode .cms-mobile-exit{display:inline-block!important}.cms-preview{padding:65px 0 0}.cms-preview #cms-mobile-bar{display:none!important}}
.cms-mode .cms-hidden-item{opacity:.4!important;outline:1px dashed #d69a62!important}.cms-preview .cms-hidden-item{display:none!important}
.cms-added.cms-template{min-height:200px;display:flex;flex-direction:column;justify-content:center;gap:18px}.cms-added.cms-template>h2{font-size:clamp(2rem,4vw,4rem)}.cms-added.cms-template>img{width:100%;max-height:480px;object-fit:cover;border-radius:16px}
.cms-mode #cms-panel details{border-bottom:1px solid #343b43;padding:11px 0}.cms-mode #cms-panel summary{cursor:pointer;font-weight:650;color:#e2e6ea;list-style:none;padding:5px 0}.cms-mode #cms-panel details label{margin:13px 0}.cms-mode #cms-panel details label:has(input[type="checkbox"]){display:flex;align-items:center}.cms-mode #cms-panel details input[type="checkbox"]{width:18px;height:18px;margin:0 8px 0 0}
@media(max-width:760px){.cms-mobile-hidden{display:none!important}.cms-mobile-size{font-size:var(--cms-mobile-font)!important}.cms-desktop-hidden{display:revert!important}}
@media(min-width:761px){.cms-desktop-hidden{display:none!important}}
.cms-mode[data-cms-device="mobile"] .cms-mobile-hidden{display:none!important}.cms-mode[data-cms-device="mobile"] .cms-mobile-size{font-size:var(--cms-mobile-font)!important}.cms-mode[data-cms-device="mobile"] .cms-desktop-hidden{display:revert!important}.cms-mode[data-cms-device="desktop"] .cms-desktop-hidden{display:none!important}
/* Simulated device width also activates the key public breakpoints inside the canvas. */
.cms-mode[data-cms-device="mobile"] .container,.cms-mode[data-cms-device="mobile"] .nav-shell{width:calc(100% - 30px)}
.cms-mode[data-cms-device="mobile"] .site-header{top:11px}.cms-mode[data-cms-device="mobile"] .nav-shell{height:60px;padding:7px 9px 7px 11px;border-radius:14px}.cms-mode[data-cms-device="mobile"] .menu-toggle{display:flex}.cms-mode[data-cms-device="mobile"] .nav-links{position:absolute;top:68px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:#222326;border:1px solid #48484a;border-radius:14px;padding:9px}.cms-mode[data-cms-device="mobile"] .nav-links.open{display:flex}.cms-mode[data-cms-device="mobile"] .nav-contact{margin-left:auto;margin-right:8px;font-size:11px}.cms-mode[data-cms-device="mobile"] .hero{min-height:0;padding-top:136px;padding-bottom:62px;display:flex;flex-direction:column;gap:15px}.cms-mode[data-cms-device="mobile"] .hero h1{font-size:92px;margin:25px 0 16px}.cms-mode[data-cms-device="mobile"] .hero-visual{height:320px;margin:15px -7px 0}.cms-mode[data-cms-device="mobile"] .hero-foot{display:none}.cms-mode[data-cms-device="mobile"] .section{padding-top:85px;padding-bottom:85px}.cms-mode[data-cms-device="mobile"] .section-head{display:block}.cms-mode[data-cms-device="mobile"] .projects-grid,.cms-mode[data-cms-device="mobile"] .projects-page-grid,.cms-mode[data-cms-device="mobile"] .about-layout,.cms-mode[data-cms-device="mobile"] .contact-layout,.cms-mode[data-cms-device="mobile"] .detail-content,.cms-mode[data-cms-device="mobile"] .feature-grid,.cms-mode[data-cms-device="mobile"] .four-grid,.cms-mode[data-cms-device="mobile"] .build-grid,.cms-mode[data-cms-device="mobile"] .gallery-grid{grid-template-columns:1fr}.cms-mode[data-cms-device="mobile"] .footer-inner{flex-wrap:wrap;gap:5px;padding:25px 0}.cms-mode[data-cms-device="mobile"] .footer p{order:3;width:100%}
.cms-mode[data-cms-device="tablet"] .projects-grid,.cms-mode[data-cms-device="tablet"] .projects-page-grid{grid-template-columns:1fr}
.cms-publish-dialog{position:fixed;inset:auto;width:min(440px,calc(100% - 36px));border:1px solid #5d5349;border-radius:14px;background:#1b1f24;color:#f4f5f6;box-shadow:0 25px 80px #000b;padding:26px;font:15px/1.5 system-ui}.cms-publish-dialog::backdrop{background:#06080bc9}.cms-publish-dialog h2{margin:0 0 12px;font-size:22px}.cms-publish-dialog p{color:#c6cbd1}.cms-publish-dialog ul{padding-left:20px;color:#d6d9de}.cms-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.cms-publish-dialog button{border:1px solid #545b64;border-radius:8px;padding:10px 16px;color:#fff;background:#30363d;font:inherit;cursor:pointer}.cms-publish-dialog button.confirm{border-color:#e99b4c;background:#e99b4c;color:#17191b;font-weight:700}
