.orp-entry{display:block;margin:12px 0 16px auto;padding:11px 18px;border:1px solid #cad7e5;border-radius:10px;background:#fff;color:#174f99;font:600 14px system-ui;cursor:pointer}
.orp-dialog{box-sizing:border-box;width:min(1480px,calc(100vw - 24px));max-width:none;height:min(960px,calc(100dvh - 24px));max-height:none;margin:auto;padding:0;border:1px solid #d8e2ec;border-radius:20px;background:#f6f8fb;color:#173047;overflow:hidden;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 24px 100px #0a233655}
.orp-dialog[open]{display:flex;flex-direction:column}.orp-dialog::backdrop{background:#122a47a8;backdrop-filter:blur(3px)}
.orp-dialog *{box-sizing:border-box}.orp-dialog h2,.orp-dialog h3,.orp-dialog h4,.orp-dialog p{margin:0}.orp-head{display:flex;justify-content:space-between;gap:16px;padding:19px 24px;background:#133b59;color:#fff}.orp-head small{letter-spacing:.09em;font-size:10px;font-weight:700;color:#a9d1e9}.orp-head h2{font-size:23px;color:#fff;margin:3px 0}.orp-head p{color:#d2e0ee;font-size:12px}.orp-head button{align-self:flex-start;font-size:26px;min-width:42px;min-height:42px;border-color:#ffffff44!important;background:#ffffff12!important;color:white!important}
.orp-banner{padding:10px 24px;background:#edf8f4;color:#176650;font-size:12px;border-bottom:1px solid #ceeadf}.orp-status{padding:8px 24px;color:#496273;font-size:12px}.orp-message{min-height:36px;padding:7px 24px;color:#3e586b;font-size:13px}.orp-message.orp-error{background:#fff1ed;color:#a0321d}.orp-body{display:grid;grid-template-columns:minmax(310px,39%) minmax(0,61%);gap:16px;padding:0 20px 16px;min-height:0;overflow:auto;flex:1}.orp-controls{border:0;padding:0;margin:0;min-width:0}.orp-controls>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.orp-controls>section{padding:16px;margin-bottom:12px;background:white;border:1px solid #dbe4ed;border-radius:13px}.orp-dialog h3{font-size:15px;margin-bottom:10px}.orp-dialog button{font:600 12px/1.4 inherit;cursor:pointer;padding:9px 12px;border:1px solid #cbd9e6;border-radius:8px;background:#fff;color:#224d78;min-height:38px}.orp-dialog button:disabled{opacity:.5;cursor:not-allowed}.orp-dialog button:focus-visible,.orp-dialog input:focus-visible{outline:3px solid #568fed;outline-offset:2px}.orp-dialog label{display:block;margin-top:9px}.orp-dialog input:not([type=checkbox]){display:block;width:100%;margin:5px 0 8px;padding:10px;border:1px solid #cad8e5;border-radius:8px;font:inherit;background:white;color:#173047}.orp-dialog input[type=checkbox]{width:18px;height:18px;accent-color:#1f62dc;flex:none}.orp-dialog small{display:block}.orp-dialog [data-origin]{margin:7px 0;color:#5b7184}.orp-candidates{display:grid;gap:5px;margin-top:10px}.orp-candidate{text-align:left;font-weight:400!important;white-space:normal;overflow-wrap:anywhere}.orp-note{font-size:12px;color:#647b8d;margin:8px 0!important}.orp-selection{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:10px 0}.orp-selection span{font-size:11px;width:100%;color:#65788b}.orp-packages{max-height:330px;overflow:auto}.orp-package{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #e7edf3}.orp-package strong,.orp-package span{display:block;overflow-wrap:anywhere}.orp-package strong{font-size:12px}.orp-package span{font-size:11px;color:#63798b}.orp-package small{font-size:10px;margin-top:5px}.orp-ok{color:#087858}.orp-warning{color:#aa5d07}.orp-couriers{display:grid;gap:3px}.orp-courier{display:flex!important;gap:8px;align-items:center;font-size:12px}.orp-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.orp-fields label{font-size:11px}.orp-map-side{min-width:0}.orp-map{width:100%;height:420px;min-height:240px;border:1px solid #cbd9e5;border-radius:13px;background:#e8efed;overflow:hidden}.orp-result{background:white;border:1px solid #dbe4ed;border-radius:13px;padding:16px}.orp-result:empty{display:none}.orp-route{border-left:4px solid #175ce6;padding:10px 12px;background:#f7f9fc;border-radius:6px;margin:12px 0}.orp-route p,.orp-route li{font-size:12px}.orp-route ol{padding-left:20px;max-height:220px;overflow:auto}.orp-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 24px;border-top:1px solid #d8e3ed;background:#fff}.orp-dialog footer span{font-size:12px;color:#647b8d}.orp-dialog .orp-primary{background:#185fd6;color:white;border-color:#185fd6;padding:11px 18px;font-weight:700}
@media(max-width:800px){.orp-dialog{width:100vw;height:100dvh;border-radius:0;border:0}.orp-head{padding:14px}.orp-head h2{font-size:19px}.orp-body{grid-template-columns:1fr;padding:0 12px 12px;gap:8px}.orp-map-side{grid-row:1}.orp-map{height:310px}.orp-banner,.orp-status,.orp-message{padding-left:14px;padding-right:14px}.orp-head p{font-size:11px}.orp-dialog footer{padding:10px 14px;align-items:stretch}.orp-dialog footer span{max-width:32%;font-size:10px}.orp-dialog footer button{flex:1}.orp-package{grid-template-columns:20px minmax(0,1fr)}.orp-package>button{grid-column:2;justify-self:start}.orp-entry{margin:10px 0 12px auto}.orp-controls>section{padding:12px}.orp-result{padding:12px}}
@media(prefers-reduced-motion:reduce){.orp-dialog *{scroll-behavior:auto!important}}
.orp-dialog button{font-family:inherit;font-size:12px;line-height:1.4;font-weight:600}.orp-dialog .orp-head button{font-size:26px}
