body[data-workspace=mockup]{--bg:#f3f4f6;--surface:#fff;--line:#e5e7eb;--ink:#242833;--ink-2:#626875;--ink-3:#858b96;--accent:#a44939;--accent-soft:#f7eeeb;--ws-paper:#fff;--ws-bg:#f3f4f6;--ws-line:#e5e7eb;--ws-ink:#242833;--ws-muted:#737987;font-family:var(--sans)}
body[data-workspace=mockup] .topbar{height:60px;min-height:60px;padding:0 18px;background:white;gap:10px}body[data-workspace=mockup] .brand-text,body[data-workspace=mockup] .panel-title,body[data-workspace=mockup] h3,body[data-workspace=mockup] h4{font-family:var(--sans);letter-spacing:0}body[data-workspace=mockup] .brand-text{font-weight:600;font-size:16px}.brand .mark svg{width:21px;height:21px}body[data-workspace=mockup] .shell{height:calc(100dvh - 60px)}
.mockup-rail{width:72px;flex:0 0 72px;order:0;padding:12px 7px;display:flex;flex-direction:column;align-items:center;gap:5px;background:white;border-right:1px solid var(--line);z-index:10}.mockup-rail button{display:flex;flex-direction:column;justify-content:center;align-items:center;width:56px;min-height:62px;gap:6px;color:var(--ink-2);border:0;border-radius:9px;background:none;font-size:11px;position:relative}.mockup-rail button svg{width:21px;height:21px}.mockup-rail button:hover{background:#f4f5f7}.mockup-rail button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);font-weight:600}.mockup-rail button[aria-pressed=true]:before{content:'';position:absolute;left:-7px;top:17px;bottom:17px;width:3px;background:var(--accent);border-radius:0 3px 3px 0}.mockup-rail [data-work=export]{margin-top:auto}
body[data-workspace=mockup] .panel{order:1;width:336px;border:0;border-right:1px solid var(--line);background:white;min-height:0}.panel-head{min-height:64px;padding:14px 18px!important;border:0}.panel-title{font-size:17px!important;font-weight:600}.panel-title:before,h3:before{display:none}.panel-close{width:32px;height:32px;font-size:22px;background:white;border-radius:6px}.work-tabs{display:none}body[data-workspace=mockup] .panel-body{padding:0 16px 18px;scroll-behavior:auto}.work-section{padding:0;margin:0;background:none;border:0;border-radius:0;box-shadow:none}.work-section>h3{font-size:13px;color:var(--ink-2);font-weight:500;margin:2px 0 16px}.work-section h4{font-size:12px;color:var(--ink-2);font-weight:500;margin:18px 0 8px}.work-section .muted,.privacy-note{font-size:11px;line-height:1.8}.section-intro{margin:0 0 12px}.privacy-note{padding:14px 0 0;margin:0}.book-presets{gap:9px}.book-preset{border-radius:8px;border-color:var(--line)}.book-preset span{font-weight:500;font-size:12px}.book-preset img{aspect-ratio:1.55;object-fit:cover}.upload-row{gap:8px}.upload{min-height:98px;border-radius:8px;background:#f8f9fa}.upload:first-child{background:#fcf6f4}.image-actions .outline{background:#f8f9fa;min-height:40px}.expand-panel{border-radius:8px;background:white}.expand-panel summary{min-height:44px;font-weight:500;font-size:12px}.expand-panel[open] summary{border-color:var(--line)}.work-section select,.work-section input[type=number],.draft-name{border-radius:6px;min-height:40px;font-size:13px}.work-section .outline{background:white;border-radius:6px;font-size:12px;min-height:40px}.work-section .outline.on{background:var(--accent-soft)}.work-section input[type=range]{height:26px}.work-section .tints{gap:9px;padding-bottom:22px}.field label{font-size:12px}.draft-toolbar{display:flex;flex-wrap:wrap;padding:0;box-shadow:none;border:0;gap:12px}.draft-label{width:100%}.draft-label strong{font-size:13px;font-weight:500}.draft-label small{font-size:11px}.draft-actions{width:100%}.draft-toolbar #draft-manager{width:100%}.draft-row{padding:10px}.draft-row button{padding:7px}.export-options{border:0;background:none;max-height:none;margin:0;overflow:visible}.export-options>summary{display:none}.export-settings{padding:0}.export-settings>label:not(.check){font-size:12px;margin:10px 0 7px}.export-settings select{min-height:40px;font-size:13px;border-radius:6px}.export-settings .check{padding:12px 0}.panel-foot{padding:0!important;border:0;min-height:0;background:white}.panel-status{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);min-height:54px;font-size:11px;color:var(--ink-3)}.panel-status button{padding:8px 10px;min-height:36px;background:white;border:1px solid var(--line);border-radius:6px;color:var(--ink-2);font-size:11px}#work-export>#export-btn2{display:block!important;margin-top:16px;min-height:44px}body[data-workspace=mockup] #panel-toggle{display:none!important}
body[data-workspace=mockup] .stage{order:2;flex:1;background:#f3f4f6;min-width:0}.stage-toolbar{position:absolute;top:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;pointer-events:none;z-index:3}.stage-model{padding:7px 12px;background:#ffffffdf;border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--ink-2)}.stage-toolbar>div{display:flex;gap:3px;padding:4px;background:#ffffffef;border:1px solid var(--line);border-radius:8px;pointer-events:auto}.stage-toolbar button{border:0;background:none;min-height:32px;min-width:44px;padding:5px 10px;border-radius:5px;font-size:12px;color:var(--ink-2)}.stage-toolbar button:hover,.stage-toolbar button.on{background:var(--accent-soft);color:var(--accent)}.stage-bottom{position:absolute;left:20px;right:20px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#6b707b;z-index:3;pointer-events:none}.stage-bottom button{pointer-events:auto;background:#ffffffef;border:1px solid var(--line);border-radius:6px;padding:8px 12px;font-size:11px;color:var(--ink-2);min-height:36px}.stage-bottom button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}body[data-workspace=mockup] .stage-tip{bottom:19px;font-size:11px;border:0;padding:9px 12px;background:#ffffffa0;color:#7b808b}.toast{z-index:100}
@media(max-width:1100px) and (min-width:901px){body[data-workspace=mockup] .panel{width:312px}.stage-model{display:none}.stage-toolbar{justify-content:flex-end}.stage-tip{display:none}}
@media(max-width:900px){body[data-workspace=mockup]{--mockup-dock:calc(64px + env(safe-area-inset-bottom))}body[data-workspace=mockup] .topbar{height:58px;min-height:58px;padding:0 12px}.brand-text{font-size:14px!important}.ws-switch{margin-left:0}.top-actions #export-btn{display:block!important;font-size:12px;padding:8px 10px;min-height:36px}.mockup-rail{position:fixed;bottom:0;left:0;right:0;width:auto;height:var(--mockup-dock);padding:5px 6px calc(5px + env(safe-area-inset-bottom));flex-direction:row;justify-content:space-around;border:0;border-top:1px solid var(--line);z-index:65;gap:0}.mockup-rail button{width:auto;min-width:42px;flex:1 0 42px;min-height:52px;gap:3px;padding:3px 4px;font-size:10px}.mockup-rail button svg{width:19px;height:19px}.mockup-rail button:before{display:none}.mockup-rail [data-work=export]{margin-top:0}body[data-workspace=mockup] .shell{height:calc(100dvh - 58px - var(--mockup-dock));position:relative}body[data-workspace=mockup] .panel{left:0;right:0;bottom:var(--mockup-dock);height:56dvh;max-height:56dvh;width:auto;border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;z-index:60;box-shadow:0 -4px 24px #24283312}.panel-head{min-height:50px;padding:8px 16px!important}.panel-title{font-size:15px!important}.panel-close{font-size:22px;width:36px;height:36px}.panel-body{padding:0 14px 16px!important}.panel-status{padding:8px 14px;min-height:50px}.panel-status button{min-height:36px}.work-section input[type=number],.draft-name{font-size:16px}.work-section input[type=range]{height:30px}.upload{min-height:100px}.book-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.book-preset img{aspect-ratio:1.3}.book-preset span{font-size:11px}.stage-toolbar{top:12px;left:12px;right:12px;gap:8px}.stage-model{font-size:11px;padding:7px 9px}.stage-toolbar>div{gap:1px;padding:3px}.stage-toolbar button{min-width:36px;min-height:32px;font-size:11px;padding:4px 7px}.stage-bottom{left:12px;right:12px;bottom:12px}.stage-bottom>span{font-size:10px}.stage-bottom button{min-height:36px}body[data-workspace=mockup].mockup-sheet .stage{height:calc(44dvh - 58px - var(--mockup-dock));min-height:130px;flex:none;width:100%}body[data-workspace=mockup].mockup-sheet .stage-bottom{display:none}body[data-workspace=mockup].ws-expanded .panel{height:calc(100dvh - 58px - var(--mockup-dock) - 8px);max-height:calc(100dvh - 58px - var(--mockup-dock) - 8px)}body[data-workspace=mockup].ws-expanded.mockup-sheet .stage{visibility:hidden}.toast{bottom:calc(var(--mockup-dock) + 16px)}}
@media(max-width:360px){.brand-text{display:none}.stage-model{display:none}.stage-toolbar{justify-content:center}.book-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.panel{transition:none!important}}
