/* Quick capture uses the existing intake and project permissions. */
.pm-legacy:has(.pm-entry) .drawer{width:min(560px,100vw);padding:0;display:flex;flex-direction:column;background:#fff;max-height:100dvh}
.pm-legacy:has(.pm-entry) .drawer-head{padding:18px 22px;margin:0;border-bottom:1px solid #e1e7ed;flex-shrink:0}
.pm-entry{padding:20px 22px 0;overflow-y:auto;min-height:0;color:#203448;font:14px/1.6 "Microsoft YaHei",sans-serif;display:flex;flex-direction:column;gap:16px}
.pm-entry *{box-sizing:border-box}.pm-entry [hidden]{display:none!important}
.pm-entry-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:#f3f6f8;border-radius:6px;padding:4px}
.pm-entry button{font:inherit;cursor:pointer;border:1px solid #d8e1e8;background:white;color:#29445b;border-radius:5px;min-height:42px;padding:8px 12px}
.pm-entry-types button{border:0;background:transparent}.pm-entry-types [aria-pressed=true]{background:white;color:#bd182b;font-weight:600;box-shadow:0 1px 3px #14293b14}
.pm-entry .pm-entry-hint{margin:0;color:#687a8b;font-size:12px}.pm-entry label{display:block;font-size:13px;font-weight:600;min-width:0}
.pm-entry input,.pm-entry textarea,.pm-entry select{display:block;width:100%;min-width:0;max-width:100%;font:14px/1.6 "Microsoft YaHei",sans-serif;color:#203448;border:1px solid #d5dee7;border-radius:5px;padding:10px;margin-top:6px;background:#fff;min-height:44px;resize:vertical}
.pm-entry textarea{min-height:88px}.pm-entry-required{color:#7d8b96;font-size:11px;font-weight:400}.pm-entry-extra summary{cursor:pointer;font-size:13px;color:#3e6989;min-height:30px}
.pm-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:10px}.pm-entry-full{grid-column:1/-1}
.pm-entry-message{margin:0;min-height:0;font-size:12px;color:#a72635}.pm-entry-message:empty{display:none}
.pm-entry-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:12px;position:sticky;bottom:0;background:#fff;padding:15px 0 calc(15px + env(safe-area-inset-bottom));border-top:1px solid #e1e7ed;margin-top:auto}
.pm-entry-actions .pm-entry-submit{background:#bd182b;border-color:#bd182b;color:#fff;font-weight:600}.pm-entry button:disabled{opacity:.6;cursor:wait}
@media(max-width:820px){.pm-legacy:has(.pm-entry) .drawer{width:100%;height:100dvh}.pm-legacy:has(.pm-entry) .drawer-head{padding:15px 16px}.pm-entry{padding:16px 16px 0;flex:1;gap:14px}.pm-entry label{font-size:12px}.pm-entry-fields{gap:12px}.pm-entry-types button{padding:8px 5px;font-size:14px}.pm-entry input,.pm-entry textarea,.pm-entry select{font-size:16px}}
