/* V57 ASD - mobile-first visual system */
#dz57-root{--dz57-green:#087e62;--dz57-blue:#0965e8;--dz57-line:#e5eeeb;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#18272b;max-width:960px;margin:12px auto 25px}#dz57-root *{box-sizing:border-box}#dz57-root h2,#dz57-root h3,#dz57-root p{margin:0}#dz57-root p{line-height:1.5;color:#62757b;font-size:13px;margin:8px 0}#dz57-root button{cursor:pointer;font-family:inherit;font-weight:700;font-size:13px;border-radius:10px;padding:11px 13px;border:1px solid #dce7e5}#dz57-root input,#dz57-root select{display:block;width:100%;border:1px solid #dbe5e5;background:#fff;border-radius:9px;padding:12px;color:#1a3030;margin-top:7px;min-width:0}#dz57-root label{font-size:12px;font-weight:600;color:#50636a}#dz57-root .dz57-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 4px 22px;gap:12px}#dz57-root .dz57-heading h2{font-size:24px;font-weight:800;letter-spacing:-.5px}#dz57-root .dz57-heading small{font-size:10px;letter-spacing:1.1px;color:#087e62;font-weight:800}#dz57-root .dz57-heading-icon{background:#e1f4ed;border-radius:50%;padding:14px;font-size:24px;color:#087e62}#dz57-root .dz57-card{background:linear-gradient(145deg,#063e86,#1159ad 65%,#082e70);color:white;border-radius:17px;padding:21px;min-height:205px;box-shadow:0 9px 22px #082f6040;margin-bottom:18px;display:flex;flex-direction:column;justify-content:space-between}#dz57-root .dz57-cardtop,#dz57-root .dz57-cardfoot{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:750}#dz57-root .dz57-cardtop small,#dz57-root .dz57-cardmid small{font-size:10px;letter-spacing:1px;color:#c7e3ff}#dz57-root .dz57-cardmid h2{font-size:27px;color:white;letter-spacing:1px;margin:5px 0}#dz57-root .dz57-cardfoot{font-size:12px}#dz57-root .dz57-cardfoot strong{font-size:16px}#dz57-root .dz57-card.dz57-pending{background:linear-gradient(140deg,#075d50,#0a9472);min-height:150px}#dz57-root .dz57-pending h3{color:white;font-size:19px}#dz57-root .dz57-pending p{color:#e1f9ef}#dz57-root .dz57-panel{background:#fff;border:1px solid var(--dz57-line);border-radius:15px;padding:17px;margin-bottom:13px;box-shadow:0 3px 10px #143b2508}#dz57-root .dz57-panel h3{font-size:15px;margin-bottom:12px}#dz57-root .dz57-kv{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;border-bottom:1px solid #edf1f0;font-size:12px}#dz57-root .dz57-kv:last-child{border:0}#dz57-root .dz57-kv span{color:#617579}#dz57-root .dz57-kv strong,#dz57-root .dz57-kv b{text-align:right}#dz57-root .dz57-fee{font-size:28px;font-weight:800;color:#087e62}#dz57-root .dz57-main,#dz57-root .dz57-blue{background:#087e62;color:white;border-color:#087e62;width:100%;margin-top:10px}#dz57-root .dz57-blue{background:#0865df;border-color:#0865df}#dz57-root .dz57-quiet{background:#f6faf9;color:#0b6155;width:100%;margin-top:8px}#dz57-root .dz57-check{display:flex;align-items:flex-start;gap:9px;margin:10px 0;line-height:1.5}#dz57-root .dz57-check input{width:auto;margin:3px 0 0;flex-shrink:0}#dz57-root .dz57-form{display:grid;gap:13px}#dz57-root .dz57-tabs{display:flex;gap:5px;background:#f1f6f5;padding:5px;border-radius:11px;margin:0 0 17px;overflow:auto}#dz57-root .dz57-tabs button{background:transparent;color:#597072;border:0;flex:1;white-space:nowrap;padding:10px 9px}#dz57-root .dz57-tabs button.active{background:white;color:#0865df;box-shadow:0 1px 6px #001e331c}#dz57-root .dz57-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}#dz57-root .dz57-metrics>div{border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:5px}#dz57-root .dz57-metrics b{font-size:24px}#dz57-root .dz57-metrics small{font-size:11px}#dz57-root .dz57-metrics .orange{background:#fff0df;color:#a45b00}#dz57-root .dz57-metrics .green{background:#e0f7ec;color:#087a48}#dz57-root .dz57-metrics .blue{background:#e3f0ff;color:#165fb7}#dz57-root .dz57-metrics .gray{background:#edf1f3;color:#42515c}#dz57-root .dz57-actions{display:flex;gap:8px;margin-bottom:14px}#dz57-root .dz57-actions button{flex:1;font-size:11px}#dz57-root .dz57-search{display:block;margin-bottom:12px}#dz57-root .dz57-member-row{background:#fff;border:1px solid #e5ebef;border-radius:14px;padding:15px;margin-bottom:11px}#dz57-root .dz57-member-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}#dz57-root .dz57-member-head h3{font-size:15px}#dz57-root .dz57-member-head small{font-size:11px;color:#6c7a84;word-break:break-all}#dz57-root .dz57-person{width:42px;height:42px;border-radius:50%;background:#dce9f8;display:grid;place-items:center;color:#0753ae;font-size:21px;font-weight:800;flex-shrink:0}#dz57-root .dz57-member-head>div{flex:1;min-width:0}#dz57-root .dz57-pill{font-size:10px;background:#e4f7ed;color:#09734d;border-radius:6px;padding:6px 8px;white-space:nowrap}#dz57-root .dz57-pill.warn{background:#fff0dc;color:#9e550b}#dz57-root .dz57-pets{display:flex;gap:7px;flex-wrap:wrap;padding:11px 0;color:#60717a;font-size:12px}#dz57-root .dz57-pets span{background:#f2f6f8;border-radius:8px;padding:6px 9px}#dz57-root .dz57-warning{color:#a95c00!important;background:#fff2dd;padding:11px;border-radius:10px}#dz57-dialog{border:0;border-radius:18px;padding:0;max-width:min(94vw,520px);width:100%;max-height:87vh;box-shadow:0 22px 70px #001d3347}#dz57-dialog::backdrop{background:#102d3b8a}#dz57-dialog header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e7eeee}#dz57-dialog header h2{font-size:18px}#dz57-dialog header button{border:0;background:#f2f6f6;border-radius:8px;padding:8px 12px}#dz57-dialog .dz57-dialogbody{padding:18px;overflow-y:auto;max-height:74vh}#dz57-dialog .dz57-panel{border:1px solid #e6eded;border-radius:12px;padding:12px;margin:12px 0}#dz57-dialog .dz57-kv{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee;gap:8px;font-size:12px}#dz57-dialog .dz57-kv span{color:#64747b}#dz57-dialog .dz57-tabs{display:flex;gap:5px;overflow:auto;margin:13px 0}#dz57-dialog .dz57-tabs button{flex:1;background:#f2f6f6;border:0;padding:10px 6px;border-radius:8px}#dz57-dialog .dz57-tabs button.active{background:#0865df;color:white}#dz57-dialog .dz57-card{background:linear-gradient(140deg,#064180,#1163c5);color:white;padding:16px;border-radius:13px;margin:12px 0}#dz57-dialog .dz57-card h2{color:white}#dz57-dialog .dz57-form{display:grid;gap:10px}#dz57-dialog input,#dz57-dialog select{display:block;width:100%;padding:10px;border:1px solid #dae4e8;border-radius:8px;margin-top:4px}#dz57-dialog .dz57-blue{background:#0865df;color:white;border:0;padding:12px;border-radius:9px;margin-top:8px}#dz57-alert{position:fixed;z-index:999999;bottom:90px;left:50%;transform:translateX(-50%) translateY(15px);background:#075b4b;color:white;padding:13px 18px;border-radius:12px;box-shadow:0 8px 20px #0004;opacity:0;transition:.2s;pointer-events:none;max-width:90vw}#dz57-alert.visible{opacity:1;transform:translateX(-50%) translateY(0)}#dz57-open{background:#0865df;color:white;border:0;padding:12px 16px;border-radius:10px;margin:10px 0;font-weight:750}@media(min-width:720px){#dz57-root .dz57-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}#dz57-root .dz57-form{grid-template-columns:repeat(2,minmax(0,1fr))}#dz57-root .dz57-form button{grid-column:1/-1}#dz57-root .dz57-card{max-width:520px}}@media(max-width:550px){#dz57-root{padding:0 5px}#dz57-root .dz57-heading h2{font-size:21px}#dz57-root .dz57-card{min-height:200px}#dz57-root .dz57-member-row{padding:12px}#dz57-root .dz57-member-head{flex-wrap:wrap}#dz57-root .dz57-actions button{padding:11px 5px}}

