/* Comdity front page (marketplace). Approved design of 21 Oct 2026. */
:root{--navy:#1f2327;--ink:#1f2327;--sell:#173f7a;--acc:#0b6b57;--acc2:#0a5a49;--mut:#5f6b76;--line:#e6e9ec;--soft:#f5f7f6;--buy:#0b6b57}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ink);font:400 16px/1.5 "Instrument Sans","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;min-height:100vh}
body>*{width:100%}
body>footer{margin-top:auto}
a{color:inherit;text-decoration:none}
.wrap{max-width:1240px;margin:0 auto;padding:0 20px}
/* header */
.hdr{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;height:68px;gap:22px}
.hdr img{height:28px;display:block}
.nav{display:flex;gap:22px;margin-left:16px;font-size:15px;color:var(--mut)}
.nav a:hover{color:var(--navy)}
.sp{flex:1}
.lnk{font-size:15px;color:var(--navy)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 20px;border-radius:8px;font:600 15px "Instrument Sans",Arial,sans-serif;background:#fff;color:var(--navy);border:1.5px solid var(--navy);cursor:pointer;white-space:nowrap}
.btn:hover{background:var(--soft)}
.btn.sm{height:36px;padding:0 16px;font-size:14px}
/* top: title + search */
.top{padding:34px 0 22px}
h1{font-weight:400;font-size:clamp(26px,3.4vw,40px);letter-spacing:-.018em;line-height:1.12;margin:0 0 6px;color:var(--navy)}
h1 b{font-weight:600}
.lead{margin:0 0 20px;color:var(--mut);font-size:17px}
.search{display:grid;grid-template-columns:1.5fr 1fr auto auto;gap:10px;align-items:center;border:1.5px solid var(--navy);border-radius:14px;padding:10px;background:#fff}
.field{position:relative}
.field svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--mut)}
.field input{width:100%;height:52px;border:0;padding:0 14px 0 44px;font:400 17px "Instrument Sans",Arial,sans-serif;color:var(--ink);outline:none;background:transparent}
.seg{display:flex;border:1px solid var(--line);border-radius:10px;padding:3px;height:52px;background:var(--soft)}
.seg label{position:relative;display:flex;align-items:center;justify-content:center;min-width:64px;padding:0 12px;border-radius:7px;font-weight:600;font-size:14.5px;color:var(--mut);cursor:pointer}
.seg input{position:absolute;opacity:0;inset:0;cursor:pointer}
.seg label:has(input:checked){background:#fff;color:var(--navy);box-shadow:0 0 0 1.5px var(--navy) inset}
.seg label:has(input:focus-visible){outline:2px solid var(--navy);outline-offset:2px}
.search .btn{height:52px;padding:0 28px;font-size:16px}
/* body: sidebar + list */
.main{display:grid;grid-template-columns:270px 1fr;gap:28px;padding-bottom:60px;align-items:start}
.side{position:sticky;top:84px;max-height:calc(100vh - 100px);overflow:auto;padding-right:6px}
.side h3{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);margin:0 0 10px}
.cat{border-top:1px solid var(--line)}
.cat:last-child{border-bottom:1px solid var(--line)}
.cat>button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 2px;background:none;border:0;font:600 15px "Instrument Sans",Arial,sans-serif;color:var(--navy);cursor:pointer;text-align:left}
.cat>button .n{font-weight:400;color:var(--mut);font-size:14px}
.cat>button:hover{background:var(--soft)}
.cat ul{list-style:none;margin:0 0 8px;padding:0 0 0 10px;display:none}
.cat.open ul{display:block}
.cat li button{width:100%;display:flex;justify-content:space-between;gap:8px;padding:5px 8px;background:none;border:0;border-radius:6px;font:400 14.5px "Instrument Sans",Arial,sans-serif;color:var(--ink);cursor:pointer;text-align:left}
.cat li button:hover{background:var(--soft)}
.cat li button.on{background:var(--acc);color:#fff}
.cat li .n{color:var(--mut)}.cat li button.on .n{color:#d1d5db}
.cat>button.on{text-decoration:underline}
.bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.res{font-size:15px;color:var(--mut)}.res b{color:var(--navy)}
.tabs{display:flex;gap:6px}
.tab{border:1px solid var(--line);border-radius:999px;padding:6px 16px;font:600 14px "Instrument Sans",Arial,sans-serif;color:var(--mut);background:#fff;cursor:pointer}
.tab.on{border-color:var(--navy);color:var(--navy);box-shadow:0 0 0 1px var(--navy) inset}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--navy);border-radius:999px;padding:3px 6px 3px 12px;font-size:14px;color:var(--navy)}
.pill button{border:0;background:var(--soft);border-radius:50%;width:20px;height:20px;line-height:18px;cursor:pointer;color:var(--navy)}
.list{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.row{display:grid;grid-template-columns:78px 1.5fr .85fr .9fr .9fr 1.2fr 96px;gap:18px;align-items:center;padding:15px 18px;border-top:1px solid var(--line);font-size:15px}
.row.th{border-top:0;background:var(--soft);font-size:13px;color:var(--mut);padding:10px 18px}
.row:not(.th):hover{background:#fafafa}
.badge{display:inline-block;font-size:12px;font-weight:700;border-radius:6px;padding:3px 9px;letter-spacing:.04em}
.badge.s{background:var(--navy);color:#fff}
.badge.b{background:#fff;color:var(--buy);box-shadow:0 0 0 1.5px var(--buy) inset}
.p b{font-weight:600;display:block;line-height:1.3}
.p small{color:var(--mut);font-size:13.5px}
.term{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:0 7px;font-size:13px;font-weight:600;margin-right:4px}
.co{min-width:0}.co small{display:block;color:var(--mut);font-size:13px}
.empty{padding:50px 20px;text-align:center;color:var(--mut)}
.empty b{display:block;color:var(--navy);font-size:18px;margin-bottom:6px}
.empty .btn{margin-top:14px}
.note{font-size:13px;color:var(--mut);margin:12px 2px 0}
button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--navy);outline-offset:2px}

/* v3: accent, depth, live strip */
.btn.pri{background:var(--acc);border-color:var(--acc);color:#fff}.btn.pri:hover{background:var(--acc2)}
.btn:not(.pri):hover{border-color:var(--acc);color:var(--acc)}
.hdr{border-bottom:0;box-shadow:0 1px 0 var(--line)}
.hdr:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--acc),transparent 55%);opacity:.9}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--acc);margin-bottom:10px}
.eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 4px rgba(11,107,87,.15)}
.top{padding:38px 0 26px}
h1 b{color:var(--acc);font-weight:600}
.search{border:1px solid var(--line);box-shadow:0 18px 40px -22px rgba(31,35,39,.35),0 2px 6px rgba(31,35,39,.05);border-radius:16px}
.search:focus-within{border-color:var(--acc);box-shadow:0 0 0 4px rgba(11,107,87,.12),0 18px 40px -22px rgba(31,35,39,.35)}
.seg label:has(input:checked){box-shadow:0 0 0 1.5px var(--acc) inset;color:var(--acc)}
.stats{display:flex;gap:26px;flex-wrap:wrap;margin-top:16px;font-size:14px;color:var(--mut)}
.stats b{color:var(--navy);font-weight:600;margin-right:4px}
.row{position:relative}
.row:not(.th):before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--sell)}
.row.buy:before{background:var(--acc)}
.row .q{font-weight:600}
.list{box-shadow:0 1px 2px rgba(31,35,39,.04)}
.badge.s{background:#fff;color:var(--sell);box-shadow:0 0 0 1.5px var(--sell) inset}
.tab.on{border-color:var(--acc);color:var(--acc);box-shadow:0 0 0 1px var(--acc) inset;background:#f1f8f5}
.pill{border-color:var(--acc);color:var(--acc)}
.cat li button.on{background:var(--acc)}
.cat>button .n{background:var(--soft);border-radius:999px;padding:0 8px;font-size:12.5px}
.dirbox h3{border-bottom-color:var(--acc)}
.dirbox h3:hover{color:var(--acc)}
.row.th{background:#fff;border-bottom:1px solid var(--line);font-weight:600}
.empty b{color:var(--navy)}
/* directory */
.dir{padding:10px 20px 70px}
.dir h2{font-weight:400;font-size:clamp(22px,2.4vw,28px);letter-spacing:-.01em;color:var(--navy);margin:0 0 18px}
.dirbox{display:grid;grid-template-columns:repeat(4,1fr);gap:34px 30px;border:1px solid var(--line);border-radius:14px;padding:28px 30px}
.dirbox h3{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 8px;padding-bottom:8px;border-bottom:1.5px solid var(--navy);font-size:16px;font-weight:600;color:var(--navy);cursor:pointer}
.dirbox h3 span{font-weight:400;font-size:13.5px;color:var(--mut)}
.dirbox ul{list-style:none;margin:0;padding:0}
.dirbox li button{width:100%;display:flex;justify-content:space-between;gap:8px;padding:5px 6px;margin:0 -6px;background:none;border:0;border-radius:6px;font:400 15px "Instrument Sans",Arial,sans-serif;color:var(--ink);cursor:pointer;text-align:left}
.dirbox li button:hover{background:var(--soft)}
.dirbox li button .n{color:var(--mut);font-size:13.5px}
.dirbox li button.z{color:var(--mut)}
@media (max-width:1100px){.dirbox{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.dirbox{grid-template-columns:1fr;padding:22px}}
/* footer */
footer{border-top:1px solid var(--line);padding:26px 0 36px;color:var(--mut);font-size:14px}
footer .wrap{display:flex;gap:14px 28px;flex-wrap:wrap;justify-content:space-between;align-items:center}
footer nav{display:flex;gap:22px;flex-wrap:wrap}
footer a:hover{color:var(--navy)}
footer .ship a{color:var(--navy);font-weight:600;text-decoration:underline}
.msel{display:none;margin-bottom:6px}
.msel select{width:100%;height:46px;border:1px solid var(--navy);border-radius:10px;padding:0 12px;font:400 16px "Instrument Sans",Arial,sans-serif;color:var(--ink);background:#fff}
@media (max-width:980px){
 .main{grid-template-columns:1fr}
 .side{position:static;max-height:none;overflow:visible;padding:0}
 .side .cats{display:none}
 .msel{display:block}
 .row{grid-template-columns:70px 1fr 1fr;row-gap:4px}.row.th{display:none}
 .nav{display:none}
}
@media (max-width:640px){
 .search{grid-template-columns:1fr}.search .btn{width:100%}.seg label{flex:1}
 .lnk{display:none}.hdr .wrap{gap:12px}
 .row{grid-template-columns:64px 1fr}
}

/* server-rendered version: links instead of buttons */
.cat>.ch{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 2px;font:600 15px "Instrument Sans",Arial,sans-serif;color:var(--navy)}
.cat>.ch:hover{background:var(--soft)}.cat>.ch.on{text-decoration:underline}
.cat>.ch .n{font-weight:400;color:var(--mut);font-size:12.5px;background:var(--soft);border-radius:999px;padding:0 8px}
.cat li a{display:flex;justify-content:space-between;gap:8px;padding:5px 8px;border-radius:6px;font:400 14.5px "Instrument Sans",Arial,sans-serif;color:var(--ink)}
.cat li a:hover{background:var(--soft)}.cat li a.on{background:var(--acc);color:#fff}
.cat li a .n{color:var(--mut)}.cat li a.on .n{color:#d1d5db}
a.tab{display:inline-block}
.pill a{display:inline-block;border-radius:50%;width:20px;height:20px;line-height:19px;text-align:center;background:var(--soft);color:var(--navy);margin-left:2px}
.pager{display:flex;gap:14px;align-items:center;justify-content:center;margin-top:18px;color:var(--mut);font-size:14px}
.dirbox h3 a{color:inherit}
.dirbox li a{display:flex;justify-content:space-between;gap:8px;padding:5px 6px;margin:0 -6px;border-radius:6px;font:400 15px "Instrument Sans",Arial,sans-serif;color:var(--ink)}
.dirbox li a:hover{background:var(--soft)}.dirbox li a .n{color:var(--mut);font-size:13.5px}.dirbox li a.z{color:var(--mut)}

/* posting form and listing page */
.form{padding-bottom:60px;max-width:820px}
.crumb{margin:26px 0 6px;font-size:14px;color:var(--mut)}.crumb a{color:var(--mut)}.crumb a:hover{color:var(--navy)}
.h1{font-weight:400;font-size:clamp(26px,3vw,36px);letter-spacing:-.015em;color:var(--navy);margin:0 0 6px;line-height:1.15}
.h3{font-size:16px;font-weight:600;color:var(--navy);margin:0 0 12px}
.card{border:1px solid var(--line);border-radius:14px;padding:22px 24px;margin:0 0 16px;background:#fff;min-width:0}
fieldset.card legend{float:left;width:100%;font-weight:600;font-size:18px;color:var(--navy);padding:0;margin:0 0 16px;border:0}   /* the title sits inside the card, not on its top line (user, 23 Oct) */
fieldset.card legend+*{clear:both}
.lab{display:block;font-weight:600;font-size:14px;color:var(--navy);margin:16px 0 6px}.lab i{color:#c0392b;font-style:normal}
.form input:not([type=checkbox]):not([type=radio]),.form select,.form textarea{width:100%;border:1px solid #cfd4d9;border-radius:9px;padding:0 13px;height:46px;font:400 16px "Instrument Sans",Arial,sans-serif;color:var(--ink);background:#fff}
.form textarea{height:auto;padding:11px 13px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px rgba(11,107,87,.14)}
.err{display:block;color:#b42318;font-size:13.5px;margin-top:5px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.chk{display:flex;gap:10px;align-items:center;margin:16px 0 4px;font-size:15px;cursor:pointer}.chk input{width:18px;height:18px;accent-color:var(--acc)}.chk small{color:var(--mut)}
.choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.choice label{display:flex;gap:12px;align-items:flex-start;border:1.5px solid var(--line);border-radius:12px;padding:14px 16px;cursor:pointer}
.choice label:has(input:checked){border-color:var(--acc);box-shadow:0 0 0 1px var(--acc) inset}
.choice input{margin-top:4px;accent-color:var(--acc)}.choice b{display:block;color:var(--navy)}.choice small{color:var(--mut)}
.term-row{border:1px solid var(--line);border-radius:12px;padding:6px 16px 14px;margin:8px 0}
.term-fields{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}
.actions{display:flex;flex-direction:row-reverse;justify-content:flex-start;gap:10px;margin-top:22px}
.actions .btn{min-width:120px}
.flash{border-radius:10px;padding:12px 16px;margin:16px 0 0;font-size:15px;border:1px solid var(--line);background:var(--soft)}
.flash.success{border-color:var(--acc);color:var(--acc2)}.flash.danger,.flash.warning{border-color:#e4b4af;color:#b42318;background:#fdf3f2}
.cf{border:0;border-radius:16px;padding:28px;max-width:460px;width:92%;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.cf::backdrop{background:rgba(31,35,39,.45)}.cf h2{margin:0 0 8px;font-weight:600;color:var(--navy);font-size:20px}.cf p{margin:0 0 6px;color:var(--mut)}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.dhead{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.facts small{display:block;color:var(--mut);font-size:13px}.facts b{font-size:16px;color:var(--navy)}.facts .sub{display:block;font-size:13px;color:var(--mut)}
.trow{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line)}.trow:first-of-type{border-top:0}
.mut{color:var(--mut)}.desc{margin:0 0 10px;line-height:1.6}
.orig{display:block;color:var(--mut);font-size:13.5px}
@media (max-width:640px){.two,.choice,.term-fields,.facts{grid-template-columns:1fr}.actions{flex-direction:column-reverse}.actions .btn{width:100%}}
.portpick{position:relative}
.sug{position:absolute;z-index:20;left:0;right:0;top:100%;margin:4px 0 0;padding:4px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 30px -12px rgba(31,35,39,.3);max-height:240px;overflow:auto}
.sug li{padding:8px 10px;border-radius:7px;cursor:pointer;font-size:15px}.sug li:hover{background:var(--soft)}.sug li.none{color:var(--mut);cursor:default}

.help{margin:-2px 0 8px;color:var(--mut);font-size:14px}
[hidden]{display:none!important}

/* member pages: sign in, sign up and other single-card pages */
.auth{max-width:440px;margin:0 auto;padding:44px 20px 70px}
.auth .card{margin-top:18px}
.auth input:not([type=checkbox]):not([type=radio]),.auth select,.auth textarea{width:100%;border:1px solid #cfd4d9;border-radius:9px;padding:0 13px;height:46px;font:400 16px "Instrument Sans",Arial,sans-serif;color:var(--ink);background:#fff}
.auth input:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px rgba(11,107,87,.14)}
.auth .chk{align-items:flex-start}.auth .chk input{margin-top:3px;flex:none}
.wide{width:100%;margin-top:20px}
.alt{text-align:center;margin:16px 0 0;color:var(--mut);font-size:15px}.alt a,.auth .card a{color:var(--navy);font-weight:600;text-decoration:underline}
.rowsb{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;font-size:14.5px}
.lab i,.chk i{color:#c0392b;font-style:normal}

/* member area: page head, numbers, tables, status */
.page{padding-bottom:70px}
.phead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:30px 0 18px}
.phead .lead{margin:4px 0 0}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:26px}
.kpi{border:1px solid var(--line);border-radius:14px;padding:16px 20px}.kpi b{display:block;font-size:28px;font-weight:600;color:var(--navy);line-height:1.1}.kpi span{color:var(--mut);font-size:14px}
.h2{font-weight:600;font-size:20px;color:var(--navy);margin:0}
.tfilter{height:40px;border:1px solid #cfd4d9;border-radius:9px;padding:0 13px;font:400 15px "Instrument Sans",Arial,sans-serif;min-width:220px}
.tfilter:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px rgba(11,107,87,.14)}
.tablewrap{border:1px solid var(--line);border-radius:14px;overflow:auto}
.tbl{width:100%;border-collapse:collapse;font-size:15px}
.tbl th{background:#fff;text-align:left;font-size:13px;font-weight:600;color:var(--mut);padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.tbl td{padding:14px 16px;border-top:1px solid var(--line);vertical-align:middle}
.tbl tbody tr:first-child td{border-top:0}.tbl tbody tr:hover td{background:#fafafa}
.tbl .sub{display:block;color:var(--mut);font-size:13px}
.tbl td.act{white-space:nowrap;text-align:right}.tbl td.act form{display:inline}.tbl td.act .btn{margin-left:6px}
.st{display:inline-block;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:600;background:var(--soft);color:var(--navy)}
.st-active{background:#e3f4ec;color:var(--acc)}.st-under_negotiation{background:#fff4dd;color:#8a5a00}.st-agreed{background:#e3f4ec;color:var(--acc2)}.st-cancelled,.st-ended{background:#f1f1f1;color:var(--mut)}
.empty.card{text-align:center;color:var(--mut);padding:44px 20px}.empty.card b{display:block;color:var(--navy);font-size:18px;margin-bottom:6px}.empty.card .btn{margin-top:16px}
@media (max-width:640px){.kpis{grid-template-columns:1fr}}

/* offers */
.sum .dhead b{font-size:17px;color:var(--navy)}
.act-card{border-color:var(--acc);background:#f7fbf9}.act-card .actions{justify-content:flex-start;flex-direction:row;margin-top:14px}.act-card .actions form{display:inline}
.agreed{border-color:var(--acc)}
.shipcard{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.shipcard p{margin:6px 0}.shipcard .btn{margin-top:6px}
.hist .hhead{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-bottom:12px}.hist .hhead .st{margin-left:auto}
.form.wide{max-width:980px}
a.kpi{display:block}a.kpi:hover{border-color:var(--acc)}

/* key-value list, bell */
.kv{width:100%;border-collapse:collapse;margin-bottom:14px}.kv th{width:36%;text-align:left;font-weight:400;color:var(--mut);font-size:14px;padding:9px 0;border-top:1px solid var(--line)}.kv td{font-weight:600;color:var(--navy);padding:9px 0;border-top:1px solid var(--line)}.kv tr:first-child th,.kv tr:first-child td{border-top:0}
.bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:var(--navy)}.bell:hover{background:var(--soft)}
.bell b{position:absolute;top:2px;right:0;min-width:18px;height:18px;border-radius:9px;background:#c0392b;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;padding:0 5px}
.nlist{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}.nlist li{border-top:1px solid var(--line)}.nlist li:first-child{border-top:0}
.nlist a{display:flex;justify-content:space-between;gap:16px;padding:16px 20px;color:var(--ink)}.nlist a:hover{background:var(--soft)}.nlist .new{background:#f7fbf9;font-weight:600}.nlist small{color:var(--mut);white-space:nowrap;font-weight:400}
.tbl td:first-child{white-space:nowrap}.st{white-space:nowrap}

.sug li.grp{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);cursor:default;padding:10px 10px 4px}.sug li.cur{background:var(--soft)}.sug{max-height:300px}

/* delivery terms: what you offer, then (spaced apart) what else you are open to */
.tgroup{margin-top:18px}.tgroup .tg-title{font-weight:600;font-size:15px;color:var(--navy)}.tgroup .tg-title i{color:#c0392b;font-style:normal}
.tgroup.open{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.tgroup .help{margin:4px 0 12px}
.chips2{display:flex;gap:12px;flex-wrap:wrap}
.term-row.chip{border:1.5px solid var(--line);border-radius:999px;padding:0 18px;margin:0;background:#fff}
.term-row.chip .chk{margin:11px 0}.term-row.chip:has(input:checked){border-color:var(--acc);background:#f7fbf9}
.term-row.chip small{display:none}

/* tab bar of the member area */
.subnav{border-bottom:1px solid var(--line);background:#fff}.subnav .wrap{display:flex;gap:6px;overflow-x:auto}
.subnav a{padding:14px 16px;font-size:15px;color:var(--mut);border-bottom:2px solid transparent;white-space:nowrap}.subnav a:hover{color:var(--navy)}.subnav a.on{color:var(--navy);font-weight:600;border-bottom-color:var(--acc)}
.tbl td.act{white-space:normal;min-width:250px}.tbl td.act .btn,.tbl td.act form{margin:3px 0 3px 6px;vertical-align:middle}

.kpis{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

.dw{font-size:14.5px;color:var(--ink);white-space:nowrap}
.field.portpick{position:relative}.field.portpick .sug{top:100%}
@media (max-width:980px){.search{grid-template-columns:1fr 1fr}.search .field{grid-column:1/-1}.row{grid-template-columns:70px 1fr 1fr}}
@media (max-width:640px){.search{grid-template-columns:1fr}}

/* what the site does, next to the logo (like Shipfixing) */
.hdr .tag{margin-left:18px;padding-left:18px;border-left:1px solid #cfd4d9;color:var(--mut);font-size:14.5px;letter-spacing:.01em;line-height:28px;white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
.top{padding:26px 0 18px}
@media (max-width:900px){.hdr .tag{display:none}}

/* support page */
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:14px}
.steps li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;gap:2px 14px;align-items:start}
.steps li:before{content:counter(s);grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--soft);color:var(--navy);font-weight:600}
.steps b{color:var(--navy)}.steps span{color:var(--mut)}
.faq{border-top:1px solid var(--line);padding:12px 0}.faq:first-of-type{border-top:0}.faq summary{cursor:pointer;font-weight:600;color:var(--navy)}.faq p{margin:8px 0 0;color:var(--mut)}

/* admin */
.subnav.admin{background:#f7faf9}
.kpis4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.kpis4 .kpi .sub{display:block;margin-top:2px;font-size:12.5px;color:var(--mut)}
.mini{height:34px!important;font-size:14px!important;padding:0 8px!important;border:1px solid #cfd4d9;border-radius:8px;width:auto!important}.mini.wide{width:150px!important}
.tbl td.act form{display:inline-flex;gap:6px;align-items:center;margin:3px 0 3px 6px}
.grant{display:grid;grid-template-columns:2fr 1fr 2fr auto;gap:14px;align-items:start}
.ticket .hhead{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.ticket .hhead .st{margin-left:auto}
.reply{margin:10px 0;padding:10px 14px;border-left:3px solid var(--acc);background:#f7faf9;border-radius:0 8px 8px 0;max-width:640px}
.ticket textarea{width:100%;border:1px solid #cfd4d9;border-radius:9px;padding:10px 13px;font:400 15px "Instrument Sans",Arial,sans-serif;margin:8px 0}
@media (max-width:760px){.grant{grid-template-columns:1fr}}

.grant select,.grant input{width:100%;height:46px;border:1px solid #cfd4d9;border-radius:9px;padding:0 13px;font:400 15px "Instrument Sans",Arial,sans-serif;color:var(--ink);background:#fff}
.grant select:focus,.grant input:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px rgba(11,107,87,.14)}
details.manage{position:relative;display:inline-block;text-align:left}details.manage>summary{list-style:none;cursor:pointer}details.manage>summary::-webkit-details-marker{display:none}
.mpanel{position:absolute;right:0;top:100%;z-index:15;margin-top:6px;min-width:300px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:0 14px 30px -12px rgba(31,35,39,.3)}
.mpanel form{display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px!important}.mpanel form:last-child{margin:0!important}
.tbl td.act{min-width:120px}
/* the panel opens inside the row (the table scrolls, so nothing may float outside it) */
.mpanel{position:static;margin-top:8px;min-width:260px;box-shadow:none;background:var(--soft)}

/* offers nested under a posting (My account) */
tr.subrow>td{background:#fafbfa;padding:0 16px 14px!important;border-top:0!important}tr.subrow:hover td{background:#fafbfa!important}
tr.subrow summary{cursor:pointer;padding:10px 0;color:var(--navy)}
.tbl.sub{margin-top:4px;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.tbl.sub th{background:#fff}

/* header: logo row, then the main pages on their own bar (nothing crowds the tagline) */
.hdr .nav{display:none}
.mainnav{border-bottom:1px solid var(--line);background:#fff}
.mainnav .wrap{display:flex;gap:2px;overflow-x:auto}
.mainnav a{display:flex;align-items:center;height:46px;padding:0 16px;font-size:15px;color:var(--mut);border-bottom:2px solid transparent;white-space:nowrap}
.mainnav a:hover{color:var(--navy)}
.mainnav a.on{color:var(--navy);font-weight:600;border-bottom-color:var(--acc)}
.mainnav .wrap{margin-left:auto;margin-right:auto}
.hdr{box-shadow:none}.hdr:after{display:none}

/* legal pages */
.legal{max-width:820px;padding-bottom:70px}
.prose{padding:30px 34px;line-height:1.65;color:var(--ink)}
.prose h2{font-size:19px;font-weight:600;color:var(--navy);margin:28px 0 8px}.prose h2:first-child{margin-top:0}
.prose p{margin:0 0 12px}.prose ul{margin:0 0 12px;padding-left:22px}.prose li{margin:4px 0}.prose a{color:var(--acc);text-decoration:underline}
@media (max-width:640px){.prose{padding:22px 18px}}

.badge.ex{background:#fff;color:#5f6b78;border:1px solid #cfd6dc;margin-left:6px;font-size:11px;letter-spacing:.04em}

.pic{display:flex;gap:16px;align-items:center}.pic-img{width:80px;height:80px;border-radius:50%;object-fit:cover;background:#eef1f3;border:1px solid #e3e7ea}.pic .err{display:block;margin-top:6px}.pic label.btn{cursor:pointer}
.cf select,.cf input:not([type=checkbox]):not([type=radio]){display:block;width:100%;height:46px;border:1px solid #cfd4d9;border-radius:9px;padding:0 13px;font:400 16px "Instrument Sans",Arial,sans-serif;color:var(--ink);background:#fff}
.cf select:focus,.cf input:focus{outline:none;border-color:var(--acc);box-shadow:0 0 0 3px rgba(11,107,87,.14)}
.cf .lab{margin:14px 0 6px}

.hdr a.logo{position:relative;display:inline-block}.hdr a.logo:after{content:"\00ae";position:absolute;top:-2px;right:-14px;font-size:11px;line-height:1;color:var(--ink)}

/* thin line above the header, hamburger menu on phones (like Shipfixing) */
.topline{text-align:center;font-size:13.5px;color:var(--mut);padding:7px 12px;border-bottom:1px solid var(--line);background:#fff}.topline i{font-style:normal;margin:0 6px;color:#cfd4d9}
.burger{display:none;width:44px;height:44px;border-radius:10px;border:0;background:var(--acc);color:#fff;align-items:center;justify-content:center;cursor:pointer}.burger:hover{background:var(--acc2)}
.mmenu{display:none;border-top:1px solid var(--line);background:#fff;box-shadow:0 10px 24px rgba(0,0,0,.08)}
.mmenu a{display:block;padding:14px 0;font-size:16px;color:var(--navy);border-bottom:1px solid var(--line)}.mmenu a.on{font-weight:600}
.hero{padding:26px 0 0}.hero h2{font-weight:400;font-size:clamp(30px,5vw,44px);letter-spacing:-.02em;line-height:1.1;margin:0 0 10px;color:var(--navy)}.hero p{font-size:clamp(18px,2.6vw,25px);line-height:1.3;margin:0;color:var(--navy)}
@media (max-width:640px){
 .burger{display:inline-flex}.mmenu:not([hidden]){display:block}.mainnav{display:none}
 .hdr .btn{height:40px;padding:0 14px;font-size:14px}.hdr .wrap{gap:8px}
}

/* thin divider between the product and the port */
.field.portpick:before{content:"";position:absolute;left:-5px;top:12px;bottom:12px;width:1px;background:var(--line)}
@media (max-width:980px){.field.portpick:before{left:14px;right:14px;top:-5px;bottom:auto;width:auto;height:1px}}
.incl{margin:8px 0 0;padding:0;list-style:none}.incl li{position:relative;padding:6px 0 6px 28px;color:var(--ink)}.incl li:before{content:"";position:absolute;left:4px;top:11px;width:12px;height:7px;border-left:2px solid var(--acc);border-bottom:2px solid var(--acc);transform:rotate(-45deg)}

/* the footer stays at the bottom of the screen on every page (like Shipfixing); the page keeps room for it */
body{min-height:100vh;min-height:100dvh;padding-bottom:64px}
body>footer{position:fixed;left:0;right:0;bottom:0;z-index:9;background:#fff;margin-top:0;padding:12px 0 calc(12px + env(safe-area-inset-bottom));font-size:13.5px}
body>footer .wrap{gap:4px 22px}
@media (max-width:640px){body{padding-bottom:92px}body>footer{padding-top:8px;font-size:12.5px}body>footer .wrap{justify-content:flex-start;gap:2px 14px}body>footer nav{gap:4px 14px}}

/* the phone menu: one entry per line (it sits inside the header, whose .wrap is a fixed-height row) */
.hdr .mmenu .wrap{display:block;height:auto;padding-top:4px;padding-bottom:10px}
.mmenu a{border-bottom:1px solid var(--line)}.mmenu a:last-child{border-bottom:0}

/* the sister platform in the footer: its logo is the link */
footer .ship{display:inline-flex;align-items:center;gap:8px}footer .ship a{text-decoration:none}footer .ship img{display:block;height:26px;width:auto}

/* popular commodities under the search */
.chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
.chips span{font-size:13px;color:var(--mut);margin-right:2px}
.chips a{display:inline-block;padding:6px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--navy);background:#fff}
.chips a:hover{border-color:var(--navy);background:var(--soft)}

/* pending approval (amber) and rejected (red) postings */
.st-review{background:#fff4dd;color:#8a5a00}.st-rejected{background:#fde7e4;color:#b42318}

.flash.pend{border-color:#e8c36a;color:#8a5a00;background:#fff8e5}

/* phone (23 Oct): the header already has Post a Listing, so the page title does not repeat it; the footer is not fixed (three rows ate a sixth of the screen) */
@media (max-width:640px){
 .phead > a.btn.pri[href="/listing/new"]{display:none}
 body{padding-bottom:0}
 body>footer{position:static;padding:14px 0 calc(14px + env(safe-area-inset-bottom))}
}

/* dates with a time, and the offer details opener in the tables */
.stamp small.sub{display:block}.od{margin-top:6px;font-size:13px}.od summary{cursor:pointer;color:var(--navy);font-weight:600}.od dl{margin:6px 0 0;display:grid;grid-template-columns:auto 1fr;gap:2px 12px;color:var(--mut)}.od dt{font-weight:600}.od dd{margin:0;color:var(--ink);word-break:break-word}
.st-urgent{background:#fde7e4;color:#b42318}
.mcount{display:inline-block;min-width:18px;padding:0 6px;margin-left:4px;border-radius:999px;background:#e3f4ec;color:var(--acc);font-size:12px;font-weight:600;line-height:18px;text-align:center}
.od-btn{display:block;margin-top:6px;padding:0;border:0;background:none;color:var(--navy);font:600 13px "Instrument Sans",Arial,sans-serif;text-decoration:underline;cursor:pointer}.odl{display:grid;grid-template-columns:150px 1fr;gap:10px 14px;margin:14px 0 4px;font-size:14.5px}.odl dt{color:var(--mut)}.odl dd{margin:0;color:var(--ink);font-weight:600;word-break:break-word}.od-dlg{max-width:520px}@media (max-width:640px){.odl{grid-template-columns:1fr;gap:2px}.odl dd{margin-bottom:8px}}
/* fields that cannot be changed look locked: grey background, faded text (23 Oct, user) */
input:disabled,select:disabled,textarea:disabled,input[readonly]{background:#f3f5f7;color:#7b8794;-webkit-text-fill-color:#7b8794;cursor:not-allowed;opacity:1}
td.act .btn+.btn,td.act button+.btn{margin-left:6px}
.odl .odsub{display:block;margin-top:2px;font-weight:400;font-size:13px;color:var(--mut)}
.facts.f3{grid-template-columns:repeat(3,1fr)}@media (max-width:640px){.facts.f3{grid-template-columns:1fr}}
.cd{white-space:nowrap}
.sc{display:flex;flex-direction:column;gap:6px;align-items:stretch;margin-bottom:6px;min-width:150px}.sc form{margin:0}.sc .btn{width:100%;height:auto;min-height:34px;padding:7px 10px;line-height:1.25;text-align:center;white-space:normal}td.act{vertical-align:middle}td.act>.btn,td.act>button{display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:34px;padding:7px 10px;line-height:1.25;text-align:center;margin:0 0 6px}

/* offer page: the validity countdown pill at the top ("Valid for 00:55:40"), like Shipfixing's offer details */
.cd-row{margin:6px 0 0}
.cd-top{font-size:13px;color:var(--mut,#667085)}
.cd-pill{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:10px;background:#fff4e5;color:#9a5b00;font-size:12px;font-variant-numeric:tabular-nums;font-weight:600}
.cd-pill-urgent{background:#fdecea;color:#b42318}
.cd-pill-off{background:#eef0f3;color:#667085}

/* ---- one look for tables, actions and who-sent-what (user, 23 Oct; same rules as Shipfixing: navy there, green here) ----
   mine = green rail and You chip, theirs = blue rail and Them chip; words as well as colour. */
:root{--mine:#0b6b57;--mine-tint:#f3faf7;--theirs:#173f7a;--theirs-tint:#f3f6fb;--turn:#b45309;--turn-tint:#fff7ec;--turn-line:#f3d3a4}
.tbl th{font-size:11px;letter-spacing:.07em;text-transform:uppercase;background:#fbfcfc}
.tbl td.act{vertical-align:middle}
.hist{border-left:4px solid var(--rail,var(--line))}
.hist.mine{--rail:var(--mine);background:var(--mine-tint)}
.hist.theirs{--rail:var(--theirs);background:var(--theirs-tint)}
.who{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;padding:1px 8px;border-radius:99px;margin-right:6px;vertical-align:middle;color:#fff}
.who-mine{background:var(--mine)}.who-theirs{background:var(--theirs)}
.who-turn{background:var(--turn-tint);color:var(--turn);border:1px solid var(--turn-line)}

/* ---- sign-in family: sign in, forgot password, new password (23 Oct, user: modern, calm, same family as Shipfixing, here in green) ---- */
.cd-auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:calc(100vh - 150px);background:#fff}
.cd-auth-brand{position:relative;display:flex;align-items:center;justify-content:flex-end;padding:56px 64px;color:#1f2327;background:#fff;border-right:1px solid #e6e9ec}
.cd-auth-brand-in{position:relative;max-width:420px;width:100%}
.cd-auth-logo{width:190px;height:auto;display:block}
.cd-auth-brand h2{margin:30px 0 26px;font-size:34px;line-height:1.22;font-weight:500;letter-spacing:-.01em;color:var(--acc)}
.cd-auth-points{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.cd-auth-points li{display:flex;align-items:center;gap:14px;font-size:15px;line-height:1.45;color:#3d4650}
.cd-auth-points b{flex:0 0 38px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eaf4f0;color:var(--acc);font-size:15px;font-weight:700}
.cd-auth-main{display:flex;align-items:center;justify-content:flex-start;padding:48px 64px}
.cd-auth-card{width:100%;max-width:400px}
.cd-auth-card h1{margin:0 0 6px;font-size:28px;line-height:1.2;font-weight:600;color:#1f2327;letter-spacing:-.01em}
.cd-auth-sub{margin:0 0 28px;font-size:15px;line-height:1.5;color:#5f6b76}
.cd-auth-err{margin:0 0 16px;padding:10px 14px;border-radius:10px;background:#fdecea;color:#b42318;font-size:14px;line-height:1.45}
.cd-field{margin:0 0 18px}
.cd-field label{display:block;margin:0 0 6px;font-size:13px;font-weight:600;color:#3d4650}
.cd-field-row{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 6px}.cd-field-row label{margin:0}
.cd-auth-card input:not([type=checkbox]):not([type=radio]){width:100%;height:48px;padding:0 14px;font:400 15px "Instrument Sans",Arial,sans-serif;color:#1f2327;background:#fff;border:1px solid #d5dce4;border-radius:10px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.cd-auth-card input:focus{outline:0;border-color:var(--acc);box-shadow:0 0 0 4px rgba(11,107,87,.14)}
.cd-auth-card input:-webkit-autofill{-webkit-box-shadow:inset 0 0 0 1000px #fff;-webkit-text-fill-color:#1f2327}
.cd-pw{position:relative}.cd-pw input{padding-right:68px!important}
.cd-pw-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);height:32px;padding:0 10px;border:0;background:transparent;color:var(--acc);font:600 13px "Instrument Sans",Arial,sans-serif;border-radius:6px;cursor:pointer}
.cd-pw-toggle:hover{background:#eaf4f0}
.cd-pw-toggle:focus-visible,.cd-auth-btn:focus-visible,.cd-auth-link:focus-visible{outline:3px solid rgba(11,107,87,.35);outline-offset:2px}
.cd-auth-btn{width:100%;height:48px;margin-top:6px;border:0;border-radius:10px;background:var(--acc);color:#fff;font:600 15px "Instrument Sans",Arial,sans-serif;cursor:pointer;transition:background .15s,transform .05s}
.cd-auth-btn:hover{background:var(--acc2)}.cd-auth-btn:active{transform:translateY(1px)}
.cd-auth-alt{margin:22px 0 0;text-align:center;font-size:14px;color:#5f6b76}
.cd-auth-link{color:var(--acc);font-weight:600;text-decoration:none}.cd-auth-link:hover{text-decoration:underline}
@media (max-width:900px){.cd-auth{grid-template-columns:1fr;min-height:0}.cd-auth-brand{justify-content:flex-start;padding:28px 24px}.cd-auth-brand h2{margin:18px 0 0;font-size:20px}.cd-auth-points{display:none}.cd-auth-logo{width:150px}.cd-auth-main{padding:28px 20px 40px;justify-content:center}}
@media (prefers-reduced-motion:reduce){.cd-auth-btn,.cd-auth-card input{transition:none}}

/* the reCAPTCHA corner badge sat on top of the footer: it is hidden and the sentence Google asks for stands in the footer instead */
.grecaptcha-badge{visibility:hidden}
.cd-rc-note{flex:1 1 100%;order:9;font-size:12px;line-height:1.5;color:var(--mut)}.cd-rc-note a{color:inherit;text-decoration:underline}

/* ---- account and company settings: the same pattern as on Shipfixing (an identity card with the menu on the left, the cards on the right) ---- */
.cd-setpage{padding-bottom:60px}
.cd-set{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;margin-top:18px}
.cd-set-side{position:sticky;top:16px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.cd-set-id{display:flex;flex-direction:column;align-items:center;gap:4px;padding:24px 18px 18px;text-align:center;border-bottom:1px solid var(--line)}
.cd-set-id b{font-size:17px;color:var(--ink);word-break:break-word}.cd-set-id .mut{font-size:13px;word-break:break-all}
.cd-set-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;background:var(--soft);margin-bottom:6px}
.cd-set-nav{display:flex;flex-direction:column;padding:8px}
.cd-set-nav a{display:block;padding:10px 12px;border-radius:8px;color:#3d4650;font-weight:500;text-decoration:none}
.cd-set-nav a:hover{background:var(--soft)}
.cd-set-nav a.on{background:#eaf4f0;color:var(--acc);font-weight:600}
.cd-set-main{min-width:0}.cd-set-main .card{scroll-margin-top:16px}
.cd-set-main [id]{scroll-margin-top:16px}
@media (max-width:900px){.cd-set{grid-template-columns:1fr}.cd-set-side{position:static}.cd-set-nav{flex-direction:row;flex-wrap:wrap}.cd-set-id{flex-direction:row;text-align:left;justify-content:flex-start}}
.cd-set-main.form{max-width:none;padding-bottom:0}
.cd-auth-help{display:block;margin:6px 0 0;font-size:13px;line-height:1.4;color:#5f6b76}

/* the sign-up steps keep their own field markup (label.lab, .help, .err, label.chk): they take the look of the sign-in family here */
.cd-auth-wide{max-width:440px}
.cd-auth-card .lab{display:block;margin:18px 0 6px;font-size:13px;font-weight:600;color:#3d4650}
.cd-auth-card .lab i,.cd-field label i{color:#b42318;font-style:normal;margin-left:2px}
.cd-auth-card .help{display:block;margin:6px 0 0;font-size:13px;line-height:1.4;color:#5f6b76}
.cd-auth-card .err{display:block;margin:6px 0 0;font-size:13px;line-height:1.4;font-weight:500;color:#b42318}
.cd-auth-card .chk{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;font-size:14px;line-height:1.5;color:#3d4650}
.cd-auth-card .chk input[type=checkbox]{flex:none;width:18px;height:18px;margin-top:2px;accent-color:var(--acc)}
.cd-auth-card .chk a{color:var(--acc);font-weight:600}
.cd-auth-card .flash{margin:0 0 14px}
.cd-auth-card .cd-auth-btn{margin-top:22px}
.cd-auth-tall .cd-auth-brand,.cd-auth-tall .cd-auth-main{align-items:flex-start;padding-top:64px}

/* ======================================================================================================
   STANDARD COMPONENTS (docs/DESIGN-STANDARD.md, 23 Oct 2026): the same rules as on Shipfixing, in Comdity's brand colour.
   ====================================================================================================== */
:root{--ok:#0b6b57;--ok-tint:#e3f4ec;--ok-ink:#0b5240;--warn:#b45309;--warn-tint:#fff7ec;--warn-ink:#7a3b06;--err:#b42318;--err-tint:#fdecea;--err-ink:#7a1d15;--info:#173f7a;--info-tint:#f3f6fb;--info-ink:#102a52}
/* 1. Form validation: red only after the person tried (a failed send or leaving a field wrong), never while it is just empty; the browser's own glow is off */
input:invalid,select:invalid,textarea:invalid{box-shadow:none;outline:0}
input:user-invalid,select:user-invalid,textarea:user-invalid,input:has(+ .err),select:has(+ .err),textarea:has(+ .err){border-color:var(--err)!important;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.err{font-weight:500;line-height:1.4}
/* 2. Notification bars: one shape, the four semantic colours, a coloured edge */
.flash{border-radius:10px;border-width:1px 1px 1px 4px;padding:12px 16px;font-size:14.5px;line-height:1.45}
.flash.success{background:var(--ok-tint);border-color:var(--ok);color:var(--ok-ink)}
.flash.info{background:var(--info-tint);border-color:var(--info);color:var(--info-ink)}
.flash.warning,.flash.pend{background:var(--warn-tint);border-color:var(--warn);color:var(--warn-ink)}
.flash.danger{background:var(--err-tint);border-color:var(--err);color:var(--err-ink)}
/* 3. Buttons: main (filled brand), secondary (outline), danger (outline in the danger colour, never filled red) */
.btn.danger,.btn.dng{background:#fff;border:1px solid var(--err);color:var(--err)}
.btn.danger:hover,.btn.dng:hover{background:var(--err-tint);border-color:var(--err);color:var(--err)}
.tbl td.act .btn{height:34px;padding:0 14px;font-size:14px;border-radius:8px;white-space:nowrap}
main.wrap.page.form{max-width:1240px;padding-bottom:60px}
/* Admin > Marketing: filter pills of the Subscribed list (with / without an account) */
.chips a.chip{display:inline-block;border:1.5px solid var(--line);border-radius:999px;padding:6px 16px;background:#fff;color:inherit;text-decoration:none;font-size:13px}
.chips a.chip.on{border-color:var(--acc);background:#f7fbf9;font-weight:600}
.phead > div:first-child{flex:1 1 380px;min-width:0}
/* a row of table action buttons (Members, Settings, Close): one size, one row, text centred; the stacked full-width variant (td.act > .btn) stays for the offer shortcuts */
.actrow{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;align-items:center}.actrow form{margin:0;display:flex}.actrow .btn{width:auto;margin:0}
/* a single action button in a table cell (View, Details) looks like the View button of the front page: one size, as wide as its text */
td.act>.btn.sm:only-child{width:auto;min-width:96px;height:36px;margin:0;padding:0 18px;display:inline-flex}
/* the product box of the front page lists the matching products with their category in faint text above (25 Oct, user) */
.search .field:first-child{position:relative}
.psug{left:-10px;right:-10px;top:calc(100% + 14px);text-align:left}
.psug li{display:flex;flex-direction:column;gap:1px;padding:8px 12px}
.psug li small{font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--mut)}
.psug li span{font-size:15px;font-weight:500;color:var(--navy)}
.psug li.cur,.psug li:hover{background:var(--soft)}
.psug li.none{display:block;color:var(--mut);cursor:default;font-size:14px}
/* three levels (25 Oct): the subcategory is a small heading inside the list on the left and in the directory */
.cats .cat ul li.sub{margin-top:8px}.cats .cat ul li.sub a{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mut)}.cats .cat ul li.sub a.on{color:var(--acc)}
.dirbox h4{margin:14px 0 4px;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mut)}.dirbox h4 a{color:inherit}.dirbox h4+ul{margin-top:0}
.dirbox h4{margin:14px 0 4px;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--mut)}.dirbox h4 a{color:inherit}
/* the front page product list: the category is written once, in faint text, and its products stand below it (25 Oct, user) */
.psug li{display:block;padding:7px 12px}
.psug li.grp{padding:10px 12px 3px;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--mut);cursor:default}
.psug li.grp:hover{background:transparent}
.psug li[data-k]{padding-left:22px;font-size:15px;font-weight:500;color:var(--navy)}
/* the strip above the menu: the main categories in small, spaced, faint text, like the ship types on Shipfixing (25 Oct, user) */
.topline{padding:0 12px;border-bottom:0}
.topline p{margin:0;padding:9px 4px 8px;font-size:12px;letter-spacing:.06em;color:#5f6b78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.topline i{font-style:normal;margin:0 .45em;color:#c3ccd5}
@media (max-width:760px){.topline p{font-size:10.5px;letter-spacing:.03em;padding-top:7px}.topline i{margin:0 .25em}}
/* main categories in the green of the site, subcategories in its blue, products in the dark text (25 Oct, user) */
.dirbox h3,.dirbox h3 a{color:var(--acc)}.dirbox h3{border-bottom-color:var(--acc)}.dirbox h3 span{color:var(--mut)}
.dirbox h4,.dirbox h4 a{color:var(--sell)}
.cats .cat>a.ch,.cats .cat>a.ch span:first-child{color:var(--acc);font-weight:600}.cats .cat>a.ch.on{color:#fff}.cats .cat>a.ch.on span{color:#fff}
.cats .cat ul li.sub a,.cats .cat ul li.sub a span{color:var(--sell)}.cats .cat ul li.sub a.on,.cats .cat ul li.sub a.on span{color:var(--acc)}

/* date boxes shown as "25 Oct 2026" (web/comdity/dates.js; the browser's own box shows the visitor's country format) */
.dpbox{cursor:pointer;padding-right:42px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235f6b76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 13px center!important}
.dpbox[readonly]{cursor:not-allowed}
.dpwrap{position:relative;display:block}.dpwrap input[type=date]{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:0;pointer-events:none}
/* the filter pills keep their shape on a phone: they wrap onto the next line instead of squeezing into tall ovals */
.tabs{flex-wrap:wrap;align-items:flex-start}.tab{white-space:nowrap;line-height:1.4}
.pic-img.pic-logo{border-radius:18px;object-fit:contain;background:#fff}   /* a logo is fitted whole: shown in a rounded square like on Shipfixing, not cut by a circle (user, 28 Oct) */
.by{display:flex;gap:10px;align-items:flex-start}.by-logo{width:36px;height:36px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #e3e7ea;flex:none}   /* my listings: the logo of my company beside its name (user, 28 Oct) */
.by-logo-sm{width:28px;height:28px;border-radius:8px;margin-right:8px;vertical-align:middle}
/* My listings: while one listing's offers are open the other listings are hidden (30 Oct) */
tr.cd-focus-hide{display:none!important}
tr.cd-open-parent>td{background:#fafbfa}
.cd-focus-bar{margin:0 0 10px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#fafbfa;font-size:14px;color:var(--navy)}
.cd-focus-bar a{margin-left:8px;text-decoration:underline;font-weight:600}
/* the opened offers belong to the listing ABOVE: one tinted band with a line, the next listing starts clearly below (30 Oct) */
tr.subrow>td{position:relative;padding-left:34px!important}
tr.subrow>td::before{content:"";position:absolute;left:16px;top:0;bottom:14px;width:2px;background:var(--navy);opacity:.28}
.cd-offers-head{margin:2px 0 8px;font-size:13px;color:var(--mut)}.cd-offers-head b{color:var(--navy)}
tr.cd-open-parent+tr.subrow+tr>td{border-top:2px solid var(--line)}
/* the strip above the menu: every name is a link (home, category pages) in the same quiet look; underline on hover (4 Nov 2026) */
.topline a{color:inherit;text-decoration:none}.topline a:hover{color:#4b5866;text-decoration:underline}

/* ---- ONE footer standard, the same behaviour as Shipfixing (4 Nov 2026) ----
   From 1200px up the bar stays at the bottom of the window: copyright (with the reCAPTCHA sentence under it) left, links in the middle, the sister site right,
   a known height, so a fixed 100px under the page is always enough. Below 1200px the bar follows the page, centred, and can never cover anything. */
.cd-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.cd-rc-note{flex:none;order:0}
@media (max-width:1199px){
 body,body>footer{padding-bottom:0}
 body>footer{position:static !important;padding:20px 0 calc(20px + env(safe-area-inset-bottom))}
 body>footer .wrap{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px}
 body>footer nav{justify-content:center}
 .cd-copy{align-items:center}
}
@media (min-width:1200px){
 body{padding-bottom:100px}
 body>footer{position:fixed !important;left:0;right:0;bottom:0;padding:10px 0 calc(10px + env(safe-area-inset-bottom))}
 body>footer .wrap{flex-wrap:nowrap;justify-content:space-between;align-items:center}
 /* 7 Nov 2026: with the LinkedIn icon the links did not fit: the left block (copyright and the reCAPTCHA sentence) gives way, the links and the sister site stay on one line */
 body>footer .cd-copy{flex:1 1 0}
 body>footer nav{flex:none;flex-wrap:nowrap;white-space:nowrap}
 body>footer .ship{flex:none;white-space:nowrap}
}

/* guides (6 Nov 2026): links inside the text can be seen as links */
.guide p a,.guide li a{color:#0b6b57;text-decoration:underline;text-underline-offset:2px}.guide p a:hover,.guide li a:hover{text-decoration-thickness:2px}

footer a.cd-in{display:inline-flex;align-items:center;vertical-align:middle;opacity:.75}footer a.cd-in:hover{opacity:1}

.dir .dirintro{max-width:72ch;margin:0 0 22px;color:var(--mut);font-size:16px;line-height:1.6}.dir .dirintro a{color:var(--acc);text-decoration:underline}
/* a faint clear mark (x) inside the product and the port box of the front page, always there while the box holds a word (8 Nov 2026, user: the product box showed one on hover, the port box none) */
.search input[type=search]::-webkit-search-cancel-button,.search input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.search .field .clr{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;background:none;border-radius:50%;color:var(--mut);opacity:.5;font-family:inherit;font-size:28px;font-weight:300;line-height:26px;cursor:pointer;padding:0;display:none}
.search .field .clr:hover,.search .field .clr:focus-visible{opacity:1;background:#f0f2f4}
.search .field.has-text .clr{display:block}
.search .field.has-text input{padding-right:38px}
.search.busy .btn.pri{opacity:.65;cursor:progress}.search.busy .field input{opacity:.8}

/* ---- accessibility pass (8 Nov 2026, UI/UX audit of the front page) ----
   readable greys, touch targets of at least 40 px, a skip link; the keyboard focus ring already exists (button, a, select focus-visible) */
.skip{position:absolute;left:8px;top:-80px;width:max-content;max-width:calc(100vw - 16px);z-index:1000;background:var(--navy);color:#fff;padding:10px 16px;border-radius:8px;font-weight:600}
.skip:focus{top:8px}
.topline p a{display:inline-block;padding:6px 2px}
.hdr .lnk{display:inline-block;padding:10px 6px}
@media (max-width:640px){.hdr .lnk{display:none}}   /* my own rule above is stronger than the phone rule that hides the links: it pushed the menu button out of the screen (found by the 390 px test) */
.chips a{padding:9px 14px}
.tab{padding:9px 16px}
.btn.sm{height:40px}

