:root{--navy:#100f22;--ink:#25243a;--muted:#706f7a;--mint:#100f22;--mint-light:#e7effc;--line:#e3e2e6;--bg:#edebe5}body{font-family:Arial,sans-serif}#root{display:flex;width:100%;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}.sidebar{width:268px;position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--navy);padding:30px 16px 20px}.brand{padding:0 12px 30px}.brand-mark{background:#100f22}.brand small{color:#a6a5b6}.sidebar nav{display:grid;gap:3px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:0;background:transparent;color:#c8c7d2;border-radius:7px;padding:12px;font-size:13px}.nav-item>span{width:19px;font-size:18px}.nav-item b{font-size:11px;font-weight:500;margin-left:auto;color:inherit}.nav-item:hover{background:#252439}.nav-item.active{background:#292941!important;color:#fff!important}.nav-item.active>span{color:#fdd041}.nav-label{color:#868495;padding-top:27px}.categories{display:grid}.categories .nav-item{font-size:12px;padding:10px 12px;gap:10px}.dot{flex-shrink:0}.color-0{background:#fdd041}.color-1{background:#c1b58b}.color-2{background:#edebe5}.color-3{background:#9f9fa7}.sidebar-bottom{margin-top:30px;padding:20px 8px 0;gap:10px;border-color:#333145;color:#e4e3eb}.sidebar-bottom .avatar{margin:0;flex-shrink:0}.sidebar-bottom strong{font-size:12px;display:block}.sidebar-bottom small{display:block;font-size:10px;margin-top:4px;color:#9694a8}.sidebar-bottom button{margin-left:auto;background:none;border:0;color:#c8c7d2;font-size:22px}.avatar{background:#f4e7b4;color:#100f22}.topbar{height:76px;padding:0 42px}.access-badge{color:#6c788d;font-size:11px}.access-badge:first-letter{color:#100f22}.content{max-width:1420px;padding:44px 42px 70px}.eyebrow{font-size:10px;color:#100f22}.welcome h1{font-family:Arial,sans-serif;font-size:34px;font-weight:700;letter-spacing:-1.2px}.welcome{margin-bottom:28px}.welcome p{line-height:1.6}.primary{background:#100f22;box-shadow:0 4px 14px #100f221a}.search input{font-family:Arial,sans-serif}.search-count{font-size:11px!important;white-space:nowrap;color:#93909f}.section-head h2{font-family:Arial,sans-serif;font-size:18px}.section-head .text-btn{margin-left:auto}.text-btn{border:0;background:transparent;color:#100f22;padding:8px;font-weight:600;font-size:12px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.category-card{text-align:left;min-width:0;padding:20px 16px;min-height:106px}.category-card .card-icon{margin:0;flex-shrink:0}.category-card .card-copy{margin:0;min-width:0}.card-copy strong{display:block;font-size:13px;color:#17172e;line-height:1.4}.card-copy small{display:block;font-size:11px;color:#8b8897;margin-top:6px}.category-card .card-arrow{font-size:18px;color:#aaa8b5}.color-bg-0{background:#fff4c9;color:#776123}.color-bg-1{background:#f2efe4;color:#776d50}.color-bg-2{background:#eeedf0;color:#706f7a}.color-bg-3{background:#edebe5;color:#706f7a}.docs-head{margin-top:35px}#result-count{margin-left:auto;font-size:12px;color:#8b8897}.doc-link{text-decoration:none}.doc-link:hover{text-decoration:underline}td strong{font-family:Arial,sans-serif;line-height:1.4;font-size:12px}td small{font-size:10px}td{font-size:11px;padding:17px 16px}.pdf{background:#eeedf0;color:#706f7a;flex-shrink:0}.category-tag{border:0;background:#f1efe8;color:#706f7a;white-space:nowrap;font-size:10px}.favorite-btn{border:0;background:none;color:#9896a4;font-size:21px}.favorite-btn.is-favorite{color:#9b7600}.empty{background:white;border:1px dashed #d6d3dd;border-radius:10px;padding:32px;text-align:center;color:#8b8897}.empty>span{font-size:30px;color:#100f22}.empty h3{color:#353346;font-size:15px}.empty p{font-size:12px}.gate{width:min(440px,calc(100% - 32px));margin:auto;padding:36px;background:#fff;border:1px solid #dedde0;border-radius:14px}.gate p{line-height:1.6}label{display:block;margin:20px 0;font-size:13px}label input,label select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #d8d5de;border-radius:6px;background:#fff;color:#25243a}.modal-card{max-height:90vh;overflow:auto}.admin{margin-top:12px}.admin h2{font-size:24px;letter-spacing:-.6px}.admin-note{line-height:1.7;color:#817d8d;background:#edeaf2;padding:16px;border-radius:8px;font-size:12px}.user-row{display:flex;align-items:center;gap:20px;padding:20px;background:white;border-bottom:1px solid #e3e2e6}.user-row>div{flex:1}.user-row small{display:block;margin-top:6px;color:#777486}.user-row>span{font-size:12px}.customer-controls{display:flex;gap:18px;align-items:end}.customer-controls label{flex:1}.customer-controls .primary{margin-bottom:20px}.customer-controls select{min-width:110px}#location-status{font-size:12px;color:#858190;margin:22px 0}#feedback,.upload-error{color:#a04430;line-height:1.5}a{color:#100f22}:focus-visible{outline:3px solid #fdd041;outline-offset:3px}@media(min-width:1500px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.sidebar{width:230px}.content{padding:30px 24px}.topbar{padding:0 24px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-wrap{overflow:auto}table{min-width:620px}}@media(max-width:640px){#root{flex-direction:column}.sidebar{display:block;position:static;width:100%;height:auto;padding:16px}.brand{padding:0 0 18px}.sidebar nav{display:flex;overflow-x:auto}.sidebar nav .nav-item{width:auto;white-space:nowrap}.sidebar .categories,.sidebar .nav-label,.sidebar-bottom{display:none}.topbar{height:54px;padding:0 16px}.access-badge{display:none}.content{padding:25px 16px}.welcome h1{font-size:28px}.welcome{gap:15px}.category-grid{gap:9px}.category-card{padding:14px 10px;min-height:96px;gap:8px}.card-copy strong{font-size:11px}.card-icon{width:28px;height:32px}.card-arrow{display:none}.customer-controls{flex-direction:column;align-items:stretch;gap:0}.customer-controls label{margin:10px 0}.user-row{flex-wrap:wrap}.gate{margin:35px auto}}

/* Colors sampled from the IBB company page: ink #100f22, sand #edebe5, yellow #fdd041. */
#customer-results .section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0 16px}#customer-results .section-head h2{margin:0}#customer-results .section-head>span{font-size:13px;color:#706f7a}
.primary,.brand-mark{background:#fdd041;color:#100f22;box-shadow:none}.primary:hover{background:#f1c332}.nav-item.active{background:#fdd041!important;color:#100f22!important}.nav-item.active>span{color:#100f22}.access-badge{color:#706f7a}.category-card:hover{border-color:#cbbb79}.doc-link{color:#100f22}.avatar{background:#edebe5;color:#100f22}

.customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:18px}.customer-card{background:#fff;border:1px solid #dedbd3;border-radius:12px;padding:22px;min-width:0;overflow-wrap:anywhere}.customer-card h3{line-height:1.4;margin:16px 0 12px}.customer-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.customer-distance{font-size:13px;font-weight:600;white-space:nowrap}.customer-address{display:block;background:none;border:0;text-align:left;padding:0;color:#100f22;line-height:1.65;text-decoration:underline;cursor:pointer;font:inherit;user-select:text}.customer-map-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.customer-map-links a{border:1px solid #d6d3c9;border-radius:7px;padding:9px 11px;color:#100f22;text-decoration:none;font-size:13px;background:#f8f7f3}.customer-map-links a:hover{background:#fdd041}.customer-contact{line-height:1.7;font-size:14px}.customer-card details{font-size:13px;line-height:1.6}.customer-card summary{cursor:pointer}.customer-notes{white-space:pre-wrap}.customer-edit{padding:10px 0;margin-top:12px;text-align:left}.customer-location{padding:18px 22px;background:#edebe5;border-radius:12px;margin:8px 0 24px}.customer-location .muted{font-size:12px;line-height:1.6}.customer-location #location-status{font-size:14px}.customer-controls{flex-wrap:wrap}.customer-controls label{flex:1;min-width:130px}.customer-import{padding:22px;background:#fff;border-radius:12px;margin-top:24px}.customer-import summary{cursor:pointer}.customer-dialog{border:0;border-radius:14px;padding:24px;width:min(620px,calc(100vw - 28px));max-height:90dvh;color:#100f22;box-sizing:border-box;overflow:auto}.customer-dialog::backdrop{background:#100f2299}.customer-dialog p{line-height:1.6}.customer-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.customer-dialog-head h2{font-size:22px;margin:0}.customer-form label{display:block;margin:16px 0;font-size:13px;font-weight:600}.customer-form input,.customer-form select,.customer-form textarea{box-sizing:border-box;width:100%;display:block;border:1px solid #d6d3dd;border-radius:7px;padding:11px;margin-top:6px;font:inherit;font-size:16px;background:#fff;color:#100f22}.customer-form textarea{resize:vertical}.customer-form p,.customer-form details{font-size:13px}.customer-dialog-actions{display:flex;gap:12px;align-items:center}.customer-dialog [data-status]{color:#795c10}.selectable-address{user-select:text}.customer-dialog a{color:#100f22}#customer-access-open{margin:6px 0 20px}@media(max-width:640px){.customer-location{padding:16px}.customer-grid{grid-template-columns:1fr}.customer-dialog{padding:20px}.customer-controls input,.customer-controls select{font-size:16px}.customer-card{padding:18px}}

.ibb-banner{margin:0 0 30px;border-radius:12px;overflow:hidden;background:#edebe5}.ibb-banner img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover}@media(max-width:640px){.ibb-banner{margin-bottom:24px;border-radius:8px}.ibb-banner img{aspect-ratio:2/1;object-position:center}}

.logout-button,.passkey-login{border:1px solid #d6d3dd;border-radius:7px;padding:10px 15px;background:white;color:#100f22;font-weight:600;font-size:13px}.passkey-login{width:100%;margin-top:15px}.security-card{background:white;border-radius:12px;padding:24px;max-width:720px}.security-card p{line-height:1.6;font-size:14px}.security-card form{max-width:420px}.security-card #passkey-status{color:#66501b}.top-actions{gap:14px}.security-card .user-row{padding:14px 0}@media(max-width:640px){.logout-button{padding:8px 12px}.security-card{padding:18px}}

body.pdf-open{overflow:hidden}.pdf-viewer{position:fixed;inset:0;margin:0;padding:0;border:0;width:100%;max-width:none;height:100dvh;max-height:none;background:#edebe5;color:#100f22}.pdf-viewer[open]{display:flex;flex-direction:column}.pdf-toolbar{display:flex;align-items:center;gap:16px;flex-shrink:0;padding:14px 20px;padding-top:max(14px,env(safe-area-inset-top));background:white;border-bottom:1px solid #d6d3dd}.pdf-toolbar strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.pdf-toolbar button{white-space:nowrap}.pdf-frame{flex:1;min-height:0;width:100%;border:0;background:#edebe5}@media(max-width:640px){.pdf-toolbar{padding:12px;gap:8px;flex-wrap:wrap}.pdf-toolbar strong{order:3;flex-basis:100%;font-size:12px}.pdf-toolbar [data-pdf-close]{margin-left:auto}}

.pdf-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px;background:#edebe5;flex-shrink:0;flex-wrap:wrap}.pdf-controls button{border:1px solid #d6d3dd;background:white;border-radius:6px;padding:8px 12px;font-size:13px}.pdf-controls span{font-size:13px}.pdf-pages{flex:1;min-height:0;overflow:auto;padding:12px;background:#727176;text-align:center;-webkit-overflow-scrolling:touch}.pdf-pages canvas{display:block;margin:auto;background:white;box-shadow:0 2px 10px #0003}.pdf-error{background:white;color:#902b23;margin:0}.pdf-error:not(:empty){padding:20px}@media(max-width:640px){.pdf-controls{gap:6px}.pdf-controls button{padding:8px;font-size:12px}}
