.order-summary{text-decoration:none}.page-order main>header{margin-bottom:22px}.order-page-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;margin-bottom:18px}.order-page-head>a{color:#08775a;font-weight:800;text-decoration:none}.order-page-head>div{display:flex;align-items:center;gap:12px}.order-page-head>div span{color:#68768b;font-size:12px}.order-page-head>div strong{color:#111a2c;font:800 20px Manrope}.order-page-head>b{font:800 17px Manrope;color:#111a2c}.order-page-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.7fr);gap:18px;align-items:start}.order-page-main,.order-page-side{display:grid;gap:18px}.order-section{padding:22px}.order-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.order-section-head small{display:block;margin-bottom:4px;color:#07936e;font-size:9px;font-weight:800;letter-spacing:.14em}.order-section-head h2{margin:0;color:#111a2c;font:800 18px Manrope}.order-section-head>span{padding:7px 10px;border-radius:999px;background:#edf8f4;color:#08775a;font-size:9px;font-weight:800}.order-product-table{overflow:hidden;border:1px solid #e2e9ed;border-radius:13px}.order-product-table>div{display:grid;grid-template-columns:minmax(0,1fr) 150px 125px;gap:15px;align-items:center;padding:14px 16px;border-bottom:1px solid #e9eef1}.order-product-table>div:last-child{border:0}.order-product-table span strong,.package-list strong{display:block;color:#172136;font-size:12px}.order-product-table small,.package-list small{display:block;margin-top:3px;color:#7a8798;font-size:9px}.order-product-table>div>span:nth-child(2),.order-product-table>div>b{text-align:right;font-size:11px}.order-product-table .delivery-line{background:#f8fbfa}.status-form{display:grid;gap:8px;margin-bottom:18px}.status-form select,.status-form button,.carrier-picker select,.carrier-picker button,.package-form input,.package-form select,.package-form button{min-height:42px;border:1px solid #dbe5e9;border-radius:10px;background:#fff;padding:0 12px;font:700 11px 'DM Sans'}.status-form button,.package-form button.primary{border:0;background:#087e64;color:#fff}.order-page-side dl{display:grid;grid-template-columns:1fr auto;gap:11px;margin:0}.order-page-side dt{color:#758296;font-size:10px}.order-page-side dd{margin:0;color:#152036;font-size:10px;font-weight:800;text-align:right}.order-page-side dd.paid{color:#078b68}.order-page-side dd.due{color:#b67717}.address-section>div:not(.order-section-head){padding:13px 0;border-top:1px solid #e8edef}.address-section h3{margin:0 0 7px;color:#657287;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.address-section p{margin:0;color:#172136;font-size:11px;line-height:1.55}.address-section small{color:#657287}.package-list{display:grid;gap:8px;margin-bottom:18px}.package-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px;border:1px solid #dce9e4;border-radius:11px;background:#f8fcfa}.package-list a,.document-buttons>a{padding:9px 12px;border:1px solid #a9d9ca;border-radius:9px;color:#08775a;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}.empty-packages{padding:15px;border:1px dashed #cfdcda;border-radius:11px;color:#748196;font-size:11px}.inline-error{margin-bottom:15px;padding:12px;border:1px solid #efc8c8;border-radius:10px;background:#fff6f6;color:#a74343;font-size:10px}.carrier-picker label,.package-fields label{display:grid;gap:6px}.carrier-picker label>span,.package-fields label>span{color:#566477;font-size:9px;font-weight:800}.carrier-picker{margin:16px 0}.package-form{padding-top:16px;border-top:1px solid #e4ebe9}.package-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.package-form label small{color:#7b8797;font-size:8px}.package-form>p{margin:14px 0;color:#6f7d91;font-size:9px}.package-form>button{padding:0 18px}.document-workspace{margin-top:18px}.document-workspace .document-state{margin:0}.document-buttons{display:flex;align-items:center;gap:7px;margin-top:12px}.document-buttons form{margin:0}.document-buttons button{width:36px;height:36px;border:1px solid #f2bfc4;border-radius:9px;background:#fff7f7;color:#d43b49;font-size:20px}.order-not-found{padding:35px}.order-not-found a{color:#08775a}.page-order .order-email-form{margin-top:14px}
@media(max-width:1000px){.order-page-grid{grid-template-columns:1fr}.order-page-side{grid-template-columns:1fr 1fr}.document-workspace .order-date-actions{grid-template-columns:1fr}}
@media(max-width:700px){.page-order main>header{display:none}.order-page-head{grid-template-columns:1fr auto;margin-top:4px}.order-page-head>a{grid-column:1/-1}.order-page-head>div{align-items:flex-start;flex-direction:column;gap:3px}.order-page-head>div strong{font-size:17px}.order-page-head>b{font-size:14px}.order-page-side{grid-template-columns:1fr}.order-section{padding:16px}.order-product-table>div{grid-template-columns:1fr auto;padding:12px}.order-product-table>div>span:nth-child(2){grid-column:1}.order-product-table>div>b{grid-column:2;grid-row:1/3}.package-list>div{align-items:flex-start;flex-direction:column}.package-fields{grid-template-columns:1fr}.document-workspace{margin-bottom:80px}}

/* Editable order operations workspace */
.page-order main{padding-top:18px}.page-order main>header{display:none}.order-hero{display:grid;grid-template-columns:auto minmax(250px,1.25fr) minmax(150px,.65fr) minmax(150px,.65fr) auto;align-items:center;gap:18px;margin-bottom:16px;padding:18px 20px;border-top:4px solid var(--order-status-color);border-radius:14px}.order-back{color:#08775a;font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}.order-hero-identity{display:flex;align-items:center;gap:12px;min-width:0}.order-source-mark{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border:1px solid #d8e5e2;border-radius:11px;background:#f5faf8;font-size:20px}.order-source-mark img{width:30px;height:30px;object-fit:contain}.order-hero-identity small{display:block;color:#718096;font-size:9px;font-weight:700}.order-hero-identity h1{overflow:hidden;margin:3px 0 0;color:#111a2c;font:800 20px/1.15 Manrope;text-overflow:ellipsis;white-space:nowrap}.order-source-form label,.order-status-form label{display:grid;gap:5px}.order-source-form label>span,.order-status-form label>span{color:#6f7d8d;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.order-source-form select,.order-status-form select{height:38px;padding:0 30px 0 11px;border:1px solid #d8e3e7;border-radius:9px;background:#fff;color:#183246;font:800 10px 'DM Sans'}.order-status-form select{border-color:color-mix(in srgb,var(--status-color) 55%,#d8e3e7);box-shadow:inset 4px 0 0 var(--status-color)}.order-money{text-align:right}.order-money>small{display:block;color:#758296;font-size:8px;font-weight:800;text-transform:uppercase}.order-money>strong{display:block;margin:2px 0 5px;color:#10192c;font:800 24px Manrope;white-space:nowrap}.order-money>strong em{font-size:12px;font-style:normal}.payment-state{display:inline-flex;padding:4px 8px;border-radius:6px;font-size:8px;font-weight:800}.payment-state.paid{background:#e1f8ef;color:#08775a}.payment-state.partial{background:#fff5d9;color:#a66900}.payment-state.unpaid{background:#ffe8e9;color:#c53543}
.order-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}.order-editor-main,.order-editor-side{display:grid;gap:16px}.page-order .order-section{padding:18px}.page-order .order-section-head{margin-bottom:14px}.editable-products{overflow:hidden;border:1px solid #dfe8eb;border-radius:11px}.product-edit-head,.product-edit-row{display:grid;grid-template-columns:minmax(230px,2.3fr) 72px 90px 72px 100px 64px;gap:8px;align-items:center}.product-edit-head{padding:7px 10px;background:#f5f8f8;color:#758296;font-size:8px;font-weight:800;text-transform:uppercase}.product-edit-row{padding:9px 10px;border-top:1px solid #e6ecee}.product-edit-row:first-of-type{border-top:0}.product-edit-row label{display:grid;gap:3px}.product-edit-row label>span{display:none}.product-edit-row input,.add-product-form input,.shipping-edit-form input,.contact-editor input,.pricing-tools input,.pricing-tools select{width:100%;height:34px;padding:0 8px;border:1px solid #d9e3e6;border-radius:7px;background:#fff;color:#18243a;font:700 9px 'DM Sans';box-sizing:border-box}.product-edit-row .product-name>input{font-weight:800}.product-edit-row .product-name small input{height:24px;color:#718096;font-size:8px}.product-edit-row>b{text-align:right;color:#121d31;font-size:10px}.product-row-actions{display:flex;justify-content:flex-end;gap:4px}.product-row-actions button{width:28px;height:28px;border-radius:7px;font-size:13px;font-weight:900}.product-row-actions .save{border:1px solid #9ed8c7;background:#f2fbf8;color:#08775a}.product-row-actions .delete{border:1px solid #f0c7cc;background:#fff7f7;color:#c53243}.order-add-panel{margin-top:10px;border:1px dashed #bcd6ce;border-radius:10px}.order-add-panel summary{padding:11px 13px;color:#08775a;font-size:10px;font-weight:800;cursor:pointer}.add-product-form{display:grid;grid-template-columns:2fr 1fr 1fr repeat(4,.7fr) auto;gap:8px;padding:0 12px 12px}.add-product-form label,.shipping-edit-form label,.contact-editor label{display:grid;gap:5px}.add-product-form label>span,.shipping-edit-form label>span,.contact-editor label>span{color:#657287;font-size:8px;font-weight:800}.add-product-form button,.shipping-edit-form button,.contact-editor button,.pricing-tools button{min-height:34px;padding:0 12px;border:0;border-radius:7px;background:#087e64;color:#fff;font:800 9px 'DM Sans';white-space:nowrap}
.pricing-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pricing-tools form{display:grid;grid-template-rows:auto auto 36px auto;gap:7px;padding:13px;border:1px solid #dfe8eb;border-radius:10px;background:#fbfdfc}.pricing-tools form>strong{color:#162238;font-size:11px}.pricing-tools form>p{min-height:25px;margin:0;color:#718096;font-size:8px;line-height:1.4}.pricing-tools form>label{display:flex;align-items:center;border:1px solid #d9e3e6;border-radius:7px;background:#fff}.pricing-tools form>label input{border:0}.pricing-tools form>label span{padding:0 8px;color:#59687b;font-size:10px;font-weight:800}.pricing-tools .discount-fields{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:5px}.pricing-tools .silent-price-tool{border-color:#efd9a7;background:#fffdf7}.pricing-tools .silent-price-tool button{background:#bd7a11}
.shipping-edit-form{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto auto;gap:8px;align-items:end;margin-bottom:16px;padding:12px;border:1px solid #dfe8eb;border-radius:10px;background:#f8fbfa}.shipping-edit-form .danger{border:1px solid #efc4c9;background:#fff7f7;color:#c53243}.order-editor-side{position:sticky;top:16px}.payment-card{border-top:4px solid #d2a323!important}.payment-card.paid{border-top-color:#0c9a72!important}.payment-card.partial{border-top-color:#e5ac26!important}.payment-card.unpaid{border-top-color:#db4352!important}.payment-card>small{color:#758296;font-size:8px;font-weight:800;letter-spacing:.12em}.payment-card>strong{display:block;margin:7px 0 3px;color:#152036;font:800 20px Manrope}.payment-card>b{display:block;color:#111a2c;font-size:13px}.payment-card>span{display:block;margin-top:8px;color:#718096;font-size:9px}.contact-editor form{display:grid;gap:9px}.contact-editor button{margin-top:2px}.page-order .address-section p{font-size:10px}.page-order .carrier-picker{margin-top:13px}
@media(max-width:1200px){.order-hero{grid-template-columns:auto minmax(220px,1fr) 150px 150px}.order-money{grid-column:2/-1}.add-product-form{grid-template-columns:repeat(4,1fr)}.add-product-form label:first-of-type{grid-column:span 2}.add-product-form button{align-self:end}}
@media(max-width:980px){.order-editor-grid{grid-template-columns:1fr}.order-editor-side{position:static;grid-template-columns:repeat(3,1fr)}.order-hero{grid-template-columns:auto 1fr 1fr}.order-hero-identity{grid-column:2/-1}.order-money{grid-column:3}.product-edit-head{display:none}.product-edit-row{grid-template-columns:minmax(180px,2fr) 65px 85px 65px 90px 64px}.pricing-tools{grid-template-columns:1fr}.order-editor-side .address-section{grid-column:span 1}}
@media(max-width:700px){.page-order main{padding:10px 10px 88px}.order-hero{grid-template-columns:1fr 1fr;gap:12px;padding:14px}.order-back{grid-column:1/-1}.order-hero-identity{grid-column:1/-1}.order-source-form,.order-status-form{min-width:0}.order-money{grid-column:1/-1;text-align:left}.order-money>strong{font-size:22px}.order-editor-side{grid-template-columns:1fr}.editable-products{border:0;overflow:visible}.product-edit-row{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px;padding:11px;border:1px solid #dfe8eb!important;border-radius:10px}.product-edit-row .product-name{grid-column:1/-1}.product-edit-row label>span{display:block;color:#758296;font-size:7px;font-weight:800;text-transform:uppercase}.product-edit-row>b{align-self:end;text-align:left}.product-row-actions{align-self:end}.add-product-form,.shipping-edit-form{grid-template-columns:1fr 1fr}.add-product-form label:first-of-type,.shipping-edit-form label:first-of-type{grid-column:1/-1}.pricing-tools{grid-template-columns:1fr}.document-workspace{margin-bottom:0}}

/* Keep long customer names inside their header column and soften the cutoff. */
.order-hero-identity{overflow:hidden}
.order-hero-identity>div{min-width:0;flex:1;overflow:hidden}
.order-hero-identity h1{max-width:100%;text-overflow:clip;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),transparent 100%)}
.package-form [hidden]{display:none!important}
.package-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.package-actions form{margin:0}
.package-actions button{padding:9px 12px;border:1px solid #efb7bb;border-radius:9px;background:#fff7f7;color:#b6313d;font:800 10px 'DM Sans';cursor:pointer;white-space:nowrap}
.package-actions button:hover{background:#ffecee}
.package-cancelled{padding:9px 12px;border-radius:9px;background:#eef1f3;color:#667383;font-size:10px;font-weight:800}
@media(max-width:700px){.package-actions{justify-content:flex-start}}
.order-line-details{border-top:1px solid #e4ecee;background:#fff}
.order-line-details>.order-product-summary-row{border-top:0;cursor:pointer;list-style:none}
.order-line-details>.order-product-summary-row::-webkit-details-marker{display:none}
.order-line-details>.order-product-summary-row:hover,.order-line-details[open]>.order-product-summary-row{background:#eff9f6}
.order-line-details>.order-product-summary-row:focus-visible{outline:2px solid #087f6c;outline-offset:-3px}
.order-line-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px;border-top:1px solid #dbece6;background:#f8fcfa}
.order-line-form label{display:grid;gap:5px;min-width:0;color:#566579;font-size:10px;font-weight:800}
.order-line-form label.wide{grid-column:1/-1}
.order-line-form input{box-sizing:border-box;width:100%;min-height:38px;padding:7px 10px;border:1px solid #d5e2e5;border-radius:8px;background:#fff;color:#172238;font:700 11px 'DM Sans'}
.order-line-form p{grid-column:1/-1;margin:0;color:#647589;font-size:10px}
.order-line-actions{grid-column:1/-1;display:flex;justify-content:flex-end}
.order-line-actions button{min-height:38px;padding:0 15px;border:0;border-radius:8px;background:#087f6c;color:#fff;font:800 11px 'DM Sans';cursor:pointer}
@media(max-width:700px){.order-line-form{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shipping label creation opens in a native modal above the page. */
html body.bizumno-ui #shipping .shipment-create-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;margin:0;padding:8px 15px;border:1px solid #087f6c;border-radius:999px;background:#087f6c;color:#fff;box-shadow:0 3px 10px #087f6c16;font:650 11px/1.3 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
html body.bizumno-ui #shipping .shipment-create-trigger svg,.shipment-dialog-heading h3 svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.bizumno-ui #shipping .shipment-create-trigger:hover{background:#076e5e;border-color:#076e5e}
html body.bizumno-ui #shipping>.order-section-head{flex-wrap:wrap}
html body.bizumno-ui #shipping>.order-section-head:last-of-type{margin-bottom:0}
html body.bizumno-ui #shipping dialog.shipment-create{box-sizing:border-box;width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 28px);min-width:0;margin:auto;padding:24px;border:1px solid #d4e1d8;border-radius:20px;background:#f9fcfa;color:#233b2e;box-shadow:0 24px 100px #193c3433;overflow:auto}
html body.bizumno-ui #shipping dialog.shipment-create::backdrop{background:#1b302e55;backdrop-filter:blur(5px)}
html body.bizumno-ui #shipping .shipment-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
html body.bizumno-ui #shipping .shipment-dialog-heading h3{display:flex;align-items:center;gap:9px;margin:0;font-size:18px;color:#294936}
html body.bizumno-ui #shipping .shipment-dialog-close{display:grid;place-items:center;flex:none;width:30px;min-height:30px;margin:0;padding:0;border:1px solid #d4e0d6;border-radius:50%;background:#fff;color:#60776c;box-shadow:none;font:23px/1 Arial;cursor:pointer}
html body.bizumno-ui #shipping .shipment-create-body{padding:0}
html body.bizumno-ui #shipping .shipment-create-actions{justify-content:flex-end;padding-top:18px;border-top:1px solid #dce6e0}
html body.bizumno-ui #shipping .shipment-create-actions .primary{border:1px solid #087f6c;border-radius:999px;background:#087f6c;color:#fff;box-shadow:none}
html body.bizumno-ui #shipping .shipment-create-actions .shipment-create-cancel{border-radius:999px}
html body.bizumno-ui #shipping .shipment-create :is(.carrier-picker,.package-form){border-radius:0;box-shadow:none;background:transparent}
html body.bizumno-ui #shipping .shipment-create [hidden]{display:none!important}
html body.bizumno-ui #shipping .shipment-create .carrier-picker{margin:10px 0 16px}
html body.bizumno-ui #shipping .shipment-create .package-form{margin:0;padding-top:16px}
html body.bizumno-ui #shipping .shipment-create .package-fields{align-items:start;gap:16px 12px}
html body.bizumno-ui #shipping .shipment-create :is(.package-fields label,.package-form>label){display:grid;grid-template-rows:auto 42px auto;align-content:start;gap:7px;min-width:0;margin:0}
html body.bizumno-ui #shipping .shipment-create .package-fields label>span{font-size:10px;line-height:1.4}
html body.bizumno-ui #shipping .shipment-create :is(.package-form input:not([type=hidden]),.package-form select,.package-form .aa-choice-trigger){box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:42px;min-height:42px;margin:0;padding:0 12px;border:1px solid #cbdadd;border-radius:10px;font:600 12px/1.4 'DM Sans',sans-serif;color:#24394a}
html body.bizumno-ui #shipping .shipment-create .package-form input[readonly]{background:#f2f6f5;color:#596c72}
html body.bizumno-ui #shipping .shipment-create .package-fields .cod-field{padding:0;border:0;background:transparent}
html body.bizumno-ui #shipping .shipment-create .package-fields .cod-field.active input{border-color:#dfbd69;background:#fffaf0;color:#8d6206}
html body.bizumno-ui #shipping .shipment-create .package-fields .cod-field:not(.active) small{color:#7b8797}
html body.bizumno-ui #shipping .shipment-create .package-fields small{margin:0;font-size:9px;line-height:1.45;font-weight:400;overflow-wrap:anywhere}
html body.bizumno-ui #shipping .shipment-create-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
html body.bizumno-ui #shipping .shipment-create-actions button{min-height:42px;margin:0;padding:0 18px;font:700 11px 'DM Sans',sans-serif;cursor:pointer}
html body.bizumno-ui #shipping .shipment-create-actions .shipment-create-cancel{border:1px solid #cbdadd;background:transparent;color:#596c72;box-shadow:none}
@media(max-width:700px){html body.bizumno-ui #shipping .shipment-create .package-fields{grid-template-columns:minmax(0,1fr)}html body.bizumno-ui #shipping .shipment-create :is(.package-form input:not([type=hidden]),.package-form select,.package-form .aa-choice-trigger){font-size:16px}html body.bizumno-ui #shipping dialog.shipment-create{padding:18px}html body.bizumno-ui #shipping .shipment-create-body{padding:0}html body.bizumno-ui #shipping .shipping-heading-actions{flex-wrap:wrap}}
