:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#242725;background:#f6f5f3;font-synthesis:none;--orange:#ff6a14;--line:#eae8e4;--muted:#8a8d87;--green:#349b6a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--orange)}[hidden]{display:none!important}.topbar{height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:11px;font-weight:700;color:inherit;text-decoration:none;min-width:200px}.brand-icon{width:38px;height:38px;border-radius:12px;color:var(--orange);display:grid;place-items:center;background:#fff0e4;font-size:21px}.brand small{font-weight:400;display:block;color:var(--muted);font-size:11px;letter-spacing:1px;margin-top:3px}.mode-switch{display:flex;padding:4px;border-radius:10px;background:#f5f4f1;gap:2px}.mode-switch button{border:0;background:none;color:#7f827d;padding:8px 28px;border-radius:7px;font-size:13px}.mode-switch button.active{background:#fff;color:#282b27;box-shadow:0 1px 5px #0000000c}.top-actions{display:flex;align-items:center;gap:12px;min-width:200px;justify-content:flex-end}.quiet,.secondary,.primary{border-radius:8px;padding:9px 13px;font-size:13px;border:1px solid transparent;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:5px;white-space:nowrap}.quiet{background:transparent;color:#656963}.quiet:hover{background:#f0eeea;color:#232722}.secondary{background:white;color:#545a52;border-color:#deded6}.secondary:hover{border-color:#969b92}.primary{background:var(--orange);color:#fff;border-color:var(--orange)}.primary:hover{background:#ee5d08}.login-link{border-color:var(--line)}.save-status{font-size:11px;color:var(--muted);max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace{height:calc(100dvh - 76px);display:flex;min-height:450px}.sidebar{width:238px;flex-shrink:0;padding:26px 15px 12px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#fff;overflow:auto}.side-heading{display:flex;align-items:center;justify-content:space-between;margin:0 9px 19px;font-size:14px}.side-heading span{color:#969b92;font-size:12px}.search{border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;padding:0 10px;gap:5px;margin-bottom:23px;color:#9a9c98}.search input{width:100%;border:0;background:transparent;padding:10px 2px;font-size:12px;outline:none}.flow-group{margin:0 0 20px}.flow-group h2{font-size:11px;letter-spacing:1px;color:#a0a39c;font-weight:500;margin:0 10px 8px}.page-link{width:100%;border:0;background:none;color:#656b62;display:flex;text-align:left;gap:9px;align-items:center;padding:10px 9px;border-radius:7px;font-size:12px;line-height:1.4}.page-link .page-number{font-variant-numeric:tabular-nums;font-size:10px;color:#a3a69f;min-width:18px}.page-link:hover{background:#f6f5f2}.page-link.active{color:#dc5c0f;background:#fff1e6}.page-link.active .page-number{color:#e17b3b}.side-bottom{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:center;gap:3px}.main{flex:1;min-width:0;display:flex;flex-direction:column;padding:24px 28px 12px;position:relative;overflow:hidden}.canvas-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.eyebrow{font-size:10px;color:#a3a39d;letter-spacing:1px}h1{font-size:16px;font-weight:600;margin:4px 0 0;letter-spacing:.2px}.canvas-heading>.quiet{font-size:11px;color:#92958c;border:1px solid #e3e2db;background:#faf9f7}.canvas-heading>.quiet[aria-pressed="true"]{border-color:#ffc699;color:#db6214;background:#fff1e6}.canvas-scroll{flex:1;min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:5px 15px 10px}.stage{position:relative;flex:none;line-height:0;max-height:100%;height:100%;user-select:none;touch-action:pan-y;isolation:isolate;filter:drop-shadow(0 9px 16px #46331d0a)}.stage img{display:block;height:100%;width:auto;max-width:none;border-radius:3px}.stage.zoomed{height:auto;max-height:none}.stage.zoomed img{height:auto;width:520px}.stage.editing{touch-action:none}.stage.drawing{cursor:crosshair}.stage #layers{position:absolute;inset:0}.layer{position:absolute;line-height:1.3;margin:0;padding:0;box-sizing:border-box;overflow:hidden;display:flex;align-items:center;justify-content:center;white-space:pre-wrap;font-family:inherit;word-break:break-word}.hotspot{border:1px solid transparent;background:transparent;border-radius:4px;color:transparent;font-size:11px;z-index:4}.hotspot:hover{background:#ff6a1412;border-color:#ff6a1445}.show-hints .hotspot{background:#ff9f4324;border:1px dashed #ed8639;color:#a94402;text-shadow:0 1px 2px #fff}.show-hints .hotspot span{background:#fff8eddf;border-radius:3px;padding:3px 4px;font-size:9px;max-width:100%;line-height:1.2}.show-hints .longpress{border-color:#8262d0;background:#9472d324;color:#633bb7}.editing .hotspot{background:#ff8e3216;border:1px dashed #f3a569;color:transparent;z-index:10}.editing .hotspot span{display:none}.text-layer{z-index:6;border:0;background:#fff;color:#252525;pointer-events:none}.editing .text-layer{pointer-events:auto;cursor:move;outline:1px solid #41a17b66;z-index:12}.editing .layer.selected{outline:2px solid #ff6a14;border-color:transparent;z-index:20;overflow:visible}.editing .note-layer{background:#aa8bff26;border:1px dashed #8c6cdb;color:#7453bd;font-size:10px;z-index:14;cursor:move}.note-layer{display:none}.editing .note-layer{display:flex}.resize-handle{position:absolute;bottom:-5px;right:-5px;width:11px;height:11px;border:2px solid #fff;background:#ff6a14;border-radius:2px;cursor:nwse-resize;line-height:1;box-shadow:0 0 0 1px #ff6a14}.layer.selected:after{content:attr(data-label);position:absolute;top:-20px;left:-2px;max-width:200px;color:#fff;background:var(--orange);font-size:10px;padding:2px 5px;border-radius:3px;line-height:14px;white-space:nowrap;pointer-events:none}#drawBox{position:absolute;border:2px solid #ff6a14;background:#ff6a141c;pointer-events:none;z-index:50}.page-controls{display:flex;justify-content:center;align-items:center;gap:15px;padding:8px 0 0;flex-shrink:0}.page-controls>span{font-size:11px;color:#a3a59d;font-variant-numeric:tabular-nums}.page-controls .quiet{font-size:11px}.divider{height:15px;width:1px;background:#dedfd7}.demo-message{margin:0 auto 2px;max-width:580px;color:#a49072;text-align:center;font-size:11px;line-height:1.6}.editor-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;padding:0 0 13px;flex-shrink:0}.tool{border:1px solid #e2e1da;background:#fff;color:#73786e;font-size:11px;padding:7px 9px;border-radius:6px}.tool.active{color:#d75e10;border-color:#f5b991;background:#fff5ed}.editor-tools .quiet{font-size:11px;padding:7px}.inspector{width:280px;background:#fff;border-left:1px solid var(--line);flex-shrink:0;overflow:auto;padding:26px 19px 18px}.inspector-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;font-size:13px}.badge{font-size:9px;color:#91a48a;background:#f1f5ef;padding:4px 5px;border-radius:4px}.inspector label{font-size:11px;color:#8c9186;display:block;margin-bottom:14px}.inspector input,.inspector select,.inspector textarea{width:100%;display:block;margin-top:7px;border:1px solid #e4e5df;border-radius:6px;padding:9px 8px;color:#41463c;background:#fff;font-size:12px}.inspector textarea{resize:vertical;min-height:85px;line-height:1.7}.inspector input[type=color]{padding:3px;height:32px}.inspector input[type=checkbox]{display:inline;width:auto;margin:0 5px 0 0}.inspector .two-columns,.inspector .geometry{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.inspector .two-columns label{min-width:0}.inspector .geometry input{padding:7px}.inspector .mini-heading{font-size:11px;color:#b0b2a8;margin:20px 0 12px}.inspector .empty-editor{font-size:12px;color:#8e9289;line-height:1.9;background:#f8f8f5;border-radius:8px;padding:16px;margin-bottom:20px}.inspector .empty-editor strong{display:block;font-weight:500;color:#41493d;margin-bottom:5px}.page-settings{padding-top:22px;margin-top:23px;border-top:1px solid var(--line)}.page-settings .secondary{width:100%}.full-width{width:100%}.danger{color:#d67160;font-size:11px;border:0;background:none;padding:7px 0;cursor:pointer}.inspector .help-text{font-size:10px;line-height:1.7;color:#acafa5;margin:5px 0 15px}.note-actions{display:flex;gap:8px}.note-actions button{font-size:11px;padding:8px}dialog{border:1px solid #eeeae2;border-radius:16px;width:min(500px,calc(100vw - 30px));padding:32px;color:#464d41;box-shadow:0 30px 90px #26271830}dialog::backdrop{background:#1c211c54;backdrop-filter:blur(2px)}dialog h2{font-size:18px;margin:0 0 22px}dialog li{font-size:13px;line-height:1.8;padding:5px 0}dialog ol{padding-left:20px}dialog p{font-size:12px;line-height:1.8;color:#8f9488}.dialog-close{position:absolute;right:16px;top:12px;font-size:25px;color:#969c8f;background:none;border:0}.history-item{padding:14px 0;border-top:1px solid #eee;display:flex;align-items:center;justify-content:space-between;font-size:12px}.history-item small{display:block;margin-top:5px;color:#999}#toast{position:fixed;bottom:27px;left:50%;transform:translateX(-50%) translateY(80px);max-width:min(600px,90vw);background:#31392d;color:#fff;font-size:12px;padding:12px 20px;line-height:1.7;border-radius:9px;z-index:100;opacity:0;transition:all .18s;pointer-events:none;box-shadow:0 8px 30px #2222}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.icon-button{border:0;background:none;padding:5px;font-size:19px;color:#7c8276}.mobile-only{display:none}.editing-mode .login-link{display:none}.editing-mode .save-status{display:inline}.sidebar-mask{display:none}@media(max-width:1100px){.sidebar{width:205px}.main{padding-left:18px;padding-right:18px}.inspector{width:246px;padding-left:15px;padding-right:15px}.topbar{padding:0 20px}.mode-switch button{padding:8px 18px}.brand{min-width:170px}.top-actions{min-width:170px;gap:5px}.save-status{max-width:85px}.editor-tools{justify-content:flex-start}}@media(max-width:800px){.sidebar{position:fixed;top:66px;bottom:0;left:0;z-index:40;width:245px;transform:translateX(-100%);transition:transform .2s;box-shadow:20px 0 50px #30332213}.sidebar.open{transform:translateX(0)}.mobile-only{display:inline-flex}.topbar{height:66px;padding:0 14px;gap:5px}.brand{min-width:auto;font-size:13px;gap:7px}.brand-icon{width:30px;height:30px;border-radius:9px;font-size:17px}.brand small{display:none}.mode-switch button{font-size:12px;padding:7px 14px}.top-actions{min-width:auto}.top-actions .quiet{font-size:11px;padding:7px}.top-actions .primary{font-size:11px;padding:8px}.login-link{display:none}.workspace{height:calc(100dvh - 66px)}.main{padding:17px 14px 8px}.canvas-heading{margin-bottom:12px;justify-content:flex-start}.canvas-heading>div{flex:1}.canvas-heading h1{font-size:13px}.canvas-heading>.quiet{font-size:10px;padding:7px}.canvas-scroll{padding:0 4px 5px}.page-controls{gap:8px}.save-status{display:none}.inspector{width:225px;padding:20px 12px}.editing-mode .main{padding-left:8px;padding-right:8px}.editor-tools{gap:4px}.editor-tools .tool{font-size:10px;padding:6px}.editor-tools .quiet{font-size:10px}.stage.zoomed img{width:420px}.canvas-heading .eyebrow{font-size:9px}}@media(max-width:560px){.editing-mode .workspace{flex-wrap:wrap;height:auto;min-height:calc(100dvh - 66px)}.editing-mode .main{width:100%;height:72dvh;flex-basis:100%}.inspector{width:100%;height:auto;border-left:0;border-top:1px solid var(--line);display:block}.inspector #selectionPanel{max-width:480px;margin:auto}.page-settings{max-width:480px;margin:25px auto 0}.inspector-heading{max-width:480px;margin:0 auto 22px}.brand small{display:none}.stage.zoomed img{width:360px}.top-actions #shareButton{display:none}.editing-mode .top-actions #shareButton{display:inline-flex}.demo-message{font-size:9px}}
:root{scrollbar-width:thin}
.stage{max-height:none}.stage img,.stage.zoomed img{width:100%;height:100%}
@media(max-width:560px){.top-actions #shareButton{display:inline-flex}.editing-mode .top-actions #shareButton{display:none}.editing-mode .brand>span:last-child{display:none}}

.stage{max-height:none}.stage img,.stage.zoomed img{width:100%;height:100%}
@media(max-width:560px){.top-actions #shareButton{display:inline-flex}.editing-mode .top-actions #shareButton{display:none}.editing-mode .brand>span:last-child{display:none}}
.page-canvas{display:flex;align-items:flex-start;justify-content:center;gap:24px;width:100%;flex-shrink:0}
.page-canvas.stacked{flex-direction:column;align-items:center;gap:20px}
.page-notes-panel{width:240px;flex-shrink:0;padding-top:6px;line-height:1.6}
.page-canvas.stacked .page-notes-panel{width:min(100%,400px)}
.page-notes-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;padding:0 2px;font-size:12px;color:#8b8578}
.page-notes-heading strong{font-weight:500}
.page-note-add,.page-note-remove{border:0;background:none;color:#b59a7c;cursor:pointer;padding:2px 6px;font-size:18px;border-radius:4px;line-height:1.2}
.page-note-add:hover,.page-note-remove:hover{background:#ffe6c6;color:#d66b18}
.page-note-card{margin:0 0 12px;background:#fffaf0;border:1px solid #eee1c8;border-radius:9px;padding:13px 14px;box-shadow:0 3px 10px #6f481006}
.page-note-card:focus-within{border-color:#efa65e;box-shadow:0 0 0 2px #ff90230d}
.page-note-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;color:#af9777;font-size:10px}
.page-note-card textarea{display:block;width:100%;min-height:95px;max-height:400px;resize:vertical;border:0;padding:0;margin:0;background:transparent;color:#67533a;font:inherit;font-size:12px;line-height:1.9;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}
.page-note-card textarea::placeholder{color:#c1ad91}
.page-note-copy{margin:0;color:#67533a;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;user-select:text}
@media(max-width:560px){.page-canvas{gap:16px}.page-notes-panel{padding-top:0}.page-note-card textarea{min-height:90px}}

/* Wider and taller external page notes; prototype image is unchanged. */
.page-notes-panel{width:380px;max-width:100%}.page-canvas.stacked .page-notes-panel{width:min(100%,520px)}
.page-note-card{padding:16px 18px}.page-note-top{font-size:12px;margin-bottom:10px}
.page-note-card textarea{height:560px;min-height:360px;max-height:1000px;font-size:14px;line-height:1.85;resize:vertical}
.page-note-copy{font-size:14px;line-height:1.85}
@media(max-width:560px){.page-note-card{padding:14px}.page-note-card textarea{height:480px;min-height:320px}}
