@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f4f7f8;--ink:#172f34;--muted:#718185;--line:#e4ebed;--green:#087f6e;--nav:#102c30}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px 'DM Sans',system-ui,sans-serif}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{text-decoration:none;color:inherit}aside{position:fixed;inset:0 auto 0 0;width:248px;background:var(--nav);color:#c2d2d2;padding:35px 24px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;color:white;font:800 30px Manrope,system-ui;letter-spacing:-1.5px}.brand-icon{display:grid;place-items:center;background:#33c6a5;color:#102c30;border-radius:13px;width:45px;height:45px;font-size:38px;position:relative}.brand-icon span{position:absolute;font-size:22px;top:-8px;right:0}.usa{font-size:17px;font-weight:500;letter-spacing:1px;margin-left:5px;color:#52d4b6}.brand small{display:block;font:8px system-ui;letter-spacing:1.8px;margin-top:3px}.workspace{font-size:10px;letter-spacing:1.5px;color:#769595;margin:48px 8px 18px}nav a{display:flex;align-items:center;gap:13px;padding:14px;margin:5px 0;border-radius:8px;font-size:14px}nav a.active{background:#244447;color:white}nav a.active:after{content:'';width:6px;height:6px;border-radius:100%;background:#47d2ae;margin-left:auto}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto}.country{font-size:12px;display:flex;gap:7px;align-items:center;border-bottom:1px solid #2c484a;padding:20px 0}.country b{margin:0 3px;color:#54bdab}.profile{display:flex;align-items:center;gap:10px;margin-top:22px;font-size:13px}.profile small{display:block;font-size:11px;color:#88a5a5;margin-top:4px}.avatar{border-radius:50%;background:#d9eae6;display:inline-grid;place-items:center;width:38px;height:38px;font-size:12px;font-weight:700;color:#256659}.avatar.small{width:32px;height:32px;background:#e3eceb}main{margin-left:248px}header{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 40px}.breadcrumb{font-size:13px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#c7d1d3}.breadcrumb b{color:#344e52;font-weight:500}.header-right{display:flex;gap:22px;align-items:center}.demo{font-size:12px;border:1px solid #dce8e5;border-radius:5px;padding:6px 9px;color:#58716d}#app{max-width:1500px;margin:auto;padding:35px 40px 20px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}h1,h2,h3,p{margin:0}h1{font:800 28px Manrope,system-ui;letter-spacing:-1px}h2{font:800 17px Manrope,system-ui;letter-spacing:-.4px}h3{font-size:16px}p.sub{font-size:14px;color:var(--muted);margin-top:7px;line-height:1.6}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);background:white;color:var(--ink);padding:11px 16px;border-radius:7px;font-size:13px;font-weight:600}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn:hover{filter:brightness(.96)}.btn.ghost{background:transparent;border:none;color:var(--green);padding:5px;font-size:13px}.hero{position:relative;overflow:hidden;border-radius:12px;background:#123b40;color:white;display:grid;grid-template-columns:1.2fr 1fr;min-height:214px;padding:28px 32px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#9dded0;margin-bottom:15px}.hero h2{font-size:26px;font-weight:600;letter-spacing:-.8px}.hero p{color:#b1cece;font-size:13px;max-width:300px;line-height:1.7;margin:9px 0 18px}.hero .btn{background:#ffffff15;border-color:#ffffff30;color:white;padding:8px 13px}.route-art{position:relative;display:flex;align-items:center;justify-content:center;gap:28px}.route-art:before{content:'';position:absolute;width:280px;height:280px;border:1px solid #ffffff0d;border-radius:100%;box-shadow:0 0 0 35px #ffffff04,0 0 0 70px #ffffff03}.airport{text-align:center;z-index:1}.airport small{display:block;color:#9bbabb;font-size:11px;margin:8px 0}.airport strong{font:700 38px Manrope;letter-spacing:1px}.flight-path{color:#55d5b3;display:flex;align-items:center;gap:8px}.flight-path:before,.flight-path:after{content:'';width:35px;border-top:1px dashed #63b5a8}.flight-path svg{width:29px;height:29px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#6b7b7f;font-size:12px;gap:10px}.stat-top svg{color:#408f83;background:#edf6f3;padding:7px;width:33px;height:33px;border-radius:8px}.stat strong{font:800 27px Manrope;display:block;margin:10px 0 8px;letter-spacing:-1px}.stat small{font-size:11px;color:var(--muted)}.green{color:var(--green)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-heading{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.toolbar{padding:0 22px 18px;display:flex;justify-content:space-between;gap:10px}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:6px;padding:9px 11px;max-width:350px}.search input{border:0;outline:none;min-width:0;width:100%;font-size:12px}.search svg{width:16px;height:16px;color:var(--muted)}select{border:1px solid var(--line);border-radius:6px;background:white;padding:8px 25px 8px 10px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23566'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;font-size:12px;color:#506267}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:#829094;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.7px;background:#fafcfc;padding:12px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #edf1f2}tbody tr:last-child td{border-bottom:0}tbody tr[data-order]{cursor:pointer}tbody tr[data-order]:hover{background:#f7fbfa}.product{display:flex;align-items:center;gap:11px}.product-icon{background:#edf2f4;color:#506e75;width:38px;height:43px;display:grid;place-items:center;border-radius:7px}.product b{display:block;font-size:13px;font-weight:600}.product small{display:block;color:#8a9698;font-size:11px;margin-top:5px}.client{font-size:12px;color:#536a6f}.money{font-weight:600;white-space:nowrap}.money small{display:block;color:#8a9698;font-size:10px;font-weight:400;margin-top:5px}.badge{display:inline-block;border-radius:5px;padding:5px 8px;font-size:10px;white-space:nowrap;background:#edf3f5;color:#5b7682}.badge.orange{background:#fff3e1;color:#ae7b22}.badge.green{background:#e8f5ef;color:#288568}.badge.blue{background:#eaf0fd;color:#577cbe}.trip-box{padding:22px}.trip-box .tag{font-size:10px;color:var(--green);background:#edf7f3;padding:5px 8px;border-radius:5px;display:inline-block;margin:14px 0}.trip-route{display:flex;align-items:center;justify-content:space-between;font-size:22px;font-weight:700;margin:7px 0 5px}.trip-caption{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.trip-meta{border-top:1px solid var(--line);margin-top:20px;padding-top:15px;display:grid;gap:13px;font-size:12px}.trip-meta div{display:flex;justify-content:space-between}.trip-meta span{color:var(--muted)}.trip-box .btn{width:100%;margin-top:20px}.attention{margin-top:20px;padding:20px;background:#fcf9f1;border:1px solid #eee6d3;border-radius:10px}.attention h3{font-size:13px;color:#8d6c2a;display:flex;gap:8px;align-items:center}.attention p{font-size:12px;line-height:1.7;color:#928267;margin:10px 0}.attention .btn{color:#8d6c2a}.bottom-note{padding:15px 22px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;display:flex;justify-content:space-between}.section-space{margin-top:24px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.client-card{padding:24px}.client-card .avatar{margin-bottom:18px}.client-card p{color:var(--muted);font-size:13px;margin:8px 0 20px}.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.detail-block{padding:22px;border-bottom:1px solid var(--line)}.detail-block p{font-size:13px;color:var(--muted);line-height:1.7;margin:10px 0}.kv{display:flex;justify-content:space-between;gap:20px;margin:15px 0;font-size:13px}.kv span{color:var(--muted)}.kv.total{font-size:18px;border-top:1px solid var(--line);padding-top:18px;font-weight:700}.timeline-item{border-left:2px solid #d8eae4;padding:0 0 20px 18px;margin-left:5px;position:relative}.timeline-item:before{content:'';position:absolute;width:8px;height:8px;left:-5px;top:3px;border-radius:50%;background:#429b83}.timeline-item b{font-size:13px}.timeline-item p{font-size:12px;color:var(--muted);margin:5px 0}.timeline-item small{font-size:11px;color:var(--muted)}.notice{background:#eaf4f1;color:#47776b;padding:13px 16px;border-radius:8px;font-size:12px;line-height:1.6;margin-bottom:20px}.field{display:flex;flex-direction:column;gap:7px;margin:15px 0;font-size:13px}.field input,.field select{padding:11px;border:1px solid #d9e3e3;border-radius:6px;width:100%;font-size:14px;min-width:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.empty{padding:40px;text-align:center;color:var(--muted)}footer{max-width:1500px;margin:20px auto 0;padding:20px 40px 25px;display:flex;justify-content:space-between;font-size:10px;color:#91a09f;letter-spacing:1px}footer span{letter-spacing:0}dialog{border:0;border-radius:14px;padding:28px;width:min(520px,calc(100% - 30px));color:var(--ink);box-shadow:0 25px 100px #092e3340}dialog::backdrop{background:#0e282d90;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.close{border:0;background:#f1f5f4;width:32px;height:32px;border-radius:50%;font-size:21px;color:#617578}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#153f36;color:white;padding:14px 24px;border-radius:8px;z-index:20;font-size:14px;display:none}.leg{display:grid;grid-template-columns:80px 1fr 80px;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.leg strong{font-size:24px}.leg small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.leg-center{text-align:center;border-bottom:1px dashed #9fbfb8;padding-bottom:12px;color:var(--green);font-size:12px}.mobile-only{display:none}@media(min-width:1500px){#app{padding-top:45px}.hero{min-height:240px}.stat{padding:25px}}@media(max-width:1200px){aside{width:210px;padding:30px 18px}main{margin-left:210px}#app{padding:28px 24px}header{padding:0 24px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.right-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.attention{margin-top:0}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:24px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){aside{inset:auto 0 0 0;width:100%;height:68px;padding:0;background:white;border-top:1px solid var(--line)}aside .brand,.workspace,.sidebar-bottom{display:none}nav{display:flex;justify-content:space-around;height:100%}nav a{flex-direction:column;justify-content:center;gap:5px;font-size:10px;padding:5px;margin:0;color:#7d8e91;border-radius:0;width:20%}nav a.active{background:none;color:var(--green)}nav a.active:after{display:none}main{margin:0;padding-bottom:68px}header{height:60px;padding:0 20px}.breadcrumb{font-size:12px}.demo{font-size:9px;padding:5px}.header-right{gap:10px}#app{padding:24px 18px}h1{font-size:24px}.page-title{align-items:flex-start;gap:10px;margin-bottom:22px}.page-title .btn{font-size:11px;padding:10px;white-space:nowrap}.page-title .btn svg{width:14px}p.sub{font-size:12px;max-width:220px}.hero{padding:23px;min-height:220px;grid-template-columns:1fr;}.hero h2{font-size:23px}.hero p{max-width:240px;font-size:12px}.route-art{display:none}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:23px}.stat{padding:16px}.stat-top{font-size:11px}.stat-top svg{width:28px;height:28px;padding:6px}.stat strong{font-size:25px}.stat small{font-size:10px}.panel-heading{padding:18px}.panel-heading h2{font-size:16px}.toolbar{padding:0 18px 16px;flex-wrap:wrap}.search{max-width:none;flex:1;min-width:145px}.right-col{display:block}.attention{margin-top:20px}.orders-table thead{display:none}.orders-table tr{display:flex;flex-wrap:wrap;position:relative;padding:15px 18px;border-bottom:1px solid var(--line);gap:10px}.orders-table td{padding:0;border:0}.orders-table td:first-child{width:100%}.orders-table td:nth-child(2){margin-left:49px;font-size:11px}.orders-table td:nth-child(3){margin-left:auto;text-align:right}.orders-table td:nth-child(4){position:absolute;right:18px;top:18px}.orders-table .product b{max-width:180px;font-size:12px}.orders-table .money{font-size:13px}.cards,.detail-grid{grid-template-columns:1fr}.bottom-note{font-size:10px}.stat-top svg{flex-shrink:0}.client-card{padding:20px}footer{padding:8px 20px 20px;line-height:1.8;gap:15px;font-size:9px}.form-row{gap:12px}dialog{padding:22px}.finance-table{font-size:11px}.finance-table td,.finance-table th{padding:12px 10px}}
/* Readable operational labels on desktop and mobile. */
.badge{font-size:12px}.stat-top,.client,.kv,.trip-meta{font-size:14px}.stat small,.product small,.money small,.trip-caption,.bottom-note,.panel-heading small{font-size:12px}.product b{font-size:14px}.toolbar input,.toolbar select{font-size:14px}tr[data-order]:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.field input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #40b89c;outline-offset:2px}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.orders-table .product b{font-size:13px;max-width:170px}.orders-table td:nth-child(2){font-size:12px}.stat-top{font-size:12px}.stat small{font-size:11px}}

