:root{font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,Arial,sans-serif;color:#17202c;background:#eef2f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #17202c;--muted: #64707d;--line: #d8e0e5;--panel: #ffffff;--panel-soft: #f7fafb;--blue: #2563eb;--green: #0f766e;--amber: #b45309;--danger: #b91c1c;--shadow: 0 20px 48px rgba(28, 45, 58, .12)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app{min-height:100vh}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;border-bottom:1px solid var(--line);background:#fffffff0;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px}.brand svg{color:var(--green)}.brand h1,.brand p,.control-panel h2,.download-panel h2,.modal h2{margin:0}.brand h1{font-size:19px;line-height:1.2}.brand p{margin-top:4px;color:var(--muted);font-size:13px}.top-actions,.toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.primary-button,.ghost-button,.toolbar-actions button,.download-panel button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:0 14px}.primary-button{border-color:#1d4ed8;background:var(--blue);color:#fff}.ghost-button{background:#f7fafb}.ad-slot{display:flex;min-height:112px;align-items:center;justify-content:center;flex-direction:column;gap:6px;border:1px dashed #a9b8c3;background:repeating-linear-gradient(135deg,#fbfcfd 0 12px,#f2f6f8 12px 24px);color:#51606c;font-size:13px}.ad-slot strong{color:#2f3b47}.ad-slot-compact{min-height:72px;margin:14px 24px 0;border-radius:8px}.license-banner{display:flex;align-items:center;gap:10px;margin:14px 24px 0;border:1px solid #f0c98a;border-radius:8px;background:#fff7ed;padding:10px 12px;color:#7c3f00;font-size:13px}.license-banner svg{flex:0 0 auto}.license-banner span{min-width:0;flex:1 1 auto}.license-banner button{min-height:34px;flex:0 0 auto;border-color:#d97706;border-radius:7px;background:#d97706;color:#fff;padding:0 12px}.workspace{display:grid;grid-template-columns:270px minmax(0,1fr) 300px;gap:16px;padding:16px 24px 24px}.sidebar,.inspector,.tool-area{min-width:0}.sidebar,.inspector{display:flex;flex-direction:column;gap:14px}.panel-header,.toolbar,.control-panel,.download-panel,.file-group,.canvas-empty{border:1px solid var(--line);background:var(--panel)}.panel-header{display:flex;height:46px;align-items:center;justify-content:space-between;padding:0 12px;border-radius:8px}.panel-header h2{margin:0;font-size:15px}.panel-header button,.box-delete,.modal-close{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:7px}.file-queue{display:flex;flex-direction:column;gap:12px}.file-group{border-radius:8px;overflow:hidden}.file-title{display:flex;align-items:center;gap:8px;padding:11px 12px;border-bottom:1px solid var(--line);color:#2f3b47;font-size:13px;font-weight:700}.file-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}.page-thumb{display:flex;min-width:0;flex-direction:column;gap:6px;padding:6px;border-radius:7px;text-align:left}.page-thumb.active{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.page-thumb img{width:100%;aspect-ratio:4 / 5;object-fit:cover;background:#e7edf1}.page-thumb span{color:var(--muted);font-size:12px}.empty-panel,.canvas-empty{display:grid;min-height:150px;place-items:center;border-radius:8px;color:var(--muted)}.tool-area{display:flex;flex-direction:column;gap:12px}.toolbar{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:8px}.status{display:inline-flex;align-items:center;gap:8px;min-width:190px;color:#2f3b47;font-size:13px}.status svg{color:var(--green)}.spin{animation:spin .9s linear infinite}.canvas-shell{display:flex;min-height:calc(100vh - 190px);justify-content:center;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#cad4db;padding:16px}.page-stage{position:relative;flex:0 0 auto;box-shadow:var(--shadow);background:#fff;touch-action:none;user-select:none}.page-stage img{display:block;width:100%;height:100%;pointer-events:none}.redaction-box{position:absolute;border:2px solid var(--blue);background:#2563eb38;min-width:12px;min-height:12px}.redaction-manual{border-color:var(--amber);background:#b4530933}.redaction-draft{border-color:var(--green);background:#0f766e2e}.redaction-box span{position:absolute;left:4px;bottom:4px;max-width:calc(100% - 8px);overflow:hidden;border-radius:4px;background:#111827e0;color:#fff;font-size:11px;line-height:18px;padding:0 5px;text-overflow:ellipsis;white-space:nowrap}.redaction-box select{position:absolute;right:2px;top:2px;width:70px;height:24px;border:1px solid rgba(17,24,39,.25);border-radius:5px;font-size:12px}.box-delete{position:absolute;left:2px;top:2px;width:24px;height:24px;border:0;background:#b91c1ceb;color:#fff}.control-panel{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:8px}.control-panel h2,.download-panel h2{font-size:15px}.control-panel label{display:flex;align-items:center;gap:9px;color:#344350;font-size:13px}.control-panel input[type=checkbox]{width:16px;height:16px}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.segmented button{height:34px;border-radius:7px;font-size:13px}.segmented .selected{border-color:var(--green);background:#e7f5f2;color:#075e57;font-weight:700}.metric-row{display:flex;justify-content:space-between;color:var(--muted);font-size:13px}.metric-row strong{color:var(--ink)}.hint,.modal-note{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:13px;line-height:1.5}.download-panel{display:grid;grid-template-columns:24px 1fr;gap:10px;padding:14px;border-radius:8px}.download-panel p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.download-panel button{grid-column:1 / -1;width:100%}.modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:#0f172a8c}.modal{position:relative;width:min(520px,100%);border:1px solid var(--line);border-radius:10px;background:#fff;padding:20px;box-shadow:var(--shadow)}.modal-close{position:absolute;right:12px;top:12px;font-size:22px;line-height:1}.modal-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.modal-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.full{width:100%;margin-top:14px}.activation-code{display:block;margin-top:14px;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);padding:14px;color:#0f3d35;font-size:16px;text-align:center;word-break:break-all}.activation-input{width:100%;min-height:40px;margin-top:12px;border:1px solid var(--line);border-radius:7px;padding:0 12px;color:var(--ink)}.modal-note{margin-top:12px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.workspace{grid-template-columns:230px minmax(0,1fr)}.inspector{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){.topbar,.toolbar{align-items:stretch;flex-direction:column}.top-actions,.toolbar-actions{width:100%}.top-actions button,.toolbar-actions button{flex:1 1 150px}.workspace{grid-template-columns:1fr;padding:12px}.ad-slot-compact{margin:12px}.license-banner{align-items:stretch;flex-direction:column;margin:12px}.inspector{grid-template-columns:1fr}.canvas-shell{min-height:55vh}}.site-page{min-height:100vh;background:#eef2f4;color:var(--ink)}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px;border-bottom:1px solid var(--line);background:#fff}.site-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-weight:800;text-decoration:none}.site-brand svg{color:var(--green)}.site-header nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.site-header nav a,.site-footer a{color:#344350;text-decoration:none}.site-header nav a:hover,.site-footer a:hover{color:var(--blue)}.page-title{max-width:1120px;margin:0 auto;padding:42px 24px 22px}.page-title h1{margin:0;font-size:32px;line-height:1.2}.page-title p{margin:10px 0 0;color:var(--muted);line-height:1.7}.landing-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;max-width:1120px;margin:0 auto;padding:0 24px 40px}.content-panel,.legal-panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:24px}.content-panel h2,.legal-panel h2{margin:12px 0 8px;font-size:20px}.content-panel p,.legal-panel p,.content-panel li{color:var(--muted);line-height:1.8}.feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.feature-list span{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid var(--line);border-radius:7px;background:var(--panel-soft);padding:8px 10px;color:#334155;font-size:13px}.feature-list svg,.content-panel>svg{color:var(--green)}.button-row{display:flex;gap:10px;flex-wrap:wrap}.primary-link,.ghost-link,.disabled-link{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:0 16px;text-decoration:none}.primary-link{background:var(--blue);color:#fff}.ghost-link{border:1px solid var(--line);background:#fff;color:var(--ink)}.disabled-link{border:1px solid var(--line);background:#f1f5f9;color:#73808c}.muted-panel{background:#fbfcfd}.policy-note{font-size:13px}.legal-panel{max-width:920px;margin:0 auto 40px}.site-footer{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;border-top:1px solid var(--line);background:#fff;padding:18px 24px;color:var(--muted);font-size:13px}.site-footer a{display:inline-flex;align-items:center;gap:5px}@media(max-width:820px){.site-header{align-items:flex-start;flex-direction:column}.landing-grid,.feature-list{grid-template-columns:1fr}.page-title{padding-top:28px}.page-title h1{font-size:26px}}:root{--ink: #17202c;--muted: #64707d;--line: #d7e0dc;--panel: #ffffff;--panel-soft: #f6f9f7;--blue: #2457c5;--green: #0f766e;--amber: #b45309;--rose: #b4234a;--shadow: 0 16px 36px rgba(27, 45, 40, .1);--shadow-soft: 0 8px 24px rgba(27, 45, 40, .07)}body{background:linear-gradient(180deg,#f7faf6,#eef4f6 48%,#f4f7f3)}button,.primary-link,.ghost-link{transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}button:not(:disabled):hover,.primary-link:hover,.ghost-link:hover{box-shadow:var(--shadow-soft);transform:translateY(-1px)}.app{position:relative;min-height:100vh;color:var(--ink)}.drop-overlay{position:fixed;inset:12px;z-index:50;display:grid;place-items:center;align-content:center;gap:10px;border:2px dashed #2f8d83;border-radius:8px;background:#f7fcf8e0;color:#075e57;font-weight:800;pointer-events:none;backdrop-filter:blur(10px)}.topbar{padding:14px 24px;border-bottom:1px solid rgba(215,224,220,.9);background:#fafcf9eb;box-shadow:0 1px #ffffffd9}.brand{min-width:260px}.brand svg{color:var(--green);filter:drop-shadow(0 4px 8px rgba(15,118,110,.16))}.brand h1{font-size:20px;letter-spacing:0}.brand p{color:#6b7a76}.top-actions{justify-content:flex-end}.primary-button,.ghost-button,.toolbar-actions button,.download-panel button,.primary-link,.ghost-link,.disabled-link{border-radius:8px;font-weight:700;white-space:nowrap}.primary-button,.primary-link{border-color:#1749b1;background:#2457c5;color:#fff}.primary-button:not(:disabled):hover,.primary-link:hover{background:#1d4faf}.ghost-button,.ghost-link{background:#fbfdfb;color:#253241}.summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 24px 0}.summary-strip div{display:grid;grid-template-columns:22px 1fr auto;min-width:0;align-items:center;gap:8px;height:48px;border:1px solid rgba(215,224,220,.9);border-radius:8px;background:#ffffffc7;padding:0 12px;box-shadow:0 1px #ffffffe6}.summary-strip svg{color:#2f8d83}.summary-strip span{min-width:0;overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.summary-strip strong{overflow:hidden;color:#162332;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.ad-slot{min-height:96px;border-color:#c4d0d0;background:repeating-linear-gradient(135deg,#ffffffb8 0 12px,#ebf1eec7 12px 24px);color:#61706d}.ad-slot-compact{min-height:76px}.workspace{grid-template-columns:264px minmax(420px,1fr) 318px;gap:14px;padding:14px 24px 24px}.panel-header,.toolbar,.control-panel,.download-panel,.file-group,.canvas-empty{border-color:#d7e0dcf2;border-radius:8px;box-shadow:var(--shadow-soft)}.panel-header{height:48px;background:#ffffffd1}.panel-header h2,.control-panel h2,.download-panel h2{color:#1f2e39;font-size:15px;letter-spacing:0}.panel-header button,.box-delete,.modal-close{border-radius:8px}.empty-panel{gap:8px;min-height:154px;border:1px dashed #c6d3cf;background:#ffffff94}.empty-panel svg{color:#8a9b96}.empty-panel p{margin:0}.file-group{background:#ffffffdb}.file-title{background:#fbfdfb}.page-thumb{border-color:#dce5e2;background:#fff}.page-thumb img{border-radius:6px}.page-thumb.active{border-color:#2457c5;background:#f2f6ff;box-shadow:inset 0 0 0 1px #2457c5}.toolbar{position:sticky;top:78px;z-index:8;min-height:58px;background:#ffffffe6;backdrop-filter:blur(12px)}.status{min-width:210px;font-weight:700}.status span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar-actions{gap:8px}.tool-action-group{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe4e1;border-radius:8px;background:#f8fbf9;padding:4px}.tool-action-group button{min-height:34px;border-color:transparent;background:transparent;padding:0 10px}.tool-action-group button:not(:disabled):hover{border-color:#cbd7d4;background:#fff}.canvas-shell{min-height:calc(100vh - 238px);border-color:#cdd8d7;background:linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,.22) 1px,transparent 1px),#cbd6d5;background-size:24px 24px;padding:18px}.page-stage{border-radius:3px;box-shadow:0 18px 42px #212f372e}.canvas-empty{min-height:calc(100vh - 238px);border-style:dashed;background:linear-gradient(180deg,#ffffffe0,#f8fbf9eb)}.empty-hero{display:grid;justify-items:center;gap:12px;max-width:420px;padding:24px;text-align:center}.empty-icon{display:grid;width:58px;height:58px;place-items:center;border:1px solid #bfddd6;border-radius:8px;background:#eaf7f3;color:#0f766e}.empty-hero h2{margin:0;font-size:21px}.empty-hero p{margin:0;color:var(--muted);line-height:1.7}.empty-hints{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.empty-hints span{display:inline-flex;align-items:center;gap:5px;min-height:28px;border:1px solid #dce6e2;border-radius:8px;background:#fff;padding:0 9px;color:#53625f;font-size:12px;font-weight:700}.control-panel{gap:10px;background:#ffffffe0}.toggle-row{display:grid;grid-template-columns:18px 1fr;align-items:start;gap:10px;min-height:54px;border:1px solid #e0e8e5;border-radius:8px;background:#fbfdfb;padding:10px}.toggle-row input{margin-top:2px;accent-color:var(--green)}.toggle-row span{display:grid;gap:3px}.toggle-row strong{color:#24313b;font-size:13px}.toggle-row small{color:#687774;font-size:12px;line-height:1.35}.segmented{border:1px solid #dbe4e1;border-radius:8px;background:#f8fbf9;padding:4px}.segmented button{border-color:transparent;background:transparent}.segmented .selected{border-color:#b7d8d1;background:#e8f5f2}.metric-row{min-height:34px;align-items:center;border-bottom:1px solid #edf2f0}.hint,.modal-note{border-radius:8px;background:#f6f9f7;padding:10px}.download-panel{background:#fffdf8}.download-panel>svg{color:var(--amber)}.license-banner{border-color:#edc98f;background:#fff7e8;box-shadow:var(--shadow-soft)}.modal{border-radius:8px}.site-page{background:linear-gradient(180deg,#f7faf6,#eef4f6 52%,#f7faf6)}.site-header,.site-footer{background:#ffffffe6}.page-title{padding-top:36px}.content-panel,.legal-panel{box-shadow:var(--shadow-soft)}@media(max-width:1180px){.workspace{grid-template-columns:236px minmax(0,1fr)}.inspector{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:920px){.summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.topbar{padding:12px}.brand{min-width:0}.summary-strip{margin:12px}.workspace{grid-template-columns:1fr;padding:12px}.toolbar{position:static}.tool-action-group{width:100%}.tool-action-group button{flex:1 1 0}.canvas-shell,.canvas-empty{min-height:56vh}}@media(max-width:560px){.summary-strip{grid-template-columns:1fr}.summary-strip div{height:44px}.top-actions button,.toolbar-actions button{flex-basis:120px}}
