/* GregCreas Web Studio 13.1 — isolated responsive workspace */
.gcws-active{overflow:hidden!important}
.gcws-workspace{position:fixed;inset:0;z-index:3500;display:flex;flex-direction:column;background:#0b1019;color:#edf3ff;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:13px}
.gcws-workspace.hidden,.gcws-popover-modal.hidden{display:none!important}
.gcws-workspace button,.gcws-popover-modal button{font-family:inherit}
.gcws-workspace button:hover,.gcws-popover-modal button:hover{transform:none}
.gcws-bar{height:66px;min-height:66px;padding:0 19px;display:flex;align-items:center;justify-content:space-between;gap:22px;background:#121925;border-bottom:1px solid #273345}
.gcws-bar-brand{display:flex;align-items:center;gap:12px;min-width:210px}.gcws-bar-brand>div{display:flex;flex-direction:column;gap:2px}.gcws-bar-brand strong{font-size:13px}.gcws-bar-brand small{font-size:10px;color:#8ba1be}.gcws-brand-g{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;font-weight:900;background:linear-gradient(125deg,#347dff,#9965f6)}
.gcws-workspace button{border:1px solid #2a374b;border-radius:9px;background:#182334;color:#d8e4f9;padding:7px 10px;font-size:12px}.gcws-workspace button:focus-visible,.gcws-popover-modal button:focus-visible{outline:2px solid #8c92fa;outline-offset:2px}.gcws-workspace button:hover{background:#23354a;border-color:#49627c}
.gcws-workspace .primary{background:linear-gradient(135deg,#447ff7,#7664e9);border:0;color:#fff;padding:11px 15px;font-weight:800}.gcws-workspace .primary:hover{filter:brightness(1.09)}.gcws-button-light{width:33px;height:34px;font-size:19px!important;display:grid;place-items:center;padding:0!important}
.gcws-device-group{display:flex;gap:4px;padding:4px;border-radius:12px;background:#080e17;border:1px solid #263347}.gcws-device-group button{background:transparent;border:0;padding:9px 12px;font-size:12px;color:#90a1bb}.gcws-device-group button.active{background:#26374f;color:#fff;box-shadow:0 2px 4px #0003}.gcws-top-actions{display:flex;align-items:center;gap:13px}.gcws-top-actions>span{font-size:11px;color:#8eadd4;max-width:300px}.gcws-top-actions>span.error{color:#ffa0a0}
.gcws-main{display:grid;grid-template-columns:250px minmax(0,1fr) 286px;min-height:0;flex:1}.gcws-sidebar,.gcws-properties{min-width:0;min-height:0;background:#111924;border-color:#263448;display:flex;flex-direction:column}.gcws-sidebar{border-right:1px solid #27374a}.gcws-properties{border-left:1px solid #27374a}.gcws-sidebar-scroll,.gcws-properties-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#344960 transparent;flex:1;padding:19px 12px 24px}
.gcws-sidebar-head{display:flex;justify-content:space-between;align-items:center;margin:0 4px 12px}.gcws-sidebar-head small{font-size:9px;color:#7798c5;font-weight:800;letter-spacing:.12em}.gcws-sidebar-head strong{font-size:13px}.gcws-line{height:1px;background:#253448;margin:25px 2px 23px}
.gcws-page-item{width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:11px 12px!important;margin-bottom:5px;background:transparent!important;border:1px solid transparent!important}.gcws-page-item span{color:#739acc;font-size:17px}.gcws-page-item strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600}.gcws-page-item.active{background:#1e3150!important;border:1px solid #4169a0!important}.gcws-page-item:hover{background:#18283a!important}.gcws-add-page{width:100%;margin-top:6px;color:#90b2e9!important;border:1px dashed #3c516e!important;background:#121e30!important;text-align:left}
.gcws-section-row{border:1px solid transparent;border-radius:11px;margin:0 0 5px;background:#151f2e;padding:3px}.gcws-section-row.active{border-color:#5b83d1;background:#1b3052}.gcws-section-choice{display:flex;align-items:center;gap:9px;width:100%;border:0!important;background:transparent!important;text-align:left;padding:8px 7px!important}.gcws-section-choice span{font-size:17px;color:#94b9ed;width:19px}.gcws-section-choice strong{font-size:11px;font-weight:650;flex:1}.gcws-section-choice small{color:#728ba9}.gcws-section-actions{display:flex;justify-content:flex-end;gap:4px;padding:0 3px 3px}.gcws-section-actions button{font-size:11px!important;padding:4px 7px!important;background:#0f1827;border:1px solid #26394e}.gcws-section-actions button:disabled{opacity:.3;cursor:default}
.gcws-add-title{color:#adc3de;font-size:11px;font-weight:750;margin:22px 4px 11px}.gcws-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.gcws-add-grid button{display:flex;align-items:center;gap:8px;padding:9px!important;min-height:43px;font-size:10px!important;text-align:left;background:#161f2d}.gcws-add-grid button span{font-size:17px;color:#8db2ff}
.gcws-canvas{display:flex;flex-direction:column;background:radial-gradient(ellipse at top,#1b283b 0%,#101822 70%);min-height:0;min-width:0}.gcws-canvas-top{height:42px;min-height:42px;display:flex;justify-content:space-between;align-items:center;padding:0 23px;color:#8ba6c6;font-size:10px;font-weight:800;letter-spacing:.1em;border-bottom:1px solid #263344}.gcws-canvas-top span:last-child{color:#5d7395;letter-spacing:0;font-size:11px}.gcws-preview-scroll{flex:1;min-height:0;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:28px 24px 40px;scrollbar-width:thin}.gcws-device-frame{flex:0 0 auto;height:min(800px,calc(100vh - 173px));min-height:390px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 24px 75px #0008;border:1px solid #3c4c62;transition:width .24s ease}.gcws-device-frame.desktop{width:100%;max-width:1200px}.gcws-device-frame.tablet{width:820px;max-width:none}.gcws-device-frame.mobile{width:390px;max-width:none;border-radius:27px;border:7px solid #273041}.gcws-device-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.gcws-props-header{height:50px;min-height:50px;padding:0 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #263548}.gcws-props-header strong{font-size:13px}.gcws-props-header span{font-size:10px;color:#7b9cc1}.gcws-site-settings{border:1px solid #27384e;border-radius:11px;margin-bottom:10px;background:#141f2e;overflow:hidden}.gcws-site-settings summary{cursor:pointer;font-weight:800;font-size:11px;padding:12px 13px}.gcws-settings-body{border-top:1px solid #25364a;padding:12px}.gcws-field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;min-width:0}.gcws-field>span{font-weight:700;font-size:11px;color:#b7c8dc}.gcws-field input,.gcws-field select,.gcws-field textarea{background:#0b1421;color:#f1f6ff;border:1px solid #334660;border-radius:8px;padding:9px;width:100%;min-width:0;resize:vertical;font:inherit;font-size:12px;outline:none}.gcws-field input:focus,.gcws-field textarea:focus{border-color:#769af2}.gcws-field input:disabled{opacity:.5}.gcws-field small{font-size:10px;color:#8aa4bf}.gcws-image-controls{display:flex;flex-direction:column;gap:6px}.gcws-image-controls button{font-size:11px!important;padding:8px!important}.gcws-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.gcws-palette label{font-size:9px;color:#8c9db8;text-align:center}.gcws-palette input{display:block;width:100%;height:37px;border-radius:9px;border:0;padding:2px 0;background:transparent;cursor:pointer}.gcws-page-controls{display:flex;gap:6px}.gcws-page-controls button{flex:1;font-size:11px!important;padding:7px!important}.gcws-page-controls button:disabled{opacity:.4}.gcws-prop-section-heading{font-size:11px;font-weight:800;letter-spacing:.05em;color:#9cc7f5;margin:20px 4px 12px}.gcws-inspector-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #263448;margin-bottom:15px;padding:0 0 13px;font-weight:800}.gcws-delete-inline{border:0!important;background:transparent!important;color:#ef8b92!important;padding:0!important;font-size:10px!important}.gcws-item-caption{font-size:10px;font-weight:900;color:#8cacd6;letter-spacing:.08em;margin:20px 0 9px;padding-top:11px;border-top:1px solid #26384c}.gcws-empty{font-size:12px;color:#90a6bf;line-height:1.7;padding:10px}
.gcws-new-heading{margin-top:16px;margin-bottom:9px;color:#b4cefc;font-size:11px;font-weight:900;letter-spacing:.08em}.gcws-new-heading small{display:block;margin-top:4px;color:#8496ac;font-size:10px;letter-spacing:normal;font-weight:500}.gcws-new-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gcws-new-presets button{min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:9px;overflow:hidden;text-align:left}.gcws-new-presets strong{font-size:12px}.gcws-new-presets small{font-size:10px;color:#99aac0}.gcws-preset-art{width:100%;height:69px;border-radius:6px;background:#121d30;position:relative;overflow:hidden}.gcws-preset-art::before{content:'';position:absolute;top:0;left:0;right:0;height:14px;background:#ffffff22;border-bottom:1px solid #ffffff20}.gcws-preset-art::after{content:'';position:absolute;left:9px;top:27px;width:50%;height:17px;border-radius:4px;background:#ffffffa0;box-shadow:0 20px #ffffff38,60px 0 0 7px #ffffff21}.gcws-preset-art.modern{background:linear-gradient(120deg,#171e39,#706bf0)}.gcws-preset-art.cinematic{background:linear-gradient(120deg,#0d1018,#aa3c67)}.gcws-preset-art.archives{background:linear-gradient(120deg,#081c25,#21876e)}.gcws-quick-art{display:grid;place-items:center;background:linear-gradient(120deg,#193750,#6c66dc)!important;color:#fff;font-size:31px}
.gcws-popover-modal{position:fixed;inset:0;z-index:3600;background:#050910bd;display:flex;align-items:center;justify-content:center;padding:24px;color:#f2f5ff;font-family:Inter,system-ui,sans-serif}.gcws-image-card{width:min(770px,100%);height:min(650px,85vh);background:#141f2c;border:1px solid #35465d;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}.gcws-image-modal-head{padding:20px 23px;border-bottom:1px solid #293a4e;display:flex;justify-content:space-between}.gcws-image-modal-head>div{display:flex;flex-direction:column;gap:4px}.gcws-image-modal-head strong{font-size:16px}.gcws-image-modal-head small{color:#9eb0c6}.gcws-image-modal-head button{height:32px}.gcws-image-grid{flex:1;min-height:0;overflow-y:auto;padding:17px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-content:start}.gcws-image-grid button{padding:5px;display:flex;flex-direction:column;gap:5px;min-width:0;background:#0d1624}.gcws-image-grid img{width:100%;height:105px;object-fit:contain;border-radius:5px;background:#202d40}.gcws-image-grid span{font-size:10px;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.gcws-image-empty{grid-column:1/-1;text-align:center;padding:65px;color:#a1b1c5}.gcws-image-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #2b3d52}.gcws-confirm-card{width:min(400px,95vw);background:#141f2c;padding:27px;border-radius:16px;border:1px solid #35465d}.gcws-confirm-card h3{font-size:18px;margin:0 0 10px}.gcws-confirm-card p{font-size:13px;color:#b4c2d3;line-height:1.7}.gcws-confirm-card>div{display:flex;justify-content:flex-end;gap:9px;margin-top:21px}.gcws-confirm-card button{font-size:12px}.gcws-danger{background:#a73543!important;border-color:#bb4650!important;color:#fff!important}
@media(max-width:1200px){.gcws-main{grid-template-columns:210px minmax(0,1fr) 255px}.gcws-device-group button span{display:none}.gcws-device-group button{font-size:16px}}
@media(max-width:850px){.gcws-main{grid-template-columns:185px minmax(0,1fr)}.gcws-properties{display:none}.gcws-bar{padding:0 10px}.gcws-top-actions>span{display:none}.gcws-preview-scroll{padding:15px}}
@media(max-width:620px){.gcws-main{grid-template-columns:135px minmax(0,1fr)}.gcws-bar-brand{min-width:0}.gcws-bar-brand strong{max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gcws-brand-g{display:none}.gcws-device-group button{padding:7px}.gcws-add-grid{grid-template-columns:1fr}.gcws-device-frame.desktop{min-width:490px}.gcws-image-grid{grid-template-columns:1fr 1fr}}
/* New format picker remains reachable on smaller screens. */
#newDesignModal .modal-card{max-height:calc(100dvh - 36px);overflow-y:auto;scrollbar-width:thin}
@media(max-width:540px){.gcws-new-presets{grid-template-columns:1fr 1fr}.gcws-preset-art{height:55px}}