/* V57.1: dedicated, discoverable association register and mobile visual refinement */
#admin.dz57-focused > :not(#dz57-root):not(#dz57-back){display:none!important}
#dz57-back{display:none;background:#f0f5ff;color:#0754b9;border:1px solid #d7e6ff;border-radius:11px;padding:10px 14px;margin:0 0 16px;font-weight:700}
#admin.dz57-focused #dz57-back{display:inline-flex}
.dz57-navlink{display:block;width:100%;text-align:left;background:transparent;color:inherit;border:0;border-radius:10px;padding:12px 14px;font:inherit;font-weight:700;cursor:pointer}
.dz57-navlink:hover{background:#eaf3ff;color:#0756c4}
#dz57-root .dz57-booktitle{margin:8px 0 14px;padding:16px;border-radius:14px;background:linear-gradient(120deg,#eaf3ff,#f6faff);border:1px solid #dce9ff}
#dz57-root .dz57-booktitle h3{color:#064eaa;font-size:19px}
#dz57-root .dz57-filters{display:flex;gap:7px;overflow-x:auto;padding:0 0 12px;scrollbar-width:thin}
#dz57-root .dz57-filters button{white-space:nowrap;flex:0 0 auto;background:#f2f6fa;border-color:#e3ebf4;color:#456077;font-size:12px;padding:9px 12px}
#dz57-root .dz57-filters button.active{background:#0865df;color:#fff;border-color:#0865df}
#dz57-root .dz57-empty{padding:24px;text-align:center;border:1px dashed #dce7f1;border-radius:14px}
#dz57-root .dz57-member-row{box-shadow:0 5px 18px #1636500c;border-color:#e0e9ef}
#dz57-root .dz57-member-row .dz57-quiet{color:#0959bf;background:#eff5ff}
@media(max-width:600px){#dz57-root{max-width:100%;margin:4px auto 22px}#dz57-root .dz57-heading{padding:8px 2px 15px}#dz57-root .dz57-heading h2{font-size:22px}#dz57-root .dz57-panel{border-radius:15px}#dz57-root .dz57-metrics>div{min-height:75px}#dz57-root .dz57-actions{display:grid;grid-template-columns:1fr 1fr}#dz57-root .dz57-actions button{min-width:0}}

/* V58: standalone register is a first-class workspace view, not a hidden settings subsection. */
#asd.dz-view{width:100%;min-width:0}#asd #dz57-root{max-width:1040px;margin:0 auto;padding:12px 0 32px}#asd #dz57-admin{display:block}#asd #dz57-members-tab[hidden],#asd #dz57-cards-tab[hidden],#asd #dz57-settings-tab[hidden]{display:none!important}
@media(max-width:720px){#asd #dz57-root{padding:8px 2px 96px}#asd .dz57-heading{padding-top:4px}}

#dz581-detail{background:#fff;border:2px solid #0865df;border-radius:18px;padding:20px;margin:0 0 24px;box-shadow:0 12px 32px #073d7818;scroll-margin-top:30px}#dz581-detail .dz581-detailhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}#dz581-detail .dz581-detailhead small{color:#0865df;font-weight:800;font-size:11px}#dz581-detail .dz581-detailhead h2{font-size:23px;margin:6px 0}#dz581-detail .dz581-detailhead button{background:#f1f5f9;color:#163c5b;flex-shrink:0}#dz581-detail [data-pane][hidden]{display:none!important}#dz581-detail .dz581-danger{background:#fff0f0;color:#b42318;border:1px solid #fecaca;width:100%;margin-top:10px}#dz581-detail .dz581-dog{display:flex;gap:13px;align-items:center;border:1px solid #e5ebf2;border-radius:13px;padding:12px;margin:10px 0}#dz581-detail .dz581-dog img,#dz581-detail .dz581-dog-icon{width:64px;height:64px;border-radius:12px;object-fit:cover;background:#eef5f5;display:grid;place-items:center}#dz581-detail .dz57-form{display:grid;gap:12px}#dz581-detail input,#dz581-detail select{width:100%;padding:12px;border:1px solid #dbe5e5;border-radius:9px;margin-top:5px}#dz581-detail .dz57-blue{width:100%;background:#0865df;color:#fff;padding:13px;border:0;border-radius:10px}#dz581-detail .dz57-tabs{display:flex;gap:5px;background:#f1f6f5;border-radius:10px;padding:5px;margin:16px 0}#dz581-detail .dz57-tabs button{flex:1;border:0;background:transparent;color:#42566a}#dz581-detail .dz57-tabs button.active{background:#0865df;color:#fff}#dz581-detail .dz57-card{background:linear-gradient(140deg,#064180,#1163c5);color:#fff;padding:20px;border-radius:14px;margin:12px 0}#dz581-detail .dz57-card h2{color:#fff}@media(max-width:550px){#dz581-detail{padding:13px}#dz581-detail .dz581-detailhead h2{font-size:19px}#dz581-detail .dz57-tabs button{font-size:11px;padding:9px 5px}}
