/* TASK-317 (owner 2026-10-20, step 1): clean rounded-panel look.
   TASK-469 (owner 2026-11-28): removed all backdrop-filter blur and fixed background-attachment on logged-in & public
   pages per owner instruction for smooth, lightweight scrolling. Clean solid/subtle-gradient surfaces keep the exact
   palette, contrast and layout. */

/* ---------- Page background (logged-in pages) ---------- */
body.no-skin {
	background: linear-gradient(135deg, #f3f5f9 0%, #f5f5f7 50%, #f6f5f3 100%) !important;
	background-color: #f5f5f7 !important;
}
body.no-skin .main-container::before { background: transparent !important; }
body.no-skin .main-content,
body.no-skin .main-content-inner { background: transparent !important; background-image: none !important; }
body.no-skin .page-content { background-color: transparent !important; background-image: none !important; }

/* ---------- Top bar: a floating rounded solid-gradient bar ---------- */
#navbar.navbar {
	border: 0 !important;
	box-shadow: none !important;
	min-height: 0;
	padding: 6px 12px 6px; /* owner round 4: near the top (6px), all four corners rounded */
	/* Only the 6px strip above the bar is filled, so scrolled content does not show above it. */
	background: linear-gradient(#f4f5f8 0, #f4f5f8 6px, transparent 6px) !important;
}
#navbar #navbar-container.mo-topbar {
	/* TASK-469: solid brand blue gradient without backdrop-filter blur. */
	background-color: #4f86d6;
	background-image: linear-gradient(90deg, #4f86d6, #6b9be3);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(47, 102, 184, .18);
	height: 56px;
	min-height: 56px;
}
#navbar.navbar-fixed-top ~ #main-container { padding-top: 68px; }
#main-container > #sidebar.sidebar-fixed,
#main-container #sidebar2.mailsout-context-nav { top: 68px !important; }
.mo-topbar .mo-page-nav > a,
.mo-topbar .mo-actions > .dropdown > a,
.mo-topbar .mo-auth-toggle,
.mo-topbar .mo-page-toggle { color: #fff !important; }
.mo-topbar .mo-page-nav > a { font-weight: 600 !important; } /* owner round 3: bold Home / Get Rates / How Ship */
.mo-topbar .mo-page-nav > a:hover,
.mo-topbar .mo-actions > .dropdown > a:hover,
.mo-topbar .mo-auth-toggle:hover,
.mo-topbar .mo-actions > .dropdown.open > a { background: rgba(255, 255, 255, .18) !important; }
.mo-topbar a:focus-visible, .mo-topbar button:focus-visible { outline-color: #fff; }
.mo-topbar .dropdown-menu,
.mo-topbar.mo-nav-collapsed .mo-page-nav {
	background: rgba(255, 255, 255, .96);
	border: 1px solid rgba(91, 143, 220, .18);
	border-radius: 12px !important; /* ace forces square drop-down corners */
	box-shadow: 0 12px 30px rgba(40, 55, 80, .14);
	overflow: hidden;
	color: #1f3f72;
}
.mo-topbar .dropdown-menu { margin-top: 6px; }
.mo-topbar.mo-nav-collapsed .mo-page-nav { top: 62px; }
/* TASK-410 (owner approved "一起修"): this folded phone/tablet menu is white, but its links kept the bar's white text, so on blue-bar pages it looked empty. Dark navy text, as on the homepage; the sliding block is light blue. */
.mo-topbar.mo-nav-collapsed .mo-page-nav > a { color: #1b344d !important; }
/* TASK-437: tools listed under Tools in the folded menu use the same dark text */
.mo-topbar.mo-nav-collapsed .mo-page-nav > .mo-tools-menu > a { color: #4d6279 !important; }
.mo-topbar.mo-nav-collapsed .mo-page-nav > .mo-tools-menu > a:hover { background: #e3ecf9; color: #1b344d !important; }
.mo-topbar.mo-nav-collapsed.mo-menu-open .mo-page-nav.mo-pill-nav > .mo-nav-pill { background: #e3ecf9; }
.mo-topbar .dropdown-menu > li > a,
.mo-topbar .dropdown-header { color: #1f3f72 !important; }
.mo-topbar .dropdown-menu > li > a:hover,
.mo-topbar .dropdown-menu > li > a:focus { background: #e3ecf9 !important; color: #2f66b8 !important; }

/* ---------- Left menu ---------- */
#sidebar.sidebar { background: #ffffff; }
#sidebar.sidebar::before { background: transparent !important; }
#sidebar .nav-list > li > a,
#sidebar .nav-list > li .submenu > li > a { background: transparent; color: #2b3a4f; }
#sidebar .nav-list > li { border-color: rgba(40, 55, 80, .07) !important; }
#sidebar .nav-list > li .submenu { background: transparent !important; border-color: rgba(40, 55, 80, .07) !important; }
#sidebar .nav-list > li .submenu::before,
#sidebar .nav-list > li .submenu > li::before,
#sidebar .nav-list li .arrow,
#sidebar .nav-list li.active > a::after,
#sidebar .nav-list li.active::after,
#sidebar .nav-list > li .submenu > li.active > a::before { display: none !important; }
#sidebar .nav-list > li > a:hover,
#sidebar .nav-list > li .submenu > li > a:hover { background: rgba(91, 143, 220, .08) !important; color: #2f66b8 !important; }
#sidebar .nav-list > li.active > a,
#sidebar .nav-list > li.open > a { background: transparent !important; color: #2f66b8 !important; font-weight: 600; }
#sidebar .nav-list > li .submenu > li.active > a {
	background: #e3ecf9 !important;
	color: #2f66b8 !important;
	font-weight: 600;
	border-radius: 10px;
	margin: 2px 8px;
	padding-left: calc(18px + var(--mailsout-menu-shift,0px)) !important;
	box-shadow: inset 3px 0 0 #5b8fdc;
}
#sidebar .nav-list > li.sidebar-account { background: #e8f0fb !important; border-bottom: 1px solid #dbe5f3 !important; }
.sidebar .nav-list > li.sidebar-account > .btn { background: #5b8fdc !important; border-color: #5b8fdc !important; border-radius: 7px !important; }
.sidebar .nav-list > li.sidebar-account > .btn:hover { background: #4f86d6 !important; border-color: #4f86d6 !important; }
/* Computers: the menu floats as a clean rounded panel. Phones / tablets keep the slide-out menu (colours only). */
@media (min-width: 992px) {
	#main-container > #sidebar.sidebar {
		left: 12px;
		top: 80px !important;
		width: var(--mailsout-sidebar-width,210px) !important;
		height: auto;
		max-height: calc(100vh - 92px);
		overflow-x: hidden;
		overflow-y: auto;
		border: 0;
		border-radius: 16px;
		/* A subtle outline shadow defines the panel edge without reducing the menu's inner width. */
		box-shadow: 0 0 0 1px #e2e8f0, 0 4px 16px rgba(40, 55, 80, .06);
	}
	/* TASK-325: ACE paints the old full-height menu background with a 5000px #sidebar::before; inside this scrolling card it
	   let the menu scroll far into empty space. The card has its own background. */
	#main-container > #sidebar.sidebar::before { display: none !important; }
	#sidebar.responsive ~ .main-content { margin-left: calc(var(--mailsout-sidebar-width,210px) + 24px) !important; }
	#main-container #sidebar2.mailsout-context-nav { left: calc(var(--mailsout-sidebar-width,210px) + 24px) !important; right: 12px !important; top: 74px !important; }
	/* The footer follows the menu width plus the two 12px gutters. */
	body.no-skin .footer .footer-inner { left: calc(var(--mailsout-sidebar-width,210px) + 24px) !important; right: 12px !important; }
	/* Only the Create / Copy / Edit Label pages fix the footer and the Get Rates bar to the bottom. */
	body.no-skin:has(.mailsout-order-form) .footer .footer-content,
	body.no-skin .mailsout-order-form .form-actions { left: calc(var(--mailsout-sidebar-width,210px) + 24px) !important; right: 12px !important; }
}
@media (max-width: 991px) {
	#sidebar.sidebar.responsive {
		background: #ffffff;
		box-shadow: 0 8px 24px rgba(40, 55, 80, .14);
	}
}

/* ---------- Tabs (Create Label / Label History ...) ---------- */
#main-container #sidebar2.mailsout-context-nav {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(40, 55, 80, .06);
	overflow: hidden;
}
#sidebar2.mailsout-context-nav .nav-list > li,
#sidebar2.mailsout-context-nav .nav-list > li > a { background: transparent !important; border-color: transparent !important; }
#sidebar2.mailsout-context-nav .nav-list > li > a { color: #475569 !important; }
#sidebar2.mailsout-context-nav .nav-list > li > a:hover { color: #2f66b8 !important; background: rgba(91, 143, 220, .08) !important; }
#sidebar2.mailsout-context-nav .nav-list > li > a:has(o.rigbg),
#sidebar2.mailsout-context-nav o.rigbg { color: #2f66b8 !important; font-weight: 700; }
#sidebar2.mailsout-context-nav .nav-list > li > a:has(o.rigbg) { box-shadow: inset 0 -3px 0 #5b8fdc; }
#sidebar2.mailsout-context-nav .nav-list > li > .arrow { display: none; }
#sidebar2.mailsout-context-nav .nav-list,
#sidebar2.mailsout-context-nav .nav-wrap,
#sidebar2.mailsout-context-nav .nav-wrap-up { border: 0 !important; background: transparent !important; }

/* ---------- Other logged-in pages: their content sits on a white rounded panel ---------- */
body.no-skin .page-content:not(.mailsout-order-form) {
	background-color: #ffffff !important;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(40, 55, 80, .06);
	margin: 10px 12px 12px;
}
/* Computers: the panel starts level with the left menu (TASK-330: the tabs bar above it is gone). */
@media (min-width: 992px) {
	body.no-skin .page-content:not(.mailsout-order-form) { margin: 12px 12px 12px 0 !important; padding-top: 16px !important; }
}

/* ---------- Create / Copy / Edit Label: cards with light-blue title strips ---------- */
/* Computers: the first cards start level with the left menu (TASK-330: the tabs bar above them is gone). */
@media (min-width: 992px) { body.no-skin .page-content.mailsout-order-form { padding-top: 12px !important; } }
body.no-skin .mailsout-order-form .mailsout-contact-column,
body.no-skin .mailsout-order-form .mp-service-section {
	background: #ffffff !important;
	border: 1px solid #e2e8f0;
	border-radius: 16px !important;
	box-shadow: 0 4px 16px rgba(40, 55, 80, .06);
	overflow: hidden;
}
body.no-skin .mailsout-order-form .mailsout-contact-column { border: 1px solid #e2e8f0 !important; padding-bottom: 14px; }
body.no-skin .mailsout-order-form .mp-service-section { border: 1px solid #e2e8f0 !important; }
body.no-skin .mailsout-order-form .mailsout-contact-column > h3.mailsout-contact-heading {
	background: #e8f0fb;
	border-bottom: 1px solid #dbe5f3 !important;
	color: #1f3f72 !important;
}
/* The title strip runs across the whole card. */
body.no-skin .mailsout-order-form .mailsout-contact-column > h3.mailsout-contact-heading { margin: 0 -12px 16px !important; padding: 10px 12px !important; }
body.no-skin .mailsout-order-form .mailsout-contact-heading .change_all {
	background: #e6eefb !important; background-image: none !important; color: #2f66b8 !important;
	border: 1px solid #cddcf3 !important; border-radius: 8px !important; text-shadow: none !important;
}
body.no-skin .mailsout-order-form .mailsout-contact-heading .change_all:hover { background: #d9e6f8 !important; }
/* Sender and Receiver side by side (576px and wider); they line up with the Get Rates bar (see the rule above). */
@media (min-width: 576px) {
	body.no-skin .mailsout-order-form .mailsout-contact-column { width: calc(50% - 8px) !important; margin-left: 0 !important; }
	body.no-skin .mailsout-order-form .mailsout-contact-column + .mailsout-contact-column { margin-left: 16px !important; }
}
@media (max-width: 575.99px) {
	body.no-skin .mailsout-order-form .mailsout-contact-column { width: 100% !important; margin-left: 0 !important; }
}
/* Computers: the floating menu makes the address row narrower, so tighten the card edges and the gaps between fields
   so State, Zipcode and Country keep at least as much room as in the old look ("US" must not hide behind the arrow). */
@media (min-width: 992px) {
	body.no-skin .mailsout-order-form .mailsout-contact-column { padding-left: 6px !important; padding-right: 6px !important; }
	body.no-skin .mailsout-order-form .mailsout-contact-column > h3.mailsout-contact-heading { margin-left: -6px !important; margin-right: -6px !important; }
	body.no-skin .mailsout-contact-fields .mailsout-contact-column > .row > [class*="col-"] { padding-left: 3px !important; padding-right: 3px !important; }
	/* Same field widths, centred in each card (about 10px each side): the fields sat 2px past the card's left edge. Receiver's
	   rows were also nudged 18.5px right to clear the old divider line between the columns; the cards are separate now. */
	body.no-skin .mailsout-order-form .mailsout-contact-column > .row { margin-left: 0 !important; margin-right: -24px !important; left: 0 !important; }
}
/* Owner 2026-10-20: the cards, Additional Services and the package panel line up left and right with the Get Rates bar
   (computers 234px / 12px, phones and tablets 20px / 20px), 16px between Sender and Receiver. */
body.no-skin .page-content.mailsout-order-form .mailsout-package-form { padding-left: 0 !important; padding-right: 0 !important; }
@media (min-width: 992px) { body.no-skin .page-content.mailsout-order-form { padding-left: 0 !important; padding-right: 12px !important; } }
/* The old divider line between Sender and Receiver. */
body.no-skin .mailsout-order-form .mailsout-contact-column::after { display: none !important; }
@media (max-width: 575.99px) {
	body.no-skin .mailsout-order-form .mailsout-contact-column + .mailsout-contact-column { margin-top: 16px; }
}
/* TASK-359: title followed by distinct vertical service groups. */
body.no-skin .mailsout-order-form .mp-service-section > h3 { color: #1f3f72 !important; }
/* Stack each related option vertically. Put the title alongside the groups when the form has enough width. */
body.no-skin .mailsout-create-label .mp-service-section { padding-left: 14px !important; padding-right: 14px !important; }
@container (min-width: 700px) {
	body.no-skin .mailsout-create-label .mp-service-section { display: flex; align-items: center; gap: 16px; }
	body.no-skin .mailsout-create-label .mp-service-section > h3 { flex: 0 0 auto; margin: 0; }
	body.no-skin .mailsout-create-label .mp-services { flex: 0 1 auto; grid-template-columns: repeat(3, max-content); justify-content: start; column-gap: clamp(9px, 3vw, 36px); }
	body.no-skin .mailsout-create-label .mp-services > div { flex-wrap: nowrap; }
}
body.no-skin .mailsout-order-form input.form-control,
body.no-skin .mailsout-order-form .mailsout-contact-column input[type=text],
body.no-skin .mailsout-order-form .mailsout-contact-column input[type=email],
body.no-skin .mailsout-order-form .mailsout-contact-column input[type=tel],
body.no-skin .mailsout-order-form .mp-packages input:not([type=radio]):not([type=checkbox]) {
	background-color: #fdfaf4 !important;
	background-image: none !important;
	border-color: #e4dccd !important;
	border-radius: 9px !important;
}
/* Drop-downs keep their own arrow image and size (TASK-219: "inch" / "lbs" must stay readable). */
body.no-skin .mailsout-order-form .mailsout-contact-column select,
body.no-skin .mailsout-order-form .mp-packages select {
	background-color: #fdfaf4 !important;
	border-color: #e4dccd !important;
	border-radius: 9px !important;
}
body.no-skin .mailsout-order-form input[type=radio]:checked,
body.no-skin .mailsout-order-form input[type=checkbox]:checked { accent-color: #5b8fdc; }

/* Packages + "Add Package": one big rounded panel (groups on top, the button row at the bottom). */
body.no-skin .mailsout-order-form .mp-packages {
	background: #ffffff;
	display: flow-root; /* keep the last group's bottom margin inside the panel */
	border: 1px solid #e2e8f0;
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	padding: 16px 16px 0;
	margin-bottom: 0 !important;
}
body.no-skin .mailsout-order-form .mp-package-actions {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-top: 0;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 4px 16px rgba(40, 55, 80, .06);
	padding: 14px 16px 16px;
	margin-top: 0 !important;
}
body.no-skin .mailsout-order-form .mp-package {
	background: #f9fbfe !important;
	background-image: none !important;
	border: 1px solid rgba(91, 143, 220, .24) !important;
	border-radius: 12px !important;
	overflow: hidden;
}
body.no-skin .mailsout-order-form .mp-package + .mp-package { margin-top: 14px; }
body.no-skin .mailsout-order-form .mp-package-top {
	background: #e8f0fb;
	border-bottom: 1px solid #dbe5f3;
	margin: -20px -20px 16px !important;
	padding: 10px 20px;
}
/* Phones: the big panel takes almost no room so each package field keeps at least its old width
   (TASK-219: "inch" / "lbs" must stay readable down to 320px). */
/* Tablet widths: thinner panel edges so the unit drop-downs ("inch", "lbs") are never narrower than in the old look (TASK-219). */
@media (min-width: 651px) and (max-width: 1199px) {
	body.no-skin .mailsout-order-form .mp-packages { padding-left: 8px !important; padding-right: 8px !important; }
	body.no-skin .mailsout-order-form .mp-package { padding-left: 12px !important; padding-right: 12px !important; }
	body.no-skin .mailsout-order-form .mp-package-top { margin-left: -12px !important; margin-right: -12px !important; }
}
@media (min-width: 651px) and (max-width: 767.99px) {
	body.no-skin .mailsout-order-form .mp-packages { padding-left: 4px !important; padding-right: 4px !important; border-width: 0 !important; }
	body.no-skin .mailsout-order-form .mp-package { padding-left: 10px !important; padding-right: 10px !important; }
	body.no-skin .mailsout-order-form .mp-package-top { margin-left: -10px !important; margin-right: -10px !important; }
}
@media (max-width: 650px) {
	body.no-skin .mailsout-order-form .mp-packages { padding: 4px 4px 0 !important; border-width: 0 !important; }
	body.no-skin .mailsout-order-form .mp-package-actions { border-width: 0 !important; }
	body.no-skin .mailsout-order-form .mp-package { padding: 10px !important; }
	body.no-skin .mailsout-order-form .mp-package-top { margin: -10px -10px 14px !important; padding: 10px; }
}
body.no-skin .mailsout-order-form .mp-package-top,
body.no-skin .mailsout-order-form .mp-package-top h3,
body.no-skin .mailsout-order-form .mp-package-top h4 { color: #1f3f72 !important; }
body.no-skin .mailsout-order-form .mp-add-package:not(:disabled),
body.no-skin .mailsout-order-form .mp-add-item:not(:disabled) {
	font-weight: 600;
	color: #2f66b8 !important;
	background: #e6eefb !important;
	background-image: none !important;
	border: 1px solid #cddcf3 !important;
	border-radius: 18px !important;
	text-shadow: none !important;
}
body.no-skin .mailsout-order-form .mp-add-package { height: 34px !important; min-height: 34px !important; padding: 0 26px !important; font-size: 13px !important; }
body.no-skin .mailsout-order-form .mp-add-package:not(:disabled):hover,
body.no-skin .mailsout-order-form .mp-add-package:not(:disabled):focus,
body.no-skin .mailsout-order-form .mp-add-item:not(:disabled):hover,
body.no-skin .mailsout-order-form .mp-add-item:not(:disabled):focus { background: #d9e6f8 !important; }

/* Get Rates bar (Create / Copy / Edit Label only; other pages keep their own button rows) */
body.no-skin .mailsout-order-form .form-actions {
	background: #ffffff !important;
	border: 1px solid #dbe4f0 !important;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(40, 55, 80, .10);
}
body.no-skin #save_button {
	background-color: #4f86d6 !important;
	background-image: linear-gradient(90deg, #4f86d6, #6b9be3) !important;
	background-size: auto !important;
	border-color: transparent !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 16px -8px rgba(79, 134, 214, .7);
}
body.no-skin #save_button:hover { background-image: linear-gradient(90deg, #4479c9, #5b8fdc) !important; }

/* Footer */
body.no-skin .footer .footer-content {
	background: #ffffff !important;
	border: 0 !important;
	border-top: 1px solid #e2e8f0 !important;
	color: #64748b;
}
body.no-skin .footer .footer-content a { color: #3d74c6; }

/* ---------- Public pages (How Ship, Contact, Tools ...): top bar and footer only ---------- */
#header .main-header {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	min-height: 0;
	padding: 6px 12px 6px;
}
#header .main-header > .container.mo-topbar {
	/* TASK-469: solid brand blue gradient without backdrop-filter blur. */
	background-color: #4f86d6;
	background-image: linear-gradient(90deg, #4f86d6, #6b9be3);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(47, 102, 184, .18);
}
#footer { padding: 0 12px 12px; }
#footer .footer-top {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(40, 55, 80, .07);
	color: #475569;
}
#footer .footer-top h3 { color: #1f3f72 !important; }
#footer .footer-top p, #footer .footer-top li, #footer .footer-top strong, #footer .footer-top i { color: #475569 !important; }
#footer .footer-top a { color: #3d74c6 !important; }
#footer .footer-top::before, #footer .footer-top::after { opacity: .25; }
#footer .footer-bottom { background: transparent !important; background-image: none !important; color: #64748b !important; }
#footer .footer-bottom .mo-terms-link, #footer .footer-bottom a { color: #3d74c6 !important; }

/* ---------- Owner round 3 (2026-10-20) ---------- */
/* Computers: Full Name : Company and Phone : Email are 45 : 55. */
@media (min-width: 992px) {
	body.no-skin .mailsout-contact-column > .row > [class*="col-"]:has(> input[name$="_name"]),
	body.no-skin .mailsout-contact-column > .row > [class*="col-"]:has(> input[name$="_phone"]) { width: 45% !important; }
	body.no-skin .mailsout-contact-column > .row > [class*="col-"]:has(> input[name$="_company"]),
	body.no-skin .mailsout-contact-column > .row > [class*="col-"]:has(> input[name$="_email"]) { width: 55% !important; }
}
/* Save Address: centred on the address book row, smaller check box. */
body.no-skin .mailsout-order-form .mailsout-address-book-row .form-check { display: flex; align-items: center; min-height: 38px; }
body.no-skin .mailsout-order-form .mailsout-address-book-row .form-check label { display: flex !important; align-items: center; margin: 0 !important; }
body.no-skin .mailsout-order-form .mailsout-address-book-row input[type=checkbox].ace + .lbl::before {
	width: 18px !important; height: 18px !important; min-width: 18px !important; line-height: 16px !important; font-size: 12px !important; margin-top: 0 !important; vertical-align: middle;
}
/* Additional Services: a small heading, as big as "Reference". */
body.no-skin .mailsout-order-form .mp-service-section > h3 { font-size: 17px !important; font-weight: 400 !important; color: #4f7088 !important; } /* round 5: colour and size of the Reference heading; TASK-328: not bold */
body.no-skin .mailsout-order-form .mp-service-section { margin-bottom: 16px !important; } /* TASK-329: same gap above and below */
/* Get Rates: thicker and more prominent. */
body.no-skin #save_button { height: 44px !important; min-height: 44px; padding: 0 30px !important; font-weight: 600; box-shadow: 0 8px 20px -6px rgba(79, 134, 214, .75) !important; }
/* Left menu: second-level items 2px smaller than the first level. */
body.no-skin #sidebar .nav-list > li > .submenu > li > a { font-size: 14px !important; }
/* Add Package: a dashed "add another" row with a short hint (clicking the hint adds a package too). */
body.no-skin .mailsout-order-form .mp-package-actions { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px 12px; padding: 22px 28px 26px !important; }
body.no-skin .mailsout-order-form .mp-package-actions::before {
	content: ""; position: absolute; inset: 10px 16px 14px; border: 1.5px dashed #b9cbe8; border-radius: 12px; pointer-events: none;
}
body.no-skin .mailsout-order-form .mo-add-package-hint[hidden] { display: inline !important; color: #94a3b8; font-size: 12px; cursor: pointer; position: relative; justify-self: start; }
body.no-skin .mailsout-order-form .mp-package-actions:has(.mp-add-package:disabled) .mo-add-package-hint { display: none !important; }
body.no-skin .mailsout-order-form .mp-package-actions > .mp-total { grid-column: 1 / -1; text-align: center; position: relative; }
body.no-skin .mailsout-order-form .mp-package-actions > .mp-total[hidden] { display: none; }

/* ---------- Owner round 4 (2026-10-20) ---------- */
/* Every field on the Create / Copy / Edit Label pages is 38px tall (owner); the extra height comes out of the gap between
   rows (20px -> 16px), so on computers each row still takes 54px. */
/* (form_styles.html forces 34px with a very specific selector, so this one has to be more specific still.) */
body.no-skin .page-content.mailsout-order-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]),
body.no-skin .page-content.mailsout-order-form select,
body.no-skin .page-content.mailsout-order-form .searchable-select-holder { height: 38px !important; min-height: 38px !important; }
body.no-skin .page-content.mailsout-order-form .searchable-select-holder { padding-top: 8px !important; padding-bottom: 8px !important; }
body.no-skin .mailsout-order-form .mailsout-contact-column > .row.maintop { padding-bottom: 16px !important; }
@media (max-width: 991.98px) {
	/* Phones / tablets: fields of one row stack; their 6px gap becomes 4px. */
	body.no-skin .mailsout-order-form .mailsout-contact-column > .row.maintop > [class*="col-"] { padding-top: 3px !important; }
}
/* Less empty space under the last address row. */
body.no-skin .mailsout-order-form .mailsout-contact-column { padding-bottom: 0 !important; }
/* The Get Rates bar sits 16px above the footer (56px tall) instead of touching it. */
body.no-skin .mailsout-order-form .form-actions { bottom: 72px !important; }

/* ---------- Owner round 5 (2026-10-20) ---------- */
/* The light-blue line under "Item Description" / "Reference" moves above them, separating the areas. */
body.no-skin .mailsout-order-form .mp-package > h4 {
	border-bottom: 0 !important;
	border-top: 1px solid #d7e5f1 !important;
	padding: 14px 0 0 !important;
	margin: 18px 0 12px !important;
}
/* "Add Date" (date range filters): text centred in its 34px box. */
body.no-skin .input-group > .input-group-addon:has(+ .sl-date) { line-height: 20px !important; padding-top: 7px !important; padding-bottom: 7px !important; }

/* TASK-331: Safari draws native drop-downs with its own 5px corners on every side and a double arrow, so the list
   filters (Status | All, Carrier | All ...) did not join their grey label. These drop-downs draw their own arrow instead,
   which lets Safari keep the page's corners; the paper texture stays underneath. */
body.no-skin .page-content #list-filter .input-group > select {
	-webkit-appearance: none !important;
	appearance: none !important;
	padding-right: 26px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a8794' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--mo-light-powder), radial-gradient(ellipse at 84% 8%, rgba(221, 182, 103, .09), transparent 58%) !important;
	background-repeat: no-repeat, repeat, no-repeat !important;
	background-size: 10px 6px, 43.25px 34.25px, auto !important;
	background-position: right 10px center, 0 0, 0 0 !important;
}

/* TASK-337: the Sender / Receiver cards hid anything outside them, which cut the open "From Address Book" list off at the
   card's bottom. The cards now let it show; the title strip keeps the rounded top itself, and the card with the open list
   sits above the cards below it. */
body.no-skin .mailsout-order-form .mailsout-contact-column { overflow: visible !important; position: relative; z-index: 2; }
body.no-skin .mailsout-order-form .mailsout-contact-column > h3.mailsout-contact-heading { border-radius: 15px 15px 0 0 !important; }
body.no-skin .mailsout-order-form .mailsout-contact-column:has(.searchable-select-dropdown:not(.searchable-select-hide)) { z-index: 20; }

/* Keep the Add Package button centered even when the helper is hidden. */
body.no-skin .mailsout-order-form .mp-add-package { grid-column: 2; grid-row: 1; }