.brand{font-size:22px;letter-spacing:-1px;gap:8px}.brand-icon{font-size:17px;width:37px;height:37px;border-radius:10px;flex-shrink:0}.brand .usa{font-size:20px;margin-left:0;letter-spacing:-1px}.brand small{font-size:7px;letter-spacing:1px}

.products-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-item{padding:20px 0;border-bottom:1px solid var(--line)}.payment-target{color:var(--green);font-size:12px}.order-item .kv{flex-wrap:wrap}#payment-product-hint{font-size:13px;line-height:1.7}dialog{max-height:90dvh;overflow:auto}
.finance-tabs{display:flex;gap:6px;background:#e9efee;border-radius:9px;padding:5px;margin-bottom:26px;width:max-content;max-width:100%}.finance-tabs button{border:0;background:transparent;color:#5d7578;border-radius:6px;padding:11px 18px;font-size:14px;font-weight:600}.finance-tabs .selected{background:white;color:var(--green);box-shadow:0 2px 6px #123a3910}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:25px 0}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.payment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:8px}.payment-actions .btn{font-size:12px;padding:6px 9px}.check-field{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.7;margin:18px 0}.check-field input{width:18px;height:18px;accent-color:var(--green);margin-top:3px;flex-shrink:0}.trip-fin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.flip-card{perspective:1300px;min-width:0;height:435px}.flip-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.65,.2,1)}.flip-card.flipped .flip-inner{transform:rotateY(180deg)}.flip-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:white;border:1px solid var(--line);border-radius:13px;padding:24px;overflow:auto;box-shadow:0 5px 20px #163d3210}.flip-front{background:linear-gradient(145deg,#fff 62%,#ecf7f3)}.flip-back{transform:rotateY(180deg);border-color:#baded2;background:#f6fcf9}.flip-hit{display:flex;flex-direction:column;width:100%;text-align:left;padding:0;background:none;border:0;color:var(--ink);margin-top:22px}.result-label{font-size:13px;color:var(--muted)}.trip-result{display:block;font:800 30px Manrope,system-ui;letter-spacing:-1px;margin:9px 0 12px}.positive{color:var(--green)}.negative{color:#b54f46}.margin-chip{font-size:12px;display:inline-block;padding:6px 10px;border-radius:5px;background:#e8f5ef;align-self:flex-start}.margin-chip.negative{background:#ffede8}.card-rule{height:1px;background:var(--line);margin:20px 0;width:100%}.card-numbers{display:flex;justify-content:space-between;gap:12px;width:100%;font-size:12px;color:var(--muted)}.card-numbers b{display:block;font-size:16px;color:var(--ink);margin-top:7px}.flip-cue{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:24px;font-size:12px;color:var(--green)}.flip-back .kv{font-size:12px;margin:12px 0;gap:10px}.flip-back .kv b{text-align:right;white-space:nowrap}.flip-back .kv.total{font-size:16px}.flip-back .btn.primary{width:100%;margin-top:10px}.micro{font-size:12px;color:var(--muted);line-height:1.6}.table-scroll{overflow-x:auto}.table-scroll table{min-width:640px}.bar-chart{margin-bottom:30px}.bar-row{margin:0 0 20px;font-size:13px}.bar-row>div:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}.bar-row b{white-space:nowrap}.bar-track{height:9px;background:#edf2f2;border-radius:6px;overflow:hidden}.bar-track span{display:block;height:100%;border-radius:6px;min-width:0}.bar-track .income{background:#25a58a}.bar-track .expense{background:#d99b66}.flip-face:focus-within{border-color:var(--green)}@media(max-width:1250px){.trip-fin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.trip-fin-grid{grid-template-columns:1fr}.flip-card{height:435px}.finance-tabs{width:100%}.finance-tabs button{flex:1;padding:11px 10px;font-size:12px}.detail-actions .btn{flex:1;white-space:normal}.stat strong{overflow-wrap:anywhere}.section-toolbar{align-items:flex-start}.flip-face{padding:23px}.table-scroll table{min-width:610px}.trip-result{font-size:32px}}@media(prefers-reduced-motion:reduce){.flip-inner{transition:none}}
.trip-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#648279}.trip-tags span{padding:4px 7px;background:#eff5f3;border-radius:4px}.trip-tags .duo-tag{background:#dff1ea;color:#14765d}.flip-card{height:485px}.flip-face .eyebrow{text-transform:uppercase;font-size:10px;line-height:1.6}.flip-front .flip-hit{margin-top:18px}.flip-front{cursor:pointer}.client-demo{float:right}.client-product-line{display:flex;justify-content:space-between;gap:16px;font-size:14px;margin:15px 0;line-height:1.6}.client-product-line b{white-space:nowrap}.field textarea{font:inherit;width:100%;border:1px solid #d9e3e3;padding:11px;border-radius:6px;resize:vertical}.client-card p{line-height:1.8}.client-card .btn{width:100%}.client-card h2{overflow-wrap:anywhere}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.flip-card{height:485px}.client-product-line{font-size:13px;flex-wrap:wrap}.detail-block .kv b{overflow-wrap:anywhere}.trip-tags{font-size:12px}}
.operation-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;padding:20px 22px;background:#fff6e6;border:1px solid #f0dfbc;border-radius:10px;color:#8b6426}.operation-banner.closed{background:#eaf6ef;border-color:#c9e6d6;color:#25714f}.operation-banner strong{font-size:14px;letter-spacing:.3px}.operation-banner p{font-size:13px;line-height:1.7;margin-top:6px}.client-search{width:100%;max-width:460px}.client-list-table{min-width:650px}.client-list-table tr[onclick]{cursor:pointer}.client-list-table tr[onclick]:hover{background:#f3faf7}.client-list-table td small,.client-products-table td small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}.client-name{display:flex;align-items:center;gap:12px}.client-name .avatar{flex-shrink:0}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.info-grid>div>span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.info-grid>div>b{display:block;font-size:14px;font-weight:500;line-height:1.7;overflow-wrap:anywhere}.client-profile>.info-grid{padding:0 22px 24px}.client-products-table{min-width:950px}.client-products-table td{vertical-align:top}.client-products-table th,.client-products-table td{padding:16px 14px}.client-products-table td:first-child{min-width:220px;max-width:300px}.client-products-table td:nth-child(4){max-width:200px;font-size:13px;line-height:1.6}.product-row-actions{display:flex;gap:7px}.product-row-actions .btn{padding:7px 10px}.product-info{max-width:720px;padding:10px 6px 20px}.product-info .field{max-width:440px}.serial-value{font-family:ui-monospace,monospace;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.serial-feedback{font-size:14px;line-height:1.7;margin:12px 0;min-height:22px}.audit-details{padding:15px;background:#f2f6f5;margin-top:18px;font-size:13px;line-height:1.7;border-radius:6px}.audit-details summary{cursor:pointer;font-weight:600}.audit-details>div{padding:14px 0;border-bottom:1px solid #dbe7e2}.audit-details p{font-size:12px}.flip-face .eyebrow{min-height:32px}.flip-card{height:510px}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.operation-banner{align-items:flex-start;flex-direction:column;padding:18px}.operation-banner .btn{width:100%}.info-grid{grid-template-columns:1fr;gap:18px}.client-profile .info-grid{grid-template-columns:1fr}.client-list-table{min-width:610px}.client-products-table{min-width:930px}.flip-card{height:510px}.product-info{max-width:calc(100vw - 75px)}.client-products-table .info-grid{grid-template-columns:1fr}}

/* Consistent controls and clearly separated client and product information. */
:root{--muted:#60767a;--line:#dfe8e9}
.btn{min-height:42px;padding:10px 16px;border-radius:9px;font-size:14px;line-height:1.4;transition:background .15s,border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #173c3406}
.btn:hover{filter:none;background:#f0f7f5;border-color:#a6cabe}.btn.primary:hover{background:#066b5d;border-color:#066b5d}.btn.ghost{min-height:38px;padding:8px 12px;box-shadow:none}.btn.ghost:hover{background:#e9f4f0}
.panel{border-radius:14px;box-shadow:0 3px 14px #173c3404}.panel-heading{padding:24px;gap:16px}.panel-heading h2{font-size:18px}.panel-heading small{font-size:13px;line-height:1.6;max-width:560px}.section-space{margin-top:24px}
.client-profile .panel-heading{border-bottom:1px solid var(--line)}.client-profile>.info-grid{padding:24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px}.info-grid>div{min-width:0}.info-grid>div>span{font-size:13px;margin-bottom:7px;line-height:1.5}.info-grid>div>b{font-size:15px;font-weight:600;line-height:1.7}.client-profile .info-grid>div{padding-left:14px;border-left:3px solid #dceee8}
.client-products-table{min-width:980px}.client-products-table th{font-size:12px;letter-spacing:.35px;white-space:nowrap;background:#f5f8f8}.client-products-table td{font-size:14px;padding:20px 16px;vertical-align:middle;line-height:1.6}.client-products-table td:first-child>b{display:block;font-size:15px;line-height:1.6}.client-products-table td small{display:block;margin-top:6px}.product-row-actions{gap:8px;align-items:center}.product-row-actions .btn{padding:8px 12px;min-height:38px;font-size:13px;white-space:nowrap}.product-row-actions .btn:first-child{background:#edf7f3;color:#087462;border-color:#d2e8df}.badge{padding:6px 10px;border-radius:7px;font-size:12px;font-weight:600}
.product-details-row>td{background:#f6f9f8;padding:24px!important}.product-info{max-width:none;padding:0 0 20px}.product-info .info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 28px;padding:22px;background:white;border:1px solid var(--line);border-radius:10px}.product-info .micro{margin:14px 0 20px}.serial-value{font-size:14px!important}.serial-check{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:end;max-width:680px;background:#eaf3f0;border:1px solid #d3e7de;padding:18px;border-radius:10px}.serial-check .field{margin:0;max-width:none;font-size:14px;font-weight:600}.serial-check .field input{background:white;font-weight:400;min-height:44px}.serial-check>.btn{min-height:44px}.serial-feedback{grid-column:1/-1;margin:0;min-height:0}.serial-feedback:empty{display:none}.audit-details{background:white;border:1px solid var(--line);padding:16px 18px;margin-top:20px}.audit-details summary{font-size:14px}.audit-details p{line-height:1.8}.client-products-table+.bottom-note{padding:20px 24px}
.panel:has(.client-products-table)>.bottom-note{background:#f0f7f4;padding:20px 24px;font-size:14px;gap:16px;flex-wrap:wrap}.panel:has(.client-products-table)>.bottom-note b{color:var(--ink)}
.client-receipts>.detail-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 24px 24px;border:0}.client-receipts .timeline-item{margin:0;padding:20px 20px 18px 24px;border:1px solid var(--line);border-radius:10px;background:#fcfdfd}.client-receipts .timeline-item:before{left:12px;top:27px;width:5px;height:5px}.client-receipts .timeline-item>b{font:800 19px Manrope,system-ui;color:#087462}.client-receipts .timeline-item p{font-size:14px;line-height:1.7;margin:7px 0}.client-receipts .timeline-item small{display:block;font-size:12px;margin-top:10px}.payment-actions{gap:8px;margin-top:16px}.payment-actions .btn{font-size:13px;padding:7px 12px;min-height:36px}.payment-actions .btn.ghost{color:#a54b40}.payment-actions .btn.ghost:hover{background:#fff0ed}
@media(max-width:1000px){.product-info .info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-receipts>.detail-block{grid-template-columns:1fr}}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.btn{font-size:14px;min-height:42px}.page-title{flex-wrap:wrap}.page-title .btn{font-size:13px;padding:10px 14px}.page-title p.sub{max-width:none;font-size:14px}.panel-heading{padding:18px;flex-wrap:wrap}.panel-heading h2{font-size:17px}.client-profile>.info-grid{padding:20px;grid-template-columns:1fr;gap:20px}.product-details-row>td{padding:16px!important}.client-products-table .product-info{max-width:calc(100vw - 72px)}.client-products-table .info-grid{grid-template-columns:1fr;padding:18px;gap:18px}.serial-check{grid-template-columns:1fr;padding:16px}.serial-check>.btn{width:100%}.client-receipts>.detail-block{padding:0 18px 18px}.panel:has(.client-products-table)>.bottom-note{padding:18px;font-size:14px}.info-grid>div>span{font-size:14px}}
.client-profile .client-notes{grid-column:1/-1;background:#f5f9f7;border-left-color:#acd7c7;padding:14px 16px;border-radius:0 8px 8px 0}.client-profile .client-notes>b{font-weight:400;font-size:14px}
.client-code{font-family:ui-monospace,monospace;color:var(--green)!important;font-weight:600!important;letter-spacing:.3px}.label-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.product-row-actions{flex-wrap:wrap}.shipping-label{width:100%;max-width:440px;margin:22px auto 0;padding:20px;border:1.5px solid #182e32;border-radius:4px;background:#fff;color:#102c30;overflow-wrap:anywhere;text-align:left}.label-brand{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #aebdbb;padding-bottom:9px;gap:12px}.label-brand strong{font-size:18px}.label-brand span,.shipping-label div>span{font-size:10px;letter-spacing:1px;display:block}.label-order{font:800 30px ui-monospace,monospace;letter-spacing:1px;margin:10px 0}.label-client,.label-product{margin:10px 0}.shipping-label div>strong{display:block;line-height:1.35;margin-top:4px}.label-client>strong{font-size:20px}.label-product>strong{font-size:17px}.label-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:14px;border-top:1px solid #aebdbb;padding-top:10px}.label-bottom strong{font-size:14px}#label-print-area{display:none}
@page{size:100mm 60mm;margin:0}
@media print{html,body{margin:0!important;padding:0!important;background:white!important}body>*{display:none!important}body>#label-print-area{display:block!important;width:100mm}.shipping-label{width:100mm;max-width:none;min-height:60mm;margin:0;padding:4mm;border:0;border-radius:0;box-sizing:border-box;break-inside:avoid;color:#000}.label-brand{padding-bottom:1.5mm}.label-brand strong{font-size:12pt}.label-brand span,.shipping-label div>span{font-size:7pt;letter-spacing:.4pt}.label-order{font-size:19pt;margin:2mm 0}.label-client,.label-product{margin:2mm 0}.label-client>strong{font-size:13pt}.label-product>strong{font-size:11pt}.label-bottom{margin-top:2mm;padding-top:2mm}.label-bottom strong{font-size:9pt}}
.client-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}.client-overview>div{padding:20px 24px;background:white;border:1px solid var(--line);border-radius:12px}.client-overview span{display:block;font-size:14px;color:var(--muted);margin-bottom:10px}.client-overview strong{font:800 26px Manrope,system-ui;letter-spacing:-.6px}.client-overview strong small{font-size:18px;color:var(--muted)}.client-tabs{display:flex;gap:6px;border-bottom:1px solid #d9e5e2;margin-bottom:22px}.client-tabs button{display:flex;align-items:center;gap:9px;background:transparent;border:0;border-bottom:3px solid transparent;color:var(--muted);padding:14px 20px;font-size:15px;font-weight:600}.client-tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);background:#eaf5f0;border-radius:8px 8px 0 0}.client-tabs button span{background:#e5eeea;border-radius:20px;padding:3px 8px;font-size:12px;color:#47675e}.client-tab-panel[hidden]{display:none!important}.client-product-toolbar .search{max-width:440px;flex:1}.client-product-toolbar .search input{font-size:14px}.client-product-toolbar select{font-size:14px}.compact-products{min-width:800px;table-layout:fixed}.compact-products th:nth-child(1){width:29%}.compact-products th:nth-child(2){width:19%}.compact-products th:nth-child(3){width:23%}.compact-products th:nth-child(4){width:12%}.compact-products th:nth-child(5){width:17%}.compact-products td{vertical-align:top!important}.compact-products td:first-child{min-width:0;max-width:none}.compact-products .product-row-actions{flex-direction:column;align-items:stretch}.compact-products .product-row-actions .btn{min-height:36px}.compact-products td:nth-child(4){font-size:14px}.compact-products .money small{white-space:normal}.order-link{padding:0;background:none;border:0;color:var(--green);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px}.serial-list{max-height:160px;overflow:auto;background:#f5f8f7;border:1px solid var(--line);padding:10px 12px;border-radius:7px;overscroll-behavior:contain}.serial-list code{display:block;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.compact-products .product-details-row .product-info{padding-bottom:0}.client-workspace .page-title p.sub{font-size:14px}.client-workspace .client-receipts .timeline-item>b{overflow-wrap:anywhere}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.client-overview{gap:8px}.client-overview>div{padding:14px 10px}.client-overview span{font-size:12px;line-height:1.5;min-height:36px;margin-bottom:6px}.client-overview strong{font-size:17px;letter-spacing:-.5px;overflow-wrap:anywhere}.client-overview strong small{font-size:14px}.client-tabs{gap:0}.client-tabs button{font-size:13px;padding:12px 10px;gap:5px;flex:1;justify-content:center}.client-tabs button span{font-size:11px;padding:3px 6px}.client-product-toolbar .search{max-width:none;flex-basis:100%}.client-product-toolbar select{width:100%;padding:12px}.compact-products{min-width:0;table-layout:auto}.compact-products thead{display:none}.compact-products tbody>tr:not(.product-details-row){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.compact-products tbody>tr:not(.product-details-row)>td{border:0;padding:0;max-width:none;font-size:14px}.compact-products tbody>tr:not(.product-details-row)>td:nth-child(1){grid-column:1/-1}.compact-products tbody>tr:not(.product-details-row)>td:nth-child(3){grid-column:1;grid-row:3}.compact-products tbody>tr:not(.product-details-row)>td:nth-child(4){grid-column:2;grid-row:2;text-align:right}.compact-products tbody>tr:not(.product-details-row)>td:nth-child(5){grid-column:1/-1}.compact-products .product-row-actions{flex-direction:row}.compact-products .product-row-actions .btn{flex:1;min-height:42px}.compact-products .product-details-row>td{display:block;width:100%}.compact-products .product-info{max-width:none}.compact-products tbody>tr[hidden]{display:none!important}.compact-products tbody>tr:has(.empty){display:block}.client-overview{margin-bottom:16px}}
.compact-products .badge{white-space:normal;max-width:100%;line-height:1.5}.compact-products .product-details-row[hidden]{display:none!important}
.client-profile-header{margin-bottom:22px}.client-profile-header>.info-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 24px;gap:20px 28px}.client-profile-header .panel-heading{padding:18px 24px}.client-profile-header .client-notes{padding:10px 14px}.client-profile-header .client-notes>b{font-size:13px}.client-receipts-table{table-layout:fixed;min-width:830px}.client-receipts-table th:nth-child(1){width:17%}.client-receipts-table th:nth-child(2){width:33%}.client-receipts-table th:nth-child(3){width:20%}.client-receipts-table th:nth-child(4){width:15%}.client-receipts-table th:nth-child(5){width:15%}.client-receipts-table td{vertical-align:top;overflow-wrap:anywhere}.client-receipts-table td:first-child{min-width:0}.client-receipts-table td:nth-child(4){max-width:none}.client-receipts-table .badge{white-space:normal}.client-receipts-table .payment-actions{margin:0;gap:6px}.client-receipts-table .money{white-space:normal}.invoice-upload{display:flex;flex-direction:column;gap:12px;padding:20px;background:#f1f8f5;border:1px dashed #89b6a6;border-radius:10px;margin:18px 0;font-size:15px;font-weight:600}.invoice-upload input{width:100%;font-size:14px}.invoice-upload small{font-size:12px;color:var(--muted);font-weight:400}.invoice-upload input::file-selector-button{padding:10px 14px;border:1px solid #bbd7cb;border-radius:7px;background:white;color:var(--green);cursor:pointer;margin-right:10px}.invoice-files{margin-top:18px}.invoice-file{border:1px solid var(--line);border-radius:9px;padding:16px;margin-top:12px}.invoice-file b{display:block;font-size:14px;overflow-wrap:anywhere}.invoice-file small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.invoice-file .label-actions{margin-bottom:0}.invoice-viewer{width:min(850px,calc(100% - 30px))}.invoice-image{max-width:100%;display:block;margin:18px auto;max-height:65vh;object-fit:contain}.invoice-pdf{width:100%;height:60vh;border:1px solid var(--line);margin-top:18px;border-radius:8px}#invoice-status{margin:14px 0}#invoice-status:empty{display:none}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.client-profile-header>.info-grid{grid-template-columns:1fr 1fr;padding:18px;gap:18px}.client-profile-header .info-grid>div:nth-child(3){grid-column:1/-1}.client-profile-header .panel-heading{padding:18px}.client-profile-header .info-grid>div>b{font-size:14px}.client-profile-header .info-grid>div>span{font-size:12px}.client-receipts-table{min-width:0;table-layout:auto}.client-receipts-table thead{display:none}.client-receipts-table tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.client-receipts-table tbody>tr>td{padding:0;border:0;max-width:none!important;min-width:0!important;font-size:14px}.client-receipts-table tbody>tr>td:nth-child(2){grid-column:1/-1;grid-row:2}.client-receipts-table tbody>tr>td:nth-child(3){grid-column:2;grid-row:1;text-align:right}.client-receipts-table tbody>tr>td:nth-child(4){grid-column:1;grid-row:3}.client-receipts-table tbody>tr>td:nth-child(5){grid-column:1/-1}.client-receipts-table .payment-actions .btn{min-height:40px}.client-receipts-table .empty{grid-column:1/-1}}
.upcoming-orders-panel{border-top:3px solid #249c80}.orders-page-toolbar .search{flex:1;max-width:460px}.orders-page-toolbar input,.orders-page-toolbar select{font-size:14px}.upcoming-trip-group{border-top:1px solid var(--line)}.upcoming-trip-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;background:#f0f8f4}.trip-plan-code{font-size:12px;font-weight:700;color:var(--green);letter-spacing:.4px}.upcoming-trip-heading h3{font-size:18px;margin:7px 0}.upcoming-trip-heading p{font-size:14px;color:var(--muted);line-height:1.6}.upcoming-trip-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.upcoming-orders-table{min-width:820px}.upcoming-orders-table td,.general-orders-table td{vertical-align:top;font-size:14px;line-height:1.6}.upcoming-orders-table th,.general-orders-table th{font-size:12px;letter-spacing:.3px}.upcoming-orders-table td small,.general-orders-table td small{display:block;color:var(--muted);font-size:12px;line-height:1.7;margin-top:4px}.upcoming-orders-table .label-actions{margin:0;flex-wrap:nowrap}.upcoming-orders-table .label-actions .btn{font-size:13px;padding:8px 12px;min-height:38px}.upcoming-orders-table .badge,.general-orders-table .badge{white-space:normal}.general-orders-table{min-width:960px}.general-orders-table td:first-child{max-width:300px}.upcoming-order-highlight{background:#f7fcf9}.upcoming-order-highlight>td:first-child{box-shadow:inset 3px 0 #27a887}.upcoming-order-tag{margin-top:9px}.order-trip-ref+.order-trip-ref{margin-top:10px}.order-trip-ref>b{font-size:13px}.future-trip-label{color:var(--green);font-size:11px;font-weight:600;background:#e4f3eb;padding:3px 6px;border-radius:4px;margin-left:7px}.order-trip-ref small{white-space:nowrap}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.orders-page-toolbar{flex-direction:column}.orders-page-toolbar .search{width:100%;max-width:none}.orders-page-toolbar select{width:100%;padding:12px}.upcoming-trip-heading{padding:18px;align-items:flex-start;flex-direction:column}.upcoming-trip-actions{width:100%;justify-content:space-between}.upcoming-trip-actions .badge{font-size:12px}.upcoming-trip-heading h3{font-size:17px}.upcoming-orders-table,.general-orders-table{min-width:0}.upcoming-orders-table thead,.general-orders-table thead{display:none}.upcoming-orders-table tbody>tr,.general-orders-table tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.upcoming-orders-table tbody>tr>td,.general-orders-table tbody>tr>td{border:0;padding:0;max-width:none;min-width:0}.upcoming-orders-table tbody>tr>td:first-child,.general-orders-table tbody>tr>td:first-child{grid-column:1/-1;box-shadow:none}.upcoming-orders-table tbody>tr>td:nth-child(2),.general-orders-table tbody>tr>td:nth-child(2){grid-column:1/-1}.upcoming-orders-table tbody>tr>td:last-child,.general-orders-table tbody>tr>td:last-child{grid-column:1/-1}.upcoming-orders-table .label-actions .btn{flex:1;min-height:42px}.general-orders-table tbody>tr>td:nth-child(3){grid-column:1}.general-orders-table tbody>tr>td:nth-child(4){grid-column:2;grid-row:3;text-align:right}.general-orders-table tbody>tr>td:nth-child(5){grid-column:1/-1}.general-orders-table tbody>tr>td:last-child .btn{width:100%}.general-orders-table tbody>tr.upcoming-order-highlight{border-left:3px solid #27a887}.order-trip-ref small{white-space:normal}.upcoming-orders-table .empty,.general-orders-table .empty{grid-column:1/-1}}
.quote-calculator{align-self:start}.quote-calculator .panel-heading{border-bottom:1px solid var(--line)}.quote-body{padding:24px}.quote-example{font-size:13px;color:#527269;line-height:1.7;padding:13px 15px;background:#f0f7f3;border-radius:8px;margin-bottom:20px}.quote-body>.field{font-size:14px;font-weight:600;margin:20px 0}.quote-body .field>small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.6}.quote-input{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #d3e1dc;background:white;border-radius:8px;padding:0 13px}.quote-input>span{font-size:14px;font-weight:600;color:var(--muted)}.quote-input>input{border:0!important;background:transparent;outline:none;padding:12px 0!important;min-width:0;font-size:16px!important;width:100%}.quote-input:focus-within{outline:2px solid #40b89c;outline-offset:2px}.quote-input>input:focus-visible{outline:0}.quote-fee-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.quote-fee-row select{font-size:13px!important;width:auto!important}.quote-breakdown{border-top:1px solid var(--line);padding-top:10px;margin-top:24px}.quote-breakdown>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;font-size:14px;line-height:1.5}.quote-breakdown small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.quote-breakdown b{white-space:nowrap}.quote-total{padding:20px;border:1px solid #cce4d9;background:#eaf6ef;border-radius:10px;margin-top:10px}.quote-total>span{display:block;font-size:14px;font-weight:600;color:#356f5b}.quote-total>strong{display:block;font:800 30px Manrope,system-ui;letter-spacing:-.7px;color:#08745f;margin:9px 0}.quote-total>small{font-size:12px;color:#5e7a6e}.quote-comparison{border:1px solid var(--line);border-radius:9px;margin-top:22px;padding:16px}.quote-comparison summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.6}.quote-comparison>p{font-size:13px;color:var(--muted);line-height:1.7;margin:14px 0}.quote-comparison .field{font-size:14px;line-height:1.6}.quote-comparison .field small{font-size:12px;font-weight:400;color:var(--muted)}.quote-cost-comparison{border-top:1px solid var(--line);padding-top:16px}.quote-cost-comparison>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:1.6}.quote-cost-comparison p{font-size:13px;line-height:1.8;margin:12px 0}.quote-cost-comparison b{white-space:nowrap}.quote-remaining{border-top:1px solid var(--line);padding-top:14px;font-weight:600;margin:15px 0 10px}.quote-cost-comparison>small{font-size:12px;color:var(--muted);line-height:1.6;display:block}.quote-footnote{font-size:12px;color:var(--muted);line-height:1.7;margin-top:20px}.quote-invalid{padding:16px;background:#fff6e7;border-radius:8px;font-size:14px;line-height:1.7;color:#8c652b}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.quote-body{padding:18px}.quote-total>strong{font-size:29px}.quote-fee-row{grid-template-columns:minmax(0,1fr) 145px}.quote-calculator .panel-heading h2{font-size:18px}}
.orders-tabs{display:flex;gap:6px;margin-bottom:22px;border-bottom:1px solid #d9e5e2}.orders-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;background:transparent;color:var(--muted);border:0;border-bottom:3px solid transparent;font-size:15px;font-weight:600;min-height:52px}.orders-tabs button[aria-selected=true]{color:var(--green);background:#eaf5f0;border-bottom-color:var(--green);border-radius:8px 8px 0 0}.orders-tabs button span{font-size:12px;background:#e5eeea;color:#47675e;border-radius:20px;padding:3px 8px}.orders-tab-panel[hidden]{display:none!important}.orders-tab-panel:not([hidden]){margin-top:0}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.orders-tabs{gap:0;margin-bottom:18px;width:100%}.orders-tabs button{flex:1;font-size:14px;padding:13px 10px;gap:7px}.orders-tabs button span{font-size:11px;padding:3px 7px}.orders-tab-panel .panel-heading h2{font-size:17px}.orders-tab-panel .panel-heading{gap:12px}.orders-tab-panel .upcoming-trip-heading{padding:16px 18px}}
.trip-filter-panel{display:flex;align-items:flex-end;gap:18px;padding:20px 24px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}.trip-filter-panel .field{margin:0;min-width:160px;flex:1;font-size:14px}.trip-filter-panel select{min-height:44px;font-size:14px}.trip-filter-panel .btn{min-height:44px}.trip-results-count{font-size:14px;color:var(--muted);margin:0 0 20px}.client-header-actions{display:flex;gap:10px;flex-wrap:wrap}.danger-outline{color:#a54539;border-color:#e5c6c0;background:white}.danger-outline:hover{background:#fff1ed;border-color:#cb8d81}.btn.danger{background:#a74437;border-color:#a74437;color:white}.btn.danger:hover{background:#8e352b}.deleted-toggle{margin:0;font-size:13px;align-items:center;white-space:nowrap}.field>small{font-weight:400;color:var(--muted);font-size:12px}#zip-feedback{margin-top:-4px;line-height:1.7}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.trip-filter-panel{display:grid;grid-template-columns:1fr 1fr;padding:18px;gap:14px}.trip-filter-panel .field{min-width:0}.trip-filter-panel .btn{grid-column:1/-1}.client-header-actions{width:100%}.client-header-actions .btn{flex:1;white-space:nowrap}.deleted-toggle{width:100%;margin-top:6px}}
body.auth-pending>aside,body.auth-pending>main,body.auth-pending>footer{display:none!important}#auth-screen:empty{display:none}.login-card{max-width:440px;background:white;border:1px solid var(--line);border-radius:16px;padding:32px;margin:8vh auto;box-shadow:0 15px 50px #173c3410}.login-brand{font:800 25px Manrope,system-ui;color:var(--green);margin-bottom:25px}.login-card h1{font-size:24px;line-height:1.4}.login-card>p{font-size:14px;color:var(--muted);line-height:1.7;margin:14px 0}.login-card .notice{margin:20px 0}.login-card form>.btn{width:100%;margin-top:15px}.login-card #auth-error{color:#a74437}.logout-link{border:0;background:none;color:#a8d5c6;font-size:12px;padding:8px 0;text-align:left;cursor:pointer}#shared-save-notice{position:sticky;top:0;z-index:20;background:#fff0e8;border-bottom:1px solid #e2bcaa;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.7}.settings-table{min-width:740px}.settings-table td{font-size:14px;vertical-align:top}.settings-table small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.settings-table .label-actions{margin:0}.team-trip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.route-direction-heading{display:flex;justify-content:space-between;align-items:center;margin:22px 0 14px;gap:12px}.traveler-leg{padding:16px;background:#f5f9f7;border:1px solid var(--line);border-radius:9px;margin-top:10px}.traveler-leg small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.traveler-leg .label-actions{margin:12px 0 0}.traveler-picks{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.traveler-picks .check-field{margin:12px 0}.cost-person-row{border-top:1px solid var(--line);padding:5px 0}.custom-cost-value{font-size:12px}[hidden]{display:none!important}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.login-card{margin:28px 16px;padding:25px}.team-trip-grid{grid-template-columns:1fr}.traveler-picks{grid-template-columns:1fr}.settings-table .label-actions{flex-direction:column}.route-direction-heading h3{font-size:15px}.route-direction-heading .btn{font-size:13px}}

.invoice-capture-actions{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;margin-top:16px}.invoice-camera{cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:center}.invoice-capture-actions .invoice-upload{flex:1;margin:0;min-width:180px}.invoice-previews{margin:20px 0;padding:16px;border:1px solid #d8e7e5;border-radius:12px;background:#f5faf9}.invoice-preview{display:grid;gap:8px;margin-bottom:16px}.invoice-preview img{width:100%;max-height:360px;object-fit:contain;background:#e5ecec;border-radius:8px}.invoice-preview small{color:#526b71}.invoice-previews .label-actions{gap:12px}.invoice-previews .btn{min-height:44px}@media(max-width:600px){.invoice-capture-actions{flex-direction:column}.invoice-previews{padding:12px}}

.brand-icon.app-brand-image{display:block;object-fit:contain;background:#fff;border-radius:10px}

/* Settings: stack each record on narrow screens, keeping every action in view. */
.settings-workspace{min-width:0;max-width:100%}
@container workspace (max-width:767px){
.settings-workspace .finance-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;gap:4px;padding:5px;margin-bottom:18px}
.settings-workspace .finance-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.35;padding:10px 8px;min-height:48px}
.settings-workspace .panel-heading{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:18px}
.settings-workspace .panel-heading h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.settings-workspace .panel-heading>.btn{width:100%;min-height:44px;justify-content:center;font-size:14px;white-space:normal}
.settings-workspace .table-scroll{overflow:visible;min-width:0;max-width:100%}
.settings-workspace .settings-table{display:block;min-width:0!important;width:100%;table-layout:auto}
.settings-workspace .settings-table thead{display:none}
.settings-workspace .settings-table tbody{display:block;width:100%}
.settings-workspace .settings-table tbody>tr{display:flex;flex-direction:column;gap:14px;padding:18px;width:100%;height:auto;min-height:0;border-bottom:1px solid var(--line);box-sizing:border-box}
.settings-workspace .settings-table tbody>tr:last-child{border-bottom:0}
.settings-workspace .settings-table tbody>tr>td{display:block;box-sizing:border-box;border:0;padding:0;width:100%!important;max-width:none!important;min-width:0!important;height:auto;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.settings-workspace .settings-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:12px;font-weight:600}
.settings-workspace .settings-table td:first-child>b{font-size:17px;line-height:1.4}
.settings-workspace .settings-table small{font-size:13px;margin-top:3px}
.settings-workspace .settings-table .label-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;width:100%}
.settings-workspace .settings-table .label-actions .btn{flex:1 1 110px;min-width:0;min-height:44px;font-size:14px;padding:10px;white-space:normal;justify-content:center}
}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){main{min-width:0;max-width:100%}aside nav{width:100%;gap:0}aside nav a{flex:1 1 0;min-width:0;width:auto;padding:5px 1px;font-size:clamp(8px,2.25vw,10px);text-align:center}aside nav a svg{flex-shrink:0}}

.receipt-ledger{width:100%;border-collapse:separate;border-spacing:0 12px;padding:0 16px 12px;table-layout:fixed}
.receipt-ledger th:first-child{width:58%}.receipt-ledger th:nth-child(2){width:22%}.receipt-ledger th:last-child{width:20%}
.receipt-ledger tbody>tr>td{background:#f3f6f6;padding:20px 16px;border-top:1px solid #dce5e5;border-bottom:1px solid #dce5e5;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
.receipt-ledger tbody>tr:nth-child(even)>td{background:#e8eeee}
.receipt-ledger tbody>tr>td:first-child{border-left:1px solid #dce5e5;border-radius:12px 0 0 12px}
.receipt-ledger tbody>tr>td:last-child{border-right:1px solid #dce5e5;border-radius:0 12px 12px 0}
.receipt-date{font-size:12px;color:var(--muted);margin-bottom:10px}.receipt-client{display:block;font-size:17px;line-height:1.4;color:var(--ink)}
.receipt-reference{display:flex;gap:8px 12px;flex-wrap:wrap;margin:6px 0 12px;font-size:13px;color:var(--muted)}
.receipt-destination{display:grid;gap:4px}.receipt-destination>span{font-size:12px;color:var(--muted)}.receipt-destination>b{font-size:14px;line-height:1.5}
.receipt-order-products{font-size:13px;line-height:1.6;margin:8px 0}.receipt-order-products>span{color:var(--muted)}
.receipt-purpose{font-size:13px;margin-top:10px;font-weight:600}.receipt-note{font-size:13px;line-height:1.5;margin:10px 0 6px;color:var(--muted)}
.receipt-ledger .money{font-size:18px;line-height:1.5}.receipt-ledger .payment-actions{display:flex;flex-wrap:wrap;gap:8px}.receipt-ledger .btn{min-height:40px}.receipt-inactive .receipt-client{color:var(--muted)}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){
.receipt-ledger{display:block;table-layout:auto;padding:0 14px 14px;border-spacing:0;min-width:0}
.receipt-ledger thead{display:none}.receipt-ledger tbody{display:grid;gap:14px;width:100%}
.receipt-ledger tbody>tr{display:flex;flex-direction:column;background:#f3f6f6;border:1px solid #dce5e5;border-radius:12px;padding:16px;gap:14px;height:auto;min-height:0}
.receipt-ledger tbody>tr:nth-child(even){background:#e8eeee}
.receipt-ledger tbody>tr>td,.receipt-ledger tbody>tr:nth-child(even)>td{background:transparent;border:0!important;border-radius:0!important;padding:0;width:100%!important;max-width:none;min-width:0;display:block;height:auto}
.receipt-ledger .money{padding-top:12px;border-top:1px solid #cfdada!important;font-size:21px}
.receipt-ledger .payment-actions{flex-direction:row;gap:10px}.receipt-ledger .payment-actions .btn{min-height:44px;flex:1;justify-content:center}
}

.product-payment-summary{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px;background:#edf5f3;border-radius:8px;margin:10px 0;font-size:13px;line-height:1.6}.product-payment-summary b{color:#123d38}.service-balances{padding:16px 0}.service-balances h3{margin-bottom:12px}.service-balance{border:1px solid var(--line);background:#f4f7f7;border-radius:9px;padding:14px;margin:10px 0}.service-balance>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.service-balance p{font-size:13px;margin:10px 0}.service-balances>.btn{margin:8px 0;min-height:44px}#receipt-balance{margin:14px 0}#receipt-balance .kv{gap:12px;line-height:1.6}#receipt-after{margin:12px 0}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.product-payment-summary{align-items:flex-start;flex-direction:column;gap:6px}.service-balance{padding:12px}}

.receipt-order-picker{position:relative}.receipt-order-options{position:absolute;top:76px;left:0;right:0;z-index:20;max-height:240px;overflow-y:auto;border:1px solid #cbdcde;border-radius:10px;background:#fff;box-shadow:0 10px 24px #173e4126;padding:5px}.receipt-order-options[hidden]{display:none}.receipt-order-options button{display:block;width:100%;padding:12px;text-align:left;border:0;border-radius:6px;background:#fff;color:#173b40;font:inherit;cursor:pointer;white-space:normal}.receipt-order-options button:hover,.receipt-order-options button:focus,.receipt-order-options button[aria-selected="true"]{background:#e8f4f1;color:#007e70;outline-offset:-2px}.receipt-order-empty{padding:10px;margin:0;color:#61787c}

.trip-filter-panel{flex-wrap:wrap}.trip-filter-help{margin:-4px 0 20px}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.trip-filter-panel .field:first-child{grid-column:1/-1}}

.client-product-toolbar,.orders-page-toolbar{flex-wrap:wrap;gap:12px}.order-sort{min-height:42px}@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){.client-product-toolbar .order-sort{width:100%}}

.settlement-summary{align-items:flex-start;flex-direction:column;gap:6px}.settlement-summary .settlement-pending{font-size:13px;line-height:1.5;color:#9a570b}.settlement-summary small{line-height:1.5}

/* Keep the shell inside the visible viewport; only the main content scrolls. */
@media screen{
 html,body{height:100%;min-height:0;overflow:hidden;overscroll-behavior:none}
 body{height:100vh;height:100dvh}
 main{height:100vh;height:100dvh;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
 main>header{position:sticky;top:0;z-index:4;flex-shrink:0}
 aside{top:0;bottom:auto;height:100vh;height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-top:max(30px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}
 aside>.brand,aside>.workspace,aside>nav,aside>.sidebar-bottom{flex-shrink:0}
}
@media screen and (max-width:760px), screen and (max-width:1024px) and (hover:none) and (pointer:coarse){
 aside{top:auto;bottom:0;height:calc(68px + env(safe-area-inset-bottom));padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:visible}
 aside>nav{height:68px}
 main{margin-left:0;padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 main>header{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
}
@media screen{.auth-pending #auth-screen{height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior-y:contain;padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left))}}

.settlement-summary:has(.settlement-pending){background:#fff5e5;border-left:3px solid #d59431;border-radius:6px;padding:10px;min-width:0}.settlement-summary .settlement-pending{font-weight:700;overflow-wrap:anywhere}

/* Dense product rows and a smaller mobile navigation bar. */
.compact-products td{padding:12px 10px}
.compact-products td small{margin-top:3px;line-height:1.35}
.compact-products .settlement-summary{margin:0;padding:6px 8px;gap:4px;line-height:1.35;text-align:left}
.compact-products .settlement-summary small{margin:0;line-height:1.35}
.compact-products .settlement-summary .settlement-pending{font-size:13px;line-height:1.35}
.compact-products .settlement-note{display:none}
@media(max-width:760px), (max-width:1024px) and (hover:none) and (pointer:coarse){
 aside{height:calc(48px + env(safe-area-inset-bottom))}
 aside>nav{height:48px}
 aside nav a{min-height:44px;padding:3px 1px;gap:2px;font-size:10px;line-height:1.15}
 aside nav a svg{width:20px;height:20px}
 main{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
 main>header{height:48px}
 .compact-products tbody>tr:not(.product-details-row){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:12px}
 .compact-products tbody>tr:not(.product-details-row)>td:first-child{grid-column:1/-1;grid-row:1}
 .compact-products tbody>tr:not(.product-details-row)>td:nth-child(2){grid-column:1;grid-row:2}
 .compact-products tbody>tr:not(.product-details-row)>td:nth-child(3){grid-column:2;grid-row:2}
 .compact-products tbody>tr:not(.product-details-row)>td:nth-child(4){grid-column:1/-1;grid-row:3;text-align:left}
 .compact-products tbody>tr:not(.product-details-row)>td:nth-child(5){grid-column:1/-1;grid-row:4}
 .compact-products .settlement-summary{flex-direction:row;align-items:center;gap:4px 10px}
 .compact-products .product-row-actions{gap:8px;margin:0}
 .compact-products .product-row-actions .btn{padding:7px 12px;min-height:40px}
}
@media(min-width:761px) and (max-width:1024px) and (hover:none) and (pointer:coarse){
 .compact-products{display:table;table-layout:fixed;min-width:0;width:100%}
 .compact-products thead{display:table-header-group}
 .compact-products tbody{display:table-row-group}
 .compact-products tbody>tr:not(.product-details-row){display:table-row;padding:0;height:auto}
 .compact-products tbody>tr:not(.product-details-row)>td{display:table-cell;padding:10px 8px;font-size:14px;line-height:1.35;vertical-align:top}
 .compact-products th:nth-child(1){width:28%}.compact-products th:nth-child(2){width:16%}.compact-products th:nth-child(3){width:19%}.compact-products th:nth-child(4){width:24%}.compact-products th:nth-child(5){width:13%}
 .compact-products .product-row-actions{flex-direction:column}
 .compact-products .product-row-actions .btn{min-height:36px;padding:7px 6px;font-size:12px}
 .compact-products .settlement-summary{flex-direction:column;align-items:flex-start}
 .compact-products .product-details-row>td{display:table-cell}
 .compact-products .badge{padding:3px 6px}
}
.personal-use-check{margin:18px 0 12px}.personal-product-summary{background:#edf3fa}.personal-product-summary small{color:#496681}

/* Responsive workspace: preserve numbers and let their surrounding blocks reflow. */
#app{container-type:inline-size;container-name:workspace}
.detail-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.detail-grid>*,.dashboard-grid>*,.stats>*,.cards>*,.form-row>*,.team-trip-grid>*,.toolbar>*,.page-title>*{min-width:0}
.panel-heading,.page-title,.section-toolbar,.products-heading,.route-direction-heading{flex-wrap:wrap}
.toolbar{flex-wrap:wrap}.toolbar .search{flex:1 1 220px}.toolbar select{max-width:100%}
.product>div,.client-name>div{min-width:0}.product b,.client-name b{overflow-wrap:anywhere}
.money,.receipt-ledger tbody>tr>td.money{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
.stat strong,.client-overview strong,.trip-result{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums;font-size:clamp(20px,2.1vw,27px)}
.kv>b,.card-numbers b,.quote-total strong{white-space:nowrap;overflow-wrap:normal!important;word-break:normal;font-variant-numeric:tabular-nums}
.kv{flex-wrap:wrap;gap:6px 16px;align-items:baseline}.kv>b{margin-left:auto;text-align:right}
.card-numbers{flex-wrap:wrap;row-gap:14px}.card-numbers>div{min-width:0}
.finance-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.6fr);align-items:start}
.finance-layout>.panel:first-child{container-type:inline-size;container-name:ledger}
.receipt-ledger{table-layout:auto}
.receipt-ledger th:first-child{width:auto}.receipt-ledger th:nth-child(2){width:150px}.receipt-ledger th:last-child{width:110px}
.receipt-ledger tbody>tr>td.money{font-size:17px;padding-left:12px;padding-right:12px}
.receipt-ledger .payment-actions{margin-top:0;align-items:stretch;flex-direction:column}
.receipt-ledger .payment-actions .btn{white-space:nowrap}
.table-scroll{max-width:100%;min-width:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.field{min-width:0}.field input,.field select,.field textarea{max-width:100%;min-width:0}
.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.btn{max-width:100%;white-space:normal}.btn svg{flex-shrink:0}
.modal-head{gap:16px;align-items:flex-start}.modal-head h2{min-width:0;overflow-wrap:anywhere}.close{flex-shrink:0}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain;scrollbar-gutter:stable}
.form-actions{flex-wrap:wrap;position:sticky;bottom:-28px;background:white;padding:14px 0;margin-top:14px;z-index:2;border-top:1px solid var(--line)}
@container workspace (max-width:1000px){.finance-layout{grid-template-columns:minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid:not(.finance-layout){grid-template-columns:minmax(0,1fr)}}
@container workspace (max-width:650px){.cards,.team-trip-grid,.right-col{grid-template-columns:minmax(0,1fr)}.client-overview{grid-template-columns:minmax(0,1fr)}.client-overview span{min-height:0}.trip-fin-grid{grid-template-columns:minmax(0,1fr)}.info-grid,.client-profile-header>.info-grid,.product-info .info-grid{grid-template-columns:minmax(0,1fr)}.client-profile-header .info-grid>div{grid-column:auto}.finance-tabs{width:100%}.finance-tabs button{flex:1;min-width:0;white-space:normal}.trip-filter-panel{flex-wrap:wrap}.trip-filter-panel .field{min-width:120px}}
@container ledger (max-width:620px){
 .receipt-ledger{display:block;min-width:0;padding:0 14px 14px;border-spacing:0}
 .receipt-ledger thead{display:none}.receipt-ledger tbody{display:grid;gap:12px;width:100%}
 .receipt-ledger tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:16px;border:1px solid #dce5e5;border-radius:10px;background:#f3f6f6}
 .receipt-ledger tbody>tr:nth-child(even){background:#e8eeee}
 .receipt-ledger tbody>tr>td,.receipt-ledger tbody>tr:nth-child(even)>td{display:block;min-width:0;max-width:none;width:auto!important;border:0!important;border-radius:0!important;padding:0;background:transparent}
 .receipt-ledger tbody>tr>td:first-child{grid-column:1/-1}
 .receipt-ledger tbody>tr>td.money{padding-top:10px;border-top:1px solid #cfdada!important;font-size:18px}
 .receipt-ledger .payment-actions{flex-direction:row;flex-wrap:wrap;gap:6px}
 .receipt-ledger .payment-actions .btn{min-height:40px;padding:8px 10px}
}
@media(max-width:600px){
 .form-row{grid-template-columns:minmax(0,1fr);gap:0}.field input,.field select,.field textarea{font-size:16px}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:14px 12px}.stat strong{font-size:clamp(18px,5vw,24px);letter-spacing:-.7px}
 .client-overview strong{font-size:22px}.trip-result{font-size:26px}.section-toolbar{align-items:stretch}.section-toolbar>.btn{width:100%}
 .page-title>.btn{max-width:100%}.panel-heading h2{line-height:1.4}.panel-heading .btn{min-height:40px}
 .receipt-ledger tbody>tr{grid-template-columns:minmax(0,1fr)}.receipt-ledger tbody>tr>td{grid-column:1!important}
 .receipt-ledger .payment-actions .btn{flex:1}
 .form-actions{bottom:-22px}.form-actions .btn{flex:1;min-height:44px}
 .leg{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);gap:8px}.leg strong{font-size:20px}.leg small{overflow-wrap:anywhere}
 footer{flex-wrap:wrap}.bottom-note{flex-wrap:wrap;gap:8px}.finance-tabs button{font-size:13px}
}
@media(max-width:600px){
 .client-list-table{display:block;min-width:0!important;width:100%}.client-list-table thead{display:none}.client-list-table tbody{display:grid;width:100%}
 .client-list-table tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px;gap:10px;border-bottom:1px solid var(--line)}
 .client-list-table tbody>tr>td{display:block;min-width:0;padding:0;border:0;font-size:14px}
 .client-list-table tbody>tr>td:first-child,.client-list-table tbody>tr>td:nth-child(2){grid-column:1/-1}
 .client-list-table tbody>tr>td:nth-child(3)::before{content:'Pedidos: ';color:var(--muted)}
 .client-list-table tbody>tr>td:nth-child(4){text-align:right}.client-list-table tbody>tr>td:last-child{grid-column:1/-1}.client-list-table tbody>tr>td:last-child .btn{width:100%}
 .orders-table:not(.upcoming-orders-table):not(.general-orders-table) td:nth-child(4){position:static;width:100%;text-align:left}.orders-table:not(.upcoming-orders-table):not(.general-orders-table) .product b{max-width:none}
}
@media(max-width:360px){.stats{grid-template-columns:minmax(0,1fr)}aside nav a{font-size:8px}.header-right{gap:6px}.demo{max-width:90px;text-align:center}}
