:root{font:15px/1.5 system-ui,-apple-system,sans-serif;color:#333e4d;background:#f3f5f9}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:22px;padding:18px 28px;background:#14205b;color:#fff;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:25px}.brand img{width:44px;height:44px;border-radius:50%}#identity{margin-left:auto}#shell{display:flex;min-height:calc(100vh - 90px)}nav{width:210px;padding:24px 14px;background:#14205b;flex-shrink:0}nav button{display:block;width:100%;text-align:left;color:#fff;background:transparent;border:0;padding:13px 16px;margin-bottom:5px}nav button.active{background:#334ac4}main{padding:32px;width:100%;min-width:0}h1{font-size:27px;font-weight:550;margin:0 0 6px}h2{font-size:21px;font-weight:550;margin:0 0 14px}h3{font-size:17px}p{margin:0 0 18px}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:1px solid #d8dfe9;background:#edf2fc;color:#254e9d;border-radius:6px;padding:9px 14px;text-decoration:none;display:inline-block}button:disabled{opacity:.55;cursor:default}button.primary{background:#304bc5;color:#fff;border-color:#304bc5}button.danger{color:#b52837;background:#fff4f4}label{display:grid;gap:6px;margin-bottom:16px}input,select,textarea{width:100%;padding:10px 12px;border:1px solid #ccd5e3;border-radius:6px;background:#fff;color:#333e4d}input[type=checkbox]{width:auto}textarea{min-height:85px}.check{display:flex;align-items:center;gap:8px}.panel{background:#fff;padding:24px;border-radius:10px;max-width:1200px}.auth{max-width:440px;margin:36px auto}.muted{color:#687487}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row>label{flex:1;min-width:160px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}.toolbar input{max-width:360px}.notice{padding:14px 18px;background:#eff4fd;color:#354e77;border-radius:6px;margin:18px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:12px 10px;border-bottom:1px solid #e2e7ef;vertical-align:middle}th{font-weight:500;color:#687487}td button{margin:3px}td select{min-width:125px}.badge{display:inline-block;background:#eaf0fb;color:#365482;border-radius:18px;padding:4px 10px;white-space:nowrap}.private{background:#f6edff;color:#774b9d}.empty{padding:30px;color:#687487}#status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:90%;background:#17255a;color:#fff;padding:12px 20px;border-radius:8px;display:none;z-index:30}dialog{border:1px solid #d6deea;border-radius:12px;padding:0;width:min(650px,94vw);max-height:90vh;color:#333e4d}dialog::backdrop{background:#101d4c88}.dialog-head,.dialog-foot{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#f4f6fa}.dialog-head h2{margin:0}#editor-fields{padding:24px;max-height:60vh;overflow:auto}#editor-error{color:#b52837;padding:0 24px}#content-error{color:#b52837}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hint{font-size:13px;color:#687487}a{color:#2858b9}code{overflow-wrap:anywhere}@media(max-width:700px){header{padding:14px;gap:12px}#shell{display:block}nav{width:100%;display:flex;overflow:auto;padding:8px}nav button{white-space:nowrap;width:auto}main{padding:16px}.panel{padding:16px}.details-grid{grid-template-columns:1fr}.brand{font-size:21px}#identity{margin-left:0;font-size:13px}}
[hidden]{display:none!important}.personal-settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px}.settings-sections{display:flex;flex-direction:column;gap:6px}.settings-sections button{text-align:left}.settings-sections button.active{background:#304bc5;color:#fff}.provider-account{padding:18px 0;border-bottom:1px solid #dce2eb}.provider-account h3{margin:0}.provider-account p{margin:5px 0 12px}.owner-controls{display:flex;flex-wrap:wrap;gap:12px}.privacy-choice{border:1px solid #cbd5e5;border-radius:7px;padding:14px;margin:18px 0}.privacy-choice legend{font-weight:600}.privacy-choice label{margin:0}.privacy-choice .hint{margin:10px 0 0}.contact-more{margin:16px 0}.contact-more dt{font-weight:600;margin-top:12px}.contact-more dd{margin:3px 0 10px;white-space:pre-line}.network-contact-photo{width:90px;height:90px;object-fit:cover;border-radius:50%;margin:12px 0}.network-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #dce2eb;border-left:1px solid #dce2eb}.calendar-weekday{padding:10px;background:#eef2fc;border-bottom:1px solid #dce2eb}.calendar-day{min-height:110px;padding:8px;border-bottom:1px solid #dce2eb;border-right:1px solid #dce2eb;overflow-wrap:anywhere}.calendar-day.outside{background:#f5f6f9}.calendar-day button{display:block;text-align:left;padding:4px;margin:5px 0;width:100%;font-size:12px;overflow-wrap:anywhere}.network-postal{border:1px solid #dce2eb;border-radius:6px;padding:14px}.network-postal .postal-editor{display:flex;flex-direction:column}.network-postal .postal-country-label{order:-1}.postal-preview{white-space:pre-line;background:#f1f5fc;padding:12px;margin-bottom:12px}.postal-preview small{display:block}.form-error,#personal-error{color:#b52837}.settings-panel{max-width:1300px}html[data-theme=dark]{background:#151c29;color:#e0e7f2}html[data-theme=dark] .panel,html[data-theme=dark] dialog{background:#222d3d;color:#e0e7f2}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#182231;color:#e0e7f2;border-color:#526279}html[data-theme=dark] .muted,html[data-theme=dark] .hint,html[data-theme=dark] th{color:#bac8db}html[data-theme=dark] .notice,html[data-theme=dark] button,html[data-theme=dark] .button,html[data-theme=dark] .postal-preview{background:#303f58;color:#e0e7f2}html[data-theme=dark] .dialog-head,html[data-theme=dark] .dialog-foot,html[data-theme=dark] .calendar-weekday,html[data-theme=dark] .calendar-day.outside{background:#192334}html[data-theme=dark] button.primary,html[data-theme=dark] button.active{background:#405bd4;color:#fff}@media(max-width:850px){.personal-settings-layout{grid-template-columns:1fr}.settings-sections{flex-direction:row;flex-wrap:wrap}.calendar-day{min-height:75px;padding:4px}.calendar-weekday{padding:6px;font-size:12px}}@media(max-width:480px){.network-calendar{grid-template-columns:repeat(7,minmax(36px,1fr))}.calendar-day button{font-size:11px;padding:2px}.personal-settings-layout{gap:18px}}
