@font-face{font-family:"TLH CJK";src:url("?asset=cjk.woff") format("woff");font-weight:100 900;font-style:normal;font-display:swap}
:root{--navy:#132c45;--blue:#14689a;--blue2:#0e547e;--sky:#edf5fa;--ink:#253c51;--muted:#718192;--line:#dde5ec;--bg:#f3f6f9;--white:#fff;--green:#18754f;--amber:#ad6514;--red:#b43d45;--radius:10px;font-family:Inter,"Segoe UI","Microsoft YaHei",Arial,"TLH CJK",sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:1.8rem;letter-spacing:-.04em;color:var(--navy);font-weight:680}h2{font-size:1.15rem}h3{font-size:1rem}small{font-size:.8rem}.muted{color:var(--muted)}.loading{display:grid;place-items:center;min-height:60vh;font-weight:600;color:var(--blue)}.app{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);padding:4px 10px 28px;font-size:1.1rem;font-weight:750;letter-spacing:.035em}.brand-symbol{width:35px;height:35px;background:var(--blue);color:#fff;display:grid;place-items:center;border-radius:7px}.brand-sub{font-size:.65rem;letter-spacing:.15em;font-weight:600;color:var(--muted);margin-top:5px}.nav-section{font-size:.68rem;letter-spacing:.14em;color:var(--muted);padding:6px 14px 12px;text-transform:uppercase}.nav{display:flex;flex-direction:column;gap:4px}.nav button{border:0;background:none;display:flex;align-items:center;gap:12px;color:#546b7f;text-align:left;padding:12px 14px;border-radius:7px;font-size:.9rem;font-weight:550}.nav button:hover{background:var(--bg)}.nav button.active{background:var(--sky);color:var(--blue);box-shadow:inset 3px 0 var(--blue)}.nav svg{width:19px;height:19px;flex:none}.sidebar-footer{margin-top:auto;padding:20px 12px 0;color:var(--muted);font-size:.77rem;line-height:1.8}.sidebar-footer strong{display:block;color:var(--ink);font-size:.87rem}.workspace{min-width:0}.topbar{height:75px;background:white;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:.87rem;color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:600}.top-actions{display:flex;align-items:center;gap:14px}.language{border:1px solid var(--line);border-radius:6px;padding:7px 10px;background:white;font-size:.875rem;max-width:145px}.avatar{background:var(--navy);color:#fff;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:.8rem}.test-strip{background:#fff7e4;border-bottom:1px solid #f0dfb9;color:#986014;display:flex;justify-content:space-between;padding:8px 34px;font-size:.75rem;letter-spacing:.03em}.content{padding:30px 34px 48px;max-width:1800px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head p{font-size:.87rem;color:var(--muted);margin-top:7px}.head-actions,.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{padding:9px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:.875rem;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:550;min-height:38px}.btn:hover{background:#eef3f7;text-decoration:none}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.btn.primary:hover{background:var(--blue2)}.btn.danger{color:var(--red);border-color:#eac8cb}.btn.small{font-size:.8rem;padding:5px 9px;min-height:30px}.btn.ghost{border-color:transparent;background:transparent}.btn svg{width:16px;height:16px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);padding:21px 22px;border-radius:var(--radius)}.stat:first-child{border-top:3px solid var(--blue);padding-top:19px}.stat-label{font-size:.86rem;color:var(--muted);margin-bottom:14px}.stat-value{font-size:1.55rem;font-weight:650;color:var(--navy);letter-spacing:-.04em;overflow-wrap:anywhere}.stat-foot{font-size:.76rem;color:var(--muted);margin-top:10px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;margin-bottom:22px}.panel-title{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.panel-body{padding:22px}.tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line);margin-bottom:22px;scrollbar-width:thin}.tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:13px 16px;white-space:nowrap;color:var(--muted);font-size:.87rem}.tabs button.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:650}.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--line)}.search{position:relative;flex:1;min-width:180px;max-width:340px}.search input{padding-left:36px;width:100%}.search svg{position:absolute;top:11px;left:12px;width:17px;height:17px;color:var(--muted)}input:not([type=checkbox]),select,textarea{border:1px solid #cfdbe5;border-radius:6px;padding:9px 11px;color:var(--ink);background:#fff;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 2px #14689a18}input[readonly]{background:var(--bg)}textarea{resize:vertical;min-height:85px}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px}select{max-width:100%}.filters-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filters-row select,.filters-row input{font-size:.825rem;max-width:190px}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:.875rem;white-space:nowrap}th{text-align:left;background:#f8fafc;font-size:.75rem;font-weight:600;color:#748698;letter-spacing:.025em;padding:13px 18px;border-bottom:1px solid var(--line)}td{padding:15px 18px;border-bottom:1px solid #edf1f5;vertical-align:middle}tbody tr:hover{background:#f8fbfd}tbody tr:last-child td{border-bottom:0}td.main{font-weight:600;color:var(--navy)}td a{font-weight:600}td .sub{display:block;font-size:.76rem;font-weight:400;color:var(--muted);margin-top:4px}.number{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-flex;align-items:center;font-size:.73rem;line-height:1.2;padding:5px 9px;border-radius:5px;background:#eef2f6;color:#62768a;white-space:nowrap;font-weight:600}.badge.green{background:#e8f5ee;color:var(--green)}.badge.amber{background:#fff4de;color:var(--amber)}.badge.blue{background:#e9f3fa;color:var(--blue)}.badge.red{background:#fbecef;color:var(--red)}.pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}.empty{padding:70px 24px;text-align:center}.empty svg{width:38px;height:38px;color:#91a9bb;margin-bottom:14px}.empty h3{margin-bottom:8px;color:var(--ink)}.empty p{font-size:.88rem;color:var(--muted)}.grid-two{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 26px}.info-field label{display:block;font-size:.77rem;color:var(--muted);margin-bottom:7px}.info-field div{font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}.timeline{padding-left:7px}.event{border-left:2px solid #dce8f0;padding:0 0 24px 25px;position:relative;min-height:56px}.event:before{content:'';position:absolute;left:-6px;top:3px;width:10px;height:10px;background:var(--blue);border-radius:50%;outline:4px solid white}.event:last-child{border-left-color:transparent;padding-bottom:0}.event strong{font-size:.88rem;display:block;margin-bottom:5px}.event time{font-size:.8rem;color:var(--muted)}.eta-card{background:var(--sky);border-radius:7px;padding:18px;margin-bottom:24px;display:flex;justify-content:space-between;gap:16px}.eta-card strong{display:block;color:var(--blue);font-size:1.25rem;margin-top:6px}.eta-card label{font-size:.8rem;color:var(--muted)}.alert{padding:13px 16px;border-radius:7px;margin-bottom:18px;background:#fff5df;border:1px solid #efdcab;color:#916015;font-size:.86rem;line-height:1.6}.alert.error{background:#fceff0;border-color:#ebc6ca;color:var(--red)}.list-links{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.list-link{border:1px solid var(--line);border-radius:8px;padding:22px;display:flex;align-items:center;gap:15px;background:white;text-align:left;color:var(--navy)}.list-link svg{width:24px;height:24px;color:var(--blue)}.list-link small{display:block;margin-top:5px;color:var(--muted)}dialog{border:0;border-radius:12px;padding:0;box-shadow:0 18px 80px #0b26374d;width:min(780px,94vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#122b4480;backdrop-filter:blur(2px)}.modal-head{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:0;background:white;z-index:2}.modal-body{padding:24px 25px}.modal-foot{padding:16px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:#fff;z-index:2}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:.835rem;font-weight:550}.field .hint{font-size:.76rem;color:var(--muted)}.field.checkbox{flex-direction:row;align-items:center;gap:10px}.required{color:#b65345}.repeater{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;padding:16px;overflow:auto}.repeat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:9px;margin-top:12px;min-width:500px;align-items:end}.repeat-row label{display:block;font-size:.74rem;color:var(--muted);margin-bottom:6px}.repeat-row input,.repeat-row select{width:100%;font-size:.85rem}.repeat-row .remove{width:30px}.permissions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.permission{font-size:.82rem;display:flex;gap:9px;align-items:center}.permission-group{border:1px solid var(--line);border-radius:7px;padding:15px;margin-bottom:12px}.permission-group h3{margin-bottom:12px}.detail-tabs{margin-top:8px}.history-row{border-bottom:1px solid var(--line);padding:14px 0;font-size:.87rem}.history-row:last-child{border:0}.history-meta{color:var(--muted);font-size:.75rem;margin-top:5px}.history-values{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px;background:var(--bg);padding:12px;border-radius:6px;white-space:pre-wrap;word-break:break-word;font-size:.8rem}.document-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:.88rem}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-brand{background:var(--navy);color:white;display:flex;flex-direction:column;justify-content:space-between;padding:52px 64px;position:relative;overflow:hidden}.auth-brand:after{content:'';position:absolute;width:460px;height:460px;border:1px solid #ffffff12;right:-130px;bottom:-130px;border-radius:50%;box-shadow:0 0 0 75px #ffffff05,0 0 0 150px #ffffff03;pointer-events:none}.auth-brand .brand{color:white;padding:0}.auth-copy{position:relative;z-index:1}.auth-copy h1{color:#fff;font-size:2.6rem;line-height:1.2;letter-spacing:-.04em;max-width:390px}.auth-copy p{margin-top:22px;font-size:1rem;color:#b9ccd9;line-height:1.7;max-width:370px}.auth-brand footer{font-size:.8rem;color:#92aabc}.auth-right{display:flex;align-items:center;justify-content:center;padding:40px;position:relative}.auth-right>.language{position:absolute;top:28px;right:32px}.auth-form{width:100%;max-width:390px}.auth-logo{width:150px;height:112px;overflow:hidden;margin:0 0 25px}.auth-logo img{width:180px;height:180px;object-fit:contain;transform:translate(-15px,-37px)}.auth-form h2{font-size:1.6rem;margin-bottom:8px}.auth-form .subtitle{color:var(--muted);font-size:.9rem;margin-bottom:27px}.auth-form .field{margin-bottom:18px}.auth-form .btn.primary{width:100%;margin-top:7px;padding:12px}.auth-form .auth-link{margin-top:20px;text-align:center;font-size:.85rem}.auth-form .test-label{margin-bottom:22px}.pdf-frame{height:65vh;width:100%;border:1px solid var(--line);border-radius:6px}.inline-fields{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.menu-toggle{display:none}#toast{position:fixed;bottom:24px;right:24px;z-index:1000;padding:14px 20px;background:var(--navy);color:white;border-radius:8px;box-shadow:0 8px 30px #132c4520;max-width:400px;font-size:.875rem;display:none}#toast.show{display:block}#toast.error{background:var(--red)}.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.checklist{display:flex;flex-direction:column;gap:12px}.checklist button{text-align:left;justify-content:flex-start}.mono{font-variant-numeric:tabular-nums}.link-button{background:none;border:0;padding:0;color:var(--blue);font-size:inherit;cursor:pointer;font-weight:600}.summary-note{color:var(--muted);font-size:.82rem;line-height:1.65}.wrap{white-space:normal;min-width:160px;max-width:340px}pre{white-space:pre-wrap;word-break:break-word;font-size:.8rem}.right{text-align:right}.mobile-only{display:none}.spacer{height:18px}
@media(min-width:1600px){.content{padding-top:36px}.stats{gap:22px}.stat-value{font-size:1.8rem}}
@media(max-width:1100px){.app{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.content{padding:25px 22px}.topbar{padding:0 22px}.test-strip{padding:8px 22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{font-size:.95rem}.brand-symbol{width:30px;height:30px}.auth-brand{padding:40px}}
@media(max-width:760px){.app{display:block}.sidebar{display:none;position:fixed;z-index:50;left:0;top:0;width:238px;box-shadow:5px 0 40px #132c4530}.sidebar.mobile-open{display:flex}.menu-toggle{display:inline-flex}.topbar{height:64px;padding:0 16px}.breadcrumb{display:none}.content{padding:22px 16px}.test-strip{padding:7px 16px;font-size:.68rem}.top-actions{gap:8px}.top-actions .username{display:none}h1{font-size:1.45rem}.page-head{align-items:flex-start;gap:12px}.head-actions{justify-content:flex-end}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:1.25rem}.stat-label{font-size:.78rem}.panel-body{padding:17px}.panel-title{padding:16px}.toolbar{padding:14px;gap:10px}.search{max-width:none}.filters-row{width:100%}.filters-row select{flex:1}.form-grid{grid-template-columns:1fr}.info-grid{gap:19px}.field.full{grid-column:auto}.permissions{grid-template-columns:1fr}.setup-grid,.list-links{grid-template-columns:1fr}.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.auth-right{padding:80px 25px 40px}.auth-logo{margin-bottom:18px}.modal-head,.modal-body,.modal-foot{padding:18px}.mobile-only{display:block}.history-values{grid-template-columns:1fr}.pagination{font-size:.75rem}.language{max-width:130px}.test-strip span:last-child{display:none}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,color .15s}dialog[open]{animation:appear .16s ease-out}@keyframes appear{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:none}}}

.mail-preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font:inherit;margin:24px 0;padding:18px;background:var(--bg);border-radius:8px}
.toolbar .search input{padding-left:38px}

/* Shared company artwork: show its existing transparent canvas proportionally. */
.company-brand{display:flex;flex-direction:column;align-items:center;padding:0 0 20px;gap:4px}
.company-logo{width:180px;height:153px;overflow:hidden;position:relative;flex:none;background:white;border-radius:6px}
.company-logo img{position:absolute;width:330px;height:330px;max-width:none;left:-75px;top:-87px}
.company-brand .brand-sub{margin:0;text-align:center}.auth-brand .company-logo{width:180px;height:153px}.auth-brand .company-brand{align-items:flex-start}
.auth-logo{width:180px;height:153px;position:relative;overflow:hidden}.auth-logo img{position:absolute;width:330px;height:330px;max-width:none;left:-75px;top:-87px;transform:none}
.optional-fields{margin:16px 0;border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px 16px}
.optional-fields>summary,.finance-tools>summary{cursor:pointer;color:var(--blue);font-size:.87rem;font-weight:600}
.optional-fields[open]>summary{margin-bottom:18px}.optional-fields>.form-grid>.table-wrap{grid-column:1/-1}
.finance-tools{margin:0 0 20px}.finance-tools[open]>.actions{padding:14px 0}.cost-entry-row,.bank-setting-row{padding:20px;border:1px solid var(--line);border-radius:8px;margin:16px 0;background:#fbfdff}
.cost-entry-row:only-child [data-remove-cost]{display:none}.bank-setting-row .btn{margin-top:15px}.bank-card{background:var(--sky);border:1px solid var(--line);border-radius:8px;padding:20px}.bank-card h3{margin-bottom:18px;color:var(--blue)}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.payment-totals{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:16px;background:var(--sky);border-radius:8px;margin-top:16px;font-size:.85rem}.text-danger{color:var(--red)}#payment-invoices{margin-top:16px}#payment-invoices input[type=number]{width:170px}#load-payment-invoices{margin-top:10px}
@media(max-width:1100px){.company-logo{width:160px;height:136px}.company-logo img{width:293px;height:293px;left:-67px;top:-77px}}
@media(max-width:760px){.cost-entry-row,.bank-setting-row{padding:14px}.bank-card .info-grid{grid-template-columns:1fr}.company-logo{width:180px;height:153px}.company-logo img{width:330px;height:330px;left:-75px;top:-87px}}

.sidebar{overflow-y:auto}

/* rc4: distinct customer portal, authorization queues, and finance navigation. */
.customer-app{min-height:100vh;background:#f3f7fa}.customer-header{max-width:1280px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.customer-brand{display:flex;align-items:center}.customer-brand img{width:160px;max-height:66px;object-fit:contain}.customer-header-actions{display:flex;gap:10px;align-items:center}.customer-nav{max-width:1216px;margin:0 auto;display:flex;gap:10px;padding:8px;border:1px solid var(--line);background:#fff;border-radius:14px;overflow:auto}.customer-nav button{border:0;background:transparent;color:var(--ink);padding:13px 22px;border-radius:9px;white-space:nowrap}.customer-nav button.active{background:var(--blue);color:white}.customer-content{max-width:1280px;margin:auto;padding:30px 32px;min-height:70vh}.customer-footer{text-align:center;padding:24px;color:var(--muted);font-size:13px}.welcome-card{background:linear-gradient(115deg,#112f49,#14689a);color:#fff;border-radius:18px;padding:36px 40px;margin-bottom:24px}.welcome-card>span{font-size:12px;letter-spacing:.18em;font-weight:700;opacity:.8}.welcome-card h1{font-size:32px;line-height:1.2;margin:12px 0}.welcome-card p{color:#e2eff8;margin-bottom:24px}.welcome-button{background:#fff;color:#155b84;text-decoration:none}.welcome-button svg{transform:rotate(180deg)}.customer-dashboard-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:24px}.customer-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.announcement-card{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.announcement-card:first-child{padding-top:0}.announcement-card:last-child{border-bottom:0;padding-bottom:0}.announcement-card h3{margin:10px 0}.announcement-card p{line-height:1.65}.announcement-card small{color:var(--muted)}.marking-chip{display:inline-block;padding:10px 15px;border:1px solid #c4dbea;background:#f0f7fc;border-radius:8px;margin:5px 8px 5px 0;font-weight:650;overflow-wrap:anywhere}.approval-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.approval-card{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:24px;border-radius:12px;text-decoration:none;background:#fff8ed;border:1px solid #edd4ab;color:#684819}.approval-card strong{grid-column:2;grid-row:1 / span 2;font-size:32px}.approval-card span{font-weight:650}.approval-card small{color:#857151}.approval-card.secondary{background:#eef5fb;border-color:#c8dce9;color:#16587e}.request-row{display:flex;gap:20px;justify-content:space-between;padding:18px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}.request-row:hover{background:var(--sky)}.request-row small{display:block;margin-top:6px;color:var(--muted)}.request-row .badge{margin-left:12px}.finance-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0}.finance-tool{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);text-decoration:none}.finance-tool small{color:var(--muted);line-height:1.45}.finance-tool:hover,.finance-tool.active{border-color:var(--blue);background:var(--sky)}.compact-filter{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.compact-filter select{min-width:155px}.portion-counts{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}.shipment-warning{padding:16px 20px;background:#fff8ed;border:1px solid #edd4ab;border-radius:10px;margin:0 0 20px}.shipment-warning p{font-size:13px;margin:10px 0 0}.profit-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:16px}.profit-toolbar label{display:flex;flex-direction:column;gap:6px}.request-row strong,.info-field div{overflow-wrap:anywhere}.stats{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.auth-brand{justify-content:center}.auth-copy{max-width:440px}.repeat-row{align-items:end}.preserve-lines{white-space:pre-wrap}
@media(max-width:900px){.customer-dashboard-grid{grid-template-columns:1fr}.finance-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-header{padding:18px 20px}.customer-content{padding:24px 20px}.customer-nav{margin:0 20px}.customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.customer-header{align-items:flex-start;gap:12px}.customer-brand img{width:116px}.customer-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.customer-header-actions .btn{font-size:12px;padding:8px}.customer-nav{margin:0 12px}.customer-nav button{padding:11px 14px}.customer-content{padding:20px 12px}.welcome-card{padding:28px 23px}.welcome-card h1{font-size:25px}.approval-grid,.finance-tool-grid{grid-template-columns:1fr}.approval-card{padding:20px}.request-row{flex-wrap:wrap}.customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-toolbar{flex-wrap:wrap}}

/* Customer workspace and independently billed shipment portions. */
.customer-app .customer-content{max-width:none;width:100%;margin:0;flex:1;min-height:0}.customer-app .workspace{display:flex;flex-direction:column;min-height:100vh}.customer-sidebar .customer-nav{display:flex;flex-direction:column;max-width:none;margin:0;padding:10px 14px;border:0;border-radius:0;background:transparent;overflow:visible;gap:4px}.customer-sidebar .customer-nav button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;text-align:left;color:#d8e6ef;border-radius:8px}.customer-sidebar .customer-nav button.active{background:rgba(255,255,255,.14);color:#fff}.customer-sidebar .customer-nav button:hover{background:rgba(255,255,255,.08)}.welcome-card h1{color:#fff}.customer-footer{padding:20px 28px}.portion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:18px}.portion-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.portion-card header{display:flex;justify-content:space-between;gap:14px;padding:20px 20px 14px;align-items:start}.portion-card h3{font-size:15px;overflow-wrap:anywhere;margin-top:5px}.eyebrow{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.portion-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 20px 14px}.portion-metrics span,.portion-metrics strong{display:block}.portion-metrics span{color:var(--muted);font-size:12px;margin-bottom:7px}.portion-metrics strong{font-size:14px}.portion-card>p{padding:0 20px 12px}.portion-invoice{padding:16px 20px;background:var(--sky);display:flex;flex-direction:column;gap:9px;border-top:1px solid var(--line)}.portion-invoice small{color:var(--muted)}.portion-card footer{padding:14px 20px;flex-wrap:wrap}.portion-edit-row{border:1px solid var(--line);border-radius:10px;padding:20px;margin:16px 0}.portion-edit-row>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.portion-edit-row .summary-note{margin-bottom:12px}.portion-editor-summary{padding:18px;background:var(--sky);border-radius:9px}.portion-editor-summary p{margin-top:8px;color:var(--muted);line-height:1.6}.invoice-portion-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin:14px 0}.invoice-portion-choice{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.invoice-portion-choice:has(input:checked){border-color:var(--blue);background:var(--sky)}.invoice-portion-choice.disabled{opacity:.65;cursor:default}.invoice-portion-choice input{width:auto;min-height:0;margin-top:3px;flex-shrink:0}.invoice-portion-choice span{display:flex;flex-direction:column;gap:8px}.invoice-portion-choice small{color:var(--muted)}.fee-split-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;background:var(--sky);padding:16px;border-radius:8px;margin:16px 0;line-height:1.6}.fee-split-summary[hidden],.field[hidden]{display:none}.field input[readonly]{background:#f4f6f8;color:var(--muted)}
@media(max-width:650px){.portion-metrics{grid-template-columns:1fr 1fr}.portion-edit-row{padding:14px}.customer-app .topbar{padding:12px}.customer-app .top-actions{gap:6px}.customer-app .breadcrumb{font-size:12px}.customer-app .language{max-width:120px}.customer-app .customer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Reset progress controls must honor hidden even when .btn sets display. */
#test-reset-form [hidden]{display:none!important}#test-reset-form .modal-body{max-height:68vh;overflow-y:auto}#reset-feedback:empty{display:none}#reset-feedback{margin:18px 0;line-height:1.5}#test-reset-form .modal-foot{flex-wrap:wrap}#test-reset-form .table-wrap{max-height:220px;overflow:auto}.portion-counts{row-gap:12px}

/* rc7: grouped navigation, readable customer portal and shared date picker. */
.nav-group-label{display:block;margin:12px 20px 7px;color:var(--muted);font-size:12px;font-weight:600}.nav-group-select{margin:0 14px 12px;width:calc(100% - 28px);padding:11px 9px;font-size:13px;color:var(--navy);background:#f1f7fb;border:1px solid #cbdde9}.settings-navigation{display:flex;align-items:center;gap:14px;margin-bottom:12px}.settings-navigation label{font-size:13px;color:var(--muted);font-weight:600}.settings-navigation select{min-width:240px;max-width:100%}.tabs{overflow-x:auto;flex-wrap:nowrap}.tabs button{white-space:nowrap;flex-shrink:0}.billing-method-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.billing-section{padding:24px 0}.billing-section h3{margin-bottom:20px;color:var(--navy)}.billing-method-grid>.billing-section{padding:24px;border:1px solid var(--line);border-radius:12px}.billing-method-grid .form-grid{grid-template-columns:1fr}.customer-sidebar .customer-nav button{color:#163c55;background:transparent;font-weight:600}.customer-sidebar .customer-nav button:hover{color:#105b88;background:#eaf4fb}.customer-sidebar .customer-nav button.active,.customer-sidebar .customer-nav button.active:hover{background:#14689a;color:#fff;box-shadow:none}.customer-sidebar .customer-nav button:focus-visible{outline:3px solid #71b8e3;outline-offset:2px}.customer-app .tabs button{color:#163c55}.customer-app .tabs button.active{background:#14689a;color:#fff;border-radius:6px 6px 0 0}.split-shipment-notice{padding:17px 20px;margin-bottom:20px;background:#edf6fc;border:1px solid #bdd9ec;border-left:4px solid #14689a;border-radius:9px;color:#163c55}.split-shipment-notice p{margin-top:8px;line-height:1.65;font-size:14px}.portion-reference{display:block;margin-top:8px;color:#536b7c;font-size:12px}.customer-app .portion-card .eyebrow{color:#526b7e}.customer-app .portion-card .summary-note,.customer-app .portion-invoice small{color:#526b7e}.date-control{display:flex;position:relative;align-items:center;min-width:0}.date-control>input{width:100%;padding-right:44px}.date-picker-button{position:absolute;right:4px;top:4px;bottom:4px;display:flex;align-items:center;justify-content:center;width:34px;border:0;border-radius:5px;background:transparent;color:#14689a;padding:6px;cursor:pointer}.date-picker-button:hover{background:#eaf4fb}.date-picker-button svg{width:20px;height:20px}.date-calendar{position:fixed;z-index:2000;width:min(330px,calc(100vw - 16px));padding:12px;border:1px solid #bfd1df;background:#fff;border-radius:12px;box-shadow:0 14px 44px #12364c33;color:#163c55}.calendar-heading{display:grid;grid-template-columns:28px 1fr 76px 28px;align-items:center;gap:5px;margin-bottom:12px}.calendar-heading select,.calendar-heading input{width:100%;min-width:0;padding:7px 4px;font-size:13px;min-height:34px}.date-calendar button{border:0;background:transparent;color:#163c55;border-radius:6px;padding:7px 3px;cursor:pointer;font-size:13px;min-height:32px}.date-calendar button:hover{background:#eaf4fb}.date-calendar button:focus-visible{outline:2px solid #14689a;outline-offset:-2px}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}.calendar-weekdays{color:#64798a;font-size:11px;padding:4px 0 8px}.calendar-days button{font-variant-numeric:tabular-nums}.calendar-days button.outside-month{color:#8495a1}.calendar-days button.today{box-shadow:inset 0 0 0 1px #14689a}.calendar-days button.selected{background:#14689a;color:#fff}.calendar-footer{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #dce6ed;margin-top:10px;padding-top:8px}.calendar-footer button{padding:7px 10px;color:#14689a}.date-picker-button:focus-visible{outline:2px solid #14689a}.date-calendar [data-calendar-year]{appearance:textfield}
@media(max-width:1000px){.billing-method-grid{grid-template-columns:1fr}}@media(max-width:560px){.settings-navigation{align-items:stretch;flex-direction:column;gap:6px}.settings-navigation select{min-width:0;width:100%}.billing-method-grid>.billing-section{padding:16px}.split-shipment-notice{padding:14px 16px}}

/* rc8: retain existing palette, typography and table styling; reposition modules. */
.workspace-tabs{margin:0;padding:0 34px;background:#fff;gap:5px;overflow-x:auto;flex-wrap:nowrap;min-height:55px;border-bottom:1px solid var(--border,#d9e3ee)}
.workspace-tabs button{white-space:nowrap;flex:none;padding:16px 14px}.workspace{min-width:0}
.share-invoice{height:100vh;height:100dvh;display:flex;flex-direction:column;background:#fff;overflow:hidden}.share-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px;border-bottom:1px solid #d9e3ee;flex:none}.share-invoice iframe{display:block;width:100%;flex:1;min-height:0;border:0}.share-toolbar strong{font-size:20px}
.history-diff{table-layout:fixed;width:100%}.history-diff td,.history-diff th{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.history-row summary{cursor:pointer;line-height:1.7}.weight-explanation{padding:20px;background:#fff;border:1px solid #d9e3ee;border-radius:10px;margin-bottom:18px}.weight-explanation h3{margin:0 0 12px}.weight-explanation p{line-height:1.6}.weight-explanation .info-grid{margin:16px 0}.personal-masked{letter-spacing:3px;color:#7890a5;filter:blur(1.5px);user-select:none}
@media(max-width:760px){.workspace-tabs{padding:0 12px;min-height:48px}.workspace-tabs button{padding:13px 10px}.share-toolbar{padding:8px 10px}.share-toolbar .actions{gap:5px}.share-toolbar strong{font-size:16px}.share-toolbar .language{max-width:110px}.weight-explanation{padding:14px}}
/* rc9: protection and agreements inherit the existing workspace width. */
.protection-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:18px;margin:18px 0}.protection-option{padding:24px;border:1px solid #d6e3ed;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:10px}.protection-option h2{font-size:20px;margin:0}.coverage-amount{font-size:25px;color:#14689a}.offer-fees{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0}.offer-fees dd{margin:0;text-align:right}.protection-topup{display:flex;gap:10px;background:#edf6fb;padding:14px;border-radius:8px}.protection-topup input{width:auto;align-self:flex-start;margin-top:4px}.protection-topup small{display:block;margin-top:8px;line-height:1.5}.protection-reference{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.protection-stats{margin:20px 0}.agreement-record{padding:18px 0;border-bottom:1px solid #e1e9ef;display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start}.agreement-record h3{margin:0 0 6px}.agreement-record details{flex-basis:100%}.terms-frame{display:block;width:100%;height:400px;border:1px solid #dae4ec;border-radius:8px;margin:16px 0}.signature-pad{display:block;width:100%;max-width:700px;height:auto;aspect-ratio:5/2;background:white;border:2px dashed #a8becd;border-radius:8px;touch-action:none;cursor:crosshair;margin:10px 0}.signature-preview{width:100%;max-width:500px;max-height:200px;border:1px solid #dce6ed;border-radius:8px;margin:10px 0}.signature-consent{display:flex;gap:12px;align-items:flex-start;margin:20px 0;line-height:1.6}.signature-consent input{width:auto;flex-shrink:0;margin-top:5px}.signature-label{display:block;font-weight:600;margin-top:20px}.hash-list dt{font-weight:600;margin-top:10px}.hash-list dd{margin:6px 0;overflow-wrap:anywhere;font-size:12px}.hash-text{overflow-wrap:anywhere}.public-protection{max-width:1280px;margin:auto;padding:30px 24px 70px}.public-protection-header{display:flex;align-items:center;gap:24px;margin-bottom:24px}.public-protection-header img{width:125px;height:125px;object-fit:contain}.public-protection-header h1{font-size:28px;margin:8px 0}.link-copy{width:100%;min-width:0}.protection-options .btn.primary{margin-top:auto}.agreement-reader>a{margin-top:8px}@media(max-width:650px){.public-protection{padding:16px}.public-protection-header{gap:12px}.public-protection-header img{width:80px;height:80px}.public-protection-header h1{font-size:21px}.protection-options{grid-template-columns:1fr}.terms-frame{height:300px}.protection-reference{align-items:flex-start;gap:12px;flex-direction:column}.agreement-record .actions{flex-wrap:wrap}}

.protection-row-actions{min-width:145px;white-space:normal}.protection-row-actions .btn{margin:2px 3px 2px 0;white-space:normal}

.protection-breakdown{table-layout:fixed;width:100%;white-space:normal}.protection-breakdown td{padding:12px 8px;white-space:normal}.protection-breakdown td:first-child{width:53%}.protection-breakdown td.number{width:47%;white-space:nowrap}.customer-nav [data-nav="my_agreements"]{white-space:normal;text-align:left}
@media(max-width:450px){.protection-breakdown{font-size:.8rem}.protection-breakdown td{padding:10px 4px}}
/* rc10: invoice revisions and shipment-based protection workspace */
.protection-nav{margin-bottom:20px}.protection-nav a{padding:12px 18px;text-decoration:none}.protection-filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.protection-filter-chips .btn{border-radius:22px;font-size:12px;padding:8px 13px;background:#fff}.protection-filter-chips .selected{background:#14689a;color:#fff;border-color:#14689a}.protection-toolbar{flex-wrap:wrap}.protection-toolbar select{max-width:240px}.protection-workspace-table small,.protection-purchase small,.protection-invoice small,.protection-workspace-table td small{display:block;color:#6a8095;font-size:11px;margin-top:6px}.protection-workspace-table td{vertical-align:middle;padding:18px 14px}.protection-workspace-table .strong{font-weight:700}.protection-workspace-table .uncovered{font-weight:700;color:#a86516}.protection-overview{background:white;border:1px solid #d7e3ed;border-radius:12px;padding:24px;margin:20px 0}.coverage-track{height:14px;border-radius:8px;background:#fae9d4;overflow:hidden;margin:22px 0 10px}.coverage-track span{display:block;height:100%;background:#14689a;border-radius:8px}.coverage-legend{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#647a8f;font-size:12px}.coverage-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#14689a;margin-right:7px}.protection-deadline{border-top:1px solid #e2ebf2;padding-top:18px;margin-top:20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}.protection-deadline svg{width:18px;height:18px}.protection-purchase{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;padding:24px;border:1px solid #d7e3ed;border-radius:10px;margin:16px 0}.protection-purchase h3{margin:7px 0 12px}.protection-purchase p{margin:12px 0 0;color:#61778a}.protection-steps{padding:0;display:flex;list-style:none;gap:0;counter-reset:none;margin:24px 0}.protection-steps li{flex:1;display:flex;gap:8px;align-items:center;border-bottom:3px solid #dde6ee;padding:12px 6px;font-size:12px;color:#708598}.protection-steps li b{width:25px;height:25px;border-radius:50%;background:#eaf0f4;display:grid;place-items:center;flex-shrink:0}.protection-steps .reached{border-color:#14689a;color:#14689a}.protection-steps .reached b{background:#14689a;color:white}.offer-introduction{margin:20px 0}.offer-introduction h2{font-size:24px}.protection-options{align-items:stretch}.protection-option{display:flex;flex-direction:column;padding:24px!important}.protection-option .product-description{color:#61778a;min-height:18px}.protection-option .btn.primary{margin-top:auto}.protection-option.included{background:#f4f8fb}.protection-option .coverage-amount{margin:10px 0;font-size:26px}.offer-update{background:#fff6e8;border:1px solid #eed0a2;border-radius:10px;padding:20px;margin:16px 0}.offer-update h3{margin:0 0 8px}.protection-invoice{background:white;border:1px solid #d7e3ed;border-radius:12px;padding:30px;margin:24px 0;box-shadow:0 3px 14px #15365506}.protection-invoice-head{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:2px solid #14689a;padding-bottom:14px}.protection-invoice-head img{width:140px;height:120px;object-fit:contain}.protection-invoice-head h2{font-size:23px;margin:8px 0}.protection-invoice-head p{font-size:12px;color:#61778a}.protection-invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px 0}.protection-invoice label{display:block;font-size:11px;color:#708598;margin-bottom:7px}.protection-invoice-coverage{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:18px;background:#f0f6fa;padding:20px;border-radius:8px;margin-bottom:22px}.protection-invoice-coverage strong{font-size:16px}.protection-invoice-total{display:flex;justify-content:space-between;align-items:center;background:#14689a;color:white;padding:20px 24px;border-radius:8px;margin:20px 0 12px}.protection-invoice-total strong{font-size:29px}.invoice-paid-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#61778a;margin:12px 0 22px}.invoice-bank{background:#f0f6fa;border-left:3px solid #14689a;padding:16px 20px;border-radius:4px}.invoice-bank p{margin:8px 0}.protection-invoice>p{line-height:1.7}.protection-history{padding:14px 0;border-bottom:1px solid #dce6ee}.protection-history summary{cursor:pointer;color:#14689a}.protection-report-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.protection-report-form .field{flex:1;min-width:180px}.protection-report-form .btn{margin-bottom:4px}.protection-balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.protection-balance-grid>div{padding:20px;border:1px solid #e0e8ef;border-radius:8px}.protection-balance-grid strong{display:block;font-size:22px;margin-top:14px}.offer-preview-mini{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0}.offer-preview-mini>div{display:flex;flex-direction:column;gap:8px;padding:18px;background:#f0f6fa;border-radius:8px}.offer-preview-mini span{font-size:12px}.invoice-adjust-editor{margin-top:22px;border-top:1px solid #dce6ee;padding-top:20px}.invoice-adjust-editor>p{color:#61778a;line-height:1.6}.invoice-adjust-editor .actions{margin:18px 0}.invoice-preview-total{padding:15px;background:#edf5fa;display:flex;justify-content:space-between}.protection-prompt-amount{font-size:30px;font-weight:700;color:#14689a}.public-protection-header .language{margin-left:auto;max-width:160px}.protection-invoice td{white-space:normal!important}.public-protection .summary-note{line-height:1.7}
@media(max-width:700px){.protection-purchase{align-items:stretch;flex-direction:column}.protection-invoice{padding:18px}.protection-invoice-head{align-items:flex-start;flex-direction:column;gap:4px}.protection-invoice-head img{width:105px;height:85px}.protection-invoice-head h2{font-size:18px;overflow-wrap:anywhere}.protection-invoice-meta{grid-template-columns:1fr}.protection-invoice-total{padding:17px;gap:12px;flex-wrap:wrap}.protection-invoice-total strong{font-size:24px}.protection-steps li{font-size:10px;flex-direction:column;gap:6px;align-items:flex-start}.protection-overview{padding:17px}.public-protection-header{flex-wrap:wrap}.public-protection-header .language{margin-left:0}.protection-toolbar select{max-width:100%}.protection-report-form .btn{width:100%}}
.protection-window-table small,.protection-money-table small{display:block;color:#6a8095;font-size:11px;margin-top:6px}.protection-window-table th,.protection-money-table th{white-space:normal!important;line-height:1.5}.protection-invoice-meta label:not(:first-child){margin-top:14px}.protection-invoice .invoice-bank+p{margin-top:15px}
/* rc11: protection workspace, claims and readable financial summaries */
.rc11-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.rc11-stat{min-width:0;background:#f6f9fc;border:1px solid #d7e4ed;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:9px;color:#113249;text-align:left}.rc11-stat>span{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.rc11-stat>strong{font-size:clamp(18px,1.6vw,26px);overflow-wrap:anywhere}.rc11-stat-button{cursor:pointer;font-family:inherit}.rc11-stat-button:hover{border-color:#14689a;background:#eef6fc}.rc11-stat small{font-size:12px;color:#14689a}.protection-balance-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.protection-balance-grid>div{min-width:0!important;display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:18px!important;border-radius:10px;border-top:3px solid #14689a}.protection-balance-grid .badge{white-space:normal!important;overflow-wrap:anywhere;line-height:1.5}.protection-balance-grid strong{font-size:clamp(18px,1.6vw,25px)!important;overflow-wrap:anywhere}.protection-balance-grid .balance-claim_open,.protection-balance-grid .balance-claim_window_unset{border-top-color:#b75c13;background:#fffaf3}.protection-balance-grid .balance-complete_without_claim{border-top-color:#2c8061;background:#f4fbf7}.protection-balance-grid .balance-eligible_for_closure{border-top-color:#7355a6}.protection-balance-grid .balance-cancelled{border-top-color:#b45264;background:#fff7f8}.protection-report-form{display:grid!important;grid-template-columns:minmax(160px,260px) minmax(160px,260px) auto!important;align-items:end!important;justify-content:start;gap:16px}.rc11-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.rc11-products .panel-body{padding:24px}.rc11-products .offer-fees{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rc11-products dd{overflow-wrap:anywhere}.rc11-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:24px}.rc11-steps span{padding:12px;border-bottom:3px solid #dce5ed;color:#647789;font-size:13px}.rc11-steps .done{color:#14689a;border-bottom-color:#14689a;background:#f0f7fc}.rc11-actions{padding:14px 0;flex-wrap:wrap}.rc11-recovery{padding:16px 0;border-bottom:1px solid #dce5ed}.pdf-dropzone{padding:16px;border:2px dashed #cadce9;border-radius:8px;display:grid;gap:12px;min-width:0}.pdf-dropzone.dragging{background:#e9f5ff;border-color:#14689a}.pdf-dropzone input{max-width:100%;font-size:13px}.pdf-dropzone small{color:#60758c}.pdf-preview{border:0;width:100%;height:300px;margin-top:12px}.pdf-upload-progress{width:100%;accent-color:#14689a}.rc11-claim-list .document-row{gap:16px;align-items:flex-start}.rc11-claim-list .document-row>div{min-width:0}.rc11-claim-list p{overflow-wrap:anywhere}.permission-group .permission{align-items:flex-start;line-height:1.5}#role-preview-result ul{columns:2;padding-left:20px;font-size:13px}#role-preview-result li{break-inside:avoid;padding:4px}
@media(min-width:1600px){.rc11-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.protection-balance-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:900px){.rc11-stats,.protection-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rc11-products{grid-template-columns:1fr}}
@media(max-width:560px){.rc11-stats,.protection-balance-grid{grid-template-columns:1fr!important}.protection-report-form{grid-template-columns:1fr!important;justify-content:stretch}.rc11-steps span{padding:10px 5px;font-size:12px}.rc11-claim-list .document-row{flex-direction:column}#role-preview-result ul{columns:1}}
#modal{background:#fff}.pdf-dropzone summary{overflow-wrap:anywhere;line-height:1.5}.pdf-dropzone details{min-width:0}
.protection-nav{display:flex;flex-wrap:wrap;gap:6px}.protection-nav a{display:flex;align-items:center;min-height:44px;line-height:1.45;border-radius:7px}.protection-nav a.active{background:#eaf4fb}.protection-nav a:hover{background:#f0f6fa}@media(max-width:560px){.protection-nav{gap:4px}.protection-nav a{padding:9px 11px;font-size:13px}}
/* rc12: expanded reading, customer levels and shipment progress */
.pdf-fullscreen{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#eef3f8;color:#13364e;overflow:hidden}.pdf-fullscreen[open]{display:flex;flex-direction:column}.pdf-fullscreen header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:white;border-bottom:1px solid #d8e3ed;flex-wrap:wrap}.pdf-fullscreen iframe{width:100%;flex:1;min-height:0;border:0}.agreement-reader>.btn{margin:0 8px 12px 0}.shipment-current{display:flex;justify-content:space-between;gap:20px;padding:0 0 20px;flex-wrap:wrap}.shipment-current>div{display:grid;gap:8px}.shipment-current small{color:#688199}.pending-shipment{background:#fff7e8;border:1px solid #f2d59c;border-radius:10px;padding:16px 18px;margin-bottom:20px}.pending-shipment p{margin:8px 0;color:#77571e}.rich-timeline .event{padding-bottom:24px}.event-heading{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}.event-heading time{white-space:nowrap}.event-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;background:#f6f9fc;padding:14px;border:1px solid #e6edf3;border-radius:8px;margin-top:12px}.event-details:empty{display:none}.event-details>div{display:grid;gap:4px;overflow-wrap:anywhere}.event-details span{font-size:11px;color:#6d8195}.event-details strong{font-size:12px;font-weight:500}.rich-timeline .event>.btn{margin-top:10px}.level-summary{display:flex;align-items:center;gap:20px}.level-summary>strong{color:#14689a;font-size:22px}.level-summary>span{background:#edf6fb;border-radius:20px;padding:6px 12px}.standard-protection{border-top:4px solid #14689a}.rc11-products .standard-protection table{min-width:0}.document-row small{display:block;margin-top:6px}button:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:650px){.event-details{grid-template-columns:1fr}.pdf-fullscreen header{padding:10px}.pdf-fullscreen .actions{gap:6px;flex-wrap:wrap}.pdf-fullscreen header>strong{display:none}.event-heading{display:block}}
/* RC13 workspace */
.rc13-nav{display:block;padding:12px 10px;overflow:auto;flex:1}.rc13-nav details{margin:5px 0 12px}.rc13-nav summary{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#718497;padding:8px 12px;cursor:pointer}.rc13-nav a{display:flex;align-items:center;gap:10px;padding:10px 13px;margin:2px 0;border-radius:6px;text-decoration:none;color:#43627a;font-size:13px}.rc13-nav a svg{width:18px;height:18px}.rc13-nav a:hover{background:#f1f6fa}.rc13-nav a.active{background:#e8f2f9;color:#126899;font-weight:600}.sidebar:has(.rc13-nav){width:236px;display:flex;flex-direction:column;max-height:100dvh;overflow:hidden}.app:has(.rc13-nav){grid-template-columns:236px minmax(0,1fr)}.app:has(.rc13-nav) .workspace{margin-left:0}.rc13-nav+.sidebar-footer{position:static;padding:18px 22px;flex-shrink:0}.sidebar:has(.rc13-nav) .brand{flex-shrink:0}.field-error{color:#b42c31;font-size:12px}input[aria-invalid=true]{border-color:#b42c31;box-shadow:0 0 0 2px #b42c3115}.rc13-freight header{display:flex;justify-content:space-between;align-items:center;gap:12px}.rc13-freight header h3{margin:0}.freight-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.freight-metrics>div{background:#f5f8fb;border:1px solid #e2ebf2;padding:16px;border-radius:8px}.freight-metrics small{display:block;color:#627b91;font-size:12px}.freight-metrics strong{display:block;margin-top:8px;font-size:21px;color:#193b55}.freight-metrics strong span{font-size:12px;font-weight:400}.rc13-freight td:not(:first-child),.rc13-freight th:not(:first-child){text-align:right}.rc13-freight tfoot{background:#eaf3f9}.rc13-freight details{margin-top:16px}.rc13-freight summary{cursor:pointer;color:#14689a}.attention-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.attention-count{display:block;font-size:32px;color:#14689a;margin-bottom:14px}.attention-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #edf2f6}.attention-shortcut{display:flex;justify-content:space-between;gap:20px;background:#eaf3fa;border:1px solid #ccdfed;border-radius:8px;padding:20px;margin-bottom:22px;text-decoration:none}.commission-toolbar{gap:16px;flex-wrap:wrap}.commission-toolbar label{display:flex;align-items:center;gap:8px}.commission-status{padding:14px 20px;background:#fff6e7;border:1px solid #f2d3a3;border-radius:8px;display:flex;gap:18px;margin:16px 0}.commission-status.final{background:#eaf7f1;border-color:#bde3d2}.verify-email{padding:18px;background:#eff6fa;border:1px solid #cbdfea;border-radius:8px;margin-top:20px}.verification-code{margin-top:12px}.verification-code input{width:150px}.commission-toolbar input[type=month]{min-width:160px}.shipment-warning{padding:8px 12px!important;margin-bottom:8px!important}.rc13-freight{padding:20px!important}#commission-search{margin-bottom:16px;max-width:430px;width:100%}.rc13-nav summary:focus-visible,.rc13-nav a:focus-visible{outline:2px solid #14689a;outline-offset:2px}@media(max-width:900px){.app:has(.rc13-nav) .workspace{margin-left:0}.sidebar:has(.rc13-nav){width:236px}.freight-metrics{grid-template-columns:repeat(2,1fr)}.attention-grid{grid-template-columns:1fr}.attention-shortcut{flex-direction:column}.commission-status{flex-wrap:wrap}}

@media(max-width:900px){.app:has(.rc13-nav){grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.sidebar:has(.rc13-nav){display:none}.sidebar.mobile-open:has(.rc13-nav){display:flex}.app:has(.rc13-nav) .menu-toggle{display:inline-flex}}
/* RC14 commission categories, restricted finance, and FCL workspace */
.rate-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:16px 0}.rate-cards article{border:1px solid #dce6ee;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:8px}.rate-cards strong{font-size:18px}.muted{color:#6c7e8a;font-weight:400;font-size:13px}.rates-table{min-width:860px}.rate-history{border-bottom:1px solid #dce6ee;padding:16px 0}.commission-category-editor{margin-top:20px;display:grid;gap:10px}.commission-category-editor>div{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:12px;background:#f5f8fa;border-radius:8px}.commission-category-editor .disabled{opacity:.68}.test-code{padding:18px;border-bottom:1px solid #dce6ee}.otp-code{font-size:30px;letter-spacing:7px;margin-right:20px}.fcl-hero{background:#eaf3f8;border:1px solid #d4e5ef;border-radius:12px;padding:20px;margin-bottom:20px}.fcl-container-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.fcl-container{border:1px solid #dce6ee;border-radius:10px;padding:16px}.fcl-milestone{border-left:3px solid #14689a;margin:12px 0;padding:4px 16px}.fcl-milestone.overdue{border-color:#c66b17;background:#fff7e9}.fcl-money-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.fcl-money-compare>div{padding:16px;border:1px solid #dce6ee;border-radius:10px}.fcl-money-compare strong{display:block;font-size:20px;margin-top:10px}.fcl-quote-public{max-width:1080px;margin:30px auto;padding:0 20px}.fcl-message{padding:14px 0;border-bottom:1px solid #e4ebf0;white-space:pre-wrap}.fcl-form-section{margin:20px 0;padding:18px;border:1px solid #dce6ee;border-radius:10px}.fcl-form-section h3{margin-top:0}.fcl-sizes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.fcl-status{font-weight:600;color:#14689a}.fcl-quote-lines{min-width:760px}.fcl-public-brand{display:flex;align-items:center;gap:16px}.fcl-public-brand img{width:100px;height:auto}@media(max-width:650px){.fcl-sizes{grid-template-columns:repeat(2,1fr)}.commission-category-editor>div{grid-template-columns:1fr}.fcl-quote-public{padding:0 12px}}

.fcl-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px 24px;padding:12px 0}.fcl-info>div{min-width:0;overflow-wrap:anywhere}.fcl-info span{display:block;color:#647d91;font-size:12px;margin-bottom:7px}.fcl-info strong{display:block;font-size:14px;font-weight:600}.fcl-container>strong{display:block}.fcl-container p{margin:9px 0;line-height:1.6}.fcl-container .btn{margin-top:12px}.fcl-timeline-group{border:1px solid #dce6ee;border-radius:8px;margin:10px 0;padding:12px 16px}.fcl-timeline-group summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}.fcl-timeline-group summary:before{content:'▸';color:#14689a}.fcl-timeline-group[open] summary:before{content:'▾'}.fcl-timeline-group summary strong{flex:1}.fcl-timeline-group summary>span{font-size:12px;color:#647d91}.fcl-milestone p{display:flex;flex-wrap:wrap;gap:8px 24px;margin:10px 0}.fcl-milestone p>span{font-size:13px}.fcl-milestone .sub{display:block;margin-top:6px}@media(max-width:650px){.fcl-info{grid-template-columns:repeat(2,minmax(0,1fr))}.fcl-timeline-group summary{flex-wrap:wrap}.fcl-timeline-group summary>span{width:100%;padding-left:22px}}

.rates-table th .sub{display:block;font-weight:400;font-size:11px;margin-top:6px;white-space:nowrap}.rates-table th,.rates-table td{vertical-align:top}
/* RC15: fewer main sections, readable record workspaces, viewport-safe dialogs. */
.workspace-tabs{position:sticky;top:0;z-index:8;background:#fff;padding:10px 28px;border-bottom:1px solid #d7e3ec;gap:7px;overflow-x:auto;flex-wrap:nowrap}.workspace-tabs a{white-space:nowrap;text-decoration:none;color:#34556b;padding:10px 16px;border-radius:7px}.workspace-tabs a.active{background:#e5f2fa;color:#096394;font-weight:700}.rc15-main-nav a{display:flex;gap:12px;align-items:center;margin:6px 0;padding:13px 14px;border-radius:8px;text-decoration:none;color:#365368}.rc15-main-nav a.active{background:#e2f1fa;color:#076899;font-weight:700}.rc15-main-nav{padding-top:20px}.rc15-main-nav svg{width:20px;height:20px}.top-actions{flex-wrap:wrap;gap:8px}.rc15-record-heading{display:flex;align-items:center;gap:20px;padding:20px 24px;margin:16px 0;background:#eaf4fa;border:1px solid #cde2ef;border-radius:12px}.rc15-record-heading>strong{margin-left:auto;font-size:24px;color:#125f89}.rc15-record-tabs{margin:18px 0;display:flex;overflow-x:auto;gap:6px;flex-wrap:nowrap}.rc15-record-tabs .btn{white-space:nowrap}.rc15-record-tabs .active{background:#126a99;color:white}.rc15-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.rc15-quote,.rc15-container,.rc15-thread,.rc15-history{border:1px solid #d3e2ec;border-radius:12px;background:#fff;padding:22px;margin:14px 0}.rc15-quote h2{color:#14689a;margin:16px 0}.rc15-quote details{margin:16px 0}.rc15-quote .actions{gap:8px;margin-top:18px}.rc15-container>summary,.rc15-thread>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:16px}.rc15-container summary small{display:block;font-size:12px;color:#687f90;margin-top:5px}.rc15-container .fcl-timeline-group{border:0;padding:0}.rc15-container .fcl-timeline-group>summary{display:none}.rc15-chat{display:flex;flex-direction:column;gap:12px;margin:18px 0}.rc15-chat article{background:#f1f6fa;border-radius:0 12px 12px 12px;padding:16px 20px;max-width:90%;border-left:3px solid #6da9ca}.rc15-chat article>div{display:flex;gap:20px;justify-content:space-between}.rc15-chat small{color:#6a8090;margin-left:12px}.rc15-chat p{margin:8px 0 0;line-height:1.6}.rc15-thread summary>span:first-child{font-weight:700}.rc15-fieldset{border:1px solid #d6e4ee;border-radius:10px;padding:18px 20px;margin:18px 0}.rc15-fieldset legend{font-weight:700;color:#125f89;padding:0 7px}.rc15-fieldset .repeat-row{border:1px solid #cddde8;border-radius:10px;background:#f5f9fc;padding:16px;margin:16px 0}.rc15-fcl-table td{padding-top:18px;padding-bottom:18px;vertical-align:top}.rc15-history td{max-width:350px;overflow-wrap:anywhere}.rc15-backup-reminder{border-left:4px solid #dfab32;background:#fff9e7}.pdf-viewer-toolbar{display:flex;gap:10px;margin:12px 0;align-items:center}.pdf-preview,.rc15-pdf{width:100%;height:min(65vh,760px);min-height:360px;border:1px solid #cddbe5;border-radius:6px;background:#e5e9ed}.pdf-dropzone{padding:16px!important}.pdf-dropzone details{margin-top:12px}.pdf-dropzone summary{cursor:pointer;overflow-wrap:anywhere}.pdf-dropzone input[type=file]{width:100%;padding:12px;background:#f7fafc}.pdf-dropzone iframe{display:block}.modal-head,.modal-foot{flex-shrink:0;background:#fff;z-index:2}.modal-foot{position:sticky;bottom:0;border-top:1px solid #d4e2ec}.modal-head{position:sticky;top:0}#modal{max-height:94dvh;overflow:hidden;padding:0}#dialog-form{max-height:94dvh;display:flex;flex-direction:column;margin:0}#dialog-form>.modal-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px}.rc15-fieldset .multi{display:flex;flex-wrap:wrap;gap:10px}fieldset{min-width:0}.rc15-record-tabs .btn:focus-visible,.rc15-main-nav a:focus-visible,.workspace-tabs a:focus-visible{outline:3px solid #e0aa31;outline-offset:2px}
@media(max-width:760px){.workspace-tabs{padding:8px 12px}.rc15-record-heading{flex-wrap:wrap;gap:10px;padding:16px}.rc15-record-heading>strong{margin-left:0;flex-basis:100%;font-size:22px}.rc15-row{flex-wrap:wrap}.rc15-container,.rc15-thread,.rc15-quote{padding:16px}.rc15-chat article{max-width:100%}.rc15-chat article>div{flex-wrap:wrap;gap:5px}.pdf-preview,.rc15-pdf{min-height:280px;height:56dvh}#dialog-form>.modal-body{padding:16px}.rc15-fieldset{padding:12px}.top-actions .username{display:none}.rc15-container>summary,.rc15-thread>summary{align-items:flex-start;flex-wrap:wrap}}

.rc15-fcl-table{width:100%}.panel .toolbar #search-input{width:min(620px,100%);flex:1;min-width:200px}.rc15-fieldset [data-repeater="fcl_transits"] .repeat-row{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rc15-fieldset [data-repeater="fcl_transits"] .repeat-row input{font-size:1rem}.tlh-pdf-viewer{background:#e5ebf0;border:1px solid #c7d7e2;border-radius:8px;overflow:hidden;margin-top:12px}.tlh-pdf-controls{position:sticky;top:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;background:#fff;flex-wrap:wrap;border-bottom:1px solid #c7d7e2}.tlh-pdf-controls button{border:1px solid #c7d7e2;border-radius:5px;background:white;padding:6px 10px;color:#17445f;font-size:13px}.tlh-pdf-controls [data-pdf-status]{font-size:13px;min-width:108px;text-align:center}.tlh-pdf-pages{height:min(62dvh,750px);overflow:auto;padding:16px;text-align:center;min-width:0}.tlh-pdf-pages canvas{display:block;background:white;box-shadow:0 2px 8px #0002;margin:0 auto}.tlh-pdf-error{padding:18px}.tlh-pdf-viewer:fullscreen{border:0;display:flex;flex-direction:column}.tlh-pdf-viewer:fullscreen .tlh-pdf-pages{flex:1;height:auto}@media(max-width:760px){.rc15-fieldset [data-repeater="fcl_transits"] .repeat-row{grid-template-columns:1fr}.tlh-pdf-controls{gap:5px}.tlh-pdf-controls .btn,.tlh-pdf-controls button{font-size:12px}.tlh-pdf-pages{height:50dvh;padding:10px}}
