/* Customer portal: distinct colors for each kind of information. */
.ft-portal{background:#eef3f7;--ink:#16352f;--muted:#5f727b}.ft-portal .shell{margin:0}.ft-portal header{background:#fff;border-bottom:1px solid #d9e5e8;position:relative;z-index:2}.ft-portal main{max-width:1320px;padding-top:24px}.ft-portal h1{letter-spacing:-1.1px}.ft-portal .heading{margin-bottom:22px}.ft-portal .heading p{color:#586e78}.ft-portal .row{gap:10px}.ft-portal .row>button{min-height:46px;box-shadow:0 3px 0 #0a493515}.ft-portal .row .light{background:white;border:1px solid #b9cbd3;color:#244b59}.ft-portal .card{border:1px solid #d5e2e8;border-top:5px solid #2d7dc5;border-radius:18px;box-shadow:0 7px 25px #12344a08;padding:26px}.ft-portal label{color:#254650;font-size:13px;line-height:1.4}.ft-portal input,.ft-portal select{background:#fff;border:2px solid #b9cdd8;min-height:46px;border-radius:10px;box-shadow:0 2px 3px #0b354105}.ft-portal input:hover,.ft-portal select:hover{border-color:#789aab}.ft-portal input:focus,.ft-portal select:focus{outline:3px solid #1597bd40;border-color:#177f9d;outline-offset:1px;box-shadow:0 0 0 5px #d9f1f5}.ft-portal input[type=checkbox]{width:19px;min-height:19px;accent-color:#11644c;vertical-align:middle;margin-right:7px}.ft-portal .formgrid{gap:20px}.ft-portal .auth{border-top-color:#397cc4;background:linear-gradient(180deg,#edf5ff 0,#fff 150px);max-width:680px}.ft-portal .auth .tag{color:#1550a0;background:#dceaff}.ft-portal .notice{background:#fff2cb;color:#775315;border:1px solid #edcf83;border-left:5px solid #e8ac2f;border-radius:12px;font-size:13px}.ft-portal .notice.success{background:#e7f7ed;color:#175b3d;border-color:#a6d9b7;border-left-color:#249660}.ft-portal .notice.error{background:#fff0f0;color:#9a2d36;border-color:#f0b7bf;border-left-color:#d94b61}.ft-portal .offer{border:1px solid #cddfe5;border-left:5px solid #17a082;border-radius:14px;box-shadow:0 4px 14px #12344a05}.ft-portal .price{color:#0d7152}.ft-portal .ft-tone-violet{border-top-color:#8d5acb;background:linear-gradient(130deg,#f5edff,#fff 60%)}.ft-portal .ft-tone-amber{border-top-color:#e7a92e;background:linear-gradient(130deg,#fff5d9,#fff 80%)}.ft-portal .ft-tone-teal{border-top-color:#159d90;background:linear-gradient(130deg,#e6f8f2,#fff 70%)}
.ft-hero{max-width:1232px;margin:26px auto 0;position:relative;overflow:hidden;border-radius:24px;background:#063b2e;border:1px solid #497d45;box-shadow:0 14px 32px #0b3b2a21;isolation:isolate}.ft-hero-image{width:100%;height:auto;display:block;aspect-ratio:2.5;object-fit:cover}.ft-hero-copy{position:absolute;left:3.2%;top:50%;transform:translateY(-50%);width:27%;color:#fff;z-index:1}.ft-hero-kicker{display:inline-block;color:#f6df78;font-size:10px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase;margin:0 0 16px}.ft-hero-copy h2{font-size:clamp(25px,3vw,42px);line-height:1.09;letter-spacing:-1.7px;margin:0 0 16px;color:#fff;text-wrap:balance}.ft-hero-copy h2 span{color:#ffde68}.ft-hero-copy p{font-size:13px;line-height:1.65;color:#d6e8dd;max-width:250px}.ft-hero-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:19px}.ft-hero-chips span{padding:6px 9px;border:1px solid #b0d2ae65;border-radius:99px;color:#f1edc4;background:#06382c65;font-size:10px}
.ft-group{--accent:#257dc2;--soft:#eef6ff;--edge:#b7d8f3;grid-column:1/-1;min-width:0;width:100%;border:1px solid var(--edge);border-left:5px solid var(--accent);border-radius:13px;background:var(--soft);padding:18px;margin:0}.ft-group legend{font-family:Manrope,sans-serif;color:var(--accent);font-weight:800;font-size:12px;padding:6px 10px;background:white;border:1px solid var(--edge);border-radius:8px;letter-spacing:.3px}.ft-group-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.ft-portal .ft-group label{margin:0}.ft-portal .ft-group input,.ft-portal .ft-group select{border-color:var(--edge)}.ft-portal .ft-group input:focus,.ft-portal .ft-group select:focus{border-color:var(--accent)}.ft-group[data-color=teal]{--accent:#087e70;--soft:#e9f8f2;--edge:#afdccc}.ft-group[data-color=violet]{--accent:#7541b5;--soft:#f5effd;--edge:#d8c2ef}.ft-group[data-color=amber]{--accent:#93650d;--soft:#fff7df;--edge:#e9d39b}.ft-group[data-color=rose]{--accent:#ad385e;--soft:#fff0f4;--edge:#ecc0ce}.ft-products{background:#fff2f6;border:1px solid #edc6d3;border-left:5px solid #c54d77;padding:18px;border-radius:13px}.ft-products .product-row:first-child{margin-top:0}.ft-products .product-row{padding-top:15px;border-top:1px dashed #e8b9ca}.ft-products .product-row input{border-color:#e6baca}
.ft-videos{max-width:1232px;margin:12px auto 32px;background:#fff;border:1px solid #d8e3e9;border-radius:22px;padding:28px;box-shadow:0 8px 25px #12344a08}.ft-videos-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.ft-videos-kicker{color:#147e76;font-size:10px;letter-spacing:1.8px;font-weight:800}.ft-videos h2{font-size:26px;margin:7px 0}.ft-videos-head p{color:#5b737b;margin:0;font-size:13px}.ft-videos-controls{display:flex;align-items:center;gap:8px}.ft-videos-controls button{background:#123f34;width:42px;height:42px;padding:0;border-radius:50%;font-size:21px}.ft-videos-controls button:disabled{opacity:.3;cursor:default}.ft-videos-counter{font-size:12px;color:#5c727b;white-space:nowrap;margin-right:8px}.ft-videos-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px)/3);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:3px 1px 14px}.ft-video-card{min-width:0;border:1px solid #d6e4e5;background:#f9fcfb;border-radius:15px;overflow:hidden;scroll-snap-align:start}.ft-video-media{aspect-ratio:16/9;background:linear-gradient(135deg,#123f34,#087b73);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.ft-video-media video,.ft-video-media iframe{width:100%;height:100%;display:block;border:0}.ft-video-play{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:transparent;color:#fff;width:100%;height:100%;padding:20px}.ft-video-play span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#f3dc6f;color:#174d3b;font-size:22px}.ft-video-card h3{font-size:15px;line-height:1.5;padding:16px 18px;margin:0;color:#1b4247}.ft-videos-empty{border:2px dashed #bcd8d2;background:#f0f8f5;border-radius:15px;padding:30px;text-align:center;color:#54736a;grid-column:1/-1}.ft-videos-empty strong{display:block;color:#23594b;font-family:Manrope,sans-serif;font-size:17px;margin-bottom:8px}.ft-videos-empty p{margin:0;line-height:1.6}.ft-portal footer{border-top:1px solid #dae6e6;background:#e9f0f0;color:#55746b}
@media(min-width:1450px){.ft-hero,.ft-videos{max-width:1232px}}@media(max-width:1300px){.ft-hero,.ft-videos{margin-left:25px;margin-right:25px}}@media(max-width:1000px){.ft-hero-copy h2{font-size:30px}.ft-hero-copy p{font-size:11px}.ft-hero-chips{margin-top:10px}.ft-hero-kicker{font-size:9px;margin-bottom:10px}.ft-videos-track{grid-auto-columns:calc((100% - 20px)/2)}}@media(max-width:700px){.ft-hero{margin:16px 16px 0;display:flex;flex-direction:column;border-radius:18px}.ft-hero-copy{position:relative;inset:auto;transform:none;width:auto;padding:24px 24px 0;order:1}.ft-hero-copy h2{font-size:31px;max-width:350px}.ft-hero-copy p{font-size:13px;max-width:100%;margin:10px 0}.ft-hero-copy h2 br{display:none}.ft-hero-image{order:2;width:100%;margin-top:6px}.ft-hero-chips{margin:13px 0 0}.ft-videos{margin:6px 16px 24px;padding:22px 18px}.ft-videos-head{align-items:flex-start;flex-direction:column;gap:14px}.ft-videos h2{font-size:23px}.ft-videos-track{grid-auto-columns:100%}.ft-portal main{padding-top:20px}.ft-portal .card{padding:21px}.ft-portal .heading h1{font-size:26px}.ft-portal .row{gap:8px}.ft-portal .row>button{font-size:12px;padding:12px 13px;min-height:42px}.ft-group{padding:15px}.ft-portal .auth{margin:20px auto}.ft-portal .ft-group-grid,.ft-portal .formgrid{gap:15px}}@media(max-width:520px){.ft-portal .ft-group-grid,.ft-portal .formgrid{grid-template-columns:1fr}.ft-portal header{padding:12px 16px;min-height:70px;height:auto}.ft-portal .account{gap:8px}.ft-portal .brand{font-size:20px}.ft-portal .logo{font-size:24px}.ft-hero-copy h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){.ft-videos-track{scroll-behavior:auto!important}*{animation:none!important;transition:none!important}}
.ft-videos-track:has(>.ft-videos-empty){display:block}
/* Raised field-name badges: readable labels remain linked to their inputs. */
.ft-portal .ft-field-name{--badge-top:#157fbf;--badge-bottom:#075585;--badge-base:#043b61;display:table;max-width:100%;padding:9px 13px;margin:0 0 12px;border:1px solid var(--badge-bottom);border-top-color:#ffffff80;border-radius:9px;background:linear-gradient(160deg,var(--badge-top),var(--badge-bottom));color:#fff;font-size:13px;font-weight:800;line-height:1.4;letter-spacing:.1px;text-shadow:0 1px 1px #0003;box-shadow:0 4px 0 var(--badge-base),0 7px 11px #18374b26,inset 0 1px 0 #ffffff40;overflow-wrap:anywhere}
.ft-portal .ft-field-name[data-tone=violet]{--badge-top:#8952cf;--badge-bottom:#60309d;--badge-base:#401e70}.ft-portal .ft-field-name[data-tone=amber]{--badge-top:#b6760b;--badge-bottom:#8a5404;--badge-base:#5f3902}.ft-portal .ft-field-name[data-tone=rose]{--badge-top:#c44870;--badge-bottom:#9c284e;--badge-base:#6b1834}.ft-portal .ft-field-name[data-tone=teal]{--badge-top:#168677;--badge-bottom:#096457;--badge-base:#05473d}
@media(max-width:520px){.ft-portal .ft-field-name{font-size:12px;padding:8px 11px}}
.ft-portal .ft-brand-image{display:block;width:210px;height:70px;object-fit:contain}.ft-portal header{min-height:90px}@media(max-width:520px){.ft-portal .ft-brand-image{width:160px;height:54px}}

.ft-map-labels{position:absolute;inset:0;width:100%;height:auto;pointer-events:none}.ft-map-labels rect{fill:#082f2b;stroke:#e6c75b;stroke-width:1.5}.ft-map-labels text{font:800 19px Arial,sans-serif;fill:#fff}.ft-states{max-width:1232px;margin:18px auto 0;border:1px solid #d4e2df;background:#fff;border-radius:16px;padding:20px 24px}.ft-states h2{font-size:18px;margin:0 0 5px}.ft-states p{font-size:12px;color:#59736a;margin:0 0 15px}.ft-states ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}.ft-states li{display:flex;align-items:center;gap:8px;font-size:11px;color:#244a42;padding:7px;background:#f0f7f4;border-radius:8px}.ft-states strong{display:grid;place-items:center;min-width:28px;height:25px;background:#155f4d;color:#fff;border-radius:5px;font-size:10px}@media(max-width:1300px){.ft-states{margin-left:25px;margin-right:25px}}@media(max-width:700px){.ft-map-labels{top:auto;bottom:0}.ft-map-labels rect{stroke-width:2}.ft-map-labels text{font-size:21px}.ft-states{margin:14px 16px 0;padding:18px}.ft-states ul{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-states li{font-size:11px}}

/* Full-width compact shipping calculator, including Android touch targets. */
.ft-portal .ft-quote-layout{display:block;max-width:1000px;margin:0 auto}.ft-portal .ft-calculator{padding:22px}.ft-portal .ft-calculator h2{font-size:22px;margin-bottom:14px}.ft-portal .ft-calculator .formgrid{margin-top:0;gap:16px}.ft-calculator .ft-group{padding:14px 16px}.ft-calculator .ft-group-grid{gap:14px}.ft-calculator .ft-group[data-color=amber] .ft-group-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.ft-calculator .ft-group[data-color=amber] label{grid-column:span 3}.ft-calculator .ft-group[data-color=amber] label:nth-child(n+3){grid-column:span 2}.ft-portal .ft-calculator .ft-field-name{margin-bottom:7px;padding:7px 10px}.ft-portal .ft-calculator input{margin-top:4px;font-size:16px;min-height:48px}.ft-portal .ft-calculator button.full{min-height:50px;font-size:15px}
@media(max-width:520px){.ft-portal .ft-calculator{padding:15px 12px;border-radius:14px}.ft-portal .ft-calculator h2{font-size:20px}.ft-calculator .ft-group{padding:10px}.ft-calculator .ft-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ft-calculator .ft-group legend{font-size:11px;padding:5px 7px}.ft-portal .ft-calculator .ft-field-name{font-size:11px;min-height:42px;display:flex;align-items:center;padding:6px 7px;border-radius:7px}.ft-portal .ft-calculator input{padding:10px 7px}.ft-portal .ft-calculator .formgrid{gap:12px}}

/* Title placed inside the illustrated São Paulo map; no separate text block. */
.ft-hero{max-width:1000px;margin-top:18px}.ft-hero-copy{left:34%;top:62%;width:27%;padding:10px 12px;transform:translateY(-50%);text-align:center;background:#073c32ed;border:1px solid #ecd36d;border-radius:12px;box-shadow:0 4px 12px #0004}.ft-hero-kicker{font-size:9px;margin:0 0 5px;letter-spacing:2px}.ft-hero-copy h2{font-size:clamp(16px,2.4vw,27px);letter-spacing:-.6px;line-height:1.12;margin:0}.ft-hero-copy h2 span{display:block}.ft-hero-copy p,.ft-hero-chips{display:none}
@media(min-width:1450px){.ft-hero{max-width:1000px}}@media(max-width:700px){.ft-hero{display:block;margin-top:12px}.ft-hero-image{margin:0;display:block;order:initial}.ft-hero-copy{position:absolute;inset:auto;left:34%;top:62%;width:27%;transform:translateY(-50%);padding:5px 3px;border-radius:7px}.ft-hero-kicker{font-size:6px;letter-spacing:1px;margin-bottom:3px}.ft-hero-copy h2{font-size:clamp(11px,3.1vw,20px);letter-spacing:-.3px;max-width:none}.ft-map-labels{top:0;bottom:auto}}
@media(min-width:1050px){.ft-hero{margin-left:auto;margin-right:auto}}

.ft-hero-nav{display:flex;justify-content:center;gap:8px;padding:9px 12px;background:#073c32;border-top:1px solid #8da96c55;margin:0}.ft-hero-nav a{display:block;margin:0;padding:9px 18px;border:1px solid #d9c65c88;border-radius:8px;color:#fff5b6;background:#ffffff0b;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;min-height:38px}.ft-hero-nav a:hover,.ft-hero-nav a:focus-visible{background:#ecd36d;color:#153f30;outline:2px solid #fff;outline-offset:2px}.ft-hero-copy{top:calc(62% - 35px)}@media(max-width:700px){.ft-hero-nav{gap:6px;padding:8px;overflow:visible}.ft-hero-nav a{padding:10px 9px;font-size:11px;flex:1;text-align:center;min-height:40px}.ft-hero-copy{top:calc(62% - 35px)}}
.ft-tracking-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ft-tracking-options form{background:#edf7f4;border:1px solid #bcd9cf;border-radius:12px;padding:18px}.ft-tracking-options form+form{background:#f6efff;border-color:#d8c2ec}.ft-tracking-options label{margin:14px 0}.ft-tracking-options button{min-height:48px;margin-top:10px}.ft-tracking-options small{display:block;color:#546a63}.ft-tracking input{font-size:16px;min-height:48px}.ft-tracking-result{border:1px solid #bad6cf;border-left:5px solid #168570;padding:18px;border-radius:10px;margin-top:14px}.ft-tracking-result div{margin-top:12px;line-height:1.6;overflow-wrap:anywhere}@media(max-width:650px){.ft-tracking-options{grid-template-columns:1fr}.ft-tracking-options form{padding:14px}}

.ft-portal main{padding-top:14px}.ft-portal .heading{margin-bottom:14px}.ft-portal #message:empty{display:none}@media(max-width:700px){.ft-portal main{padding-top:12px}}

.ft-hero-image{aspect-ratio:3;object-fit:contain}.ft-hero{background:#faf6ec;border-color:#dcc47b}

.ft-google-login{display:block;padding:14px 18px;margin:18px 0 10px;background:#fff;border:1px solid #778b88;border-radius:9px;color:#183f33;text-align:center;text-decoration:none;font-size:16px;font-weight:700}.ft-google-login:focus-visible{outline:3px solid #daaf3e;outline-offset:3px}.ft-auth-divider{text-align:center;color:#5e7169;font-size:13px}.ft-selected-offer{outline:3px solid #c5a332;outline-offset:3px}.ft-portal .auth>button:last-child{margin-top:12px}

/* Main customer actions: raised color cards with visible keyboard focus. */
.ft-portal #content>.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;align-items:stretch;padding:3px 0 9px;margin-bottom:18px}
.ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register){--face:#137b5e;--top:#188365;--base:#084b39;display:flex;align-items:center;justify-content:center;min-width:0;min-height:72px;width:100%;margin:0;padding:16px 14px;border:1px solid var(--base);border-radius:13px;background:linear-gradient(160deg,var(--top),var(--face));color:#fff;font-size:14px;font-weight:800;line-height:1.35;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:inset 0 2px 0 #ffffff55,inset 0 -2px 0 #00000016,0 6px 0 var(--base),0 10px 15px #17354a20;transition:transform .15s ease,box-shadow .15s ease;cursor:pointer}
.ft-portal #content>.row>#history{--face:#2359b5;--top:#326ac9;--base:#153e82}
.ft-portal #content>.row>#sender-profile{--face:#7140ac;--top:#8653bd;--base:#48246f}
.ft-portal #content>.row>#orders{--face:#e6a02b;--top:#f3bb50;--base:#9a5c0c;color:#382306}
.ft-portal #content>.row>#google-link{--face:#ad3150;--top:#c44662;--base:#742039}
.ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register):focus-visible{outline:3px solid #14364c;outline-offset:5px}
.ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register):active{transform:translateY(4px);box-shadow:inset 0 2px 0 #ffffff33,0 2px 0 var(--base),0 4px 7px #17354a20}
@media(hover:hover){.ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register):hover:not(:active){transform:translateY(-2px);box-shadow:inset 0 2px 0 #ffffff66,0 8px 0 var(--base),0 13px 19px #17354a2b}}
@media(max-width:640px){.ft-portal #content>.row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register){min-height:66px;padding:13px 10px;font-size:13px}.ft-portal #content>.row>#google-link{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register){transition:none}}


.ft-pix{max-width:680px;margin:auto}.ft-pix-image{display:block;max-width:100%;height:auto;margin:20px auto;border:12px solid white;box-sizing:border-box}.ft-pix textarea{width:100%;box-sizing:border-box;overflow-wrap:anywhere;font:13px monospace;background:#fff;padding:12px;border:1px solid #718d82;border-radius:8px}.ft-pix button{margin:8px 8px 8px 0}

/* Clear, raised sign-in and registration actions. */
.ft-portal #content>.row>#guest-login{--face:#2359b5;--top:#326ac9;--base:#153e82}
.ft-portal #content>.row>#guest-register{--face:#e6a02b;--top:#f3bb50;--base:#9a5c0c;color:#382306}
.ft-portal :is(#auth-form>button,#switch-auth){--face:#2359b5;--top:#326ac9;--base:#153e82;min-height:54px;padding:14px 18px;border:1px solid var(--base);border-radius:12px;background:linear-gradient(160deg,var(--top),var(--face));color:#fff;font-size:16px;font-weight:800;line-height:1.35;white-space:normal;box-shadow:inset 0 2px 0 #ffffff55,0 5px 0 var(--base),0 9px 14px #17354a20;transition:transform .15s ease,box-shadow .15s ease}
.ft-portal .auth>#switch-auth,.ft-portal #auth-form:has([name="name"])>button{--face:#e6a02b;--top:#f3bb50;--base:#9a5c0c;color:#382306}
.ft-portal .auth:has([name="name"]) #switch-auth{--face:#2359b5;--top:#326ac9;--base:#153e82;color:#fff}
.ft-portal :is(#auth-form>button,#switch-auth):focus-visible{outline:3px solid #14364c;outline-offset:5px}
.ft-portal :is(#auth-form>button,#switch-auth):active{transform:translateY(3px);box-shadow:inset 0 2px 0 #ffffff33,0 2px 0 var(--base),0 4px 7px #17354a20}
@media(hover:hover){.ft-portal :is(#auth-form>button,#switch-auth):hover:not(:active):not(:disabled){transform:translateY(-2px);box-shadow:inset 0 2px 0 #ffffff66,0 7px 0 var(--base),0 12px 18px #17354a2b}}
@media(prefers-reduced-motion:reduce){.ft-portal :is(#auth-form>button,#switch-auth){transition:none}}


/* Compact, touch-friendly layout for Android phones and small tablets. */
@media(max-width:760px){
 .ft-portal header{height:auto;min-height:68px;padding:9px 14px;gap:10px}
 .ft-portal .ft-brand-image{width:148px;height:48px;max-width:42vw}
 .ft-portal header .row{min-width:0;justify-content:flex-end;gap:7px}
 .ft-portal header .account{min-width:0;overflow-wrap:anywhere}
 .ft-portal header button{min-height:44px;padding:10px 12px;font-size:13px}
 .ft-portal .ft-hero{margin:10px 14px 0;border-radius:14px}
 .ft-portal .ft-hero-nav{gap:5px;padding:7px}
 .ft-portal .ft-hero-nav a{min-width:0;min-height:44px;padding:11px 5px;font-size:12px;text-align:center;flex:1}
 .ft-portal main{padding:12px 14px 22px;min-width:0}
 .ft-portal .heading{margin-bottom:12px}
 .ft-portal .heading h1{font-size:24px;line-height:1.2;letter-spacing:-.6px}
 .ft-portal .heading p{font-size:13px;line-height:1.5;margin-top:6px}
 .ft-portal #content>.row{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px;margin-bottom:16px;padding-bottom:8px}
 .ft-portal #content>.row>:is(#new-quote,#history,#sender-profile,#orders,#google-link,#guest-login,#guest-register){min-height:62px;padding:12px 9px;font-size:14px;line-height:1.3;word-break:normal}
 .ft-portal #content>.row>:is(#google-link,#guest-register){grid-column:1/-1}
 .ft-portal .auth{width:100%;margin:12px auto;padding:20px 16px}
 .ft-portal input,.ft-portal select,.ft-portal textarea{min-width:0;max-width:100%;font-size:16px}
 .ft-portal input:not([type=checkbox]),.ft-portal select{min-height:48px}
 .ft-portal input[type=file]{width:100%;padding:10px 6px;font-size:13px}
 .ft-portal :is(.card,.offer,.formgrid,.ft-group-grid)>*{min-width:0}
 .ft-portal .offer{padding:16px;gap:12px;overflow-wrap:anywhere}
 .ft-portal .offer .button,.ft-portal .offer button{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
 .ft-portal .ft-calculator .ft-field-name{font-size:12px;line-height:1.3}
 .ft-portal .ft-pix button{min-height:48px;width:100%;margin:8px 0}
 .ft-portal footer{padding:18px 14px;flex-wrap:wrap;overflow-wrap:anywhere}
}

.ft-portal footer{flex-direction:column;align-items:center;text-align:center;gap:12px}
.ft-install{display:flex;flex-direction:column;align-items:center;gap:7px}
.ft-install #ft-install-app{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #8da96c;border-radius:10px;background:#11644c;color:#fff;font-size:13px;font-weight:800;box-shadow:0 3px 0 #073c32}
.ft-install small{font-size:12px;color:#4f6761}.ft-install small:empty{display:none}
#ft-install-help{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #b5ccc1;border-radius:18px;color:#16352f;background:#fff;box-shadow:0 18px 70px #073c3240;overflow:auto}
#ft-install-help::backdrop{background:#0b252cc0}
.ft-install-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#11644c;font-size:13px;letter-spacing:1px}
#ft-install-close{min-width:44px;min-height:44px;background:#eef4f2;border:1px solid #bdcec6;color:#16352f;font-size:24px;padding:4px}
#ft-install-help h2{font-size:24px;line-height:1.25;margin:20px 0 12px}
#ft-install-help p,#ft-install-help li{font-size:15px;line-height:1.6}
#ft-install-help ol{padding-left:23px}#ft-install-help li{padding-left:5px;margin:14px 0}
#ft-install-help button:focus-visible,#ft-install-app:focus-visible{outline:3px solid #daaf3e;outline-offset:3px}
#ft-install-copy{min-height:46px;white-space:normal}#ft-install-copy-status:empty{display:none}
@media(max-width:520px){#ft-install-help{padding:20px 17px}#ft-install-help h2{font-size:22px}#ft-install-copy{width:100%}}

/* Clear navigation that wraps long labels instead of overlapping on phones. */
.ft-portal .ft-hero-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px;overflow:visible}
.ft-portal .ft-hero-nav .ft-shortcut{--shortcut-face:#effaf5;--shortcut-ink:#124f3b;--shortcut-edge:#91b9a1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-width:0;min-height:112px;margin:0;padding:14px 12px;border:1px solid var(--shortcut-edge);border-radius:12px;background:var(--shortcut-face);color:var(--shortcut-ink);font-size:14px;line-height:1.3;text-align:left;white-space:normal;overflow-wrap:anywhere;box-shadow:0 4px 0 #03271e;transition:background .15s ease,transform .15s ease}
.ft-shortcut-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:30px;height:30px}
.ft-shortcut-icon svg{display:block;width:26px;height:26px}
.ft-shortcut-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.ft-portal .ft-shortcut strong{font-size:14px;line-height:1.3;font-weight:800}
.ft-portal .ft-shortcut small{display:block;font-size:11px;line-height:1.4;font-weight:500;letter-spacing:0;color:inherit}
.ft-portal .ft-hero-nav .ft-shortcut-quote{--shortcut-face:#f5d46e;--shortcut-ink:#233e22;--shortcut-edge:#d9b64e}
.ft-portal .ft-hero-nav .ft-shortcut-xml{--shortcut-face:#f1eaff;--shortcut-ink:#542b82;--shortcut-edge:#c1a8de}
.ft-portal .ft-hero-nav .ft-shortcut-orders{--shortcut-face:#e4efff;--shortcut-ink:#214f85;--shortcut-edge:#9dbbdf}
.ft-portal .ft-hero-nav .ft-shortcut-tracking{--shortcut-face:#e2f6f7;--shortcut-ink:#1a5d66;--shortcut-edge:#8fbfc5}
.ft-portal .ft-hero-nav .ft-shortcut:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #1c7255}
.ft-portal .ft-hero-nav .ft-shortcut:active{transform:translateY(2px);box-shadow:0 2px 0 #03271e}
.ft-portal #content,.ft-portal #workspace{min-width:0}
.ft-portal :is(#content,#quote-form,#workspace,#nfe-file){scroll-margin-top:16px}
.ft-portal .ft-partners{margin-top:36px;padding-top:28px;border-top:1px solid #cfdfd8}
@media(hover:hover){.ft-portal .ft-hero-nav .ft-shortcut:hover{filter:brightness(1.05);transform:translateY(-2px)}}
@media(max-width:760px){
 .ft-portal .ft-hero-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
 .ft-portal .ft-hero-nav .ft-shortcut{min-height:82px;padding:12px;gap:8px;flex-direction:row;align-items:center;justify-content:flex-start}
 .ft-portal .ft-hero-nav .ft-shortcut-quote{grid-column:1/-1;min-height:64px}
 .ft-portal .ft-shortcut strong{font-size:14px}
 .ft-portal .ft-shortcut small{font-size:12px}
 .ft-portal .ft-shortcut-icon{width:24px;height:28px}
 .ft-portal .ft-shortcut-icon svg{width:23px;height:23px}
 .ft-portal header .brand{min-width:0;flex-shrink:0}
 .ft-portal header .account{flex:1;font-size:12px;line-height:1.4;text-align:right}
 .ft-portal #content>.row{gap:12px}
 .ft-portal .offer{display:grid;grid-template-columns:minmax(0,1fr)}
 .ft-portal .offer>button,.ft-portal .offer>.button{width:100%;white-space:normal;overflow-wrap:anywhere}
 .ft-portal .card-top{align-items:flex-start;gap:12px;flex-wrap:wrap}
 .ft-portal .card-top select{width:100%}
 .ft-portal .ft-partners{margin:24px 14px 0;padding:24px 0 0}
 .ft-portal .ft-partners-heading h2{font-size:22px}
 .ft-portal .ft-partners-heading span{font-size:11px;letter-spacing:1px}
 .ft-portal .ft-partner-card{padding:20px;gap:10px}
 .ft-portal .ft-partner-card h2{font-size:23px}
 .ft-portal .ft-partner-card p{font-size:14px;line-height:1.5}
 .ft-portal .ft-partner-card a{min-height:48px;padding:14px 12px;line-height:1.4;overflow-wrap:anywhere}
}
@media(max-width:360px){
 .ft-portal .ft-hero-nav{gap:8px;padding:10px}
 .ft-portal .ft-hero-nav .ft-shortcut{padding:10px 8px;gap:6px}
 .ft-portal .ft-shortcut strong{font-size:13px}
 .ft-portal .ft-shortcut small{font-size:11px}
 .ft-portal .ft-shortcut-icon{width:20px}
}
@media(prefers-reduced-motion:reduce){.ft-portal .ft-hero-nav .ft-shortcut{transition:none}}

.ft-shipment-person{margin:24px 0}
.ft-sender-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid #a6d4bc;border-left:5px solid #17865c;border-radius:12px;background:#edf8f1;color:#184e38}
.ft-sender-summary p{margin:7px 0;line-height:1.5;overflow-wrap:anywhere}
.ft-sender-summary small{display:block;line-height:1.5;color:#385f4e}
.ft-sender-summary button{flex-shrink:0;min-height:46px;white-space:normal}
.ft-sender-edit-tools{grid-column:1/-1;padding:14px;border:1px solid #c0d3dc;border-radius:10px;background:#f0f6fa}
.ft-sender-edit-tools p{margin:0 0 12px;line-height:1.5}
.ft-sender-edit-tools button{min-height:46px;margin:4px 6px 4px 0;white-space:normal}
@media(max-width:760px){.ft-sender-summary{flex-direction:column;align-items:stretch;padding:16px}.ft-sender-summary button,.ft-sender-edit-tools button{width:100%;margin:4px 0}.ft-sender-summary p{font-size:14px}}

/* The top shortcuts own these actions; avoid showing duplicate buttons below. */
.ft-portal #content>.row>:is(#new-quote,#orders){display:none}
.ft-portal #content>.row>#guest-register{grid-column:auto}

.ft-postal-status{display:block;grid-column:1/-1;margin:8px 0 0;color:#326351;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ft-postal-status:empty{display:none}
.ft-invoice-import summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0;color:#63349a;font-size:15px;font-weight:800;line-height:1.4}
.ft-invoice-import summary:focus-visible{outline:3px solid #63349a;outline-offset:3px}
.ft-portal .card:has(>.ft-invoice-import){padding-top:12px;padding-bottom:12px}
