/* OZS MODO v2.6.29: unified own-page dialogs. Browser/third-party prompts are untouched. */
.ozs29-dialog-overlay{position:fixed;inset:0;z-index:2147481000;display:grid;place-items:center;padding:calc(18px + env(safe-area-inset-top,0px)) 16px calc(18px + env(safe-area-inset-bottom,0px));background:rgba(17,34,25,.48);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.ozs29-dialog{box-sizing:border-box;width:min(100%,410px);max-height:calc(100dvh - 48px);overflow:auto;background:#fcfdf9;color:#234532;border:1px solid #dce8dc;border-radius:20px;padding:23px;box-shadow:0 24px 90px rgba(15,39,25,.3);font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.ozs29-dialog-head{display:flex;align-items:center;gap:12px}.ozs29-dialog h2{margin:0;font-size:19px;line-height:1.35;font-weight:750;color:#214b34}.ozs29-dialog-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#e8f3e7;color:#396d49;font-size:19px;font-weight:800}
.ozs29-dialog p{font-size:14px;line-height:1.8;margin:17px 0 22px;color:#5d7363;white-space:pre-line;overflow-wrap:anywhere}
.ozs29-dialog-actions{display:flex;gap:10px;justify-content:flex-end}.ozs29-dialog-actions button{appearance:none;box-sizing:border-box;min-height:44px;border-radius:11px;min-width:105px;flex:1;padding:11px 13px;font-weight:700;font-size:14px;cursor:pointer;line-height:1.3}
.ozs29-dialog-cancel{background:#fff;border:1px solid #cddfcd;color:#3a6848}.ozs29-dialog-accept{background:#28563d;border:1px solid #28563d;color:#fff;box-shadow:0 2px 0 #163b29}.ozs29-dialog-accept.is-danger{background:#9b4d41;border-color:#9b4d41;box-shadow:none}
.ozs29-dialog-actions button:focus-visible{outline:3px solid #79b68f;outline-offset:2px}
.ozs29-toasts{position:fixed;z-index:2147481001;top:calc(18px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);display:grid;justify-items:center;gap:10px;pointer-events:none;width:min(92vw,460px)}
.ozs29-toast{box-sizing:border-box;display:flex;align-items:center;gap:10px;max-width:100%;padding:12px 16px;border-radius:12px;background:#f7fbf5;border:1px solid #cbdccc;box-shadow:0 10px 40px #122e2330;color:#305b40;font:650 13px/1.5 system-ui,-apple-system,"PingFang SC",sans-serif;overflow-wrap:anywhere;transition:opacity .2s,transform .2s}
.ozs29-toast-icon{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:#d9eddb;color:#266b42;font-weight:900}.ozs29-toast.is-error{background:#fff8f5;border-color:#edd5ca;color:#94483c}.ozs29-toast.is-error .ozs29-toast-icon{background:#f7e3de;color:#a44b3e}.ozs29-toast.is-leaving{opacity:0;transform:translateY(-8px)}
@media(max-width:480px){.ozs29-dialog{padding:19px;border-radius:17px}.ozs29-dialog-actions button{min-width:0}.ozs29-toasts{top:calc(12px + env(safe-area-inset-top,0px))}}
@media(prefers-reduced-motion:reduce){.ozs29-toast{transition:none}}

/* v2.6.71: branded, dependency-free SVG artwork and responsive dialog foundation.
   Shared by O助手 front-end and admin. Does not affect WordPress/plugin modals. */
.ozs29-dialog-overlay{
  z-index:2147481002;
  box-sizing:border-box;
  padding:calc(12px + env(safe-area-inset-top,0px)) 16px calc(12px + env(safe-area-inset-bottom,0px));
  overflow-x:hidden;overflow-y:auto;
  overscroll-behavior:contain;
}
.ozs29-dialog{
  box-sizing:border-box;
  width:min(100%,440px);
  max-width:100%;
  max-height:calc(100vh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  min-width:0;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.ozs29-dialog-head{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  gap:12px;
  min-width:0;
}
.ozs29-dialog-head h2{min-width:0;overflow-wrap:anywhere;word-break:normal;}
.ozs29-dialog-icon{
  display:grid;place-items:center;
  box-sizing:border-box;
  width:52px;height:52px;
  min-width:0;
  flex:0 0 52px;
  border:1px solid #c6ddc9;
  border-radius:16px;
  background:linear-gradient(145deg,#f1f9ef,#deefe2);
  color:#286746;
  box-shadow:inset 0 1px 0 #ffffffbd,0 4px 11px #1d47310b;
}
.ozs29-dialog-icon svg{display:block;width:26px;height:26px;flex:none;max-width:none;max-height:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;}
.ozs29-icon-svg .ozs29-icon-accent{stroke:#89b88e;stroke-width:2.2}
.ozs29-dialog.is-error .ozs29-dialog-icon,.ozs29-dialog.is-danger .ozs29-dialog-icon,.ozs29-dialog.is-warning .ozs29-dialog-icon{
  border-color:#edcec6;background:linear-gradient(145deg,#fff6f2,#f9e4df);color:#a34d40;
}
.ozs29-dialog.is-error .ozs29-icon-accent,.ozs29-dialog.is-danger .ozs29-icon-accent,.ozs29-dialog.is-warning .ozs29-icon-accent{stroke:#dca092;}
.ozs29-dialog.is-info .ozs29-dialog-icon,.ozs29-dialog.is-confirm .ozs29-dialog-icon{
  background:linear-gradient(145deg,#f0f6fa,#e3eff6);color:#4a7895;border-color:#d4e4f1;
}
.ozs29-dialog.is-info .ozs29-icon-accent,.ozs29-dialog.is-confirm .ozs29-icon-accent{stroke:#9abbd0}
.ozs29-dialog.is-vip .ozs29-dialog-icon{background:linear-gradient(145deg,#fff8e8,#f5e8c8);color:#9b742c;border-color:#e6d8b2;}
.ozs29-dialog p{overflow-wrap:anywhere;}
.ozs29-dialog-actions{min-width:0;}
.ozs29-dialog-actions button{white-space:normal;overflow-wrap:anywhere;}
.ozs29-toasts{z-index:2147481001;box-sizing:border-box;max-width:calc(100vw - 24px);}
.ozs29-toast{min-width:0;max-width:100%;}
.ozs29-toast-icon{border-radius:9px;background:#e6f2e8;border:1px solid #c7dfca;}
.ozs29-toast-icon svg{width:17px;height:17px;display:block;stroke:currentColor;stroke-width:1.8;fill:none;}
.ozs29-toast .ozs29-icon-accent{stroke:#82b88c}
.ozs29-toast.is-info{background:#f5f9fc;border-color:#d1e1ec;color:#50758d;}
.ozs29-toast.is-info .ozs29-toast-icon{background:#e7eff8;border-color:#d1e1ed;color:#416f8b;}
.ozs29-toast.is-error .ozs29-toast-icon{border-color:#efccc4;}
.ozs29-toast-message{min-width:0;overflow-wrap:anywhere;}
/* A high-priority decision dialog never has a floating toast over its controls. */
body.ozs29-dialog-showing .ozs29-toasts{visibility:hidden;pointer-events:none;}
@media(max-width:480px){
  .ozs29-dialog-overlay{padding:calc(10px + env(safe-area-inset-top,0px)) 12px calc(10px + env(safe-area-inset-bottom,0px));}
  .ozs29-dialog{width:100%;max-height:calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:18px;}
  .ozs29-dialog-head{grid-template-columns:44px minmax(0,1fr);gap:10px;}
  .ozs29-dialog-icon{width:44px;height:44px;flex-basis:44px;border-radius:14px;}
  .ozs29-dialog-icon svg{width:22px;height:22px;}
  .ozs29-dialog-actions{gap:8px;}
  .ozs29-dialog-actions button{min-width:0;min-height:44px;}
  .ozs29-toasts{width:calc(100vw - 24px);}
}
@media(max-height:460px){
  .ozs29-dialog-overlay{padding:8px 12px;}
  .ozs29-dialog{max-height:calc(100dvh - 16px);padding:14px;}
  .ozs29-dialog p{margin:10px 0 14px;}
}
