:root{font-family:system-ui,sans-serif;color:#16344d;background:#f3f8fb;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#082144;color:white;padding:18px 5%;display:flex;justify-content:space-between;align-items:center;gap:16px}header a{display:flex;gap:10px;align-items:center;color:white;font-size:25px;text-decoration:none;font-weight:700}header img{width:40px;height:40px}header span{font-size:13px;color:#bceaf5}main{max-width:1180px;margin:auto;padding:28px 24px}h1{font-size:30px;margin:4px 0 12px}h2{font-size:20px;margin-top:0}.eyebrow{color:#29819e;font-size:12px;letter-spacing:2px;font-weight:700}.muted{color:#587486;line-height:1.5}#auth{max-width:480px;margin:20px auto;background:white;border:1px solid #d5e4ec;border-radius:16px;padding:30px}label{display:block;margin:14px 0;font-weight:600;font-size:14px}input,select{display:block;width:100%;padding:12px;border:1px solid #b9cfdd;border-radius:7px;margin-top:6px;font:inherit;font-size:16px}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #087f9a;border-radius:7px;background:#087f9a;color:white;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}button:disabled{opacity:.55;cursor:wait}.secondary{background:white;color:#16344d;border-color:#b9cfdd}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}article{background:white;border:1px solid #d5e4ec;border-radius:12px;padding:22px;margin:18px 0}.grid article{margin-bottom:0}.heading,.actions{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}#notice:not(:empty){background:#fff4d6;border:1px solid #edd68f;padding:12px;border-radius:8px;margin-bottom:14px;white-space:pre-wrap}.scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th,td{padding:12px;border-bottom:1px solid #e3edf3}th{background:#f4f8fb;font-size:13px}fieldset{border:1px solid #d5e4ec;border-radius:8px}.check{display:flex;gap:10px;align-items:center;font-weight:400}.check input{width:auto;margin:0}.entity{padding:10px 0;border-bottom:1px solid #e3edf3}a{color:#087f9a}#audit{padding-left:20px;font-size:14px;line-height:1.7}dialog{border:1px solid #b9cfdd;border-radius:14px;padding:26px;width:min(520px,94vw);max-height:90dvh;overflow:auto}dialog::backdrop{background:#08214488}[hidden]{display:none!important}:focus-visible{outline:3px solid #28b9d6;outline-offset:3px}@media(max-width:700px){.grid{grid-template-columns:1fr;gap:0}main{padding:16px}#auth{padding:22px;margin:0}header{padding:12px 16px;flex-wrap:wrap}.heading h1{font-size:26px}article{padding:16px}}
#import-local{margin:10px 10px 10px 0}#password-help{font-size:13px;color:#587486}

/* Sentence case for interface labels; never transform account data. */
.eyebrow,thead th,nav a,nav button{ text-transform:lowercase }
.eyebrow::first-letter,thead th::first-letter,nav a::first-letter,nav button::first-letter{ text-transform:uppercase }

/* Shared contact roles: letters carry meaning independently of color. */
.contact-letter{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;margin:0 3px 0 0;border:1px solid currentColor!important;border-radius:5px!important;font:700 13px/1 system-ui!important;text-decoration:none;vertical-align:middle;box-shadow:none!important;flex-shrink:0}
button.contact-letter{cursor:help}button.contact-letter:focus-visible{outline:2px solid #263e55;outline-offset:3px}.contact-letter-organization{color:#195a9b!important;background:#dfedff!important}.contact-letter-customer{color:#23713c!important;background:#e1f3e5!important}.contact-letter-supplier{color:#ae3035!important;background:#fbe3e5!important}.contact-letter-user{color:#995000!important;background:#ffecd5!important}.contact-types{display:inline-flex;flex-direction:row;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap;width:max-content}.contact-letter-hint{position:fixed;z-index:100000;max-width:240px;padding:7px 11px;border-radius:5px;background:#172d45;color:#fff;box-shadow:0 3px 12px #0002;font:13px/1.4 system-ui;pointer-events:none}

.contact-types>.contact-letter{margin:0;flex-shrink:0}.client-card>.eyebrow:has(.contact-letter){display:flex;align-items:center;flex-wrap:nowrap;gap:4px;white-space:nowrap}

.contact-letter-unknown{color:#111!important;background:#fff!important;border-color:#111!important;width:30px!important;min-width:30px!important;font-size:11px!important;cursor:pointer!important}
.contact-letter-self_employed{color:#195a9b!important;background:#dfedff!important}
#organization-identity-type{display:inline-flex;align-items:center;gap:6px;margin:6px 0;font-size:13px}
