*{box-sizing:border-box}body{color:#20242c;background:#f4f5f7;margin:0;font-family:system-ui,sans-serif}.header{background:#fff;border-bottom:1px solid #dde1e7;justify-content:space-between;align-items:center;min-height:64px;padding:14px 5%;display:flex}.brand{color:#20242c;font-size:23px;font-weight:750;text-decoration:none}.company{color:#737b88;font-size:13px}.workspace{max-width:1400px;margin:auto;padding:20px}.privacy{background:#edf6ef;border:1px solid #d5e6d9;border-radius:8px;margin-bottom:16px;padding:12px;font-size:13px}.dropzone{text-align:center;background:#fff;border:2px dashed #b9c2d0;border-radius:12px;padding:30px 15px}.dropzone.dragover{background:#eef4ff;border-color:#2563eb}.dropzone strong{font-size:22px}.dropzone p{color:#697283;margin:8px 0 18px}.dropzone small{color:#737b88;margin-top:12px;display:block}button{font:inherit;color:#20242c;cursor:pointer;background:#fff;border:1px solid #d4d9e1;border-radius:7px;padding:10px 14px}button:disabled{opacity:.4;cursor:not-allowed}button.primary{color:#fff;background:#245bca;border-color:#245bca;font-weight:650}button.primary:hover:not(:disabled){background:#1948ab}.toolbar{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.info{color:#626b78;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:14px;font-size:13px;display:flex}.pages{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px;min-height:100px;display:grid}.page-card{cursor:pointer;background:#fff;border:2px solid #0000;border-radius:10px;min-width:0;padding:9px}.thumbnail{aspect-ratio:1;background:#e8ebf0;border-radius:5px;justify-content:center;align-items:center;display:flex;overflow:hidden}.thumbnail canvas{object-fit:contain;background:#fff;max-width:92%;max-height:92%;display:block;box-shadow:0 2px 8px #0002}.page-title{margin-top:8px;font-size:13px;font-weight:650}.page-source{text-overflow:ellipsis;white-space:nowrap;color:#626b78;margin:4px 0;font-size:11px;overflow:hidden}.page-controls{justify-content:space-between;align-items:center;gap:4px;display:flex}.page-controls button{padding:5px 10px}.savebar{background:#fff;border:1px solid #dde1e7;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:15px;display:flex;position:sticky;bottom:0}.notice{color:#697283;margin:0;font-size:12px}#save{white-space:nowrap}@media (width<=600px){.workspace{padding:12px}.pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.toolbar button{padding:9px;font-size:12px}.savebar{flex-direction:column;align-items:stretch}}html,body{width:100%;height:100%;overflow:hidden}body{flex-direction:column;height:100dvh;display:flex}.header{flex:none;min-height:52px;padding:10px 24px}.workspace{flex-direction:column;flex:auto;width:100%;max-width:none;min-height:0;margin:0;padding:12px 20px 0;display:flex;overflow:hidden}.dropzone{flex-direction:column;flex:auto;justify-content:center;align-items:center;min-height:0;margin:20px 0;display:flex}.dropzone small{margin-top:22px}.workspace[data-has-pages=true] .dropzone,.workspace[data-has-pages=false] .pages{display:none}.toolbar{flex:none;align-items:center;gap:6px;margin:0 0 12px}.toolbar button{padding:9px 12px;font-size:13px}.tool-divider{background:#d5d9df;width:1px;height:24px;margin:0 3px}.tool-spacer{flex:1}.info{flex:none;align-items:center;margin-bottom:4px}.size-picker{align-items:center;gap:4px;display:flex}.size-picker span{margin-right:5px}.size-picker button{padding:5px 13px;font-size:12px}.size-picker button[aria-pressed=true]{color:#fff;background:#245bca;border-color:#245bca}#status{color:#626b78;overflow-wrap:anywhere;flex:none;min-height:20px;margin-bottom:6px;font-size:12px}#status[data-error=true]{color:#b42318}.pages{--page-width:185px;grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--page-width)), 1fr));background:#ebedf0;border:1px solid #dde1e7;border-radius:8px;flex:auto;align-content:start;gap:12px;min-height:0;padding:10px;overflow:hidden auto}.pages[data-size=small]{--page-width:115px}.pages[data-size=large]{--page-width:285px}.workspace.file-drag .pages{outline-offset:-3px;background:#e3edff;outline:2px dashed #245bca}.page-card{text-align:center;user-select:none;background:0 0;border-radius:6px;padding:7px}.page-card.selected{background:#dbe8ff;border-color:#245bca}.page-card:focus-visible{outline-offset:1px;outline:2px solid #245bca}.thumbnail{aspect-ratio:1;background:0 0}.thumbnail canvas{box-shadow:0 1px 5px #0002}.page-title{margin:6px 0 0;font-size:12px}.editor-footer{color:#687381;flex-wrap:wrap;flex:none;justify-content:space-between;gap:4px 16px;padding:9px 0;font-size:11px;display:flex}.context-menu{z-index:1000;background:#fff;border:1px solid #d6dae1;border-radius:8px;width:200px;padding:5px;position:fixed;box-shadow:0 8px 28px #0003}.context-menu[hidden]{display:none!important}.context-menu button{text-align:left;border:0;width:100%;padding:9px 10px;font-size:13px}.context-menu hr{border:0;border-top:1px solid #e5e7eb;margin:4px}@media (width<=600px){.header{padding:10px 12px}.workspace{padding:8px 8px 0}.toolbar{gap:4px;margin-bottom:7px}.toolbar button{padding:8px;font-size:11px}.tool-divider{display:none}.pages{--page-width:125px;gap:5px;padding:5px}.pages[data-size=small]{--page-width:85px}.pages[data-size=large]{--page-width:210px}.editor-footer{font-size:10px}}.workspace[data-has-session=false] .toolbar,.workspace[data-has-session=false] .info,.workspace[data-has-session=false] .pdf-warning{display:none}.ad-area{color:#9299a4;background:#f8f9fa;border:1px dashed #cbd0d8;border-radius:6px;flex:none;justify-content:center;align-items:center;min-height:76px;margin:8px 0;font-size:11px;display:flex}.workspace[data-has-session=true] .ad-area{display:none}.editor-footer{border-top:1px solid #dde1e7;justify-content:space-between;align-items:center;padding:10px 0}.footer-notes{flex-direction:column;gap:4px;display:flex}.bureau-brand{color:#20242c;align-items:center;gap:10px;text-decoration:none;display:inline-flex}.bureau-logo{object-fit:contain;width:58px;max-height:38px}.bureau-wordmark{letter-spacing:-.05em;font-size:20px;font-weight:800}.bureau-brand strong{font-size:12px;display:block}.bureau-brand small{color:#687381;margin-top:3px;font-size:10px;display:block}.page-card{cursor:grab;-webkit-user-select:none;position:relative}.page-card:active{cursor:grabbing}.thumbnail canvas{pointer-events:none}.page-card.drag-before:before,.page-card.drag-after:after{content:"";z-index:5;pointer-events:none;background:#2563eb;border-radius:4px;width:4px;position:absolute;top:0;bottom:0}.page-card.drag-before:before{left:-7px}.page-card.drag-after:after{right:-7px}.pages{padding-left:14px;padding-right:14px}@media (width<=600px){.ad-area{min-height:55px}.editor-footer{gap:6px}.pages{padding-left:8px;padding-right:8px}.page-card.drag-before:before{left:-3px}.page-card.drag-after:after{right:-3px}}.password-dialog{color:#20242c;background:#fff;border:1px solid #d6dae1;border-radius:14px;width:min(440px,100% - 32px);max-height:calc(100dvh - 32px);padding:25px;overflow:auto;box-shadow:0 15px 60px #0003}.password-dialog::backdrop{background:#17203366}.password-dialog h2{margin:0 0 12px;font-size:21px}.password-description{color:#626b78;margin-bottom:20px;font-size:13px;line-height:1.7}.password-dialog label{margin:15px 0 6px;font-size:13px;font-weight:600;display:block}.password-dialog input[type=password],.password-dialog input[type=text]{width:100%;font:inherit;border:1px solid #bfc7d2;border-radius:7px;padding:11px;font-size:16px}.password-dialog input:focus{outline-offset:1px;outline:2px solid #245bca}.password-dialog .password-show{align-items:center;gap:7px;font-weight:400;display:flex}.password-note{color:#687381;background:#f4f5f7;border-radius:7px;margin-top:20px;padding:12px;font-size:12px;line-height:1.7}#passwordError{color:#b42318;font-size:13px}#passwordError:empty{display:none}.password-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:20px;display:flex}#passwordSave{color:#245bca;white-space:nowrap}:root{color-scheme:dark;--kumi-bg:#101010;--kumi-panel:#1a1a1a;--kumi-border:#393939;--kumi-text:#eee;--kumi-muted:#a0a0a0;--kumi-blue:#397cf3}body{background:var(--kumi-bg);color:var(--kumi-text)}.header{color:var(--kumi-text);border-color:var(--kumi-border);background:#101010;min-height:76px;padding:13px 24px}.kumi-brand{align-items:center;gap:13px;display:flex}.kumi-brand img{width:45px;height:45px}.brand{color:#fff;letter-spacing:.13em;font-size:26px;font-weight:450;line-height:1.2}.brand-tagline{color:#999;letter-spacing:.17em;margin-top:5px;font-size:9px}.language-picker{gap:4px;display:flex}.language-picker button{padding:7px 10px;font-size:12px}button{color:#eee;background:#232323;border-color:#444;border-radius:5px}button:hover:not(:disabled){background:#393939}button:focus-visible{outline:2px solid var(--kumi-blue);outline-offset:2px}button.primary{color:#101010;background:#eee;border-color:#eee}button.primary:hover:not(:disabled){color:#101010;background:#cfcfcf}button.danger{color:#ff9090}.language-picker button[aria-pressed=true],.size-picker button[aria-pressed=true]{color:#101010;background:#eee;border-color:#eee}.dropzone{color:#eee;background:#171717;border:1px dashed #666;border-radius:6px;padding:20px 16px;overflow-y:auto}.dropzone.dragover{border-color:var(--kumi-blue);background:#172337}.drop-icon{width:58px;height:58px;margin-bottom:12px}.dropzone strong{letter-spacing:.05em;font-size:clamp(22px,3vw,38px);font-weight:450}.dropzone p{color:#bbb;font-size:14px}.dropzone .feature-line{margin:18px 0 0;font-size:12px}.dropzone small{color:#aaa;margin-top:12px;font-size:11px}#choose{padding:14px 30px}.info,#status,.page-title{color:#bcbcbc}#status[data-error=true],#passwordError{color:#ff9090}.tool-divider{background:#414141}.pages{scrollbar-color:#626262 #222;background:#1d1d1d;border-color:#383838}.page-card{background:0 0;border-radius:4px}.page-card:hover{background:#333}.page-card.selected{border-color:var(--kumi-blue);background:#24334b}.page-card.selected .page-title{color:#fff}.page-card.drag-before:before,.page-card.drag-after:after{background:#4a8cff;width:4px}.workspace.file-drag .pages{outline-color:var(--kumi-blue);background:#172337}.thumbnail canvas{background:#fff;box-shadow:0 2px 7px #0008}.context-menu{color:#eee;background:#252525;border-color:#555}.context-menu button{background:0 0}.context-menu button:hover:not(:disabled){background:#444}.context-menu hr{border-color:#4a4a4a}#passwordSave{color:#bcd4ff}.password-dialog{color:#fff;background:#202020;border-color:#555}.password-description,.password-note{color:#bbb}.password-note{background:#2b2b2b}.password-dialog input[type=password],.password-dialog input[type=text]{color:#fff;background:#111;border-color:#555}.ad-area{color:#888;letter-spacing:.18em;background:#151515;border:1px solid #303030;border-radius:2px;min-height:85px;font-size:10px}.editor-footer{color:#999;border-color:#383838}.footer-brand-group{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.bureau-brand{color:#eee}.bureau-logo{object-fit:contain;width:47px;height:47px;max-height:none}.bureau-brand small,.footer-links a{color:#aaa}.footer-links{gap:12px;display:flex}.footer-links a{font-size:11px;text-decoration:none}.footer-links a:hover,.bureau-brand:hover{color:#fff}@media (width<=600px){.header{min-height:58px;padding:8px 12px}.kumi-brand{gap:7px}.kumi-brand img{width:32px;height:32px}.brand{font-size:19px}.brand-tagline{font-size:7px}.language-picker button{padding:6px 8px;font-size:11px}.drop-icon{width:38px;height:38px}.dropzone{margin:8px 0}.ad-area{min-height:55px}.footer-brand-group{justify-content:space-between;gap:8px;width:100%}.bureau-logo{width:35px;height:35px}.pdf-warning{font-size:10px}}@media (height<=500px){.drop-icon{display:none}.dropzone{justify-content:flex-start}.ad-area{min-height:35px}}
