/* LZ Studio: graphite surfaces, restrained lime accents and a spacious canvas. */
:root{--lz-header-height:68px;--lz-edge:#303638;--lz-soft:#a9b2b4;--lz-radius:12px;color-scheme:dark}
body{background:#0c0e10;font-size:16px;-webkit-font-smoothing:antialiased}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button,a.open-tool,input,select,summary{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}
button{min-height:40px;border-radius:8px;font-size:14px;font-weight:600}
button:not(:disabled):active,.open-tool:active{transform:translateY(1px)}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ffffff;outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}
.topbar,.home .topbar{height:68px;gap:16px;padding:0 24px;background:#101315;border-bottom:1px solid #303638;box-shadow:0 4px 18px #0002}
.topbar>.menu-button{display:flex;align-items:center;gap:8px;min-height:40px;background:#1b2022;border-color:#373f41;font-size:14px}
.topbar .top-modules{display:none}.topbar>.version{display:none}
.lz-tool-context{border-left:1px solid #343a3c;padding-left:18px;display:grid;gap:4px;min-width:0;margin-right:auto}
.lz-tool-context span{font-size:10px;letter-spacing:.14em;color:#939fa2;font-weight:700}
.lz-tool-context strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .primary,.download-action{border-radius:8px;box-shadow:0 3px 12px #0003;min-height:42px;font-size:14px;font-weight:700}
.topbar .primary:hover,.download-action:hover{box-shadow:0 0 0 3px #ffffff16}
body:not(.home) :is(.studio,.lab-studio,.text-studio,.mockup-studio){grid-template-columns:344px minmax(0,1fr)}
body:not(.home) :is(.tools,.lab-sidebar,.text-tools,.mockup-tools){background:#131719;padding:22px 20px;max-height:calc(100dvh - 68px);overflow:auto;border-color:#303638;scrollbar-width:thin;scrollbar-color:#4c565a transparent}
.tool-intro{margin-bottom:16px}.tool-intro h1{font-size:26px;line-height:1.15;letter-spacing:-.035em;margin:8px 0 10px}.tool-intro p{font-size:14px;line-height:1.6;color:#aeb8ba}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:#a6a6a6}
.panel,.step-card{border-color:#343c3e;padding-top:20px;margin-top:20px;border-radius:0}
.panel h2,.step-card h2{font-size:16px;line-height:1.4;gap:9px;margin-bottom:16px}.number{width:24px;height:24px;flex:none;display:inline-grid;place-items:center;background:#282828;border:1px solid #444444;border-radius:7px;color:#cdcdcd;font-size:11px}
label,.range-label{font-size:14px;line-height:1.5}.hint,.check,.status,.source-info small,.notice{font-size:13px;line-height:1.6}
input[type=number],input[type=text],input[readonly],select{min-height:42px;border-radius:8px;background:#0e1214;border:1px solid #394346;padding:10px 12px;font-size:15px}
input:hover,select:hover{border-color:#677174}input[readonly]{color:#bbbbbb;background:#181e20}
input[type=range]{height:20px;margin-bottom:20px}input[type=color]{border-radius:8px;min-height:38px;padding:3px;cursor:pointer}
.pair{gap:12px}.color-row{flex-wrap:wrap;gap:8px}.color-row label{flex:1}
.lz-color-value{display:inline-flex;align-items:center;gap:7px;font:500 11px ui-monospace,monospace;letter-spacing:.04em;color:#c0c0c0;margin:5px 0 8px;vertical-align:middle;white-space:nowrap}
.lz-color-value:before{content:'';height:9px;width:9px;flex:none;border-radius:3px;background:var(--selected-color);box-shadow:0 0 0 1px #ffffff40}
.color-row .lz-color-value{margin:0}.colors .lz-color-value{display:flex}
.upload{padding:20px 12px;border:1px dashed #5c5c5c;border-radius:12px;background:linear-gradient(135deg,#1f1f1f,#101618);gap:8px}
.upload:hover{border-color:#ffffff;background:#242424;box-shadow:0 0 0 3px #ffffff0c}.upload span{font-size:12px;line-height:1.5}
.ai-card{border:1px solid #444444;border-radius:10px;background:linear-gradient(120deg,#262626,#1a1a1a);padding:14px}.ai-card summary{font-size:14px;font-weight:600;line-height:1.5}.ai-card[open] summary{margin-bottom:14px}
.lz-quick-guide{margin:14px 0 20px;border-color:#3e3e3e;background:#1e1e1e;border-radius:9px}.lz-quick-guide summary{padding:11px 34px 11px 12px;flex-direction:row;align-items:center;gap:10px}.lz-quick-guide summary span{font-size:9px;letter-spacing:.08em}.lz-quick-guide summary strong{font-size:12px;font-weight:500}.lz-quick-guide li{font-size:13px;grid-template-columns:22px 62px 1fr}
.lz-current-step{box-shadow:none;border-color:#848484!important}
body:not(.home) :is(.workspace,.lab-workspace,.text-workspace,.mockup-workspace){height:calc(100dvh - 68px);padding:16px;background:#0d1012}
body:not(.home) :is(.canvas-toolbar,.lab-toolbar,.text-toolbar,.mockup-toolbar){padding:0 0 12px;gap:10px;border-bottom:1px solid #283135;align-items:center}
.tabs{padding:4px;border:1px solid #343d40;border-radius:10px;background:#141a1c}.tabs button{min-height:34px;font-size:13px;border-radius:7px}.tabs button.active{background:#383838;color:#ededed}
body:not(.home) :is(.preview-wrap,.lab-canvas-wrap,.mockup-canvas-wrap,.text-canvas-wrap){background:#1a2023;border:1px solid #343e43;border-radius:12px;box-shadow:inset 0 1px 8px #0002;padding:14px}
.preview-stage{box-shadow:0 12px 40px #0005}
.lz-preview-actions{gap:7px}.lz-preview-actions button,.zoom-controls button{min-height:36px;padding:8px 11px;font-size:12px;border-radius:7px}
.viewport-pan[aria-pressed=true]{background:#333333;border-color:#8d8d8d;color:#e8e8e8}
.lz-picker-active canvas{cursor:crosshair!important}
.lz-picker-notice{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;margin:0 0 12px;background:#303030;border:1px solid #868686;border-radius:9px;color:#efefef;font-size:14px;line-height:1.5}
.lz-picker-notice button{min-height:32px;font-size:12px;background:#1c1c1c;border-color:#7c7c7c;color:#efefef;flex:none}
.processing{border:1px solid #5e5e5e;box-shadow:0 6px 18px #0004;background:#1e1e1ef2;font-size:13px}
progress{height:9px;border-radius:20px;overflow:hidden;accent-color:#ffffff}
body:not(.home) :is(.workspace-footer,.lab-footer,.text-footer,.mockup-footer){border-top:1px solid #30393d;margin-top:10px;padding-top:12px;padding-bottom:0;gap:12px}
body:not(.home) :is(.workspace-footer p,.lab-footer p,.text-footer p,.mockup-footer p){font-size:12px;line-height:1.5}
.status{border-left:2px solid #616161;padding-left:10px;margin:12px 0 0;color:#c5c5c5}.status.error{border-left-color:#ff8779;color:#ffb0a6}
.lz-workspace-options{background:#161d1f;padding:14px;border:1px solid #384346;border-radius:10px;margin-top:24px}.lz-workspace-options>summary{font-size:15px}.lz-workspace-group{border-color:#364044}.lz-save-status{background:#101718;color:#cdcdcd}
.module-menu{background:#111719;border-color:#354044;box-shadow:16px 0 60px #0006}.module{border-radius:9px;margin:5px 0;padding:13px 12px}.module:hover{background:#282828;border-color:#5d5d5d}.module.active{background:#323232;box-shadow:inset 3px 0 #ffffff}.module small{font-size:12px;line-height:1.5}
dialog{border-radius:16px;border-color:#4d4d4d;box-shadow:0 24px 90px #0008}dialog[open]{animation:lz-dialog-in .18s ease-out}dialog::backdrop{background:#060a0bcc;backdrop-filter:blur(3px)}
.lz-export-dialog{padding:26px;background:#141b1c;width:min(500px,calc(100vw - 24px))}.lz-export-dialog h2{letter-spacing:-.03em;font-size:25px}.lz-export-dialog #lz-export-current{padding:14px;background:#282828;border:1px solid #4c4c4c;border-radius:9px;color:#e3e3e3;line-height:1.6;font-size:15px}.lz-export-dialog #lz-export-info{padding:12px;border-radius:8px;background:#0d1416;color:#cecece;min-height:44px}.lz-export-presets{display:grid;grid-template-columns:repeat(4,1fr)}.lz-export-dialog .lz-options-buttons{justify-content:flex-end;margin-top:20px}.lz-export-choice:has(input:checked){border-color:#adadad;background:#333333}.lz-export-dialog .download-action{min-width:150px}
.home{background:radial-gradient(ellipse at 80% 0,#2e2e2e55,transparent 55%),#0c1011}.home-main{max-width:1280px;padding-top:42px}.home-intro{border-bottom-color:#3f3f3f;padding-bottom:32px}.home-intro h1{font-size:clamp(34px,4vw,54px);max-width:650px;line-height:1.08}.home-brand-logo{width:138px;opacity:.95}.search-field{background:#171f20;border-color:#464646;box-shadow:0 7px 20px #0001}.category-filters button{border-radius:20px;padding:9px 17px;background:#172021}.home .tool-section .tool-grid{gap:18px}.tool-card{background:linear-gradient(145deg,#1b2425,#12191a);border:1px solid #3f3f3f;border-radius:14px;padding:22px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.tool-card:hover,.tool-card:focus-within{transform:translateY(-3px);border-color:#8f8f8f;box-shadow:0 12px 28px #0003}.tool-icon{background:#333333;color:#e2e2e2;border:1px solid #5c5c5c;border-radius:11px}.tool-tag{background:#1a1a1a;border-color:#474747;border-radius:20px;font-size:10px;padding:5px 9px}.tool-card h3{font-size:21px;letter-spacing:-.025em}.tool-card>p{color:#bcbcbc;font-size:14px;line-height:1.65}.home .open-tool{background:#303030;color:#ebebeb;border-color:#5e5e5e;border-radius:8px}.home .open-tool:hover{background:#ffffff;color:#1c1c1c;border-color:#ffffff}.card-guide{background:#131c1d;border-color:#3e3e3e;border-radius:8px}.section-heading h2{font-size:20px}.home-footer{border-color:#3f3f3f}
@keyframes lz-dialog-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(min-width:1500px){body:not(.home) :is(.studio,.lab-studio,.text-studio,.mockup-studio){grid-template-columns:370px minmax(0,1fr)}body:not(.home) :is(.tools,.lab-sidebar,.text-tools,.mockup-tools){padding:24px}}
@media(max-width:1000px){.lz-tool-context{display:none}.topbar .brand{margin-right:auto}.topbar,.home .topbar{padding:0 16px;gap:10px}}
@media(max-width:700px){:root{--lz-header-height:64px}.topbar,.home .topbar{height:64px;padding:0 10px;gap:7px}.topbar>.menu-button{font-size:0;padding:8px 10px;min-width:38px}.topbar .primary{font-size:12px;max-width:130px;min-height:40px;padding:8px 10px}.topbar .brand{margin-right:auto}.topbar .brand-name{font-size:15px}body:not(.home) :is(.studio,.lab-studio,.text-studio,.mockup-studio){grid-template-columns:minmax(0,1fr)}body:not(.home) :is(.tools,.lab-sidebar,.text-tools,.mockup-tools){max-height:none;padding:18px 16px}body:not(.home) :is(.workspace,.lab-workspace,.text-workspace,.mockup-workspace){height:calc(100dvh - 116px);min-height:400px;padding:10px}.lz-focus :is(.workspace,.lab-workspace,.text-workspace,.mockup-workspace){height:calc(100dvh - 64px)!important}.lz-picker-notice{font-size:13px;padding:9px 10px;gap:8px}.home-main{padding:28px 16px}.home-intro{gap:20px}.home-brand-logo{width:108px}.tool-card{padding:20px}.lz-export-dialog{padding:20px}.lz-export-presets{gap:6px}.lz-export-presets button{font-size:14px;padding:10px 6px}button{min-height:44px}.hint,.check{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tool-card:hover,.tool-card:focus-within,button:active{transform:none}}

body.lz-focus:not(.home) :is(.studio,.lab-studio,.text-studio,.mockup-studio){grid-template-columns:minmax(0,1fr)}

.lz-picker-notice[hidden]{display:none!important}
.lz-nav-group{margin-top:20px;border-top:1px solid #3f3f3f;padding-top:10px}.lz-nav-group h3{font-size:14px;letter-spacing:.06em;color:#ffffff;margin:8px 12px;text-transform:uppercase}.lz-nav-group .module{grid-template-columns:1fr}.lz-nav-group .module small{grid-column:1}.lz-nav-group [hidden]{display:none!important}
.lz-work-summary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 20px;padding:10px 14px;margin:8px 0;background:#1f1f1f;border:1px solid #484848;border-radius:10px;font-size:14px;flex-shrink:0}.lz-work-summary strong{font-size:15px;color:#efefef}.lz-work-summary span{font-size:13px;color:#c1c1c1}
.lz-export-dialog{max-height:calc(100dvh - 32px);overflow:auto;width:min(660px,calc(100vw - 24px))}.lz-export-dialog .lz-options-buttons{flex-wrap:wrap}.lz-export-dialog .lz-options-buttons button{min-height:44px}.lz-export-images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lz-export-images figure{margin:0;min-width:0}.lz-export-images figcaption{font-size:13px;line-height:1.5;margin-bottom:6px}.lz-export-images canvas{display:block;width:100%;max-height:300px;object-fit:contain;background:repeating-conic-gradient(#263032 0% 25%,#141b1c 0% 50%) 0/16px 16px;border:1px solid #4e4e4e;border-radius:6px}.lz-export-images .lz-pixel-detail{image-rendering:pixelated}.lz-final-report{font-size:14px;line-height:1.6;padding:12px;border-left:3px solid #ffffff;background:#272727}.lz-export-dialog [hidden]{display:none!important}
#sheetLayoutWarning.error{color:#ffbc85}#sheetUndo,#sheetRedo{font-size:14px}.lab-toolbar-actions{flex-wrap:wrap}
@media(max-width:700px){.lz-work-summary{padding:8px 10px}.lz-work-summary span{font-size:12px}.lz-export-dialog{padding:16px}.lz-export-images{gap:8px}.lz-export-dialog .lz-options-buttons{position:sticky;bottom:-16px;background:#141b1c;padding:12px 0}.lz-export-dialog .download-action{min-width:0;flex:1}}
