:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#18283d;background:#f3f6fa;font-size:16px;line-height:1.5;--blue:#176ed0;--border:#dbe3ed}*{box-sizing:border-box}body{margin:0}a{color:#1768bd;text-underline-offset:3px}button,input,select{font:inherit}header{min-height:80px;display:flex;align-items:center;gap:24px;padding:16px 36px;background:white;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:750;color:#132d4d;text-decoration:none;white-space:nowrap}.brand img{width:44px;height:44px}.domain,.muted,.hint,.small{color:#65758b}.domain{font-size:14px}.who{margin-left:auto;display:flex;flex-direction:column;font-size:14px}.who span{font-size:12px;color:#65758b}header form{margin:0}.shell{display:flex;max-width:1440px;margin:auto}nav{width:235px;flex-shrink:0;padding:32px 18px;display:flex;flex-direction:column;gap:8px}nav a{text-decoration:none;color:#42566f;padding:12px 16px;border-radius:10px;font-weight:600;display:flex;align-items:center;gap:8px}.selected{background:#e2edfc;color:#125fb6}main{flex:1;min-width:0;padding:36px;max-width:1200px}.auth{max-width:560px;margin:24px auto;padding:24px}.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px;margin-bottom:22px;box-shadow:0 3px 12px #1c355005}h1{font-size:30px;line-height:1.2;letter-spacing:-.6px;margin:4px 0 12px}h2{font-size:20px;line-height:1.35;margin:0 0 10px;overflow-wrap:anywhere}p{margin:10px 0 16px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#1768bd;font-weight:750;margin:0 0 12px}.heading{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:22px}.heading.compact{margin-bottom:6px}.heading h2{margin:0}.counter{padding:10px 15px;border-radius:12px;background:#e4edfa;color:#27598e;font-weight:650;white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:20px;margin-bottom:24px}.grid .card{margin-bottom:0}.mail-icon{font-size:26px;color:var(--blue);background:#eaf2fd;width:48px;height:48px;text-align:center;border-radius:12px;margin-bottom:18px}.mailbox h2{font-size:18px}.mailbox details{margin-top:20px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin:16px 0}input,select{padding:11px 12px;border:1px solid #c7d2e1;border-radius:8px;min-width:0;width:100%;background:#fff;color:#20314b;min-height:46px}input:focus,select:focus{outline:3px solid #d9eaff;border-color:var(--blue)}input[type=checkbox]{min-height:0;width:18px;height:18px;margin:0;flex-shrink:0}.check{flex-direction:row;align-items:flex-start;font-weight:400;gap:10px}.check input{margin-top:2px}.consent{font-size:13px;line-height:1.6}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #c9d6e5;border-radius:9px;padding:10px 16px;background:#fff;color:#1b548f;font-weight:650;text-decoration:none;cursor:pointer;max-width:100%}button:hover,.button:hover{background:#eef5fd}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover{background:#115cab}.full{width:100%;margin-top:8px}.quiet{background:transparent;border-color:transparent}.row{display:flex;gap:10px;flex-wrap:wrap}.pending{display:flex;justify-content:space-between;align-items:center;gap:20px;border-left:4px solid #176ed0}.badge,.pill{display:inline-block;background:#edf3fb;color:#27598e;font-size:12px;border-radius:20px;padding:4px 10px}.badge{background:#e0ebff}.pill{max-width:260px;text-align:center}.role-form{display:grid;grid-template-columns:minmax(180px,2fr) minmax(95px,1fr) auto;gap:15px;align-items:end}.role-form button{margin-bottom:16px}.hint,.small{font-size:13px;line-height:1.6}.notice,.error{padding:16px 20px;border-radius:12px;margin-bottom:22px;overflow-wrap:anywhere}.notice{background:#e4f4eb;border:1px solid #bfdecb;color:#1e643b}.error{background:#fff0ee;border:1px solid #ebc3bd;color:#a52d20}details summary{cursor:pointer;font-weight:650;color:#255a91;padding:2px 0}details[open] summary{margin-bottom:15px}.narrow{max-width:650px}.add{max-width:850px}footer{padding:15px 0;color:#718299;font-size:12px}.audit p{font-size:13px;overflow-wrap:anywhere}.audit time{color:#718299;margin-right:12px}.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media(max-width:900px){header{padding:14px 20px;gap:14px}.domain{display:none}nav{width:205px;padding:24px 12px}main{padding:26px 20px}.role-form{grid-template-columns:1fr 100px}.role-form button{grid-column:1/-1;margin-bottom:0}}@media(max-width:650px){header{flex-wrap:wrap;padding:12px 16px;gap:10px;min-height:70px}.brand{font-size:19px}.brand img{width:36px;height:36px}.who{font-size:12px}.who span{max-width:125px;font-size:10px}.shell{display:block}nav{width:100%;flex-direction:row;flex-wrap:wrap;padding:12px 10px;gap:3px;border-bottom:1px solid var(--border)}nav a{padding:8px 10px;font-size:12px}main{padding:22px 14px}.auth{padding:0 14px;margin:24px auto}.card{padding:21px;border-radius:13px}h1{font-size:25px}.heading{gap:10px;align-items:flex-start}.heading.compact{flex-wrap:wrap}.heading .muted{font-size:14px}.pending{display:block}.row{margin-top:16px}.counter{font-size:13px;padding:8px 10px}.grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.role-form{grid-template-columns:1fr}.role-form button{grid-column:auto}.pill{max-width:100%}}
