@media (min-width:1024px){.layout-editor-page{background:var(--paper);min-height:100dvh;color:var(--ink);font-family:var(--font-sans)}.layout-editor-header{border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px clamp(16px,3vw,40px);display:flex}.layout-editor-brand,.layout-editor-header-actions,.layout-editor-header-actions a,.layout-editor-header-actions button,.layout-editor-intro>button,.layout-editor-bottom>div,.layout-editor-bottom a,.layout-editor-bottom button{align-items:center;gap:8px;display:inline-flex}.layout-editor-brand{color:var(--rose)}.layout-editor-brand b{color:var(--ink);font-family:var(--font-display);font-size:19px}.layout-editor-brand span{border-left:1px solid var(--line);color:var(--muted);margin-left:4px;padding-left:12px;font-size:12px}.layout-editor-header-actions a,.layout-editor-intro>button,.layout-editor-bottom a{border:1px solid var(--line);background:var(--panel);min-height:36px;color:var(--ink);border-radius:5px;justify-content:center;padding:7px 12px;font-size:12px;font-weight:600}.layout-editor-header-actions button,.layout-editor-bottom button{border:1px solid var(--rose);background:var(--rose);color:#fff;border-radius:5px;justify-content:center;min-height:36px;padding:7px 14px;font-size:12px;font-weight:700}.layout-editor-header-actions :is(a,button):hover,.layout-editor-intro>button:hover,.layout-editor-bottom :is(a,button):hover{border-color:var(--rose)}.layout-editor-header-actions button:disabled,.layout-editor-bottom button:disabled{opacity:.5;cursor:not-allowed}.layout-editor-body{max-width:1600px;margin:0 auto;padding:25px clamp(16px,3vw,40px) 34px}.layout-editor-intro{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.layout-editor-eyebrow{color:var(--rose);letter-spacing:.09em;align-items:center;gap:7px;font-size:11px;font-weight:700;display:inline-flex}.layout-editor-intro h1{font-family:var(--font-display);margin:8px 0 4px;font-size:clamp(23px,3vw,32px)}.layout-editor-intro p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.layout-editor-message{border:1px solid color-mix(in srgb, var(--rose) 30%, var(--line));background:color-mix(in srgb, var(--rose) 7%, var(--panel));color:var(--ink);border-radius:5px;margin:14px 0 0;padding:9px 12px;font-size:12px}.layout-editor-settings{border:1px solid var(--line);background:var(--panel);border-radius:7px;flex-wrap:wrap;align-items:center;gap:15px 28px;margin:20px 0 16px;padding:14px 16px;display:flex}.layout-editor-settings>label{align-items:center;gap:9px;min-width:220px;font-size:12px;font-weight:600;display:flex}.layout-editor-settings output{min-width:48px;color:var(--rose);font-variant-numeric:tabular-nums}.layout-editor-settings input[type=range]{width:clamp(65px,11vw,150px);accent-color:var(--rose)}.layout-editor-settings .layout-editor-checkbox{cursor:pointer;min-width:auto;margin-left:auto}.layout-editor-settings .layout-editor-checkbox input{accent-color:var(--rose)}.layout-editor-workspace{grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:16px;min-width:0;display:grid}.layout-editor-preview-scroll{overscroll-behavior-x:contain;border:1px solid var(--line);background:var(--panel);min-width:0;max-width:100%;box-shadow:0 12px 30px color-mix(in srgb, var(--ink) 5%, transparent);border-radius:7px;overflow-x:auto}.layout-editor-preview{min-width:650px;min-height:620px;display:grid}.layout-editor-inspector{border:1px solid var(--line);background:var(--panel);border-radius:7px;gap:16px;min-width:0;padding:16px;display:grid;position:sticky;top:72px}.layout-inspector-heading{border-bottom:1px solid var(--line);align-items:flex-start;gap:8px;min-width:0;padding-bottom:12px;display:flex}.layout-inspector-heading>svg{color:var(--rose);flex-shrink:0;margin-top:3px}.layout-inspector-heading>div{min-width:0}.layout-inspector-heading :is(b,small){display:block}.layout-inspector-heading b{color:var(--ink);font-size:14px}.layout-inspector-heading small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.5}.layout-inspector-field{min-width:0;color:var(--ink);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;font-size:12px;display:grid}.layout-inspector-field>span{grid-column:1/-1;justify-content:space-between;align-items:center;gap:4px;min-width:0;font-size:11px;font-weight:600;display:flex}.layout-inspector-field label{min-width:0;font-weight:600}.layout-inspector-field output{color:var(--rose);font-variant-numeric:tabular-nums;font-size:11px}.layout-inspector-field input[type=range]{width:100%;min-width:0;accent-color:var(--rose);cursor:pointer;grid-column:1/-1}.layout-inspector-field input[type=number]{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:34px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:5px;grid-column:1/-1;padding:6px 8px;font-size:12px}.layout-inspector-size{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.layout-inspector-toggle{min-height:30px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.layout-inspector-toggle input{width:16px;height:16px;accent-color:var(--rose);flex-shrink:0}.layout-inspector-toggle:has(input:disabled){color:var(--muted);cursor:default}.layout-inspector-actions{flex-direction:column;gap:8px;min-width:0;display:flex}.layout-inspector-actions>span{color:var(--muted);font-size:11px}.layout-inspector-actions>div{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.layout-inspector-actions button{border:1px solid var(--line);background:var(--paper);min-height:34px;color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:5px;padding:7px 8px;font-size:12px;display:inline-flex}.layout-inspector-actions button:last-child{flex-basis:100%}.layout-inspector-actions button:hover:not(:disabled){border-color:var(--rose);background:color-mix(in srgb, var(--rose) 7%, var(--paper))}.layout-inspector-actions button:disabled{color:var(--muted);opacity:.45;cursor:not-allowed}.layout-inspector-hint{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.layout-editor-drag-hint{color:var(--muted);margin:10px 0 12px;font-size:11px;line-height:1.6}.layout-preview-column{background:color-mix(in srgb, var(--paper) 35%, var(--panel));flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.layout-preview-column:first-child{border-right:1px solid var(--line)}.layout-preview-column:last-child{border-left:1px solid var(--line)}.layout-preview-column-title{color:var(--ink);align-items:center;gap:7px;padding:3px 2px 8px;font-size:12px;font-weight:700;display:flex}.layout-preview-column-title svg{color:var(--rose)}.layout-module{border:1px solid var(--line);background:var(--panel);cursor:pointer;border-radius:6px;flex-shrink:0;min-width:0;max-width:100%;padding:9px;transition:border-color .12s,box-shadow .12s,opacity .12s,background-color .12s;position:relative}.layout-module:hover{border-color:color-mix(in srgb, var(--rose) 45%, var(--line))}.layout-module.is-selected{border-color:var(--rose);background:color-mix(in srgb, var(--rose) 4%, var(--panel));box-shadow:0 0 0 2px color-mix(in srgb, var(--rose) 18%, transparent)}.layout-module.is-hidden{opacity:.46;border-style:dashed}.layout-module.is-hidden.is-selected{opacity:.8}.layout-module.is-drop-target{border-color:var(--rose);box-shadow:0 0 0 3px color-mix(in srgb, var(--rose) 14%, transparent)}.layout-module.is-drop-before:before,.layout-module.is-drop-after:after{z-index:2;background:var(--rose);height:3px;box-shadow:0 0 0 2px var(--panel);pointer-events:none;content:"";border-radius:4px;position:absolute;left:-2px;right:-2px}.layout-module.is-drop-before:before{top:-7px}.layout-module.is-drop-after:after{bottom:-7px}.layout-module.is-dragging{opacity:.35}.layout-module-heading{align-items:center;gap:6px;min-width:0;display:flex}.layout-drag-handle{width:34px;height:34px;color:var(--muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:4px;flex:0 0 34px;place-items:center;display:grid}.layout-drag-handle:hover{color:var(--rose);background:color-mix(in srgb, var(--rose) 9%, transparent)}.layout-drag-handle:active{cursor:grabbing}.layout-editor-page :is(button,a,input):focus-visible,.layout-module:focus-visible,.layout-module-select:focus-visible{outline:2px solid var(--rose);outline-offset:3px}.layout-module-copy{flex:1;min-width:0}.layout-module-copy b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.layout-module-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:10px;display:block;overflow:hidden}.layout-module-visibility{cursor:pointer;flex:0 0 28px;align-items:center;min-height:34px;display:flex}.layout-module-visibility input{opacity:0;position:absolute}.layout-module-visibility span{background:var(--line);border-radius:20px;width:28px;height:16px;display:block;position:relative}.layout-module-visibility span:after{background:var(--panel);content:"";border-radius:50%;width:12px;height:12px;transition:transform .12s;position:absolute;top:2px;left:2px}.layout-module-visibility input:checked+span{background:var(--rose)}.layout-module-visibility input:checked+span:after{transform:translate(12px)}.layout-module-visibility input:focus-visible+span{outline:2px solid var(--rose);outline-offset:2px}.layout-preview-field,.layout-preview-split,.layout-preview-textarea,.layout-preview-meter,.layout-preview-empty{color:var(--muted);margin-top:9px;font-size:10px}.layout-preview-field{border:1px solid var(--line);border-radius:4px;align-items:center;gap:4px;min-height:29px;padding:5px 7px;display:flex}.layout-preview-field b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-weight:600;overflow:hidden}.layout-preview-chevron{color:var(--rose)}.layout-preview-textarea{border:1px solid var(--line);border-radius:4px;min-height:42px;padding:8px;line-height:1.4}.layout-preview-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.layout-preview-split span{border:1px solid var(--line);text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:6px 2px;overflow:hidden}.layout-preview-meter{align-items:center;gap:10px;display:flex}.layout-preview-meter i{background:linear-gradient(90deg, var(--rose) 55%, var(--line) 55%);border-radius:5px;flex:1;height:5px}.layout-preview-empty{align-items:center;gap:6px;display:flex}.layout-module-keyboard{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 8px;margin-top:7px;display:flex}.layout-module-keyboard>span{color:var(--muted);margin-right:auto;font-size:10px}.layout-module-keyboard button{min-height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:3px 2px;font-size:10px}.layout-module-keyboard button:hover{color:var(--rose)}.layout-module-keyboard button:disabled{opacity:.25;cursor:not-allowed}.layout-preview-submit{background:var(--rose);color:#fff;border-radius:5px;justify-content:center;align-items:center;gap:7px;margin-top:auto;padding:10px;font-size:12px;font-weight:700;display:flex}.layout-preview-fixed{border-top:1px solid var(--line);color:var(--muted);margin-top:auto;padding:12px 2px 3px;font-size:11px}.layout-preview-canvas{background:var(--canvas);align-content:start;justify-items:center;min-width:0;display:grid;position:relative}.layout-preview-canvas-label{color:var(--muted);font-size:11px;position:absolute;top:15px;left:16px}.layout-preview-art{text-align:center;flex-direction:column;align-items:center;gap:6px;max-width:240px;margin-top:130px;padding:24px;display:flex}.layout-preview-art svg{color:var(--rose);margin-bottom:7px}.layout-preview-art b{font-family:var(--font-display);font-size:16px}.layout-preview-art span{color:var(--muted);font-size:11px}.layout-editor-bottom{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;margin-top:16px;font-size:12px;display:flex}.layout-drag-ghost{z-index:100;pointer-events:none;-webkit-user-select:none;user-select:none;border:1px solid var(--rose);background:var(--panel);min-width:120px;max-width:min(260px,100vw - 24px);color:var(--ink);box-shadow:0 8px 18px color-mix(in srgb, var(--ink) 15%, transparent);font-family:var(--font-sans);border-radius:6px;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:700;line-height:1.4;display:flex;position:fixed}@media (max-width:999px){.layout-editor-workspace{grid-template-columns:minmax(0,1fr)}.layout-editor-inspector{order:-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;padding:12px 16px;position:static}.layout-inspector-heading{grid-column:1/-1;padding-bottom:9px}.layout-inspector-toggle{grid-area:2/1;align-self:start}.layout-inspector-actions{grid-area:2/2}.layout-inspector-size{grid-column:1/-1;gap:20px}.layout-inspector-hint{grid-column:1/-1}}@media (max-width:760px){.layout-editor-header{flex-direction:column;align-items:flex-start}.layout-editor-header-actions{justify-content:space-between;width:100%}.layout-editor-intro{flex-direction:column;align-items:flex-start}.layout-editor-settings .layout-editor-checkbox{margin-left:0}.layout-editor-bottom{flex-direction:column;align-items:flex-start}.layout-editor-bottom>div{align-self:flex-end}}@media (max-width:700px){.layout-editor-inspector{gap:10px 12px;padding:12px}.layout-inspector-heading{gap:8px}.layout-inspector-size{gap:12px}.layout-inspector-actions button{min-width:68px;padding:7px 5px;font-size:11px}.layout-inspector-toggle{font-size:11px}}@media (prefers-reduced-motion:reduce){.layout-module,.layout-module-visibility span:after{transition:none}}}
@media (max-width:1023px){.layout-editor-page{background:var(--paper);min-height:100dvh;color:var(--ink);font-family:var(--font-sans)}.layout-editor-header{border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px clamp(16px,3vw,40px);display:flex}.layout-editor-brand,.layout-editor-header-actions,.layout-editor-header-actions a,.layout-editor-header-actions button,.layout-editor-intro>button,.layout-editor-bottom>div,.layout-editor-bottom a,.layout-editor-bottom button{align-items:center;gap:8px;display:inline-flex}.layout-editor-brand{color:var(--rose)}.layout-editor-brand b{color:var(--ink);font-family:var(--font-display);font-size:19px}.layout-editor-brand span{border-left:1px solid var(--line);color:var(--muted);margin-left:4px;padding-left:12px;font-size:12px}.layout-editor-header-actions a,.layout-editor-intro>button,.layout-editor-bottom a{border:1px solid var(--line);background:var(--panel);min-height:36px;color:var(--ink);border-radius:5px;justify-content:center;padding:7px 12px;font-size:12px;font-weight:600}.layout-editor-header-actions button,.layout-editor-bottom button{border:1px solid var(--rose);background:var(--rose);color:#fff;border-radius:5px;justify-content:center;min-height:36px;padding:7px 14px;font-size:12px;font-weight:700}.layout-editor-header-actions :is(a,button):hover,.layout-editor-intro>button:hover,.layout-editor-bottom :is(a,button):hover{border-color:var(--rose)}.layout-editor-header-actions button:disabled,.layout-editor-bottom button:disabled{opacity:.5;cursor:not-allowed}.layout-editor-body{max-width:1600px;margin:0 auto;padding:25px clamp(16px,3vw,40px) 34px}.layout-editor-intro{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.layout-editor-eyebrow{color:var(--rose);letter-spacing:.09em;align-items:center;gap:7px;font-size:11px;font-weight:700;display:inline-flex}.layout-editor-intro h1{font-family:var(--font-display);margin:8px 0 4px;font-size:clamp(23px,3vw,32px)}.layout-editor-intro p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.layout-editor-message{border:1px solid color-mix(in srgb, var(--rose) 30%, var(--line));background:color-mix(in srgb, var(--rose) 7%, var(--panel));color:var(--ink);border-radius:5px;margin:14px 0 0;padding:9px 12px;font-size:12px}.layout-editor-settings{border:1px solid var(--line);background:var(--panel);border-radius:7px;flex-wrap:wrap;align-items:center;gap:15px 28px;margin:20px 0 16px;padding:14px 16px;display:flex}.layout-editor-settings>label{align-items:center;gap:9px;min-width:220px;font-size:12px;font-weight:600;display:flex}.layout-editor-settings output{min-width:48px;color:var(--rose);font-variant-numeric:tabular-nums}.layout-editor-settings input[type=range]{width:clamp(65px,11vw,150px);accent-color:var(--rose)}.layout-editor-settings .layout-editor-checkbox{cursor:pointer;min-width:auto;margin-left:auto}.layout-editor-settings .layout-editor-checkbox input{accent-color:var(--rose)}.layout-editor-workspace{grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:16px;min-width:0;display:grid}.layout-editor-preview-scroll{overscroll-behavior-x:contain;border:1px solid var(--line);background:var(--panel);min-width:0;max-width:100%;box-shadow:0 12px 30px color-mix(in srgb, var(--ink) 5%, transparent);border-radius:7px;overflow-x:auto}.layout-editor-preview{min-width:650px;min-height:620px;display:grid}.layout-editor-inspector{border:1px solid var(--line);background:var(--panel);border-radius:7px;gap:16px;min-width:0;padding:16px;display:grid;position:sticky;top:72px}.layout-inspector-heading{border-bottom:1px solid var(--line);align-items:flex-start;gap:8px;min-width:0;padding-bottom:12px;display:flex}.layout-inspector-heading>svg{color:var(--rose);flex-shrink:0;margin-top:3px}.layout-inspector-heading>div{min-width:0}.layout-inspector-heading :is(b,small){display:block}.layout-inspector-heading b{color:var(--ink);font-size:14px}.layout-inspector-heading small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.5}.layout-inspector-field{min-width:0;color:var(--ink);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;font-size:12px;display:grid}.layout-inspector-field>span{grid-column:1/-1;justify-content:space-between;align-items:center;gap:4px;min-width:0;font-size:11px;font-weight:600;display:flex}.layout-inspector-field label{min-width:0;font-weight:600}.layout-inspector-field output{color:var(--rose);font-variant-numeric:tabular-nums;font-size:11px}.layout-inspector-field input[type=range]{width:100%;min-width:0;accent-color:var(--rose);cursor:pointer;grid-column:1/-1}.layout-inspector-field input[type=number]{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:34px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:5px;grid-column:1/-1;padding:6px 8px;font-size:12px}.layout-inspector-size{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.layout-inspector-toggle{min-height:30px;color:var(--ink);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.layout-inspector-toggle input{width:16px;height:16px;accent-color:var(--rose);flex-shrink:0}.layout-inspector-toggle:has(input:disabled){color:var(--muted);cursor:default}.layout-inspector-actions{flex-direction:column;gap:8px;min-width:0;display:flex}.layout-inspector-actions>span{color:var(--muted);font-size:11px}.layout-inspector-actions>div{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.layout-inspector-actions button{border:1px solid var(--line);background:var(--paper);min-height:34px;color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:5px;padding:7px 8px;font-size:12px;display:inline-flex}.layout-inspector-actions button:last-child{flex-basis:100%}.layout-inspector-actions button:hover:not(:disabled){border-color:var(--rose);background:color-mix(in srgb, var(--rose) 7%, var(--paper))}.layout-inspector-actions button:disabled{color:var(--muted);opacity:.45;cursor:not-allowed}.layout-inspector-hint{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.layout-editor-drag-hint{color:var(--muted);margin:10px 0 12px;font-size:11px;line-height:1.6}.layout-preview-column{background:color-mix(in srgb, var(--paper) 35%, var(--panel));flex-direction:column;gap:10px;min-width:0;padding:12px;display:flex}.layout-preview-column:first-child{border-right:1px solid var(--line)}.layout-preview-column:last-child{border-left:1px solid var(--line)}.layout-preview-column-title{color:var(--ink);align-items:center;gap:7px;padding:3px 2px 8px;font-size:12px;font-weight:700;display:flex}.layout-preview-column-title svg{color:var(--rose)}.layout-module{border:1px solid var(--line);background:var(--panel);cursor:pointer;border-radius:6px;flex-shrink:0;min-width:0;max-width:100%;padding:9px;transition:border-color .12s,box-shadow .12s,opacity .12s,background-color .12s;position:relative}.layout-module:hover{border-color:color-mix(in srgb, var(--rose) 45%, var(--line))}.layout-module.is-selected{border-color:var(--rose);background:color-mix(in srgb, var(--rose) 4%, var(--panel));box-shadow:0 0 0 2px color-mix(in srgb, var(--rose) 18%, transparent)}.layout-module.is-hidden{opacity:.46;border-style:dashed}.layout-module.is-hidden.is-selected{opacity:.8}.layout-module.is-drop-target{border-color:var(--rose);box-shadow:0 0 0 3px color-mix(in srgb, var(--rose) 14%, transparent)}.layout-module.is-drop-before:before,.layout-module.is-drop-after:after{z-index:2;background:var(--rose);height:3px;box-shadow:0 0 0 2px var(--panel);pointer-events:none;content:"";border-radius:4px;position:absolute;left:-2px;right:-2px}.layout-module.is-drop-before:before{top:-7px}.layout-module.is-drop-after:after{bottom:-7px}.layout-module.is-dragging{opacity:.35}.layout-module-heading{align-items:center;gap:6px;min-width:0;display:flex}.layout-drag-handle{width:34px;height:34px;color:var(--muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:4px;flex:0 0 34px;place-items:center;display:grid}.layout-drag-handle:hover{color:var(--rose);background:color-mix(in srgb, var(--rose) 9%, transparent)}.layout-drag-handle:active{cursor:grabbing}.layout-editor-page :is(button,a,input):focus-visible,.layout-module:focus-visible,.layout-module-select:focus-visible{outline:2px solid var(--rose);outline-offset:3px}.layout-module-copy{flex:1;min-width:0}.layout-module-copy b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.layout-module-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:1px;font-size:10px;display:block;overflow:hidden}.layout-module-visibility{cursor:pointer;flex:0 0 28px;align-items:center;min-height:34px;display:flex}.layout-module-visibility input{opacity:0;position:absolute}.layout-module-visibility span{background:var(--line);border-radius:20px;width:28px;height:16px;display:block;position:relative}.layout-module-visibility span:after{background:var(--panel);content:"";border-radius:50%;width:12px;height:12px;transition:transform .12s;position:absolute;top:2px;left:2px}.layout-module-visibility input:checked+span{background:var(--rose)}.layout-module-visibility input:checked+span:after{transform:translate(12px)}.layout-module-visibility input:focus-visible+span{outline:2px solid var(--rose);outline-offset:2px}.layout-preview-field,.layout-preview-split,.layout-preview-textarea,.layout-preview-meter,.layout-preview-empty{color:var(--muted);margin-top:9px;font-size:10px}.layout-preview-field{border:1px solid var(--line);border-radius:4px;align-items:center;gap:4px;min-height:29px;padding:5px 7px;display:flex}.layout-preview-field b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-weight:600;overflow:hidden}.layout-preview-chevron{color:var(--rose)}.layout-preview-textarea{border:1px solid var(--line);border-radius:4px;min-height:42px;padding:8px;line-height:1.4}.layout-preview-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.layout-preview-split span{border:1px solid var(--line);text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:6px 2px;overflow:hidden}.layout-preview-meter{align-items:center;gap:10px;display:flex}.layout-preview-meter i{background:linear-gradient(90deg, var(--rose) 55%, var(--line) 55%);border-radius:5px;flex:1;height:5px}.layout-preview-empty{align-items:center;gap:6px;display:flex}.layout-module-keyboard{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px 8px;margin-top:7px;display:flex}.layout-module-keyboard>span{color:var(--muted);margin-right:auto;font-size:10px}.layout-module-keyboard button{min-height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:3px 2px;font-size:10px}.layout-module-keyboard button:hover{color:var(--rose)}.layout-module-keyboard button:disabled{opacity:.25;cursor:not-allowed}.layout-preview-submit{background:var(--rose);color:#fff;border-radius:5px;justify-content:center;align-items:center;gap:7px;margin-top:auto;padding:10px;font-size:12px;font-weight:700;display:flex}.layout-preview-fixed{border-top:1px solid var(--line);color:var(--muted);margin-top:auto;padding:12px 2px 3px;font-size:11px}.layout-preview-canvas{background:var(--canvas);align-content:start;justify-items:center;min-width:0;display:grid;position:relative}.layout-preview-canvas-label{color:var(--muted);font-size:11px;position:absolute;top:15px;left:16px}.layout-preview-art{text-align:center;flex-direction:column;align-items:center;gap:6px;max-width:240px;margin-top:130px;padding:24px;display:flex}.layout-preview-art svg{color:var(--rose);margin-bottom:7px}.layout-preview-art b{font-family:var(--font-display);font-size:16px}.layout-preview-art span{color:var(--muted);font-size:11px}.layout-editor-bottom{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;margin-top:16px;font-size:12px;display:flex}.layout-drag-ghost{z-index:100;pointer-events:none;-webkit-user-select:none;user-select:none;border:1px solid var(--rose);background:var(--panel);min-width:120px;max-width:min(260px,100vw - 24px);color:var(--ink);box-shadow:0 8px 18px color-mix(in srgb, var(--ink) 15%, transparent);font-family:var(--font-sans);border-radius:6px;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:700;line-height:1.4;display:flex;position:fixed}@media (max-width:999px){.layout-editor-workspace{grid-template-columns:minmax(0,1fr)}.layout-editor-inspector{order:-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;padding:12px 16px;position:static}.layout-inspector-heading{grid-column:1/-1;padding-bottom:9px}.layout-inspector-toggle{grid-area:2/1;align-self:start}.layout-inspector-actions{grid-area:2/2}.layout-inspector-size{grid-column:1/-1;gap:20px}.layout-inspector-hint{grid-column:1/-1}}@media (max-width:760px){.layout-editor-header{flex-direction:column;align-items:flex-start}.layout-editor-header-actions{justify-content:space-between;width:100%}.layout-editor-intro{flex-direction:column;align-items:flex-start}.layout-editor-settings .layout-editor-checkbox{margin-left:0}.layout-editor-bottom{flex-direction:column;align-items:flex-start}.layout-editor-bottom>div{align-self:flex-end}}@media (max-width:700px){.layout-editor-inspector{gap:10px 12px;padding:12px}.layout-inspector-heading{gap:8px}.layout-inspector-size{gap:12px}.layout-inspector-actions button{min-width:68px;padding:7px 5px;font-size:11px}.layout-inspector-toggle{font-size:11px}}@media (prefers-reduced-motion:reduce){.layout-module,.layout-module-visibility span:after{transition:none}}}
