/* Trisend workspace — shared surfaces and responsive account selection. */
:root{--navy:#102a43;--ink:#182e43;--green:#15785d;--mint:#e6f4ee;--bg:#f4f6f9;--line:#e1e7ed;--muted:#687887}
body{background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100dvh}
body>.shell{min-height:calc(100dvh - 88px);display:flex;flex-direction:column}.shell>main{width:100%;flex:1;padding-top:38px;padding-bottom:48px}
h1,h2,h3,.page-top h1{font-family:'Overpass',Arial,sans-serif;letter-spacing:-.035em;font-weight:700}.page-top h1{font-size:34px;line-height:1.2;margin-bottom:9px}h2{font-size:23px}h3{font-size:19px}.page-top p{font-size:15px;line-height:1.6}
aside{min-height:88px;padding:16px max(28px,calc((100vw - 1320px)/2));grid-template-columns:260px minmax(0,1fr);gap:22px;background:#0d2235;border-bottom:1px solid #ffffff12}.brand{display:flex!important;align-items:center;gap:20px;width:auto!important;max-width:none;text-decoration:none;color:white;letter-spacing:-.8px}aside .brand .official-logo{width:124px!important;flex-shrink:0}.product-wordmark{font-size:24px;border-left:1px solid #ffffff2b;padding-left:20px;line-height:1.1;white-space:nowrap}.brand .product-wordmark small{display:block;text-align:left;font-size:8px;letter-spacing:1.7px;color:#94b2bd;margin-top:7px;font-weight:500}#navigation{gap:3px}#navigation button{border-radius:7px;color:#bacbd6;padding:11px 9px;font-size:.8rem;transition:background .15s,color .15s}#navigation button:hover{background:#ffffff0c;color:white;filter:none}#navigation button.active{background:#ffffff12;color:#99dfbd;box-shadow:inset 0 -2px #76caa4}
.shell>header{background:#fff;border-bottom:1px solid var(--line);padding:12px max(28px,calc((100vw - 1250px)/2));min-height:62px;color:#546b7e}.workspace-context{display:flex;align-items:center;gap:9px;min-width:0}.context-dot{display:block;width:7px;height:7px;background:#219472;border-radius:50%;padding:0;flex-shrink:0}#identity{color:#526779;font-size:13px;font-weight:500}#install-app{border:1px solid #dce5eb;background:#fff;color:#415b70;font-size:12px;border-radius:7px;padding:8px 13px;min-height:36px}
.card,.note,.stat{border-radius:12px;border-color:var(--line);box-shadow:0 2px 4px #152e4503}.card-heading{background:#fcfdfe}.summary{border-radius:12px;border-top-width:3px}.primary{background:#15785d;color:#fff;border-color:#15785d;border-radius:8px;font-size:14px}.primary:hover{background:#10634d;filter:none}.secondary{border-radius:8px;border-color:#d4dee6;color:#3d566b;background:#fff}.secondary:hover{background:#f4f7fa;filter:none}.text-button{color:#19795f}.pill{border-radius:6px;font-size:12px;padding:6px 9px}input,select,textarea{border-radius:7px;border-color:#d5dfe7;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #279a79;outline-offset:1px}.field{font-size:13px;color:#385066}.customer-card h2{font-size:20px}.customer-card .customer-actions button{font-size:13px}.customer-card dl{gap:24px}.customer-card dt{font-size:12px}.customer-card dd{font-size:14px}dialog{border:1px solid #e0e8ed;border-radius:16px;box-shadow:0 30px 100px #102a4340}.modal-top h2{font-size:23px}dialog::backdrop{background:#102a4375;backdrop-filter:blur(3px)}.modal-top .close{color:#607589;border-radius:50%;width:40px;height:40px;font-size:25px}.modal-top .close:hover{background:#f0f4f7}.quote-error:empty{display:none}.auth-card{margin:32px auto;border-radius:16px;box-shadow:0 14px 50px #102a430a}.auth-card h1{font-size:32px;letter-spacing:-1px}.auth-card .card-body{padding:32px}
footer{background:transparent;color:#718392;border-top:1px solid var(--line);font-size:11px;padding:22px max(28px,calc((100vw - 1250px)/2))}
body[data-view=companies] .shell>main{max-width:1200px;padding:50px 32px 40px}.workspace-intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:2px 0 40px}.section-eyebrow{display:block;font-size:10px;line-height:1.5;letter-spacing:1.8px;font-weight:700;color:#198265;margin-bottom:14px}.workspace-intro h1{font-size:clamp(30px,3.4vw,43px);line-height:1.15;letter-spacing:-1.6px;margin:0 0 16px}.heading-dot{color:#20906f}.workspace-intro p{font-size:15px;color:#6b7b88;line-height:1.75;margin:0}.workspace-emblem{display:flex;align-items:center;gap:18px;padding:24px;color:#6c8794}.workspace-emblem svg{width:56px;height:56px;stroke:#2e9278;stroke-width:1}.workspace-emblem span{font-size:13px;font-weight:500;max-width:100px;line-height:1.6}.accounts-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding-top:24px;border-top:1px solid #dfe6ec}.accounts-toolbar h2{display:flex;align-items:center;gap:10px;font-size:18px;margin:0;letter-spacing:-.4px}.account-count{display:grid;place-items:center;font-size:11px;font-weight:600;background:#e7edf2;color:#536c7e;min-width:25px;height:25px;border-radius:7px}.accounts-toolbar p{font-size:12px;color:#7b8c99;margin:6px 0 0}.account-search{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:8px;padding:0 12px;gap:8px}.account-search svg{width:17px;height:17px;color:#8799a6}.account-search input{border:0;margin:0;background:transparent;min-height:40px;font-size:13px;width:190px;padding:8px 3px}.account-search:focus-within{outline:2px solid #279a79}.account-search input:focus{outline:none}
.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-tile{--tile-tint:#edf6f1;--tile-ink:#28856b;display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;background:#fff;border:1px solid #dfe6ed;border-radius:14px;padding:25px 24px 0;color:var(--ink);box-shadow:0 3px 7px #102a4303;transition:border-color .18s,transform .18s,box-shadow .18s;overflow:hidden;min-height:260px}.account-tone-1{--tile-tint:#edf3fa;--tile-ink:#4d7ea5}.account-tone-2{--tile-tint:#f9f3e8;--tile-ink:#a1834e}.account-tile:hover{filter:none;border-color:#78b69f;box-shadow:0 10px 26px #173c5510;transform:translateY(-3px)}.account-tile:focus-visible{outline:3px solid #238c70;outline-offset:4px}.account-tile-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:25px}.company-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--tile-tint);color:var(--tile-ink);flex-shrink:0}.company-symbol svg{width:25px;height:25px}.company-code{font-size:10px;letter-spacing:.6px;color:#7f909c;font-weight:600;overflow-wrap:anywhere;text-align:right}.company-name{display:block;font-size:20px;line-height:1.35;font-weight:700;letter-spacing:-.45px;overflow-wrap:anywhere;margin-bottom:11px}.company-access{display:flex;align-items:center;gap:7px;font-size:11px;color:#738491;margin-bottom:27px}.company-access:before{content:'';width:5px;height:5px;border-radius:50%;background:#8aa598}.account-tile-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;border-top:1px solid #edf1f4;min-height:64px;font-size:12px;font-weight:600;color:#536c7d;gap:12px}.account-arrow{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f2f6f8;color:#375a6f;transition:background .15s,color .15s}.account-arrow svg{width:16px;height:16px}.account-tile:hover .account-arrow{background:#16785d;color:white}
.workspace-guide{margin-top:38px;border:1px solid #dfe6ec;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 28px;background:#edf2f6}.guide-caption .section-eyebrow{font-size:9px;color:#6f8695;margin-bottom:6px;letter-spacing:1.4px}.guide-caption p{font-size:14px;font-weight:600;color:#405d71;margin:0}.guide-steps{display:flex;align-items:center;gap:40px}.guide-step{display:flex;align-items:center;gap:10px;color:#3c5d72}.guide-step>svg{width:24px;height:24px;stroke-width:1.3;color:#74909e}.guide-step>span{font-size:12px;line-height:1.3;font-weight:600}.guide-step small{display:block;font-size:9px;line-height:1.5;font-weight:400;color:#8c9fab}.workspace-signin{display:flex;justify-content:space-between;gap:16px;margin-top:23px;font-size:11px;color:#8b99a4;line-height:1.6}.workspace-signin strong{color:#647b8b;font-weight:500;overflow-wrap:anywhere}
@media(max-width:1200px){aside{grid-template-columns:1fr auto;padding:16px 24px;gap:0 20px}.brand{justify-self:start}aside.menu-open #navigation:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}#navigation button.active{background:#1f423f;color:#a3e4c2;box-shadow:none}#nav-toggle{background:transparent;border-color:#365064;border-radius:8px}#navigation button{background:#152e42}#navigation{border-color:#2b4051}}
@media(max-width:900px){.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-guide{align-items:flex-start;flex-direction:column;gap:20px}.guide-steps{justify-content:space-between;width:100%;gap:20px}.workspace-emblem{display:none}}
@media(max-width:650px){aside{padding:16px 18px;min-height:78px}.brand{gap:13px}aside .brand .official-logo{width:104px!important}.product-wordmark{font-size:21px;padding-left:13px}.brand .product-wordmark small{font-size:6px;letter-spacing:1.2px}#nav-toggle{padding:9px 10px;font-size:12px}aside.menu-open #navigation:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}.shell>header{padding:10px 18px!important;min-height:56px}body[data-view=companies] .shell>main{padding:30px 20px 32px!important}.workspace-intro{padding:4px 0 28px}.workspace-intro h1{font-size:31px;letter-spacing:-1px;margin-bottom:12px}.workspace-intro p{font-size:13px;line-height:1.8}.section-eyebrow{font-size:9px;margin-bottom:12px}.accounts-toolbar{padding-top:20px;margin-bottom:18px;align-items:flex-start;flex-direction:column}.accounts-toolbar h2{font-size:17px}.account-search{width:100%}.account-search input{width:100%}.account-grid{grid-template-columns:1fr;gap:15px}.account-tile{min-height:0;padding:20px 22px 0;border-radius:12px}.account-tile-top{margin-bottom:16px}.company-symbol{width:40px;height:40px;border-radius:10px}.company-symbol svg{width:22px;height:22px}.company-name{font-size:20px;margin-bottom:8px}.company-access{margin-bottom:18px}.account-tile-footer{min-height:55px}.workspace-guide{margin-top:25px;padding:22px;gap:22px}.guide-steps{display:grid;grid-template-columns:1fr 1fr;gap:22px 30px}.workspace-signin{flex-direction:column;gap:5px;font-size:10px}.page-top h1{font-size:29px}.shell>main{padding-top:28px!important}.auth-card .card-body{padding:26px!important}footer{padding:20px;gap:6px;font-size:10px}dialog{border-radius:12px}.modal-top h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.account-tile,.account-arrow{transition:none}.account-tile:hover{transform:none}}

/* Keep item instructions outside the six cargo fields and the remove action. */
.cargo-row{grid-template-columns:minmax(0,1.3fr) repeat(5,minmax(0,1fr)) 44px;gap:12px;align-items:end;margin-bottom:20px}
.cargo-row>.cargo-help{grid-column:1/-1;margin:0;line-height:1.5}
.cargo-row>label,.cargo-row .item-tools,.cargo-row .item-tools label{min-width:0}
.cargo-row input,.cargo-row select{width:100%;min-width:0}
.cargo-row>.remove{width:44px;min-height:44px;margin:0;justify-self:end}
@media(max-width:1100px){.cargo-row{grid-template-columns:repeat(3,minmax(0,1fr))}.cargo-row>.remove{grid-column:-2/-1}}
@media(max-width:650px){.cargo-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cargo-row>.remove{grid-column:-2/-1}}
