.mdi-app,.mdi-auth-wrap{box-sizing:border-box;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#122d50}
.mdi-app *, .mdi-auth-wrap *{box-sizing:border-box}
.mdi-app{max-width:1320px;margin:0 auto;padding:24px 18px 70px;background:#f6f9fd;min-height:100vh;line-height:1.5}
.mdi-header{padding:25px 27px;background:#112e54;border-radius:20px;color:white;display:flex;align-items:center;justify-content:space-between;gap:18px}
.mdi-header h1{font-size:clamp(24px,3vw,34px);margin:1px 0 5px;color:white;line-height:1.2}
.mdi-header p{margin:0;color:#c0d6f0}.mdi-eyebrow{font-size:11px;letter-spacing:2.4px;color:#9ac7fb;font-weight:800}
.mdi-header-right{font-size:13px;white-space:nowrap;display:flex;gap:10px;align-items:center}.mdi-status-dot{width:9px;height:9px;background:#45d6aa;border-radius:50%}.mdi-logout{color:white;text-decoration:none;border:1px solid #80a4cd;border-radius:9px;padding:7px 11px;margin-left:10px}
.mdi-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:20px 1px}.mdi-toolbar label{font-size:12px;font-weight:700}.mdi-toolbar select,.mdi-toolbar input{display:block;margin-top:3px;border-radius:9px;border:1px solid #d2dfef;padding:9px 10px;color:#183858;background:white;font:inherit;max-width:100%}.mdi-toolbar button{border:none;background:#193d6b;color:#fff;border-radius:9px;padding:11px 16px;cursor:pointer}.mdi-toolbar button:disabled{opacity:.7}.mdi-stamp{color:#6c7e92;font-size:12px;margin:0 0 7px auto}.mdi-custom{display:flex;gap:10px;flex-wrap:wrap}.mdi-custom[hidden]{display:none}
.mdi-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.mdi-metric,.mdi-panel{border:1px solid #e2eaf3;background:#fff;border-radius:16px;box-shadow:0 4px 14px #152f5410}.mdi-metric{padding:19px 17px}.mdi-metric-label{font-size:13px;font-weight:700;color:#49627e}.mdi-metric-value{color:#0d2e58;font-weight:800;font-size:clamp(26px,3vw,35px);margin:6px 0 4px}.mdi-metric-help{font-size:11px;color:#8493a5}
.mdi-section-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.mdi-panel{padding:20px;min-width:0;margin-top:16px}.mdi-section-grid .mdi-panel{margin-top:0}.mdi-panel h2{font-size:17px;line-height:1.3;color:#14345c;margin:0 0 15px}.mdi-panel-title{display:flex;align-items:start;justify-content:space-between;gap:12px}.mdi-panel-title small{font-size:11px;color:#8393a6;text-align:right}.mdi-muted{font-weight:400;font-size:12px;color:#8393a6}.mdi-chart{height:220px;display:flex;align-items:end}.mdi-bars{display:flex;width:100%;gap:7px;height:190px;align-items:end}.mdi-bar-col{flex:1;min-width:0;max-width:65px;height:100%;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:4px}.mdi-bar{background:linear-gradient(180deg,#54a8f7,#1c528f);border-radius:6px 6px 2px 2px;width:100%;min-height:4px}.mdi-bar-col span{font-size:9px;white-space:nowrap;color:#72839a}.mdi-funnel>div{display:flex;justify-content:space-between;border-bottom:1px solid #e8edf5;padding:13px 0;font-size:14px}.mdi-funnel>div strong{font-size:16px}.mdi-subnote,.mdi-footnote{color:#8293a7;font-size:12px}.mdi-subnote{margin-top:14px}.mdi-footnote{line-height:1.65;margin:19px 5px}.mdi-table-scroll{max-width:100%;overflow:auto}.mdi-panel table{border-collapse:collapse;width:100%;text-align:left;min-width:420px}.mdi-panel th,.mdi-panel td{border-bottom:1px solid #e7edf6;padding:10px 9px 10px 0;font-size:12px;vertical-align:top;overflow-wrap:anywhere}.mdi-panel th{font-weight:800;color:#65809f;white-space:nowrap}.mdi-panel td{color:#243d5b}.mdi-empty{padding:35px 6px;color:#8a9aab;text-align:center;font-size:13px}.mdi-error{border-radius:9px;color:#9b2631;background:#fff0f1;border:1px solid #ffccd0;padding:10px;margin-bottom:12px}
.mdi-auth-wrap{min-height:85vh;background:linear-gradient(135deg,#eaf5ff,#fff);display:flex;align-items:center;justify-content:center;padding:30px 16px}.mdi-login-card{max-width:420px;width:100%;background:#fff;border:1px solid #dce8f6;box-shadow:0 20px 60px #102c5220;border-radius:22px;padding:35px 30px}.mdi-brand-icon{background:#e6f2ff;color:#174d86;border-radius:13px;font-size:28px;font-weight:800;width:54px;height:54px;display:flex;align-items:center;justify-content:center}.mdi-login-card h1{font-size:25px;color:#15345b;margin:18px 0 5px}.mdi-login-card p{color:#73859a;margin:0 0 24px}.mdi-login-card label{display:block;font-size:13px;font-weight:700;color:#344e6e;margin-bottom:16px}.mdi-login-card input{width:100%;height:46px;border:1px solid #d5e2ef;border-radius:11px;padding:10px 13px;margin-top:6px;color:#122d50;background:#fff;font:inherit}.mdi-login-card button{border:0;width:100%;border-radius:11px;background:#143863;color:#fff;font-weight:700;padding:14px;cursor:pointer}.mdi-login-card small{display:block;text-align:center;margin-top:19px;color:#91a2b5;font-size:12px}
@media(max-width:900px){.mdi-metrics{grid-template-columns:repeat(3,1fr)}.mdi-section-grid{grid-template-columns:1fr}}
@media(max-width:590px){.mdi-app{padding:12px 10px 45px}.mdi-header{padding:18px;align-items:start;flex-wrap:wrap}.mdi-header-right{width:100%;justify-content:end}.mdi-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mdi-metric{padding:14px 12px}.mdi-metric-value{font-size:27px}.mdi-panel{padding:15px}.mdi-toolbar{gap:8px}.mdi-stamp{margin-left:0}.mdi-chart{height:170px}.mdi-bars{height:145px}}

/* v0.9.3 — private registration directory */
.mdi-users-panel{margin-top:16px}
.mdi-users-panel .mdi-panel-title{align-items:center;flex-wrap:wrap;margin-bottom:14px}
.mdi-users-panel h2{margin-bottom:3px}
.mdi-users-intro,.mdi-users-footnote{font-size:12px;color:#72849b;margin:4px 0 0}
.mdi-users-count{background:#edf5ff;border:1px solid #d7e7fa;color:#153d6b;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700}
.mdi-users-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0 16px}
.mdi-users-toolbar label{font-size:12px;font-weight:700;color:#3c5576}
.mdi-users-toolbar input,.mdi-users-toolbar select{display:block;width:100%;margin-top:5px;background:white;color:#183858;border:1px solid #d2dfef;border-radius:9px;padding:9px 10px;font:inherit;min-height:39px}
.mdi-users-search-label{flex:1;min-width:190px}
.mdi-users-day,.mdi-users-dates label{min-width:136px}
.mdi-users-dates{display:flex;gap:10px;flex-wrap:wrap}
.mdi-users-day[hidden],.mdi-users-dates[hidden],.mdi-users-pagination[hidden]{display:none}
.mdi-users-toolbar>button,.mdi-users-pagination button{border:0;border-radius:9px;padding:10px 15px;background:#193d6b;color:white;cursor:pointer;font-weight:700;font-size:12px}
.mdi-users-toolbar button:disabled,.mdi-users-pagination button:disabled{opacity:.5;cursor:default}
.mdi-users-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:15px 0 7px;color:#506b8c;font-size:12px}
.mdi-users-pagination>div{display:flex;gap:9px}
.mdi-users-panel .mdi-table-scroll{overflow-x:auto}
.mdi-users-panel table{min-width:780px}
.mdi-users-panel td:nth-child(3){word-break:break-word}
.mdi-users-footnote{margin-top:12px}
@media(max-width:590px){.mdi-users-toolbar{align-items:stretch}.mdi-users-toolbar>label:first-child,.mdi-users-search-label{width:100%;flex-basis:100%}.mdi-users-toolbar>button{width:100%}.mdi-users-dates{width:100%}.mdi-users-dates label{flex:1}}

/* v0.9.6 — private data export */
.mdi-export-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#eaf3fd;border:1px solid #c8def6;border-radius:15px;padding:16px 20px;margin:0 0 17px}
.mdi-export-panel strong{font-size:15px;color:#123b68}.mdi-export-panel p{font-size:12px;color:#4c647e;max-width:680px;line-height:1.6;margin:5px 0 0}
.mdi-export-actions{display:flex;flex-direction:column;align-items:end;gap:6px}.mdi-export-panel .mdi-export-button{font-weight:750;border:0;border-radius:10px;background:#183e70;color:white;padding:12px 19px;cursor:pointer}.mdi-export-actions small{font-size:11px;color:#5b7897}
@media(max-width:590px){.mdi-export-actions{width:100%;align-items:stretch}.mdi-export-panel .mdi-export-button{width:100%}}
