/* Local system fonts: native on Apple, familiar and readable on Windows. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#252b32;background:#f5f5f7;--accent:#14796d;--border:#e0e2e5}
body>header{height:72px;padding:0 28px;background:#fafafc;color:#252b32;border-bottom:1px solid var(--border);align-items:center;position:relative;z-index:30;flex-direction:row}
header strong{font-size:19px;letter-spacing:-.5px;white-space:nowrap}header span{color:#737980;font-size:14px}#account{display:flex;align-items:center;gap:12px}
main{max-width:1160px;margin:36px auto;padding:0 32px}.workspace main{max-width:none;margin:0 0 0 264px;padding:32px 40px;min-height:calc(100vh - 150px)}
h1{font-size:28px;letter-spacing:-.7px;font-weight:650}h2{font-size:20px;letter-spacing:-.3px;font-weight:600}p{color:#606973}.card{border:1px solid var(--border);border-radius:14px;box-shadow:0 2px 6px #17263203;padding:24px;margin:20px 0}.narrow{margin:48px auto;max-width:470px;padding:32px}.page-heading{margin-bottom:24px}.page-heading p{margin:8px 0}.breadcrumb{font-size:12px;color:#737980}.workspace-sidebar{position:fixed;top:72px;bottom:0;left:0;width:264px;overflow-y:auto;padding:24px 16px;background:#eef0f3;border-right:1px solid var(--border);z-index:20}.workspace-caption{font-size:10px;letter-spacing:1.1px;font-weight:700;padding:0 12px;margin:0 0 12px}.workspace-context{font-size:15px;font-weight:600;padding:0 12px;color:#303940;margin:0 0 28px}.workspace-sidebar select{font-size:14px;margin-bottom:18px}.workspace-sidebar details{margin:0 0 22px}.workspace-sidebar summary{cursor:pointer;color:#626a75;font-size:12px;font-weight:600;padding:8px 12px;min-height:36px}.workspace-sidebar nav{display:flex;flex-direction:column;gap:4px;margin:4px 0}.workspace-sidebar nav button{text-align:left;margin:0;border:0;background:transparent;font-size:14px;padding:11px 16px;min-height:44px;border-radius:8px;color:#3f4853}.workspace-sidebar nav button.active{background:#d7eae5;color:#075d52;font-weight:600;box-shadow:inset 3px 0 #14796d}.workspace-sidebar nav button:hover{background:#e2e5e9;filter:none}.sidebar-note{font-size:12px;line-height:1.5;padding:16px 12px;border-top:1px solid #d9dde2;margin-top:28px}
button{border-color:#d5d9dd;box-shadow:0 1px 2px #19242d06;font-size:14px;border-radius:8px;min-height:44px}button.primary{background:var(--accent);border-color:var(--accent)}input,select{border-color:#d5d9dd;border-radius:8px;font-size:15px}input:disabled,select:disabled{background:#f3f4f6;color:#67717a}label{font-weight:550;color:#48515b}fieldset{border-color:var(--border);padding:18px}legend{font-weight:600;font-size:15px}th{text-transform:none;font-size:12px;background:#f7f8fa;color:#596570}td{font-size:14px}tbody tr:last-child td{border-bottom:0}dialog{border-color:var(--border);box-shadow:0 24px 80px #17263230;border-radius:16px}dialog::backdrop{background:#17263255}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #247fbb;outline-offset:3px}.profile-menu{position:relative}.profile-menu summary{list-style:none;cursor:pointer;padding:12px 16px;background:#edf0f3;border-radius:24px;color:#3b4652;font-size:13px}.profile-menu summary:after{content:" ▾"}.profile-menu>div{position:absolute;right:0;top:48px;width:240px;background:white;border:1px solid var(--border);border-radius:12px;padding:8px;box-shadow:0 12px 35px #17263220}.profile-menu button{display:block;width:100%;margin:0;border:0;text-align:left;box-shadow:none}.menu-toggle{display:none}.workspace footer{margin-left:264px;font-size:12px;color:#7b838a}.workspace #notice:not(:empty){margin-bottom:20px}.workspace .toolbar{flex-wrap:wrap}#view form{max-width:100%}
@media(max-width:900px){.workspace main{margin-left:232px;padding:24px}.workspace-sidebar{width:232px}.workspace footer{margin-left:232px}body>header{padding:0 20px}header strong span{display:none}}
@media(max-width:680px){body>header{height:64px;padding:0 14px;gap:8px}header strong{font-size:18px}.profile-menu summary{font-size:12px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace main{margin:0;padding:20px 14px}.workspace footer{margin-left:0}.workspace-sidebar{display:none;top:64px;width:min(300px,90vw);box-shadow:15px 0 40px #17263220}.menu-open .workspace-sidebar{display:block}.menu-toggle{display:block;margin:0}.card{padding:18px}.narrow{padding:24px;margin:24px auto}main{padding:0 14px}h1{font-size:24px}.profile-menu>div{width:220px}.workspace-sidebar nav{display:flex}.workspace .toolbar{align-items:stretch}.workspace .toolbar button{width:auto}.workspace-sidebar select{max-width:100%}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .12s ease,box-shadow .12s ease}}

[hidden]{display:none!important}.company-tabs{display:flex;gap:4px;background:#eceef1;padding:4px;border-radius:10px;width:fit-content;max-width:100%;flex-wrap:wrap}.company-tabs button{margin:0;border:0;background:transparent;color:#58616c;box-shadow:none}.company-tabs button.active{background:white;color:#185c53;box-shadow:0 1px 4px #18252f18}.page-heading h1:focus{outline:none}

.source-dialog{max-width:1000px}.source-dialog pre{max-height:420px;overflow:auto}.source-dialog details{margin:16px 0}.source-dialog summary{cursor:pointer;padding:12px;background:#eef1f4;border-radius:8px}

.offer-dialog{max-width:calc(100vw - 32px);width:1400px}.offer-dialog .table-wrap{max-height:55vh;overflow:auto}.offer-dialog td input{min-width:120px}.offer-dialog th{position:sticky;top:0}.offer-dialog td:nth-child(4) input,.offer-dialog td:nth-child(8) input{min-width:220px}

.offer-dialog>details>pre{max-height:300px;overflow:auto}.offer-dialog>details>summary{cursor:pointer;padding:12px;background:#edf0f3;border-radius:8px}

.flow-steps{display:flex;gap:12px;list-style:none;padding:0;margin:0 0 28px;counter-reset:step}.flow-steps li{flex:1;font-size:14px;color:#717982;padding:14px 16px;background:#f2f3f5;border-radius:10px}.flow-steps .current{background:#dfefe9;color:#135f53;font-weight:650;box-shadow:inset 0 -3px #14796d}.flow-steps .done{color:#38675e}.flow-form{max-width:560px}.flow-details{margin:24px 0;border-top:1px solid #e4e7eb;padding-top:14px}.flow-details summary{cursor:pointer;font-size:15px;color:#4c626c;padding:8px 0}.flow-details pre{max-height:300px;overflow:auto;font-size:13px}.flow-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;max-width:900px}.flow-mapping>pre,.flow-mapping>p{grid-column:1/-1}.flow-summary{font-size:17px;font-weight:600;color:#24493f;background:#edf4f0;padding:16px;border-radius:10px}.flow-actions{position:sticky;bottom:12px;display:flex;justify-content:flex-end;gap:12px;background:#ffffff;border:1px solid #e0e4e8;padding:12px 16px;border-radius:12px;box-shadow:0 5px 24px #1f333414;z-index:5}.flow-actions button{margin:0}.flow-editor{padding:24px;border:1px solid #afcfc5;border-radius:12px;background:#f6faf8;margin:24px 0}.flow-editor:focus-within{border-color:#14796d}@media(max-width:680px){.flow-steps{gap:6px}.flow-steps li{padding:10px 8px;font-size:12px}.flow-mapping{grid-template-columns:1fr}.flow-actions{position:static;flex-direction:column}.flow-editor{padding:16px}}

.flow-example{grid-column:1/-1;min-width:0}.flow-example pre{max-width:100%;overflow:auto}
.mail-client-layout{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);gap:24px;margin-top:20px}.mail-thread-list{border-right:1px solid #dce3ea;padding-right:18px}.mail-thread-button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:7px;margin-bottom:10px;padding:14px;white-space:normal;overflow-wrap:anywhere}.mail-thread-button.unread{background:#eaf3ff;border-color:#9ebcde}.mail-thread-button span,.mail-thread-button small{font-weight:400;color:#506279}.mail-thread-detail{min-width:0}.mail-message{padding:18px 0;border-top:1px solid #dce3ea;margin-top:18px}.mail-message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.6;max-height:600px;overflow:auto}.mail-attachments{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.mail-client .toolbar{flex-wrap:wrap}.mail-thread-detail form{padding:14px 0}.mail-client h2,.mail-client h3{overflow-wrap:anywhere}@media(max-width:850px){.mail-client-layout{grid-template-columns:1fr}.mail-thread-list{border-right:0;border-bottom:1px solid #dce3ea;padding-right:0;padding-bottom:16px}}
