:root{
  --pm-brand:#C46A2D;
  --pm-action:#88411F;
  --pm-nav:#28140E;
  --pm-bg:#FBF7F3;
  --pm-bg-soft:#FBF7F3;
  --pm-mint:#F5E8DC;
  --pm-ink:#211D1A;
  --pm-muted:#6F625C;
  --pm-soft:#91A19B;
  --pm-line:#E4EBE8;
  --pm-danger:#D8877D;
  --pm-danger-bg:#FFF2F0;
  --pm-warning:#B77B31;
  --pm-warning-bg:#FFF7E9;
  --pm-blue:#6D94AF;
  --pm-blue-bg:#EEF5FB;
  --pm-purple:#6D94AF;
  --pm-purple-bg:#F2F0FD;
  --pm-shadow:0 34px 110px rgba(17,51,40,.24),0 8px 24px rgba(17,51,40,.10);
  --pm-card-shadow:0 8px 26px rgba(93,48,33,.035);
}
body.pm-open{overflow:hidden!important}
body.pm-upgraded .modal-backdrop,
body.pm-upgraded .drawer-overlay,
body.pm-upgraded .action-modal-overlay{display:none!important}
.pm-overlay{
  position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;
  padding:16px;background:rgba(13,35,29,.48);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  opacity:0;pointer-events:none;transition:opacity .22s ease;
}
.pm-overlay.open{opacity:1;pointer-events:auto}
.pm-shell{
  width:min(1380px,calc(100vw - 36px));height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);
  display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(217,230,224,.95);
  border-radius:22px;background:#fff;box-shadow:var(--pm-shadow);transform:translateY(14px) scale(.985);
  transition:transform .24s cubic-bezier(.22,.8,.26,1);color:var(--pm-ink);
}
.pm-overlay.open .pm-shell{transform:translateY(0) scale(1)}
.pm-shell.pm-medium{width:min(1060px,calc(100vw - 36px));height:min(820px,calc(100dvh - 32px))}
.pm-shell.pm-compact{width:min(780px,calc(100vw - 36px));height:auto;max-height:calc(100dvh - 32px)}
.pm-shell.pm-confirm{width:min(560px,calc(100vw - 36px));height:auto;max-height:calc(100dvh - 32px)}
.pm-header{
  min-height:106px;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;
  border-bottom:1px solid var(--pm-line);background:linear-gradient(180deg,#fff 0%,#FDFEFD 100%);
}
.pm-header-main{display:flex;align-items:center;gap:15px;min-width:0}
.pm-avatar,.pm-icon-avatar{
  display:grid;place-items:center;width:66px;height:66px;flex:none;border-radius:21px;
  background:linear-gradient(145deg,#D9EFE6,#EEF8F4);color:var(--pm-action);font-size:20px;font-weight:820;
  box-shadow:inset 0 0 0 1px rgba(47,107,87,.06);
}
.pm-icon-avatar svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.pm-title-wrap{min-width:0}
.pm-title-row{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
.pm-title-row h2{margin:0;color:#28140E;font-size:23px;font-weight:800;letter-spacing:-.45px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-title-wrap p{margin:6px 0 0;color:var(--pm-muted);font-size:16px;line-height:1.45}
.pm-meta{display:flex;align-items:center;gap:8px;margin-top:7px;color:#A89C95;font-size:14.5px;flex-wrap:wrap}
.pm-meta span+span:before{content:'·';margin-right:8px;color:#BDC7C3}
.pm-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.pm-btn,.pm-icon-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;height:39px;padding:0 14px;border:1px solid #DFE8E4;
  border-radius:10px;background:#fff;color:#7A6F68;font-size:15.25px;font-weight:750;cursor:pointer;transition:.15s ease;
}
.pm-btn:hover,.pm-icon-btn:hover{border-color:#C8DED4;background:#F7FBF9;color:var(--pm-action)}
.pm-btn svg,.pm-icon-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pm-btn.pm-primary{border:0;color:#fff;background:linear-gradient(135deg,#C46A2D,#C46A2D);box-shadow:0 8px 19px rgba(169,84,37,.17)}
.pm-btn.pm-soft{border-color:#D8EBE2;background:#F8EFE8;color:#88411F}
.pm-btn.pm-danger{border-color:#F0D0CC;background:#fff;color:#D8877D}
.pm-icon-btn{width:39px;padding:0}
.pm-status{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 9px;border-radius:999px;font-size:14px;font-weight:780;white-space:nowrap}
.pm-status.success{background:#E9F6EF;color:#C46A2D}.pm-status.warning{background:#FFF5E5;color:#D6AA55}.pm-status.danger{background:#FBE7E3;color:#D8877D}.pm-status.neutral{background:#EFF3F1;color:#7A6F68}.pm-status.blue{background:#EDF5FB;color:#6D94AF}.pm-status.purple{background:#F1EFFC;color:#6D94AF}
.pm-tabs{height:54px;padding:0 15px;display:flex;align-items:center;gap:2px;border-bottom:1px solid var(--pm-line);background:#fff;overflow-x:auto;scrollbar-width:none}
.pm-tabs::-webkit-scrollbar{display:none}
.pm-tab{position:relative;display:flex;align-items:center;gap:7px;height:54px;padding:0 15px;border:0;background:transparent;color:#7A6F68;font-size:15.25px;font-weight:700;white-space:nowrap;cursor:pointer}
.pm-tab:after{content:'';position:absolute;left:15px;right:15px;bottom:0;height:2px;border-radius:2px;background:transparent}
.pm-tab.active{color:#A95425;font-weight:800}.pm-tab.active:after{background:#C46A2D}
.pm-tab svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pm-body{min-height:0;display:grid;grid-template-columns:202px minmax(0,1fr);background:#fff}
.pm-body.no-nav{grid-template-columns:minmax(0,1fr)}
.pm-quick-nav{padding:20px 14px;border-right:1px solid var(--pm-line);background:linear-gradient(180deg,#FFFDFB,#FBF7F3);overflow:auto}
.pm-nav-label{margin:0 10px 10px;color:#A89C95;font-size:14px;font-weight:780;text-transform:uppercase;letter-spacing:.05em}
.pm-nav-btn{width:100%;min-height:40px;padding:0 11px;border:0;border-radius:10px;background:transparent;color:#7A6F68;display:flex;align-items:center;gap:10px;font-size:15.25px;font-weight:700;text-align:left;cursor:pointer}
.pm-nav-btn:hover{background:#F0F7F3;color:var(--pm-action)}.pm-nav-btn.active{background:#E9F5EF;color:#88411F;box-shadow:inset 3px 0 0 #D1814B}
.pm-nav-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pm-nav-card{margin-top:16px;padding:12px;border:1px solid #DCE9E3;border-radius:12px;background:#fff}
.pm-nav-card strong{display:block;color:#5D3021;font-size:15.25px}.pm-nav-card span{display:block;margin-top:4px;color:#8A7D75;font-size:14px;line-height:1.45}
.pm-progress{height:6px;margin-top:9px;border-radius:999px;background:#E8DDD4;overflow:hidden}.pm-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#D1814B,#DFA77C)}
.pm-content{min-width:0;overflow:auto;padding:18px 22px 24px;scroll-behavior:smooth;background:#fff}
.pm-section{scroll-margin-top:12px;margin-bottom:14px}
.pm-section:last-child{margin-bottom:0}
.pm-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.pm-section-head h3{margin:0;color:#5D3021;font-size:18px;font-weight:790}.pm-section-head p{margin:4px 0 0;color:#A89C95;font-size:14.5px;line-height:1.4}
.pm-card{border:1px solid #E8DDD4;border-radius:15px;background:#fff;box-shadow:var(--pm-card-shadow);padding:15px 16px}
.pm-card+.pm-card{margin-top:12px}
.pm-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pm-card-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-card-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.pm-info{min-width:0}.pm-info label{display:block;color:#A89C95;font-size:14px;font-weight:680}.pm-info strong{display:block;margin-top:5px;color:#5D3021;font-size:16.5px;font-weight:770;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-info span{display:block;margin-top:3px;color:#8A9994;font-size:14px;line-height:1.35}
.pm-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:11px}
.pm-field{grid-column:span 4;display:flex;flex-direction:column;gap:6px;min-width:0}.pm-field.span-2{grid-column:span 2}.pm-field.span-3{grid-column:span 3}.pm-field.span-4{grid-column:span 4}.pm-field.span-5{grid-column:span 5}.pm-field.span-6{grid-column:span 6}.pm-field.span-8{grid-column:span 8}.pm-field.span-9{grid-column:span 9}.pm-field.span-12{grid-column:1/-1}
.pm-field label{color:#7A6F68;font-size:14px;font-weight:750}.pm-field input,.pm-field select,.pm-field textarea{width:100%;min-width:0;border:1px solid #DFE8E4;border-radius:10px;background:#fff;color:#4A261B;font-size:16px;font-weight:580;outline:none;transition:.15s ease}.pm-field input,.pm-field select{height:39px;padding:0 11px}.pm-field textarea{min-height:86px;padding:10px 11px;resize:vertical;line-height:1.45}
.pm-field input:focus,.pm-field select:focus,.pm-field textarea:focus{border-color:#C3B9B2;box-shadow:0 0 0 4px rgba(196,106,45,.09)}
.pm-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pm-option{display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;align-items:center;padding:11px;border:1px solid #E8DDD4;border-radius:12px;background:#fff;cursor:pointer}.pm-option input{width:15px;height:15px;margin:0;align-self:center;accent-color:var(--pm-action)}.pm-option strong{display:block;color:#5D3021;font-size:15.25px;font-weight:760}.pm-option span{display:block;margin-top:3px;color:#8A7D75;font-size:14px;line-height:1.4}
.pm-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}.pm-summary-box{padding:11px 12px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}.pm-summary-box label{display:block;color:#A89C95;font-size:13.75px;font-weight:720;text-transform:uppercase;letter-spacing:.03em}.pm-summary-box strong{display:block;margin-top:6px;color:#5D3021;font-size:18px;font-weight:790}.pm-summary-box span{display:block;margin-top:3px;color:#8A9994;font-size:14px}
.pm-timeline{display:grid;gap:10px}.pm-timeline-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:start;padding-bottom:10px;border-bottom:1px solid #F2ECE7}.pm-timeline-row:last-child{padding-bottom:0;border-bottom:0}.pm-timeline-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#F8EFE8;color:#C46A2D;font-size:15.25px;font-weight:800}.pm-timeline-copy strong{display:block;color:#5D3021;font-size:15.25px;font-weight:760}.pm-timeline-copy span{display:block;margin-top:3px;color:#8A7D75;font-size:14px;line-height:1.4}
.pm-table{width:100%;border-collapse:collapse}.pm-table th,.pm-table td{padding:9px 10px;border-bottom:1px solid #F2ECE7;text-align:left;font-size:14.5px;vertical-align:middle}.pm-table th{color:#A89C95;font-size:13.75px;text-transform:uppercase;letter-spacing:.03em}.pm-table td{color:#6F625C}.pm-table strong{color:#4A261B;font-weight:750}
.pm-alert{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:11px 12px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}.pm-alert+.pm-alert{margin-top:9px}.pm-alert-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#F8EFE8;color:#C46A2D}.pm-alert.warning .pm-alert-icon{background:#FFF4DB;color:#D6AA55}.pm-alert.danger .pm-alert-icon{background:#FBE7E3;color:#D8877D}.pm-alert strong{display:block;color:#5D3021;font-size:15.25px;font-weight:760}.pm-alert span{display:block;margin-top:3px;color:#A89C95;font-size:14px;line-height:1.4}
.pm-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pm-action-card{display:grid;grid-template-columns:33px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #E8DDD4;border-radius:12px;background:#fff;cursor:pointer;text-align:left}.pm-action-card:hover{border-color:#E8DDD4;background:#F8FCFA}.pm-action-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#F8EFE8;color:#C46A2D}.pm-action-card strong{display:block;color:#5D3021;font-size:15.25px;font-weight:760}.pm-action-card span{display:block;margin-top:2px;color:#8A7D75;font-size:13.75px}
.pm-footer{min-height:72px;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--pm-line);background:#fff}.pm-footer-left,.pm-footer-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.pm-footer-note{display:flex;align-items:center;gap:7px;color:#7A6F68;font-size:14px}.pm-footer-note i{width:7px;height:7px;border-radius:50%;background:#D1814B}.pm-footer-note.warning i{background:#D6AA55}
.pm-confirm-body{padding:26px 25px 24px;text-align:center}.pm-confirm-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:17px;background:#FBE7E3;color:#D8877D;box-shadow:inset 0 0 0 1px rgba(215,101,94,.08)}.pm-confirm-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9}.pm-confirm-body h3{margin:0;color:#5D3021;font-size:17px}.pm-confirm-body p{max-width:430px;margin:8px auto 0;color:#7A6F68;font-size:15.25px;line-height:1.55}
.pm-shell.pm-confirm{width:min(640px,calc(100vw - 36px))}
.pm-shell.pm-confirm .pm-header{min-height:96px;padding:18px 20px 16px}
.pm-shell.pm-confirm .pm-title-wrap p{max-width:420px}
.pm-shell.pm-confirm .pm-content{padding:20px 20px 22px}
.pm-shell.pm-confirm .pm-footer{padding:14px 20px}
.pm-confirm-rich{text-align:left}
.pm-confirm-rich .pm-confirm-icon{margin:0 auto 14px}
.pm-confirm-copy{text-align:center;margin:0 auto 14px;max-width:470px}
.pm-confirm-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 14px}
.pm-confirm-insight{padding:12px;border:1px solid #E8DDD4;border-radius:13px;background:#FFFDFB;box-shadow:0 8px 22px rgba(93,48,33,.028)}
.pm-confirm-insight.danger{border-color:#F0D7D3;background:#FFF8F7}
.pm-confirm-insight label{display:block;color:#A89C95;font-size:13.5px;font-weight:760;text-transform:uppercase;letter-spacing:.04em}
.pm-confirm-insight strong{display:block;margin-top:6px;color:#4A261B;font-size:16.25px;font-weight:790;line-height:1.35}
.pm-confirm-insight span{display:block;margin-top:4px;color:#8A7D75;font-size:14px;line-height:1.45}
.pm-confirm-insight.danger strong{color:#B64B3E}
.pm-confirm-insight.danger span{color:#B64B3E}
.pm-confirm-form{margin-top:14px;text-align:left}
.pm-confirm-form .pm-field label{font-size:14.25px}
.pm-confirm-options{margin-top:12px;text-align:left}
.pm-confirm-options .pm-option{background:#FFFDFB}
.pm-shell.pm-confirm .pm-help{margin-top:10px;border-radius:12px}
.pm-catalog-trigger{position:fixed;right:18px;bottom:18px;z-index:99990;height:40px;padding:0 15px;border:0;border-radius:12px;background:linear-gradient(135deg,#C46A2D,#C46A2D);color:#fff;font-size:15.25px;font-weight:780;box-shadow:0 10px 26px rgba(169,84,37,.24);cursor:pointer}
.pm-catalog{position:fixed;right:18px;bottom:66px;z-index:99990;width:310px;max-height:min(530px,calc(100vh - 90px));overflow:auto;padding:10px;border:1px solid #E8DDD4;border-radius:15px;background:#fff;box-shadow:0 24px 60px rgba(17,51,40,.18);opacity:0;pointer-events:none;transform:translateY(8px);transition:.18s ease}.pm-catalog.open{opacity:1;pointer-events:auto;transform:translateY(0)}
.pm-catalog h4{margin:3px 6px 9px;color:#5D3021;font-size:16.5px}.pm-catalog button{width:100%;min-height:39px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:#6F625C;text-align:left;font-size:15px;font-weight:700;cursor:pointer}.pm-catalog button:hover{background:#F8EFE8;color:#88411F}.pm-catalog button span{display:block;margin-top:2px;color:#8B9A95;font-size:13.5px;font-weight:560}
.pm-toast{position:fixed;right:22px;bottom:22px;z-index:100010;display:flex;align-items:center;gap:10px;max-width:330px;padding:12px 14px;border:1px solid #DCEBE4;border-radius:14px;background:#fff;box-shadow:0 18px 44px rgba(17,51,40,.14);opacity:0;transform:translateY(14px);pointer-events:none;transition:.2s ease}.pm-toast.show{opacity:1;transform:translateY(0)}.pm-toast-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#E9F7F0;color:#C46A2D;font-weight:800}.pm-toast strong{display:block;color:#4A261B;font-size:15.25px}.pm-toast span{display:block;margin-top:2px;color:#7A6F68;font-size:14px}
@media(max-width:1050px){.pm-shell{width:calc(100vw - 20px);height:calc(100dvh - 20px)}.pm-body{grid-template-columns:170px minmax(0,1fr)}.pm-card-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.pm-overlay{padding:7px}.pm-shell,.pm-shell.pm-medium,.pm-shell.pm-compact{width:calc(100vw - 14px);height:calc(100dvh - 14px);max-height:calc(100dvh - 14px);border-radius:17px}.pm-header{min-height:88px;padding:13px 14px}.pm-avatar,.pm-icon-avatar{width:50px;height:50px;border-radius:16px;font-size:17px}.pm-title-row h2{font-size:18.5px}.pm-title-wrap p,.pm-meta{display:none}.pm-header-actions .pm-btn:not(.pm-primary){display:none}.pm-body{grid-template-columns:1fr}.pm-quick-nav{display:none}.pm-content{padding:13px}.pm-tabs{height:55px;padding:0 6px}.pm-tab{height:55px;padding:0 12px}.pm-tab span{display:none}.pm-form-grid{grid-template-columns:1fr}.pm-field,.pm-field[class*='span-']{grid-column:1/-1}.pm-card-grid,.pm-card-grid.two,.pm-card-grid.three,.pm-card-grid.four,.pm-option-grid,.pm-actions-grid,.pm-summary-strip,.pm-confirm-insights{grid-template-columns:1fr}.pm-footer{padding:10px 13px}.pm-footer-note{display:none}.pm-catalog{right:8px;bottom:61px;width:calc(100vw - 16px)}.pm-catalog-trigger{right:9px;bottom:9px}}

/* V11 parity enrichment */
.pm-subcard{padding:12px 13px;border:1px solid #E8DDD4;border-radius:13px;background:#FFFDFB}.pm-subcard+.pm-subcard{margin-top:9px}.pm-subcard h4{margin:0;color:#5D3021;font-size:16px;font-weight:780}.pm-subcard p{margin:4px 0 0;color:#8A7D75;font-size:14px;line-height:1.45}
.pm-split{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);gap:12px;align-items:start}.pm-split.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-stack{display:grid;gap:12px}
.pm-chip-list{display:flex;flex-wrap:wrap;gap:7px}.pm-chip{display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:0 9px;border:1px solid #E8DDD4;border-radius:999px;background:#FBF7F3;color:#6F625C;font-size:14px;font-weight:720}.pm-chip.success{border-color:#F2ECE7;background:#F8EFE8;color:#C46A2D}.pm-chip.warning{border-color:#FFF4DB;background:#FFF4DB;color:#B27619}.pm-chip.danger{border-color:#F2D1CE;background:#FBE7E3;color:#D8877D}.pm-chip.blue{border-color:#D6E6EE;background:#EEF7FB;color:#3B6C8E}
.pm-stepper{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.pm-step{position:relative;padding:11px 10px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}.pm-step:before{content:attr(data-step);display:grid;place-items:center;width:25px;height:25px;margin-bottom:8px;border-radius:9px;background:#F8EFE8;color:#C46A2D;font-size:14px;font-weight:800}.pm-step strong{display:block;color:#5D3021;font-size:15px}.pm-step span{display:block;margin-top:3px;color:#A89C95;font-size:13.75px;line-height:1.35}.pm-step.active{border-color:#E8DDD4;background:#F8EFE8}.pm-step.warning{border-color:#FFF4DB;background:#FFF8EC}.pm-step.danger{border-color:#EFCECA;background:#FFF2F0}
.pm-file-drop{display:grid;place-items:center;min-height:130px;padding:18px;border:1.5px dashed #E8DDD4;border-radius:14px;background:#F7FCF9;text-align:center}.pm-file-drop svg{width:28px;height:28px;fill:none;stroke:#C46A2D;stroke-width:1.7}.pm-file-drop strong{display:block;margin-top:9px;color:#5D3021;font-size:16px}.pm-file-drop span{display:block;margin-top:4px;color:#8A7D75;font-size:14px;line-height:1.45}
.pm-viewer{overflow:hidden;border:1px solid #DFE8E4;border-radius:15px;background:#28140E}.pm-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 10px;border-bottom:1px solid rgba(255,255,255,.09);background:#5D3021;color:#DBE8E2}.pm-viewer-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pm-viewer-tool{display:grid;place-items:center;width:31px;height:31px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.04);color:#DCEBE4}.pm-viewer-tool svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.pm-viewer-meta{font-size:13.75px;color:#AEBFB8}.pm-image-stage{position:relative;display:grid;place-items:center;min-height:340px;padding:24px;background:radial-gradient(circle at center,#5D3021 0,#211D1A 65%,#211D1A 100%)}.pm-image-stage:before{content:"";width:78%;height:82%;border-radius:46% 46% 42% 42%;background:radial-gradient(ellipse at 50% 43%,#F2F4F3 0 17%,#AEB6B2 18% 22%,#6F625C 23% 29%,#BEC5C1 30% 34%,#7A6F68 35% 45%,#D9DDDB 46% 50%,#68736D 51% 60%,#5D3021 61% 100%);filter:grayscale(1) contrast(1.08);opacity:.92;box-shadow:0 0 40px rgba(255,255,255,.05)}.pm-image-stage .pm-marker{position:absolute;width:18px;height:18px;border:2px solid #FFF4DB;border-radius:50%;box-shadow:0 0 0 4px rgba(242,200,75,.16)}.pm-marker.one{left:38%;top:33%}.pm-marker.two{right:34%;top:51%}.pm-marker.three{left:48%;bottom:22%}
.pm-check-list{display:grid;gap:8px}.pm-check-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:9px;align-items:start;padding:10px 11px;border:1px solid #E8DDD4;border-radius:11px;background:#fff}.pm-check-row input{margin-top:2px;accent-color:#88411F}.pm-check-row strong{display:block;color:#5D3021;font-size:15px}.pm-check-row span{display:block;margin-top:3px;color:#8A7D75;font-size:13.75px;line-height:1.4}.pm-check-row .pm-status{align-self:center}
.pm-data-list{display:grid;gap:0}.pm-data-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr) auto;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #F2ECE7}.pm-data-row:last-child{border-bottom:0}.pm-data-row label{color:#A89C95;font-size:14px}.pm-data-row strong{color:#5D3021;font-size:15px;font-weight:750}.pm-data-row span{color:#A89C95;font-size:13.75px}
.pm-segmented{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #E1EAE6;border-radius:10px;background:#F7FAF8}.pm-segmented button{height:29px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#7A6F68;font-size:14px;font-weight:720}.pm-segmented button.active{background:#fff;color:#88411F;box-shadow:0 2px 8px rgba(26,64,52,.08)}
.pm-empty{padding:24px 18px;border:1px dashed #D9E5DF;border-radius:13px;background:#FFFDFB;text-align:center}.pm-empty svg{width:24px;height:24px;margin:0 auto;fill:none;stroke:#A89C95;stroke-width:1.7}.pm-empty strong{display:block;margin-top:9px;color:#5D3021;font-size:15.25px}.pm-empty span{display:block;margin-top:4px;color:#8A7D75;font-size:14px;line-height:1.45}
.pm-inline-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.pm-mini-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 10px;border:1px solid #DFE8E4;border-radius:9px;background:#fff;color:#6F625C;font-size:13.75px;font-weight:730}.pm-mini-btn svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}.pm-mini-btn.primary{border-color:#E8DDD4;background:#F8EFE8;color:#88411F}.pm-mini-btn.danger{border-color:#EDD1CE;background:#FFF2F0;color:#D8877D}
.pm-form-note{margin-top:6px;color:#A89C95;font-size:13.5px;line-height:1.4}.pm-form-note.warning{color:#AA7630}.pm-form-note.danger{color:#D8877D}
@media(max-width:1050px){.pm-split,.pm-split.equal{grid-template-columns:1fr}.pm-image-stage{min-height:280px}}

/* V13 depth enrichment */
.pm-state-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.pm-state-card{padding:11px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}.pm-state-card.active{border-color:#E8DDD4;background:#F8EFE8}.pm-state-card.warning{border-color:#FFF4DB;background:#FFF8EC}.pm-state-card.danger{border-color:#EDCBC7;background:#FFF2F0}.pm-state-card strong{display:block;color:#5D3021;font-size:15px}.pm-state-card span{display:block;margin-top:4px;color:#8A7D75;font-size:13.75px;line-height:1.4}
.pm-editor-table input,.pm-editor-table select{width:100%;height:32px;padding:0 8px;border:1px solid #DFE8E4;border-radius:8px;background:#fff;color:#4A261B;font-size:14px;outline:none}.pm-editor-table input:focus,.pm-editor-table select:focus{border-color:#C3B9B2;box-shadow:0 0 0 3px rgba(196,106,45,.08)}
.pm-log-box{max-height:240px;overflow:auto;padding:11px;border:1px solid #DFE8E4;border-radius:12px;background:#28140E;color:#D8E6E0;font:11.75px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.pm-code{display:inline-flex;max-width:100%;padding:3px 6px;border-radius:6px;background:#EEF4F1;color:#88411F;font:11.5px ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;text-overflow:ellipsis}
.pm-kpi-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pm-kpi{min-width:120px;padding:9px 10px;border:1px solid #E8DDD4;border-radius:11px;background:#FFFDFB}.pm-kpi label{display:block;color:#A89C95;font-size:13.5px;text-transform:uppercase;font-weight:740}.pm-kpi strong{display:block;margin-top:4px;color:#4A261B;font-size:16.5px}.pm-kpi span{display:block;margin-top:2px;color:#A89C95;font-size:13.5px}
.pm-divider{height:1px;margin:12px 0;background:#F2ECE7}.pm-help{padding:10px 11px;border-left:3px solid #D1814B;border-radius:0 10px 10px 0;background:#F2F9F5;color:#7A6F68;font-size:14px;line-height:1.5}.pm-help.warning{border-left-color:#D6AA55;background:#FFF8EB}.pm-help.danger{border-left-color:#D8877D;background:#FFF2F0}
@media(max-width:1050px){.pm-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.pm-state-grid{grid-template-columns:1fr}}

/* V14 modal batch 10 */
body.pm-upgraded > .modal-overlay,body.pm-upgraded > #modalOverlay{display:none!important}
.pm-risk-band{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.pm-risk-band>div{padding:10px;border:1px solid #E4EBE8;border-radius:11px;background:#FFFDFB}.pm-risk-band strong{display:block;color:#5D3021;font-size:14.5px}.pm-risk-band span{display:block;margin-top:3px;color:#8A7D75;font-size:13.5px}.pm-risk-band .active{border-color:#E8DDD4;background:#F8EFE8}.pm-risk-band .warning{border-color:#FFF4DB;background:#FFF8EB}.pm-risk-band .danger{border-color:#EFCECA;background:#FFF2F0}
@media(max-width:900px){.pm-risk-band{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V15 mobile shell isolation */
@media(max-width:760px){
  html:has(body.pm-open),body.pm-open{min-width:0!important;width:100%!important;max-width:100vw!important;overflow:hidden!important}
  .pm-overlay{width:100vw!important;max-width:100vw!important;overflow:hidden!important}
  .pm-shell,.pm-shell.pm-medium,.pm-shell.pm-compact,.pm-shell.pm-confirm{max-width:calc(100vw - 14px)!important}
}

/* V18 global modal polish */
@keyframes pm-overlay-in{from{opacity:0}to{opacity:1}}@keyframes pm-shell-in{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pm-spin{to{transform:rotate(360deg)}}
.pm-overlay.open{animation:pm-overlay-in .18s ease-out both}.pm-overlay.open>.pm-shell{animation:pm-shell-in .22s cubic-bezier(.2,.78,.25,1) both;transform-origin:center}
.pm-btn:focus-visible,.pm-icon-btn:focus-visible,.pm-tab:focus-visible,.pm-nav-btn:focus-visible,.pm-action-card:focus-visible,.pm-mini-btn:focus-visible,.pm-catalog-trigger:focus-visible,.pm-catalog button:focus-visible{outline:3px solid rgba(196,106,45,.28);outline-offset:2px}.pm-field input:focus-visible,.pm-field select:focus-visible,.pm-field textarea:focus-visible{outline:none;border-color:#D1814B!important;box-shadow:0 0 0 4px rgba(196,106,45,.12)!important}
.pm-field.is-error input,.pm-field.is-error select,.pm-field.is-error textarea{border-color:#D8877D!important;background:#FFF9F8!important;box-shadow:0 0 0 3px rgba(216,108,101,.08)!important}.pm-inline-error{display:block;margin-top:5px;color:#D8877D;font-size:13.75px;font-weight:700}.pm-footer-note.dirty{color:#B27619}.pm-footer-note.dirty i{background:#D6AA55;box-shadow:0 0 0 4px rgba(214,164,71,.12)}
.pm-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:pm-spin .72s linear infinite}.pm-spinner.large{width:24px;height:24px;border-width:3px;border-color:#CFE6DA;border-top-color:#88411F}.pm-busy-layer{position:absolute;inset:0;z-index:12;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:inherit;background:rgba(255,255,255,.82);backdrop-filter:blur(5px);color:#5D3021}.pm-busy-layer strong{font-size:16.5px}.pm-busy-layer span:last-child{color:#7A6F68;font-size:14px}
.pm-exit-guard{position:fixed;inset:0;z-index:10004;display:grid;place-items:center;padding:18px;background:rgba(18,40,33,.36);backdrop-filter:blur(4px);animation:pm-overlay-in .16s ease-out both}.pm-exit-guard section{width:min(540px,calc(100vw - 28px));padding:20px;border:1px solid rgba(255,255,255,.72);border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(18,48,38,.22);animation:pm-shell-in .2s ease-out both}.pm-exit-guard section>div:nth-child(2){display:inline-block;vertical-align:top;width:calc(100% - 52px);padding-left:12px}.pm-exit-guard h3{margin:0;color:#5D3021;font-size:17px}.pm-exit-guard p{margin:6px 0 0;color:#7A6F68;font-size:15.25px;line-height:1.5}.pm-guard-icon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#FFF4DB;color:#D6AA55;vertical-align:top}.pm-guard-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.pm-guard-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}
.pm-shell[aria-busy="true"] .pm-header,.pm-shell[aria-busy="true"] .pm-tabs,.pm-shell[aria-busy="true"] .pm-body,.pm-shell[aria-busy="true"] .pm-footer{pointer-events:none;user-select:none}.pm-content{scrollbar-width:thin;scrollbar-color:#C9D9D1 transparent}.pm-toast[data-tone="danger"] .pm-toast-icon{background:#FBE7E3;color:#D8877D}.pm-toast[data-tone="neutral"] .pm-toast-icon{background:#EDF3F0;color:#7A6F68}.pm-card,.pm-subcard,.pm-info,.pm-summary-box,.pm-action-card{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}.pm-action-card:hover{transform:translateY(-1px);border-color:#E8DDD4;box-shadow:0 7px 18px rgba(93,48,33,.07)}
@media(max-width:760px){.pm-shell{height:calc(100dvh - 14px)!important;max-height:calc(100dvh - 14px)!important;border-radius:18px!important}.pm-header{padding-top:max(12px,env(safe-area-inset-top))}.pm-footer{padding-bottom:max(10px,env(safe-area-inset-bottom))}.pm-footer-right{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pm-footer-right .pm-btn{width:100%;padding:0 8px}.pm-footer-right .pm-primary:last-child{grid-column:1/-1}.pm-guard-actions{display:grid;grid-template-columns:1fr}.pm-guard-actions .pm-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.pm-overlay.open,.pm-overlay.open>.pm-shell,.pm-exit-guard,.pm-exit-guard section,.pm-spinner{animation-duration:.001ms!important;animation-iteration-count:1!important}.pm-card,.pm-subcard,.pm-info,.pm-summary-box,.pm-action-card{transition:none!important}}


/* V20 readability + tab content transition */
@keyframes pm-tab-content-in{from{opacity:.68}to{opacity:1}}
.pm-overlay.pm-stable,.pm-overlay.pm-stable>.pm-shell{animation:none!important}
.pm-overlay.pm-stable{opacity:1!important}
.pm-overlay.pm-stable>.pm-shell{transform:none!important;transition:none!important}
.pm-overlay.pm-stable .pm-content,.pm-tab-panel.pm-tab-content-enter{animation:pm-tab-content-in .08s ease-out both}
.pm-content{overscroll-behavior:contain;contain:paint}.pm-tab-panel{min-height:100%}
.pm-shell{font-size:17px}
@media(prefers-reduced-motion:reduce){.pm-overlay.pm-stable .pm-content,.pm-tab-panel.pm-tab-content-enter{animation:none!important}}

/* V20 dashboard modal finishing */
.pm-action-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pm-callout{display:block;padding:12px 13px;border:1px solid #E8DDD4;border-radius:12px;background:#FBF7F3;color:#7A6F68;line-height:1.5}
.pm-callout strong{display:block;margin-bottom:4px;color:#5D3021;font-size:16px}
.pm-callout span{display:block;font-size:15px}
.pm-callout.warning{border-color:#FFF4DB;background:#FFF8EB;color:#B27619}
.pm-callout.warning strong{color:#B27619}

/* V21 — indicadores somente leitura para governança, evidências e saúde de fontes */
.pm-readonly-list{display:grid;gap:9px}.pm-readonly-row{border:1px solid #E8DDD4;border-radius:13px;background:#fff;overflow:hidden}.pm-readonly-row[open]{border-color:#CFE2D9;background:#FBFEFC}.pm-readonly-row summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto 18px;gap:10px;align-items:center;padding:12px 13px;cursor:pointer;list-style:none}.pm-readonly-row summary::-webkit-details-marker{display:none}.pm-readonly-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#F8EFE8;color:#C46A2D}.pm-readonly-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9}.pm-readonly-row.warning .pm-readonly-icon{background:#FFF4DB;color:#D6AA55}.pm-readonly-row.danger .pm-readonly-icon{background:#FBE7E3;color:#D8877D}.pm-readonly-row.blue .pm-readonly-icon{background:#EDF5FB;color:#6D94AF}.pm-readonly-copy{min-width:0}.pm-readonly-copy strong{display:block;color:#5D3021;font-size:15.5px;font-weight:780}.pm-readonly-copy span{display:block;margin-top:3px;color:#7A6F68;font-size:14px;line-height:1.45}.pm-readonly-chevron{display:grid;place-items:center;color:#A89C95;transition:transform .16s ease}.pm-readonly-chevron svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.pm-readonly-row[open] .pm-readonly-chevron{transform:rotate(90deg)}.pm-readonly-detail{margin:0 13px 13px 57px;padding:10px 12px;border-radius:10px;background:#FBF7F3;color:#7A6F68;font-size:14px;line-height:1.55}.pm-technical-details{margin-top:12px;border:1px dashed #CFDDD6;border-radius:12px;background:#FAFCFB;overflow:hidden}.pm-technical-details summary{display:flex;align-items:center;gap:8px;padding:11px 13px;color:#7A6F68;font-size:14px;font-weight:740;cursor:pointer;list-style:none}.pm-technical-details summary::-webkit-details-marker{display:none}.pm-technical-details summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.pm-technical-details summary svg:last-child{margin-left:auto;transition:transform .16s ease}.pm-technical-details[open] summary svg:last-child{transform:rotate(90deg)}.pm-technical-details>div{padding:0 13px 13px}.pm-readonly-row .pm-status{font-size:13.5px}
@media(max-width:760px){.pm-readonly-row summary{grid-template-columns:32px minmax(0,1fr) 16px}.pm-readonly-row .pm-status{grid-column:2;justify-self:start}.pm-readonly-chevron{grid-column:3;grid-row:1}.pm-readonly-detail{margin-left:13px}}


/* V24.1 — Agenda: resumo, atenção, espera, filtros e confirmações */
.agenda-modal-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:13px}.agenda-modal-kpi{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:12px 13px;border:1px solid #E8DDD4;border-radius:13px;background:#FFFDFB}.agenda-modal-kpi-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#F8EFE8;color:#C46A2D}.agenda-modal-kpi-icon.warning{background:#FFF4E4;color:#B77D2D}.agenda-modal-kpi-icon.danger{background:#FBE7E3;color:#D8877D}.agenda-modal-kpi-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.agenda-modal-kpi strong{display:block;color:#5D3021;font-size:19.5px;font-weight:800}.agenda-modal-kpi span{display:block;margin-top:2px;color:#A89C95;font-size:14px}
.agenda-command-list{display:grid;border:1px solid #E8DDD4;border-radius:13px;overflow:hidden}.agenda-command-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 11px;border:0;border-bottom:1px solid #F2ECE7;background:#fff;text-align:left;cursor:pointer}.agenda-command-row:last-child{border-bottom:0}.agenda-command-row:hover{background:#F7FBF9}.agenda-command-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#EDF7F2;color:#A95425}.agenda-command-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.agenda-command-copy strong{display:block;color:#5D3021;font-size:15.25px;font-weight:770}.agenda-command-copy span{display:block;margin-top:3px;color:#A89C95;font-size:13.75px}.agenda-command-chevron{color:#A89C95}.agenda-command-chevron svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
.agenda-attention-modal-list{display:grid;gap:9px}.agenda-attention-detail-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #E8DDD4;border-radius:13px;background:#fff}.agenda-attention-detail-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#F8EFE8;color:#C46A2D}.agenda-attention-detail-icon.warning{background:#FFF4E4;color:#B77D2D}.agenda-attention-detail-icon.danger{background:#FBE7E3;color:#D8877D}.agenda-attention-detail-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}.agenda-attention-detail-copy strong{display:block;color:#5D3021;font-size:15.25px}.agenda-attention-detail-copy span{display:block;margin-top:3px;color:#A89C95;font-size:13.75px}.agenda-priority{display:inline-flex;align-items:center;justify-content:center;min-height:23px;padding:0 8px;border-radius:999px;background:#EEF7F2;color:#A95425;font-size:13px;font-weight:780}.agenda-priority.warning{background:#FFF4E4;color:#B27619}.agenda-priority.danger{background:#FBE7E3;color:#D8877D}.agenda-mini-action{height:32px;padding:0 11px;border:1px solid #D7E7DF;border-radius:9px;background:#fff;color:#A95425;font-size:13.75px;font-weight:760;cursor:pointer}.agenda-mini-action:hover{background:#F1F9F5}
.agenda-waitlist-modal{display:grid;border:1px solid #E8DDD4;border-radius:14px;overflow:hidden}.agenda-waitlist-modal-row{display:grid;grid-template-columns:38px minmax(0,1fr) 74px 88px auto;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border-bottom:1px solid #F2ECE7;background:#fff}.agenda-waitlist-modal-row:last-child{border-bottom:0}.agenda-wait-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#F5E8DC;color:#A95425;font-size:14px;font-weight:800}.agenda-wait-avatar.purple{background:#F0EEFC;color:#6D94AF}.agenda-wait-avatar.amber{background:#FFF3DF;color:#B67B29}.agenda-wait-copy strong{display:block;color:#5D3021;font-size:15.25px}.agenda-wait-copy span{display:block;margin-top:3px;color:#A89C95;font-size:13.75px}.agenda-wait-time strong{display:block;color:#5D3021;font-size:15.25px}.agenda-wait-time span,.agenda-wait-fit{display:block;color:#A89C95;font-size:13.5px}.agenda-wait-fit.priority{color:#A56D22;font-weight:720}
.agenda-filter-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.agenda-filter-block{min-width:0}.agenda-filter-block>label,.agenda-filter-block>span:first-child{display:block;margin-bottom:6px;color:#7A6F68;font-size:14px;font-weight:760}.agenda-chip-box{display:flex;align-items:center;gap:6px;min-height:43px;padding:6px 9px;border:1px solid #DFE8E4;border-radius:10px;background:#fff;overflow-x:auto}.agenda-chip{display:inline-flex;align-items:center;height:27px;padding:0 9px;border-radius:8px;background:#EDF4F1;color:#6F625C;font-size:13.5px;font-weight:690;white-space:nowrap}.agenda-filter-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.agenda-status-choice{display:grid;grid-template-columns:10px minmax(0,1fr) 16px;align-items:center;gap:7px;min-height:41px;padding:8px 9px;border:1px solid #E1E9E5;border-radius:10px;background:#fff;color:#6F625C;font-size:14px;cursor:pointer}.agenda-status-choice i{width:8px;height:8px;border-radius:50%;background:var(--choice-color,#C46A2D)}.agenda-status-choice input{width:15px;height:15px;accent-color:#C46A2D}.agenda-time-range{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:9px}.agenda-time-range .pm-field{grid-column:auto}.agenda-time-separator{padding-bottom:11px;color:#A89C95;font-weight:700}.agenda-filter-toggle{margin-top:14px}.agenda-filter-toggle .pm-option{max-width:520px}
.agenda-confirmation-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px}.agenda-confirmation-stat{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:10px 11px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}.agenda-confirmation-stat>span:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#F8EFE8;color:#A95425}.agenda-confirmation-stat.warning>span:first-child{background:#FFF4E4;color:#B57A2B}.agenda-confirmation-stat>span:first-child svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.agenda-confirmation-stat strong{display:block;color:#5D3021;font-size:18px}.agenda-confirmation-stat small{display:block;margin-top:2px;color:#A89C95;font-size:13px}.agenda-confirmation-table{border:1px solid #E8DDD4;border-radius:14px;overflow:hidden}.agenda-confirmation-head,.agenda-confirmation-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(115px,.9fr) 76px 112px 112px minmax(230px,1.4fr);align-items:center;gap:9px}.agenda-confirmation-head{min-height:37px;padding:0 11px;background:#F7FAF8;color:#7A6F68;font-size:13px;font-weight:780;text-transform:uppercase;letter-spacing:.025em}.agenda-confirmation-row{min-height:68px;padding:9px 11px;border-top:1px solid #F2ECE7;background:#fff}.agenda-confirmation-patient{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px}.agenda-confirmation-patient-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#F5E8DC;color:#A95425;font-size:12.5px;font-weight:800}.agenda-confirmation-patient-avatar.purple{background:#F0EEFC;color:#6D94AF}.agenda-confirmation-patient-avatar.amber{background:#FFF3DF;color:#B67B29}.agenda-confirmation-patient-avatar.coral{background:#FBE7E3;color:#D8877D}.agenda-confirmation-patient strong,.agenda-confirmation-cell strong{display:block;color:#5D3021;font-size:14.25px}.agenda-confirmation-patient span,.agenda-confirmation-cell span{display:block;margin-top:2px;color:#A89C95;font-size:12.75px}.agenda-channel{display:inline-flex;align-items:center;gap:6px;color:#6F625C;font-size:13.5px}.agenda-channel svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.agenda-confirmation-row select{width:100%;height:31px;padding:0 7px;border:1px solid #DFE8E4;border-radius:8px;background:#fff;color:#6F625C;font-size:13px}.agenda-row-actions{display:flex;gap:6px;flex-wrap:wrap}.agenda-row-actions button{height:30px;padding:0 8px;border:1px solid #DCE7E2;border-radius:8px;background:#fff;color:#88411F;font-size:12.75px;font-weight:710;cursor:pointer}.agenda-row-actions button:hover{background:#F3F9F6;color:#A95425}
@media(max-width:900px){.agenda-modal-kpi-grid{grid-template-columns:1fr}.agenda-attention-detail-row{grid-template-columns:36px minmax(0,1fr) auto}.agenda-attention-detail-row .agenda-mini-action{grid-column:2/-1;justify-self:start}.agenda-waitlist-modal-row{grid-template-columns:36px minmax(0,1fr) auto}.agenda-wait-fit{grid-column:2}.agenda-waitlist-modal-row .agenda-mini-action{grid-column:3;grid-row:1/3}.agenda-filter-columns{grid-template-columns:1fr}.agenda-confirmation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-confirmation-table{overflow-x:auto}.agenda-confirmation-head,.agenda-confirmation-row{min-width:920px}}
@media(max-width:600px){.agenda-filter-status-grid{grid-template-columns:1fr}.agenda-time-range{grid-template-columns:1fr}.agenda-time-separator{display:none}.agenda-confirmation-summary{grid-template-columns:1fr}.agenda-waitlist-modal-row{grid-template-columns:34px minmax(0,1fr)}.agenda-wait-time,.agenda-wait-fit{grid-column:2}.agenda-waitlist-modal-row .agenda-mini-action{grid-column:2;grid-row:auto;justify-self:start}}


/* V24.2 — Tipografia das modais específicas da Agenda */
.agenda-modal-kpi span{font-size:14.5px}
.agenda-command-copy span,.agenda-attention-detail-copy span,.agenda-wait-copy span{font-size:14px}
.agenda-priority{font-size:14px}
.agenda-mini-action{font-size:15.25px}
.agenda-wait-time span,.agenda-wait-fit{font-size:14px}
.agenda-filter-block>label,.agenda-filter-block>span:first-child{font-size:14.5px}
.agenda-chip{font-size:14px}
.agenda-status-choice{font-size:15.25px}
.agenda-confirmation-stat small{font-size:14px}
.agenda-confirmation-head{font-size:13.75px}
.agenda-confirmation-patient-avatar{font-size:14px}
.agenda-confirmation-patient strong,.agenda-confirmation-cell strong{font-size:15.25px}
.agenda-confirmation-patient span,.agenda-confirmation-cell span{font-size:14px}
.agenda-channel{font-size:14.5px}
.agenda-confirmation-row select{font-size:14.5px}
.agenda-row-actions button{font-size:14.5px}


/* V24.3 — Auditoria das ações do Resumo do dia */
.agenda-command-row:disabled{cursor:not-allowed;background:#FAFCFB;opacity:.7}.agenda-command-row:disabled:hover{background:#FAFCFB}.agenda-command-row:disabled .agenda-command-icon{background:#F0F4F2;color:#A89C95}.agenda-command-row:disabled .agenda-command-copy strong{color:#7A6F68}.agenda-command-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:999px;background:#EEF3F1;color:#7A6F68;font-size:13.75px;font-style:normal;font-weight:760;white-space:nowrap}
.agenda-summary-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.agenda-summary-status{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:10px 12px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}.agenda-summary-status-dot{width:9px;height:9px;border-radius:50%;background:#A89C95}.agenda-summary-status.success .agenda-summary-status-dot{background:#D1814B}.agenda-summary-status.warning .agenda-summary-status-dot{background:#FFF4DB}.agenda-summary-status.danger .agenda-summary-status-dot{background:#FBE7E3}.agenda-summary-status strong{display:block;color:#5D3021;font-size:15.25px;font-weight:770}.agenda-summary-status small{display:block;margin-top:3px;color:#7A6F68;font-size:14px;line-height:1.4}.agenda-summary-status em{color:#5D3021;font-size:18px;font-style:normal;font-weight:800}
.agenda-summary-progress-list{display:grid;gap:11px}.agenda-summary-progress{display:grid;gap:7px}.agenda-summary-progress>div{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.agenda-summary-progress strong{display:block;color:#5D3021;font-size:15.25px;font-weight:770}.agenda-summary-progress small{display:block;margin-top:2px;color:#7A6F68;font-size:14px}.agenda-summary-progress em{color:#A95425;font-size:15.25px;font-style:normal;font-weight:800}.agenda-summary-progress>i{display:block;height:7px;border-radius:999px;background:#EDF3F0;overflow:hidden}.agenda-summary-progress>i>span{display:block;height:100%;border-radius:inherit;background:#D1814B}.agenda-summary-progress.purple>i>span{background:#E8F0F6}.agenda-summary-progress.amber>i>span{background:#D6AA55}.agenda-summary-progress.danger>i>span{background:#FBE7E3}
.agenda-summary-attention{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #EADFCA;border-radius:13px;background:#FFFAF0}.agenda-summary-attention-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#FFF1D9;color:#B57927}.agenda-summary-attention-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.agenda-summary-attention strong{display:block;color:#B27619;font-size:15.25px;font-weight:780}.agenda-summary-attention small{display:block;margin-top:3px;color:#B27619;font-size:14px;line-height:1.4}
@media(max-width:600px){.agenda-summary-status-grid{grid-template-columns:1fr}.agenda-summary-attention{grid-template-columns:36px minmax(0,1fr)}.agenda-summary-attention .agenda-mini-action{grid-column:2;justify-self:start}.agenda-command-badge{font-size:13px}}


/* V24.4 — Troca de tabs otimizada e fluxo de sugestão de encaixe */
.agenda-fit-reasons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.agenda-fit-reasons>div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:2px 9px;align-items:center;min-height:76px;padding:11px 12px;border:1px solid #E8DDD4;border-radius:12px;background:#FFFDFB}
.agenda-fit-reasons>div>span{grid-row:1/3;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#E9F6EF;color:#A95425}
.agenda-fit-reasons svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.agenda-fit-reasons strong{color:#5D3021;font-size:15.25px;font-weight:770}
.agenda-fit-reasons small{color:#A89C95;font-size:14px;line-height:1.4}
.agenda-fit-contact{margin-top:12px}
@media(max-width:760px){.agenda-fit-reasons{grid-template-columns:1fr}}


/* V24.8 — Confirmações destrutivas enxutas, sem header tradicional */
.pm-shell.pm-headerless{position:relative;grid-template-rows:minmax(0,1fr) auto}
.pm-shell.pm-headerless .pm-body{min-height:0}
.pm-shell.pm-headerless .pm-content{padding-top:58px}
.pm-dialog-controls{position:absolute;top:16px;right:18px;left:18px;z-index:8;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}
.pm-dialog-controls .pm-icon-btn{pointer-events:auto;background:rgba(255,255,255,.94);box-shadow:0 5px 16px rgba(93,48,33,.06);backdrop-filter:blur(6px)}
.pm-shell.pm-headerless .pm-confirm-body{padding-top:4px}
.pm-shell.pm-headerless .pm-confirm-copy{margin-bottom:12px}
.pm-shell.pm-headerless .pm-confirm-icon{width:58px;height:58px;margin-bottom:12px;border-radius:18px}
.pm-shell.pm-headerless .pm-confirm-body h3{font-size:18px;letter-spacing:-.12px}
.pm-shell.pm-headerless .pm-confirm-body p{font-size:15.25px}
.pm-shell.pm-headerless .pm-confirm-insights{margin-top:14px}
.pm-shell.pm-headerless .pm-footer{border-top:1px solid #E8EEEB;background:#fff}
.pm-shell.pm-headerless .pm-footer-right{margin-left:auto}
@media(max-width:760px){.pm-shell.pm-headerless .pm-content{padding-top:52px}.pm-dialog-controls{top:12px;right:12px;left:12px}.pm-shell.pm-headerless .pm-confirm-body{padding-right:2px;padding-left:2px}}

/* V24.8.1 — Compactação vertical das confirmações destrutivas */
.pm-shell.pm-headerless .pm-content{padding:50px 18px 14px}
.pm-shell.pm-headerless .pm-confirm-body{padding:0}
.pm-shell.pm-headerless .pm-confirm-icon{width:54px;height:54px;margin-bottom:10px}
.pm-shell.pm-headerless .pm-confirm-copy{margin-bottom:10px}
.pm-shell.pm-headerless .pm-confirm-insights{gap:9px;margin:12px 0}
.pm-shell.pm-headerless .pm-confirm-insight{padding:10px 11px}
.pm-shell.pm-headerless .pm-help{margin-top:8px;padding:9px 10px}
.pm-shell.pm-headerless .pm-confirm-form{margin-top:10px;gap:9px}
.pm-shell.pm-headerless .pm-field{gap:5px}
.pm-shell.pm-headerless .pm-field input,.pm-shell.pm-headerless .pm-field select{height:37px}
.pm-shell.pm-headerless .pm-field textarea{min-height:72px;padding:9px 10px}
.pm-shell.pm-headerless .pm-confirm-options{gap:8px;margin-top:9px}
.pm-shell.pm-headerless .pm-confirm-options .pm-option{padding:9px 10px}
@media(max-width:760px){.pm-shell.pm-headerless .pm-content{padding:48px 13px 12px}.pm-shell.pm-headerless .pm-confirm-insights{gap:8px}.pm-shell.pm-headerless .pm-confirm-form{margin-top:10px}}


/* V24.9 — legibilidade global de todas as modais */
.pm-shell{font-family:var(--pt-font-sans,Inter,"Segoe UI Variable","Segoe UI",ui-sans-serif,system-ui,sans-serif)!important;line-height:1.45}
.pm-title-row h2{font-size:23px!important;line-height:1.2!important;letter-spacing:-.4px!important}.pm-title-wrap p{font-size:16px!important;line-height:1.5!important}.pm-meta{font-size:14.5px!important;line-height:1.4!important}.pm-btn,.pm-icon-btn{font-size:15.25px!important}.pm-status{font-size:14px!important}.pm-tab,.pm-nav-btn{font-size:15.25px!important}.pm-section-head h3{font-size:18px!important;line-height:1.3!important}.pm-section-head p{font-size:14.5px!important;line-height:1.5!important}.pm-info label,.pm-summary-box label,.pm-kpi label{font-size:14px!important}.pm-info strong{font-size:16.5px!important;line-height:1.35!important}.pm-info span,.pm-summary-box span,.pm-kpi span{font-size:14px!important;line-height:1.45!important}.pm-field label{font-size:14.5px!important}.pm-field input,.pm-field select,.pm-field textarea{font-size:16px!important;line-height:1.45!important}.pm-option strong,.pm-action-card strong,.pm-check-row strong,.pm-data-row strong{font-size:15.25px!important;line-height:1.35!important}.pm-option span,.pm-action-card span,.pm-step span,.pm-check-row span,.pm-data-row span,.pm-state-card span,.pm-form-note,.pm-viewer-meta,.pm-risk-band span{font-size:14px!important;line-height:1.45!important}.pm-table th{font-size:14px!important;line-height:1.35!important}.pm-table td{font-size:15.25px!important;line-height:1.4!important}.pm-mini-btn,.pm-inline-error{font-size:14px!important}.pm-confirm-body h3{font-size:18px!important;line-height:1.3!important}.pm-confirm-body p{font-size:15.25px!important;line-height:1.55!important}.pm-catalog button{font-size:15.25px!important}.pm-catalog button span{font-size:14px!important}.pm-toast strong{font-size:15.25px!important}.pm-toast span{font-size:14px!important;line-height:1.45!important}

/* V24.11 — suporte espacial à escala ampliada */
.pm-shell{font-size:17px}
.pm-title-row h2{font-size:23px!important;line-height:1.2!important}
.pm-title-wrap p{font-size:16px!important;line-height:1.5!important}
.pm-meta{font-size:14.5px!important}
.pm-section-head h3{font-size:17px!important}
.pm-section-head p{font-size:14.5px!important}
.pm-btn,.pm-icon-btn{min-height:43px;height:auto;padding-top:8px;padding-bottom:8px;font-size:15.25px!important}
.pm-tab{min-height:58px;height:auto;font-size:15.25px!important}
.pm-nav-btn{min-height:44px;font-size:15.25px!important}
.pm-field label{font-size:14px!important}
.pm-field input,.pm-field select,.pm-field textarea{font-size:16px!important}
.pm-field input,.pm-field select{height:44px}
.pm-option strong,.pm-action-card strong,.pm-alert strong,.pm-timeline-copy strong{font-size:15.25px!important}
.pm-option span,.pm-action-card span,.pm-alert span,.pm-timeline-copy span,.pm-info span,.pm-summary-box span{font-size:14px!important;line-height:1.5!important}
.pm-info label,.pm-summary-box label,.pm-table th{font-size:13.75px!important}
.pm-info strong,.pm-table td{font-size:15.25px!important}
.pm-status,.pm-footer-note{font-size:13.75px!important}
.pm-footer{min-height:78px}
.pm-shell.pm-compact{width:min(840px,calc(100vw - 36px))}
.pm-shell.pm-confirm{width:min(700px,calc(100vw - 36px))}
.pm-confirm-body h3{font-size:16px!important}
.pm-confirm-body p{font-size:15.25px!important}
.pm-confirm-insight label{font-size:13.5px!important}
.pm-confirm-insight strong{font-size:15.25px!important}
.pm-confirm-insight span{font-size:14px!important}
.pm-catalog button{font-size:15px!important}.pm-catalog button span{font-size:13.5px!important}
@media(max-width:760px){
  .pm-title-row h2{font-size:19px!important}
  .pm-title-wrap p,.pm-meta{display:none}
  .pm-btn,.pm-icon-btn{font-size:15px!important}
}

/* V24.12 — modais sem tabs mantêm o footer dentro do shell */
.pm-shell:not(.pm-headerless):not(:has(> .pm-tabs)){grid-template-rows:auto minmax(0,1fr) auto}

/* V26.85.0 — refined unsaved changes decision */
.pm-exit-guard{
  padding:24px!important;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.pm-exit-guard section{
  width:min(650px,calc(100vw - 36px))!important;
  padding:26px!important;
  border:1px solid #E8DDD4!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 30px 90px rgba(40,20,14,.24)!important;
}
.pm-guard-head{display:grid;grid-template-columns:48px minmax(0,1fr);gap:15px;align-items:start}
.pm-guard-head>div{width:auto!important;padding:0!important}
.pm-guard-icon{width:48px!important;height:48px!important;border-radius:14px!important}
.pm-guard-icon svg{width:22px!important;height:22px!important}
.pm-guard-eyebrow{display:block;margin-bottom:4px;color:#A95425;font-size:10px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.pm-exit-guard h3{font-size:20px!important;line-height:1.2!important;letter-spacing:-.25px}
.pm-exit-guard p{margin-top:7px!important;font-size:14px!important;line-height:1.55!important}
.pm-guard-helper{display:grid;gap:3px;margin-top:18px;padding:13px 14px;border:1px solid #F0E5DD;border-radius:13px;background:#FFF9F5}
.pm-guard-helper strong{color:#5D3021;font-size:12.5px}
.pm-guard-helper span{color:#7A6F68;font-size:11.5px;line-height:1.45}
.pm-guard-actions{display:grid!important;grid-template-columns:auto auto minmax(190px,1fr);align-items:center;gap:10px!important;margin-top:20px!important}
.pm-guard-actions .pm-btn{min-height:42px!important;padding:0 15px!important;white-space:nowrap}
.pm-guard-actions .pm-primary{justify-self:stretch!important}
@media(max-width:680px){
  .pm-exit-guard section{padding:21px!important}
  .pm-guard-actions{grid-template-columns:1fr!important}
  .pm-guard-actions .pm-btn{width:100%!important}
}
