.pe-dialog{position:fixed;inset:12px;margin:auto;width:min(1320px,calc(100vw - 24px));height:calc(100dvh - 24px);max-width:none;max-height:none;padding:0;border:1px solid #c8d8ce;border-radius:18px;background:#fff;color:#183a2d;box-shadow:0 24px 100px #10291e55;overflow:hidden}.pe-dialog::backdrop{background:#10291e88}.pe-shell{height:100%;display:flex;flex-direction:column}.pe-head,.pe-tools,.pe-foot{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #dbe5de;flex-wrap:wrap}.pe-head h2{font-size:20px;margin:0}.pe-head p{margin:3px 0 0;font-size:13px;color:#60756a;max-width:70vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pe-head>div:first-child{flex:1;min-width:0}.pe-dialog button,.pe-dialog select,.pe-dialog textarea{font:inherit}.pe-dialog button{border:1px solid #cfddd4;background:#fff;color:#214c39;border-radius:9px;min-height:40px;padding:8px 13px;font-weight:650;cursor:pointer}.pe-dialog button:hover{background:#eff5f1}.pe-dialog button:focus-visible,.pe-dialog select:focus-visible,.pe-dialog textarea:focus-visible{outline:3px solid #82b49b;outline-offset:2px}.pe-dialog button[aria-pressed=true],.pe-dialog button.pe-primary{background:#185a43;color:#fff;border-color:#185a43}.pe-dialog button:disabled{opacity:.45;cursor:default}.pe-dialog select{min-height:40px;border:1px solid #cbdad1;border-radius:8px;background:#fff;padding:7px;color:#214c39}.pe-tools{gap:8px;padding-block:10px;background:#f8faf8}.pe-group{display:flex;align-items:center;gap:5px}.pe-divider{height:28px;border-left:1px solid #d7e2da;margin-inline:3px}.pe-tools label{display:flex;align-items:center;gap:6px;font-size:13px}.pe-colors button{width:34px;min-height:34px;padding:0;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #cddacf;background:var(--ink)!important}.pe-colors button[aria-pressed=true]{box-shadow:0 0 0 3px #6b8778}.pe-viewport{position:relative;flex:1;min-height:100px;overflow:auto;background:#e8eeea;overscroll-behavior:contain;padding:22px}.pe-sheet{position:relative;margin:0 auto;background:#fff;box-shadow:0 3px 18px #183a2d24;line-height:0}.pe-sheet canvas{display:block}.pe-sheet svg{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}.pe-sheet svg[data-mode=hand]{pointer-events:none}.pe-sheet svg:not([data-mode=hand]){touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}.pe-sheet svg[data-mode=select]{cursor:default}.pe-sheet svg[data-mode=text]{touch-action:pan-y}.pe-sheet [data-anno]{cursor:move}.pe-foot{border-bottom:0;border-top:1px solid #dbe5de;padding-block:10px;background:#fff}.pe-foot .pe-state{flex:1;min-width:180px;font-size:13px;line-height:1.4;color:#587264}.pe-send{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pe-recipient{max-width:220px;font-size:12px;color:#587264}.pe-close-check{display:flex;align-items:center;gap:8px;background:#fff4dc;padding:10px 18px;flex-wrap:wrap}.pe-close-check[hidden]{display:none}.pe-empty{padding:40px;text-align:center}.pe-dialog [hidden]{display:none!important}
@media(max-width:700px){.pe-dialog{inset:0;width:100vw;height:100dvh;border-radius:0;border:0}.pe-head,.pe-tools,.pe-foot{padding:9px 10px;gap:6px}.pe-head h2{font-size:17px}.pe-tools button{font-size:13px;padding:7px 10px;min-height:38px}.pe-tools label{font-size:12px}.pe-divider{display:none}.pe-viewport{padding:12px}.pe-foot .pe-state{flex-basis:100%}.pe-send{width:100%;justify-content:flex-end}.pe-recipient{max-width:none;flex:1}.pe-head p{max-width:65vw}}

.pe-hint{margin:0;padding:8px 18px;background:#f3f7f4;border-bottom:1px solid #dbe5de;font-size:13px;line-height:1.4;color:#587264}.pe-page{margin:0 0 28px;scroll-margin-top:12px}.pe-page-label{font-size:12px;line-height:1.4;color:#60756a;margin:0 0 8px;text-align:center;font-weight:600}.pe-page-error{position:absolute;left:20px;top:20px;max-width:calc(100% - 40px);z-index:2}.pe-dialog textarea.pe-inline-input{position:absolute;z-index:3;box-sizing:content-box;margin:0;padding:0;border:0;border-radius:2px;outline:2px solid #2468b4;outline-offset:4px;box-shadow:0 0 0 5px #fff9;background:#fffffff2;line-height:1.25;font-family:Arial,Helvetica,sans-serif;font-weight:400;resize:none;overflow:hidden;min-width:0;min-height:0;max-width:none;white-space:pre;touch-action:auto;-webkit-user-select:text;user-select:text}.pe-inline-input::placeholder{color:#718096;opacity:.8}@media(max-width:700px){.pe-hint{padding:7px 10px;font-size:12px}}
