/* Orange-tree feedback, shared by every application-owned entry point. */
.juzi-dialog{box-sizing:border-box;width:calc(100% - 40px);max-width:360px;max-height:calc(100dvh - 48px);overflow:auto;margin:auto;padding:24px;background:#fff;color:#111318;border:0;border-radius:16px;box-shadow:0 12px 36px #24324a26;font:15px/1.6 system-ui,-apple-system,sans-serif}
.juzi-dialog::backdrop{background:#11182755}.juzi-dialog h2{margin:0 0 12px;font-size:19px;line-height:1.4;font-weight:700}.juzi-dialog-message{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#415577;max-height:55dvh;overflow:auto}.juzi-dialog-actions{display:flex;gap:12px;margin-top:24px}.juzi-dialog button{min-width:0;min-height:46px;flex:1;padding:10px 12px;border:0;border-radius:10px;font:600 15px/1.5 system-ui;cursor:pointer;overflow-wrap:anywhere}.juzi-dialog .juzi-primary{background:#ff650f;color:#fff}.juzi-dialog .juzi-secondary{background:#fff3e6;color:#a33e00}.juzi-dialog button:focus-visible,.juzi-toast button:focus-visible{outline:2px solid #16866a;outline-offset:3px}.juzi-dialog button:active{filter:brightness(.94)}
.juzi-toast{position:fixed;z-index:2147483647;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);box-sizing:border-box;display:flex;align-items:center;gap:12px;width:max-content;max-width:min(420px,calc(100% - 32px));max-height:40dvh;overflow:auto;padding:12px 14px 12px 18px;border:1px solid #ffd3a8;border-radius:12px;background:#fff3e6;color:#873700;box-shadow:0 6px 22px #24324a18;font:500 14px/1.6 system-ui,-apple-system,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.juzi-toast-close{flex:none;width:32px;height:36px;border:0;border-radius:8px;background:transparent;color:#873700;font:24px/1 system-ui;cursor:pointer}
ion-toast{--background:#fff3e6!important;--color:#873700!important;--border-radius:12px!important;--box-shadow:0 6px 22px #24324a18}ion-toast::part(container){border:1px solid #ffd3a8}ion-toast::part(message){font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}ion-toast::part(button){color:#a33e00}
ion-alert .alert-button-group{padding:8px 20px 20px!important;gap:10px}ion-alert .alert-button{border:0!important;border-radius:10px!important;min-height:44px!important;margin:0!important;color:#fff!important;background:#ff650f!important}ion-alert .alert-button.alert-button-role-cancel,ion-alert .alert-button.cancel{color:#a33e00!important;background:#fff3e6!important}ion-alert .alert-button.alert-button-role-destructive{background:#c83935!important}ion-alert .alert-input{background:#f4f6f8!important;border:1px solid #e9edf1!important;border-radius:8px!important;padding:10px!important;color:#111318!important}ion-alert .alert-message{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:350px){.juzi-dialog{padding:20px;width:calc(100% - 24px)}.juzi-dialog-actions{gap:8px}.juzi-dialog button{padding-inline:8px}}

ion-alert .alert-button-group{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important}ion-alert .alert-button{flex:1!important;min-width:0!important;text-transform:none!important}ion-alert .alert-button-inner{justify-content:center!important}
