.pm-dialog{width:min(850px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--border,#dce1d4);border-radius:25px;color:var(--text,#262d25);background:var(--surface,#fff);box-shadow:0 30px 110px #17201630;overflow:hidden}
.pm-dialog[open]{display:flex;flex-direction:column}.pm-dialog::backdrop{background:#16211355;backdrop-filter:blur(5px)}.pm-dialog *{box-sizing:border-box}.pm-dialog [hidden]{display:none!important}
.pm-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 28px 18px;border-bottom:1px solid var(--border,#dce1d4)}.pm-header p{font-size:10px;letter-spacing:2px;color:var(--text-faint,#7b8674);margin:0 0 7px}.pm-header h2{font-size:24px;line-height:1.4;margin:0;overflow-wrap:anywhere}.pm-close{border:1px solid var(--border,#dce1d4);background:transparent;border-radius:50%;width:34px;height:34px;flex-shrink:0;cursor:pointer;font-size:24px;color:inherit}
.pm-body{overflow-y:auto;overscroll-behavior:contain;padding:20px 28px 25px;margin:0;min-height:0}.pm-intro{font-size:14px;color:var(--text-soft,#687260);line-height:1.6;margin:0 0 18px}.pm-fields{display:grid;grid-template-columns:1fr 1.6fr;gap:16px}.pm-body label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}.pm-body label small{font-size:12px;color:var(--text-faint,#7b8674);font-weight:400}.pm-body :is(input:not([type=file]),textarea,select){font-weight:400;line-height:1.5;font-family:inherit;font-size:14px;color:inherit;width:100%;min-width:0;border:1px solid var(--border,#dce1d4);background:var(--surface,#fff);border-radius:10px;padding:10px 12px;outline-offset:3px}.pm-body textarea{resize:vertical;min-height:82px}.pm-dialog :focus-visible{outline:2px solid var(--accent,#428d39);outline-offset:3px}
.pm-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;border:1.5px dashed #b7cba7;border-radius:17px;margin:20px 0;background:color-mix(in srgb,var(--surface,#fff),#a7c987 7%);transition:border-color .15s,background .15s}.pm-drop.is-dragging{border-color:#4c9639;background:#e7f3df}.pm-drop-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#e7efdf;color:#528345;font-size:25px;margin-bottom:9px}.pm-drop strong{font-size:16px;font-weight:650}.pm-drop p{margin:7px 0 14px;font-size:13px;color:var(--text-soft,#687260)}.pm-drop>small{margin-top:12px;font-size:11px;color:var(--text-faint,#7b8674)}.pm-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.pm-dialog .button{min-height:38px;padding:9px 15px;font-size:13px;white-space:nowrap}.pm-dialog .button.small{min-height:32px;padding:7px 12px;font-size:12px}.pm-dialog button:disabled{opacity:.45;cursor:not-allowed}.pm-record-status{font-size:12px;color:#bb653d;margin-top:8px}.pm-record-status:empty{display:none}
.pm-subheading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;margin-bottom:10px}.pm-subheading>span{font-size:11px;color:var(--text-faint,#7b8674)}.pm-file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;max-height:210px;overflow:auto}.pm-file{display:flex;border:1px solid var(--border,#dce1d4);border-radius:10px;min-width:0;overflow:hidden;background:var(--surface,#fff)}.pm-file>button{display:flex;align-items:center;gap:9px;text-align:left;background:transparent;color:inherit;cursor:pointer;border:0;padding:10px;min-width:0;flex:1}.pm-file>button[aria-pressed=true]{background:color-mix(in srgb,var(--surface,#fff),#a7c987 20%)}.pm-file>button>span:last-child{min-width:0}.pm-file strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;font-weight:600}.pm-file small{display:block;font-size:11px;color:var(--text-faint,#7b8674);margin-top:4px}.pm-file .pm-file-symbol{display:grid;place-items:center;flex-shrink:0;width:32px;height:35px;border-radius:8px;background:var(--surface-soft,#f0f2eb);color:var(--accent,#568646);font-size:17px}.pm-file>button[data-pm-remove]{flex:none;justify-content:center;width:31px;padding:5px;font-size:20px}
.pm-preview{border:1px solid var(--border,#dce1d4);border-radius:12px;padding:14px;background:var(--surface-soft,#f7f8f3);margin-bottom:19px;min-width:0;color:var(--text-soft,#687260);font-size:13px}.pm-preview-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pm-preview-title strong{font-size:12px;overflow-wrap:anywhere}.pm-preview-title a{color:var(--accent,#498538);font-size:12px;white-space:nowrap;text-decoration:none}.pm-preview :is(img,video){display:block;width:100%;height:210px;object-fit:contain;border-radius:7px;background:#e9ede4}.pm-preview audio{width:100%;display:block}.pm-preview iframe{border:0;display:block;width:100%;height:300px;background:#fff;border-radius:7px}.pm-preview pre{font:12px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;margin:0}.pm-preview>small{display:block;font-size:11px;margin-top:9px}.pm-office-preview{display:flex;flex-direction:column;align-items:center;padding:20px;gap:10px}.pm-office-preview>span{font-size:36px;color:var(--accent,#568646)}.pm-office-preview p{margin:0;font-size:12px}
.pm-voice-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 17px}.pm-voice-row>small{font-size:11px;color:var(--text-faint,#7b8674);margin-left:auto}.pm-score{margin-top:16px;border-top:1px solid var(--border,#dce1d4);padding-top:13px}.pm-score summary{font-size:13px;color:var(--text-soft,#687260);cursor:pointer}.pm-score .pm-fields{margin-top:13px;grid-template-columns:1fr 1fr}.pm-local-note{font-size:11px;color:var(--text-faint,#7b8674);line-height:1.7;margin:16px 0 0}.pm-footer{padding:15px 28px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--border,#dce1d4);background:var(--surface,#fff);flex-shrink:0}.pm-footer>div:first-child{min-width:0}.pm-footer p{font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere}.pm-footer [data-pm-error]{color:#ae512f}.pm-footer [data-pm-status]{color:var(--accent,#568646)}.pm-footer .pm-actions{flex-shrink:0}.pm-view-notes{margin-bottom:18px}.pm-view-notes h3{font-size:14px;margin:0 0 9px}.pm-view-notes p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.pm-view-weak{font-size:13px;padding:12px;border-radius:10px;background:var(--surface-soft,#f0f2eb);line-height:1.6}
@media(max-width:600px){.pm-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.pm-header{padding:18px 18px 14px}.pm-header h2{font-size:21px}.pm-body{padding:17px}.pm-fields{grid-template-columns:1fr;gap:12px}.pm-drop{padding:17px 10px;margin:17px 0}.pm-drop strong{font-size:15px}.pm-drop p{font-size:12px}.pm-dialog .button{font-size:12px;padding:9px 11px}.pm-file-list{grid-template-columns:1fr;max-height:205px}.pm-voice-row>small{width:100%;margin:2px 0 0}.pm-footer{padding:13px 17px;flex-wrap:wrap}.pm-footer>div:first-child{width:100%}.pm-footer .pm-actions{width:100%;justify-content:flex-end}.pm-footer>div:empty{display:none}.pm-preview-title{flex-wrap:wrap;gap:6px}.pm-preview :is(img,video){height:165px}.pm-preview iframe{height:240px}.pm-intro{font-size:13px}.pm-score .pm-fields{gap:9px}}
