:root {
    --dpm-red: #b5121b;
    --dpm-red-dark: #8f0d14;
    --ink: #1f2937;
    --muted: #667085;
    --line: #e5e7eb;
    --surface: #ffffff;
    --background: #f4f6f8;
    --soft: #f8fafc;
    --success: #16784a;
    --warning: #9a6700;
    --danger: #a31919;
    --blue: #245ea8;
    --shadow: 0 12px 32px rgba(31, 41, 55, .08);
    --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--background);
    line-height: 1.5;
}

a { color: inherit; }
.customer-image-fallback {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    max-width:100%;
    color:var(--muted);
    font-size:11px;
    line-height:1.35;
    text-align:center;
}
.customer-image-fallback[hidden] { display:none; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.portal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.portal-header__inner {
    max-width: 1440px;
    min-height: 72px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: max-content;
}

.portal-brand__logo { display:block; width:50px; height:50px; object-fit:contain; }

.portal-brand strong,
.portal-brand small { display: block; }
.portal-brand strong { font-size: 17px; }
.portal-brand small { color: var(--muted); font-size: 12px; }

.portal-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.portal-nav a {
    padding: 9px 11px;
    border-radius: 10px;
    color: #475467;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.portal-nav a:hover,
.portal-nav a.is-active { background: #fff0f1; color: var(--dpm-red); }

.portal-nav a.portal-nav__primary {
    background: var(--dpm-red);
    color: white;
    margin-left: 5px;
}

.portal-nav a.portal-nav__primary:hover { background: var(--dpm-red-dark); }

.language-switcher { display:flex; align-items:center; gap:7px; margin-left:auto; }
.language-switcher__label { color:var(--muted); font-size:12px; font-weight:800; }
.language-switcher__select { min-height:36px; padding:6px 28px 6px 9px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--ink); font:inherit; font-size:12px; font-weight:750; }
.login-language-switcher { position:fixed; z-index:20; top:18px; right:22px; padding:7px 9px; border:1px solid rgba(229,231,235,.9); border-radius:11px; background:rgba(255,255,255,.94); box-shadow:0 8px 24px rgba(31,41,55,.08); }

.portal-menu-button {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    padding: 9px 12px;
    font-weight: 800;
}
.portal-nav-backdrop { display:none; }
.login-card__mobile-brand { display:none; }

.portal-main {
    width: min(100% - 32px, 1320px);
    margin: 0 auto;
    padding: 32px 0 48px;
}

.portal-footer {
    width: min(100% - 32px, 1320px);
    margin: 0 auto;
    padding: 20px 0 32px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}

.site-credit {
    width:100%;
    margin:0;
    padding:12px 0 16px;
    color:inherit;
    font-size:11px;
    line-height:1.5;
    text-align:center;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.page-heading h1 { margin: 0 0 6px; font-size: clamp(27px, 4vw, 38px); line-height: 1.1; }
.page-heading p { margin: 0; color: var(--muted); max-width: 760px; }
.page-heading__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.dashboard-welcome h1 { display:grid; gap:4px; }
.dashboard-welcome h1 span { font-weight:650; }
.dashboard-welcome h1 strong { overflow-wrap:anywhere; }

.eyebrow {
    display: block;
    color: var(--dpm-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card {
    background: var(--surface);
    border: 1px solid rgba(229,231,235,.85);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 20px;
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.card__header h2 { margin: 0 0 4px; font-size: 20px; }
.card__header p { margin: 0; color: var(--muted); font-size: 14px; }

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.metric {
    min-height: 132px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(31,41,55,.05);
}

.metric__label { color: var(--muted); font-size: 13px; font-weight: 700; }
.metric__value { margin-top: 10px; font-size: 34px; line-height: 1; font-weight: 900; }
.metric__value--code { font-size:22px; overflow-wrap:anywhere; }
.metric__hint { color: var(--muted); font-size: 12px; margin-top: 10px; }
.metric--accent { background: linear-gradient(145deg, var(--dpm-red), #d82731); color: white; border: 0; }
.metric--accent .metric__label, .metric--accent .metric__hint { color: rgba(255,255,255,.8); }

.customer-recommendations { display:grid; grid-template-columns:minmax(220px,.72fr) minmax(0,1.75fr); gap:18px; margin-bottom:20px; padding:22px; overflow:hidden; border:1px solid #e7d9da; border-radius:var(--radius); background:linear-gradient(135deg,#fff 0%,#fff 68%,#fff4f4 100%); box-shadow:var(--shadow); }
.customer-recommendations__intro h2 { margin:0 0 8px; font-size:24px; line-height:1.14; }
.customer-recommendations__intro p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
.customer-recommendations__groups { display:grid; gap:10px; }
.customer-recommendation { display:grid; grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr); gap:14px; padding:14px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.92); }
.customer-recommendation__heading > span { color:var(--dpm-red); font-size:10px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.customer-recommendation__heading h3 { margin:4px 0; font-size:16px; line-height:1.25; }
.customer-recommendation__heading p { margin:0; color:var(--muted); font-size:11px; line-height:1.45; }
.customer-recommendation__products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.customer-recommendation-product { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; gap:9px; min-width:0; padding:8px; border:1px solid #e5e8ec; border-radius:11px; color:var(--ink); background:#fff; text-decoration:none; transition:border-color .15s ease,transform .15s ease; }
.customer-recommendation-product:hover { transform:translateY(-1px); border-color:#caaeb0; }
.customer-recommendation-product__image { display:grid; place-items:center; width:52px; height:52px; overflow:hidden; border-radius:9px; color:#9c2830; background:var(--soft); font-size:10px; font-weight:900; }
.customer-recommendation-product__image img { width:100%; height:100%; object-fit:contain; }
.customer-recommendation-product strong,.customer-recommendation-product small { display:block; }
.customer-recommendation-product strong { overflow:hidden; font-size:11px; line-height:1.3; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.customer-recommendation-product__price { display:block; margin-top:4px; color:#12612c; font-size:12px; font-style:normal; font-weight:900; }
.customer-recommendation-product small { margin-top:4px; color:var(--dpm-red); font-size:10px; font-weight:800; }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-action {
    display: block;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--soft);
    text-decoration: none;
}

.quick-action:hover { border-color: #efb5b9; background: #fff7f7; }
.quick-action strong, .quick-action span { display: block; }
.quick-action strong { margin-bottom: 4px; }
.quick-action span { color: var(--muted); font-size: 13px; }

.dashboard-actions-card {
    position:relative;
    overflow:hidden;
    border-color:#e6c9cb;
    background:linear-gradient(135deg,#fff 0%,#fff 76%,#fff2f3 100%);
}
.dashboard-actions-card::before {
    position:absolute;
    inset:0 auto 0 0;
    width:5px;
    content:"";
    background:var(--dpm-red);
}
.dashboard-actions-card .card__header h2 { font-size:25px; }
.dashboard-actions-card .quick-action {
    position:relative;
    min-height:104px;
    padding:18px 48px 18px 18px;
    border-color:#e2d4d5;
    background:#fff;
    transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.dashboard-actions-card .quick-action::after {
    position:absolute;
    top:50%;
    right:18px;
    content:"›";
    color:var(--dpm-red);
    font-size:30px;
    font-weight:800;
    transform:translateY(-54%);
}
.dashboard-actions-card .quick-action:hover {
    transform:translateY(-2px);
    border-color:#d99398;
    box-shadow:0 9px 20px rgba(81,25,29,.09);
}
.dashboard-actions-card .quick-action strong { font-size:17px; }

.customer-product-applications {
    border-color:#e4c8ca;
    background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);
}
.customer-product-applications h2 { margin:0 0 14px; font-size:23px; }
.customer-product-applications ul {
    display:grid;
    gap:9px;
    margin:0;
    padding:0;
    list-style:none;
}
.customer-product-applications li {
    position:relative;
    padding:12px 14px 12px 38px;
    border:1px solid #eadcdd;
    border-radius:12px;
    background:#fff;
    font-weight:750;
}
.customer-product-applications li::before {
    position:absolute;
    top:11px;
    left:14px;
    content:"✓";
    color:var(--dpm-red);
    font-weight:900;
}
.customer-product-applications > p { margin:14px 0 0; color:var(--muted); font-size:12px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.button--primary { background: var(--dpm-red); color: white; }
.button--primary:hover { background: var(--dpm-red-dark); }
.button--secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button--secondary:hover { background: var(--soft); }
.button--danger-soft { background: #fff1f1; color: var(--danger); }
.button:disabled { opacity: .45; cursor: not-allowed; }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.toolbar__search { flex: 1 1 300px; }

.field label,
.field-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }

.input,
.select,
.textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    padding: 10px 12px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: 3px solid rgba(181,18,27,.12);
    border-color: var(--dpm-red);
}

.textarea { min-height: 100px; resize: vertical; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.data-table th,
.data-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--soft); color: var(--muted); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fffafa; }
.cell-title { font-weight: 850; }
.cell-subtitle { color: var(--muted); font-size: 12px; margin-top: 3px; }
.product-description { font-weight: 800; line-height: 1.35; min-width: 220px; }
.product-code { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 5px; }
.data-table td.action-cell,
.data-table th.action-cell { vertical-align: middle; text-align: center; }
.action-cell .button { justify-content: center; white-space: nowrap; }
.action-column { width:120px; min-width:120px; }
.action-column--wide { width:175px; min-width:175px; }
.reorders-table td { vertical-align:middle; }
.reorders-table .reorder-request-button { min-width:150px; }
.numeric { text-align: right !important; white-space: nowrap; }
.nowrap { white-space: nowrap; }

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
    background: #f2f4f7;
    color: #475467;
}

.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-green, .status--success { background: #e8f7ef; color: var(--success); }
.status-blue, .status--info { background: #eaf2fd; color: var(--blue); }
.status-purple { background: #f2eafd; color: #6941c6; }
.status-orange, .status--warning { background: #fff2df; color: #a15c00; }
.status-yellow { background: #fff8d9; color: #806400; }
.status-grey, .status-light { background: #f2f4f7; color: #667085; }
.status--danger { background: #ffe9e9; color: var(--danger); }

.info-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.info-box { padding: 14px; border-radius: 13px; background: var(--soft); border: 1px solid var(--line); }
.info-box__label { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.info-box__value { font-weight: 800; overflow-wrap: anywhere; }

.notice { border-radius: 13px; padding: 14px 16px; margin-bottom: 18px; border: 1px solid; }
.notice strong { display: block; margin-bottom: 3px; }
.notice--info { color: #194f8e; background: #eef6ff; border-color: #c7ddf8; }
.notice--warning { color: #7a5000; background: #fff8e8; border-color: #f2d58d; }
.notice--success { color: #12613c; background: #ecf9f1; border-color: #bde5cc; }
.notice--danger { color: #8e1717; background: #fff0f0; border-color: #f0baba; }

.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 5px; }

.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 14px; }
.catalog-pagination { justify-content:space-between; margin-top:22px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:white; box-shadow:var(--shadow); }
.catalog-pagination__summary { display:flex; flex-direction:column; color:var(--muted); font-size:12px; }
.catalog-pagination__summary strong { color:var(--ink); }
.catalog-pagination__links { display:flex; align-items:center; justify-content:flex-end; gap:7px; flex-wrap:wrap; }
.catalog-pagination__number,.catalog-pagination__current { min-width:38px; min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:7px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:white; font-size:12px; font-weight:800; text-decoration:none; }
.catalog-pagination__number:hover { border-color:var(--dpm-red); color:var(--dpm-red); }
.catalog-pagination__current { border-color:var(--dpm-red); color:white; background:var(--dpm-red); }
.catalog-pagination__gap { color:var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.shipment-strip { display: flex; flex-wrap: wrap; gap: 9px; padding: 5px 0; }
.shipment-chip { padding: 9px 11px; border: 1px solid var(--line); background: var(--soft); border-radius: 11px; font-size: 13px; }
.shipment-chip a { color: var(--dpm-red); font-weight: 800; text-decoration: none; }

.customer-order-list { display:grid; gap:11px; }
.customer-order-card {
    display:grid;
    grid-template-columns:minmax(145px,.7fr) minmax(165px,.8fr) minmax(190px,1fr) auto;
    grid-template-areas:
        "identity status forecast action"
        "shipments shipments shipments shipments";
    align-items:center;
    gap:13px 18px;
    padding:15px 16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 18px rgba(31,41,55,.045);
}
.customer-order-list--archive .customer-order-card {
    grid-template-columns:minmax(145px,.7fr) minmax(165px,.8fr) minmax(190px,1fr) auto;
    grid-template-areas:"identity status forecast action";
}
.customer-order-card__identity { grid-area:identity; }
.customer-order-card__identity span,
.customer-order-card__identity strong,
.customer-order-card__identity small { display:block; }
.customer-order-card__identity span,
.customer-order-card__label {
    margin-bottom:4px;
    color:var(--muted);
    font-size:10px;
    font-weight:850;
    letter-spacing:.055em;
    text-transform:uppercase;
}
.customer-order-card__identity strong { font-size:19px; line-height:1.1; }
.customer-order-card__identity small { margin-top:5px; color:var(--muted); font-size:11px; }
.customer-order-card__status { grid-area:status; }
.customer-order-card__forecast { grid-area:forecast; }
.customer-order-card__destination { grid-area:destination; }
.customer-order-card__total { grid-area:total; }
.customer-order-card__forecast > strong,
.customer-order-card__destination > strong,
.customer-order-card__total > strong { display:block; font-size:13px; line-height:1.35; }
.customer-order-card__forecast > span:not(.customer-order-card__label),
.customer-order-card__destination small { display:block; color:var(--muted); font-size:11px; line-height:1.4; }
.customer-order-card__action { grid-area:action; min-width:118px; justify-content:center; white-space:nowrap; }
.customer-order-card__shipments {
    grid-area:shipments;
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    padding-top:10px;
    border-top:1px solid #edf0f3;
    color:var(--muted);
    font-size:11px;
}
.customer-order-card__shipments a { color:var(--dpm-red); font-weight:800; text-decoration:none; }

.dashboard-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.dashboard-product-card {
    display:flex;
    min-width:0;
    overflow:hidden;
    flex-direction:column;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 18px rgba(31,41,55,.04);
}
.dashboard-product-card__image {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 176px;
    width:100%;
    height:176px;
    min-height:0;
    max-height:176px;
    padding:12px;
    overflow:hidden;
    border-bottom:1px solid #edf0f3;
    background:#f8fafc;
    color:var(--muted);
    font-size:11px;
}
.dashboard-product-card__image img {
    display:block;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    object-fit:contain;
    object-position:center;
}
.dashboard-product-card__body { display:flex; flex:1; flex-direction:column; padding:13px; }
.dashboard-product-card h3 {
    display:-webkit-box;
    min-height:42px;
    margin:0;
    overflow:hidden;
    color:var(--ink);
    font-size:14px;
    line-height:1.45;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.dashboard-product-card__facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-top:13px; }
.dashboard-product-card__facts div { min-width:0; padding:9px; border-radius:10px; background:var(--soft); }
.dashboard-product-card__facts span,
.dashboard-product-card__price span,
.order-product-card__facts span { display:block; margin-bottom:3px; color:var(--muted); font-size:9px; font-weight:800; text-transform:uppercase; }
.dashboard-product-card__facts strong { display:block; overflow-wrap:anywhere; font-size:11px; line-height:1.35; }
.dashboard-product-card__price { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; padding-top:9px; border-top:1px solid #edf0f3; }
.dashboard-product-card__price span { margin:0; }
.dashboard-product-card__price strong { color:#167044; font-size:14px; }

.order-product-list { display:grid; gap:11px; }
.order-product-card {
    display:grid;
    grid-template-columns:110px minmax(220px,1fr) minmax(360px,.95fr);
    align-items:center;
    gap:16px;
    padding:13px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
}
.order-product-card__image {
    display:grid;
    place-items:center;
    width:110px;
    height:92px;
    padding:8px;
    border-radius:11px;
    background:var(--soft);
    color:var(--muted);
    font-size:10px;
}
.order-product-card__image img { width:100%; height:100%; object-fit:contain; }
.order-product-card__main { min-width:0; }
.order-product-card__main h3 { margin:0; font-size:15px; line-height:1.4; }
.order-product-card__facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.order-product-card__facts div { min-width:0; padding:9px; border-radius:10px; background:var(--soft); }
.order-product-card__facts strong { display:block; overflow-wrap:anywhere; font-size:11px; line-height:1.35; }

.customer-document-toolbar { align-items:end; }
.customer-toolbar-count {
    display:inline-flex;
    align-items:center;
    min-height:42px;
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
    color:var(--muted);
    font-size:11px;
    font-weight:750;
    white-space:nowrap;
}
.customer-document-list { display:grid; gap:11px; }
.customer-document-card {
    display:grid;
    grid-template-columns:minmax(145px,.6fr) minmax(210px,1fr) minmax(170px,.7fr) auto;
    grid-template-areas:"identity reference summary actions";
    align-items:center;
    gap:16px;
    padding:15px 16px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 18px rgba(31,41,55,.045);
}
.customer-document-card__identity { grid-area:identity; min-width:0; }
.customer-document-card__reference { grid-area:reference; min-width:0; }
.customer-document-card__summary { grid-area:summary; }
.customer-document-card__actions {
    grid-area:actions;
    justify-self:end;
}
.customer-document-card__identity span,
.customer-document-card__identity strong,
.customer-document-card__identity small,
.customer-document-card__reference span,
.customer-document-card__reference strong { display:block; }
.customer-document-card__identity span,
.customer-document-card__reference span,
.customer-document-card__summary span {
    margin-bottom:4px;
    color:var(--muted);
    font-size:9px;
    font-weight:850;
    letter-spacing:.055em;
    text-transform:uppercase;
}
.customer-document-card__identity strong { font-size:18px; line-height:1.15; }
.customer-document-card__identity small { margin-top:5px; color:var(--muted); font-size:11px; }
.customer-document-card__reference a { color:var(--dpm-red); font-size:13px; font-weight:850; text-decoration:none; }
.customer-document-card__reference strong { font-size:13px; line-height:1.35; }
.customer-document-card__summary {
    display:flex;
    align-items:center;
    min-width:0;
    padding:9px 11px;
    border-radius:10px;
    background:var(--soft);
}
.customer-document-card__summary div {
    flex:1 1 0;
    min-width:0;
    padding:0 10px;
    text-align:left;
}
.customer-document-card__summary div:first-child { padding-left:0; }
.customer-document-card__summary div + div {
    padding-right:0;
    border-left:1px solid var(--line);
}
.customer-document-card__summary span,
.customer-document-card__summary strong { display:block; }
.customer-document-card__summary span { margin-bottom:3px; }
.customer-document-card__summary strong {
    font-size:13px;
    line-height:1.25;
}
.customer-document-card__summary strong small {
    display:inline;
    color:var(--muted);
    font-size:10px;
    font-weight:750;
    text-transform:uppercase;
}
.customer-document-card__actions { display:flex; align-items:stretch; gap:7px; }
.customer-document-card__actions .button { justify-content:center; white-space:nowrap; }

.reorder-overview {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:20px;
    margin-bottom:16px;
    padding:18px 20px;
    border:1px solid #e5d19c;
    border-radius:16px;
    background:#fffaf0;
}
.reorder-overview h2 { margin:0 0 5px; font-size:20px; }
.reorder-overview p { margin:0; color:#67583a; font-size:12px; line-height:1.5; }
.reorder-overview__counts { display:grid; grid-template-columns:repeat(3,minmax(88px,1fr)); gap:8px; }
.reorder-overview__counts div { min-width:88px; padding:10px 12px; border:1px solid #eadfca; border-radius:11px; background:#fff; text-align:center; }
.reorder-overview__counts div.is-urgent { border-color:#efb1b6; background:#fff2f3; }
.reorder-overview__counts strong,
.reorder-overview__counts span { display:block; }
.reorder-overview__counts strong { font-size:21px; }
.reorder-overview__counts span { margin-top:3px; color:var(--muted); font-size:10px; font-weight:800; }

.reorder-card-list { display:grid; gap:11px; }
.reorder-card {
    display:grid;
    grid-template-columns:minmax(260px,1fr) minmax(135px,.42fr) minmax(130px,.38fr) auto;
    grid-template-areas:
        "product when quantity action"
        "details details details details";
    align-items:center;
    gap:13px 18px;
    padding:15px 16px 12px;
    border:1px solid var(--line);
    border-left:4px solid #91a0b3;
    border-radius:14px;
    background:#fff;
}
.reorder-card--urgent { border-left-color:var(--dpm-red); }
.reorder-card--soon { border-left-color:#d99020; }
.reorder-card--planned { border-left-color:#4c7eb7; }
.reorder-card__product { grid-area:product; min-width:0; }
.reorder-card__product h3 { margin:0; font-size:14px; line-height:1.4; }
.reorder-card__when { grid-area:when; }
.reorder-card__quantity { grid-area:quantity; }
.reorder-card__when span,
.reorder-card__quantity span,
.reorder-card__evidence span {
    display:block;
    margin-bottom:4px;
    color:var(--muted);
    font-size:9px;
    font-weight:850;
    letter-spacing:.045em;
    text-transform:uppercase;
}
.reorder-card__when strong,
.reorder-card__quantity strong { display:block; font-size:15px; }
.reorder-card__when small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.reorder-card .reorder-request-button { grid-area:action; min-width:150px; justify-content:center; }
.reorder-card__details { grid-area:details; padding-top:10px; border-top:1px solid #edf0f3; }
.reorder-card__details summary { width:max-content; color:var(--dpm-red); font-size:11px; font-weight:850; cursor:pointer; }
.reorder-card__evidence { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; }
.reorder-card__evidence div { min-width:0; padding:9px 10px; border-radius:10px; background:var(--soft); }
.reorder-card__evidence strong,
.reorder-card__evidence small { display:block; font-size:11px; line-height:1.35; }
.reorder-card__evidence small { margin-top:3px; color:var(--muted); }

.portal-dialog.reorder-dialog {
    width:min(880px,calc(100% - 24px));
    max-height:calc(100dvh - 20px);
    overflow:hidden;
    padding:18px 20px;
}
.reorder-dialog .dialog-header { margin-bottom:10px; }
.reorder-dialog .dialog-header h2 { font-size:23px; }
.reorder-dialog__form { display:grid; gap:11px; }
.reorder-dialog__product { padding:10px 12px; border:1px solid var(--line); border-radius:11px; background:var(--soft); }
.reorder-dialog__product p { margin:0; }
.reorder-dialog__product .product-code { margin-top:3px; }
.reorder-dialog__fields { gap:10px 12px; }
.reorder-dialog__fields .field label,
.reorder-dialog__notes label { margin-bottom:4px; font-size:10px; }
.reorder-dialog__fields .input,
.reorder-dialog__fields .select,
.reorder-dialog__notes .input { min-height:40px; padding:8px 10px; }
.reorder-payment-flow { margin-bottom:-5px; color:var(--muted); font-size:10px; font-weight:750; text-align:right; }
.reorder-payment-compact { display:grid; grid-template-columns:auto repeat(3,minmax(0,1fr)); align-items:center; gap:8px; margin:0; padding:0; border:0; }
.reorder-payment-compact legend { padding:0 12px 0 0; color:var(--muted); font-size:10px; font-weight:850; text-transform:uppercase; }
.reorder-payment-compact label { position:relative; cursor:pointer; }
.reorder-payment-compact input { position:absolute; opacity:0; pointer-events:none; }
.reorder-payment-compact label > span { display:flex; min-height:44px; flex-direction:column; align-items:center; justify-content:center; padding:6px 9px; border:1px solid var(--line); border-radius:9px; text-align:center; }
.reorder-payment-compact label strong { font-size:11px; line-height:1.2; }
.reorder-payment-compact label small { margin-top:2px; color:var(--muted); font-size:9px; line-height:1.15; }
.reorder-payment-compact input:checked + span { border-color:var(--dpm-red); color:var(--dpm-red); background:#fff2f3; box-shadow:0 0 0 2px rgba(192,18,29,.08); }
.reorder-dialog__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:10px; border-top:1px solid var(--line); }
.reorder-dialog__footer > span { color:var(--muted); font-size:10px; }
.reorder-dialog__footer .form-actions { flex-wrap:nowrap; margin:0; }

.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }

.portal-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 32px); overflow:auto; border:0; border-radius:18px; padding:24px; box-shadow:0 24px 80px rgba(31,41,55,.28); }
.portal-dialog::backdrop { background:rgba(17,24,39,.5); backdrop-filter:blur(3px); }
.dialog-header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:16px; }
.dialog-header h2 { margin:0; font-size:26px; }
.dialog-close { display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--muted); font-size:25px; cursor:pointer; }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.catalog-card { display:flex; min-width:0; overflow:hidden; flex-direction:column; background:white; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease; }
.catalog-card:hover { transform:translateY(-2px); box-shadow:0 16px 32px rgba(21,37,62,.1); }
.catalog-card__image { display:flex; align-items:center; justify-content:center; height:260px; padding:20px; overflow:hidden; background:var(--soft); color:var(--muted); text-decoration:none; }
.catalog-card__image img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; object-position:center center; }
.catalog-card__image img[hidden] { display:none; }
.catalog-card__body { position:relative; z-index:1; display:flex; flex:1; flex-direction:column; padding:17px; background:white; }
.catalog-card__meta { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:20px; }
.catalog-favorite { display:inline-flex; margin:0; }
.catalog-favorite button { display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #d8bd65; border-radius:50%; color:#a87900; background:#fffdf5; line-height:1; cursor:pointer; transition:transform .15s ease, color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.catalog-favorite button:hover { transform:translateY(-1px); border-color:#b88700; color:#8a6200; background:#fff8d8; box-shadow:0 4px 10px rgba(166,120,0,.16); }
.catalog-favorite button svg { width:22px; height:22px; overflow:visible; }
.catalog-favorite .tape-body,.catalog-favorite .tape-core,.catalog-favorite .tape-tail { fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.catalog-favorite button.is-favorite { border-color:#c28b00; color:#8b6200; background:#fff4bf; box-shadow:0 3px 9px rgba(166,120,0,.15); }
.catalog-favorite button.is-favorite .tape-body { fill:#e1ad1a; stroke:#9b7000; }
.catalog-favorite button.is-favorite .tape-core { fill:#fffdf5; stroke:#9b7000; }
.catalog-favorite button.is-favorite .tape-tail { stroke:#9b7000; }
.catalog-card h2 { margin:7px 0 4px; font-size:19px; line-height:1.28; }
.catalog-card__reference { color:var(--muted); font-size:11px; font-weight:650; }
.catalog-card__actions { display:flex; align-items:stretch; gap:9px; margin-top:auto; padding-top:17px; }
.catalog-card__quote-form { display:flex; flex:1 1 auto; min-width:0; }
.catalog-card__details { display:flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; min-width:42px; padding:0; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:white; text-decoration:none; }
.catalog-card__details:hover { border-color:#b9c5d3; background:var(--soft); }
.catalog-card__details svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.catalog-card__quote { flex:1 1 auto; min-width:0; width:auto; padding-inline:10px; text-align:center; }
.catalog-purchased { flex:none; padding:4px 8px; border-radius:999px; color:var(--success); background:#e8f7ef; font-size:10px; font-weight:850; white-space:nowrap; }
.catalog-purchased-variants { margin-top:14px; padding:11px; border:1px solid #dce9e2; border-radius:11px; background:#f8fcf9; }
.catalog-purchased-variants > span { display:block; margin-bottom:7px; color:#42634f; font-size:10px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
.catalog-purchased-variants > div { display:flex; flex-wrap:wrap; gap:5px; }
.catalog-variant { padding:5px 8px; border:1px solid #cfe1d5; border-radius:8px; background:white; color:#285e40; font:inherit; font-size:11px; font-weight:750; line-height:1.2; cursor:pointer; }
.catalog-variant:hover, .catalog-variant.is-selected { border-color:#6ea884; background:#e5f4eb; color:#174c30; }
.catalog-variant-hint { margin:8px 2px 0; color:var(--muted); font-size:11px; line-height:1.4; }
.catalog-last-purchase { display:grid; grid-template-columns:1fr auto; gap:3px 10px; align-items:baseline; margin-top:10px; padding:10px; border:1px solid #dce9e2; border-radius:10px; background:#f5fbf7; color:#285e40; }
.catalog-last-purchase span { font-size:11px; font-weight:800; }
.catalog-last-purchase strong { font-size:16px; white-space:nowrap; }
.catalog-last-purchase small { grid-column:1 / -1; color:var(--muted); font-size:11px; }
.catalog-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:end; }
.catalog-filters__search { grid-column:span 2; }
.catalog-filters__actions { display:flex; gap:8px; flex-wrap:wrap; }
.product-hero { display:grid; grid-template-columns:minmax(320px,1fr) minmax(320px,1fr); gap:28px; }
.product-gallery > img { width:100%; max-height:480px; object-fit:contain; border-radius:14px; background:var(--soft); }
.product-gallery__secondary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:10px; }
.product-gallery__secondary img { width:100%; height:150px; object-fit:contain; border:1px solid var(--line); border-radius:12px; }
.product-lead { font-size:18px; color:#475467; }
.rich-content img { max-width:100%; height:auto; }
.video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.video-frame { position:relative; padding-top:56.25%; overflow:hidden; border-radius:12px; background:#111; }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.roll-configurator { padding:18px; border:1px solid var(--line); border-radius:15px; background:var(--soft); }
.config-source { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 16px; margin-bottom:18px; }
.config-source strong { font-size:17px; }
.config-source span { color:var(--dpm-red); font-weight:850; }
.config-source small { flex-basis:100%; color:var(--muted); }
.guided-config-step { padding:16px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.guided-config-step + .guided-config-step { margin-top:12px; }
.guided-config-step__title { display:flex; align-items:center; gap:9px; margin-bottom:13px; }
.guided-config-step__title > span { display:grid; place-items:center; width:25px; height:25px; border-radius:50%; color:#fff; background:#263247; font-size:11px; font-weight:900; }
.guided-config-step__title strong { font-size:14px; }
.guided-config-choices { margin:0; padding:0; border:0; }
.guided-config-choices legend { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.guided-config-choices > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.guided-config-choices label { min-width:0; cursor:pointer; }
.guided-config-choices input { position:absolute; opacity:0; pointer-events:none; }
.guided-config-choice { display:flex; align-items:center; gap:10px; min-height:68px; padding:11px; border:1px solid #dce2e9; border-radius:11px; background:#f8fafc; }
.guided-config-choice svg { flex:0 0 28px; width:28px; height:28px; color:#526176; }
.guided-config-choice strong,.guided-config-choice small { display:block; }
.guided-config-choice strong { font-size:13px; }
.guided-config-choice small { margin-top:2px; color:var(--muted); font-size:10px; line-height:1.3; }
.guided-config-choices input:checked + .guided-config-choice { border-color:var(--dpm-red); background:#fff4f4; box-shadow:0 0 0 2px rgba(192,18,29,.1); }
.guided-config-choices input:checked + .guided-config-choice svg { color:var(--dpm-red); }
.payment-choice-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.payment-choice-intro { display:flex; align-items:flex-start; gap:6px 14px; flex-wrap:wrap; margin-bottom:12px; padding:13px 15px; border:1px solid #d8e3ef; border-radius:12px; color:#28415f; background:#f2f7fc; }
.payment-choice-intro strong { font-size:13px; }
.payment-choice-intro span { color:#526176; font-size:12px; line-height:1.45; }
.payment-flow-guide { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.payment-flow-guide div { display:flex; min-width:0; align-items:center; gap:8px; padding:9px 11px; border:1px solid var(--line); border-radius:10px; color:#435168; background:#fff; }
.payment-flow-guide span { display:grid; place-items:center; flex:0 0 23px; width:23px; height:23px; border-radius:50%; color:#fff; background:#263247; font-size:11px; font-weight:900; }
.payment-flow-guide strong { font-size:11px; line-height:1.3; }
.payment-choice { position:relative; min-width:0; cursor:pointer; }
.payment-choice input { position:absolute; opacity:0; pointer-events:none; }
.payment-choice__card { display:flex; min-height:165px; height:100%; flex-direction:column; padding:16px; border:1px solid var(--line); border-radius:14px; background:#fff; transition:border-color .16s ease,box-shadow .16s ease,background .16s ease; }
.payment-choice__top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.payment-choice__brand { display:flex; min-width:0; align-items:center; gap:9px; }
.payment-choice__brand-icon { display:grid; place-items:center; flex:0 0 34px; width:34px; height:28px; border:1px solid #d9e0e8; border-radius:7px; color:#263247; background:#f7f9fb; }
.payment-choice__brand-icon svg { width:22px; height:22px; }
.payment-choice__brand-icon--paypal { border-color:#d7e5f6; color:#003087; background:#f3f8ff; }
.payment-choice__top strong { font-size:15px; }
.payment-choice__mark { display:grid; place-items:center; flex:0 0 22px; width:22px; height:22px; border:2px solid #aeb8c5; border-radius:50%; color:transparent; font-size:13px; }
.payment-choice__card p { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.45; }
.payment-choice__card small { margin-top:auto; padding-top:12px; color:#34445a; font-weight:750; }
.payment-choice__payline { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:auto; padding-top:12px; }
.payment-choice__action { display:inline-flex; align-items:center; min-height:27px; padding:5px 10px; border-radius:999px; color:#fff; background:#263247; font-size:11px; font-weight:850; }
.payment-choice__action--terms { color:#245b3c; background:#e4f4ea; }
.payment-choice__installments { color:#526176; font-size:11px; font-weight:750; }
.payment-choice input:checked + .payment-choice__card { border-color:var(--dpm-red); background:#fff7f7; box-shadow:0 0 0 3px rgba(192,18,29,.10); }
.payment-choice input:checked + .payment-choice__card .payment-choice__mark { border-color:var(--dpm-red); color:#fff; background:var(--dpm-red); }
.payment-choice input:checked + .payment-choice__card .payment-choice__action { background:var(--dpm-red); }
.payment-choice input:focus-visible + .payment-choice__card { outline:3px solid rgba(37,99,235,.25); outline-offset:2px; }
.payment-start-form { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.payment-start-form span { color:var(--muted); font-size:12px; }
.reorder-payment-section { margin-top:18px; }
.reorder-payment-section .section-heading { margin-bottom:10px; }
.reorder-payment-section .section-heading h3 { margin:0; font-size:17px; }
.payment-step-subtitle { margin:3px 0 0; }
.guided-die-cut-panel { display:none; margin-top:12px; padding:16px; border:1px solid #e5c98f; border-radius:13px; background:#fff8e8; }
.guided-die-cut-panel p { margin:5px 0 12px; color:#6f5730; font-size:12px; }
.roll-configurator.is-die-cut .guided-dimensions-step,.roll-configurator.is-die-cut #configuredQuoteCartForm { display:none; }
.roll-configurator.is-die-cut .guided-die-cut-panel { display:block; }
.configurator-body { display:grid; grid-template-columns:minmax(0,2fr) minmax(200px,.55fr); gap:20px; align-items:start; margin-top:16px; }
.configurator-fields { margin:0; }
.config-compact-summary { display:grid; gap:12px; padding:4px 0 4px 18px; border-left:1px solid var(--line); }
.config-compact-summary > div { min-width:0; }
.config-compact-summary span,.config-compact-summary strong { display:block; }
.config-compact-summary span { color:var(--muted); font-size:11px; line-height:1.3; }
.config-compact-summary strong { margin-top:3px; font-size:14px; line-height:1.35; overflow-wrap:anywhere; }
.config-results { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:16px; }
.config-results--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.config-results > div { padding:14px; border:1px solid var(--line); border-radius:12px; background:white; }
.config-results span, .config-results strong { display:block; }
.config-results span { color:var(--muted); font-size:12px; }
.config-results strong { margin-top:5px; font-size:22px; }


.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    background: var(--surface);
}

.login-showcase {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 6vw, 80px);
    color: white;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 34%),
        linear-gradient(145deg, #7f0a11, var(--dpm-red) 55%, #d82b35);
}

.login-showcase__brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; }
.login-showcase__mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: white; color: var(--dpm-red); font-size: 14px; }
.login-showcase h1 { max-width: 650px; margin: 40px 0 16px; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; }
.login-showcase p { max-width: 600px; font-size: 18px; color: rgba(255,255,255,.82); }
.login-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 36px; }
.login-benefit { padding: 14px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); border-radius: 13px; font-size: 13px; }

.login-panel { display: grid; place-items: center; padding: 32px; background: var(--soft); }
.login-card { width: min(100%, 460px); padding: 32px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.login-card h2 { margin: 0 0 7px; font-size: 30px; }
.login-card form { margin-top: 24px; }
.login-card .field { margin-bottom: 16px; }
.login-card .button { width: 100%; margin-top: 6px; }
.login-help { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.login-trust-device { display:flex; align-items:flex-start; gap:10px; margin:15px 0; padding:11px 12px; border:1px solid #dfe4ea; border-radius:10px; color:#4b5a6d; background:#f8fafc; font-size:12px; line-height:1.45; cursor:pointer; }
.login-trust-device input { width:16px; height:16px; margin:1px 0 0; accent-color:#b5121b; }
.login-trust-device strong { display:block; margin-bottom:2px; color:#1f2937; font-size:12px; }

.two-column-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr); gap:20px; align-items:start; }
.content-card { padding:26px; border:1px solid var(--line); border-radius:18px; background:white; box-shadow:var(--shadow); }
.content-card .section-heading { margin-bottom:20px; }
.content-card form { display:grid; gap:16px; }
.content-card .notice { margin:0; }
.input-action { display:flex; gap:8px; }
.input-action .input { min-width:0; }
.input-action .button { flex:0 0 auto; }
.stack-list { display:grid; gap:9px; }
.list-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px; border:1px solid var(--line); border-radius:12px; background:var(--soft); }
.list-row strong,.list-row span,.list-row small { display:block; }
.list-row strong { font-size:13px; }
.list-row > div:first-child span,.list-row small { margin-top:3px; color:var(--muted); font-size:11px; }
.list-row > div:last-child { text-align:right; }
.list-row .status-pill { display:inline-flex; margin-left:auto; }

@media (max-width: 1100px) {
    .portal-header__inner { align-items: flex-start; }
    .portal-menu-button { display: block; margin-top: 5px; }
    .portal-nav { display: none; position: absolute; top: 67px; left: 16px; right: 16px; padding: 12px; flex-wrap: wrap; justify-content: flex-start; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
    .portal-nav.is-open { display: flex; }
    .portal-nav a.portal-nav__primary { margin-left: 0; }
    .portal-header .language-switcher { margin-left:auto; }
    .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .catalog-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .config-results { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .customer-recommendations { grid-template-columns:1fr; }
    .customer-order-card {
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-areas:
            "identity status"
            "forecast action"
            "shipments shipments";
    }
    .customer-order-list--archive .customer-order-card {
        grid-template-areas:
            "identity status"
            "forecast action";
    }
    .dashboard-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .order-product-card { grid-template-columns:95px minmax(0,1fr); }
    .order-product-card__image { width:95px; }
    .order-product-card__facts { grid-column:1/-1; }
    .customer-document-card {
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-template-areas:
            "identity reference"
            "summary actions";
    }
    .customer-document-card__actions { justify-content:flex-end; }
    .reorder-overview { grid-template-columns:1fr; }
    .reorder-card {
        grid-template-columns:minmax(0,1fr) minmax(130px,.4fr);
        grid-template-areas:
            "product product"
            "when quantity"
            "action action"
            "details details";
    }
    .reorder-card .reorder-request-button { width:100%; }
}

@media (max-width: 720px) {
    .portal-header__inner { padding: 9px 16px; }
    .portal-main { width: min(100% - 20px, 1320px); padding-top: 22px; }
    .portal-footer { width: min(100% - 20px, 1320px); flex-direction: column; }
    .page-heading { flex-direction: column; margin-bottom: 18px; }
    .page-heading__actions { justify-content: flex-start; width: 100%; }
    .page-heading__actions .button { flex: 1 1 auto; }
    .metrics, .quick-actions, .info-grid, .form-grid, .catalog-grid, .catalog-filters, .product-hero, .video-grid { grid-template-columns: 1fr; }
    .customer-recommendations { padding:16px; }
    .customer-recommendation { grid-template-columns:1fr; }
    .customer-recommendation__products { grid-template-columns:1fr; }
    .catalog-filters__search { grid-column:auto; }
    .catalog-card__actions { flex-direction:column; }
    .catalog-card__details { min-height:42px; }
    .catalog-card__quote { min-height:42px; }
    .config-results { grid-template-columns:1fr; }
    .configurator-body { grid-template-columns:1fr; gap:14px; }
    .guided-config-choices > div { grid-template-columns:1fr; }
    .payment-choice-list { grid-template-columns:1fr; }
    .payment-choice__card { min-height:0; }
    .payment-flow-guide { grid-template-columns:1fr; }
    .config-compact-summary { grid-template-columns:repeat(2,minmax(0,1fr)); padding:12px 0 0; border-top:1px solid var(--line); border-left:0; }
    .card { padding: 16px; border-radius: 15px; }
    .card__header { flex-direction: column; }
    .toolbar { align-items: stretch; }
    .toolbar > * { flex: 1 1 100%; }
    .pagination { justify-content: space-between; }
    .catalog-pagination { align-items:flex-start; flex-direction:column; }
    .catalog-pagination__links { justify-content:flex-start; width:100%; }
    .login-page { grid-template-columns: 1fr; }
    .login-showcase { padding: 28px 22px; min-height: auto; }
    .login-showcase h1 { margin-top: 30px; font-size: 38px; }
    .login-benefits { grid-template-columns: 1fr; }
    .login-language-switcher { position:absolute; top:10px; right:12px; }
    .language-switcher__label { display:none; }
    .login-panel { padding: 20px 14px 36px; }
    .login-card { padding: 24px 20px; }
    .two-column-layout { grid-template-columns:1fr; }
    .content-card { padding:18px; }
    .list-row { align-items:flex-start; flex-direction:column; }
    .list-row > div:last-child { text-align:left; }
    .input-action { align-items:stretch; flex-direction:column; }
}

/* Mobile-first Area Clienti */
@media (max-width: 720px) {
    html { scroll-padding-top:76px; }
    body { overflow-x:hidden; }
    body.portal-menu-open { overflow:hidden; }

    .portal-header {
        border-bottom-color:#e8ebef;
        box-shadow:0 5px 20px rgba(31,41,55,.06);
    }
    .portal-header__inner {
        position:relative;
        min-height:66px;
        align-items:center;
        gap:8px;
        padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));
    }
    .portal-brand { min-width:0; gap:8px; }
    .portal-brand__logo { width:40px; height:40px; }
    .portal-brand strong { overflow:hidden; max-width:112px; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
    .portal-brand small { font-size:10px; }
    .portal-header .language-switcher {
        order:2;
        margin:0 0 0 auto;
    }
    .portal-header .language-switcher__select {
        width:82px;
        min-height:42px;
        padding:7px 8px;
        color:var(--ink);
        background-color:#fff;
        font-size:11px;
    }
    .portal-header .language-switcher__select option { color:var(--ink); }
    .portal-menu-button {
        position:relative;
        z-index:72;
        order:3;
        min-width:58px;
        min-height:42px;
        margin:0;
        padding:8px 11px;
        color:var(--ink);
        background:#fff;
        font-size:12px;
    }
    .portal-menu-button[aria-expanded="true"] {
        color:#fff;
        border-color:var(--dpm-red);
        background:var(--dpm-red);
    }
    .portal-nav {
        position:fixed;
        z-index:71;
        top:74px;
        right:12px;
        bottom:auto;
        left:12px;
        display:none;
        max-height:calc(100dvh - 88px);
        grid-template-columns:1fr;
        align-content:start;
        gap:4px;
        overflow-y:auto;
        padding:10px;
        border:1px solid #e3e7ec;
        border-radius:18px;
        background:rgba(255,255,255,.985);
        box-shadow:0 24px 70px rgba(17,24,39,.22);
    }
    .portal-nav.is-open { display:grid; }
    .portal-nav a {
        display:flex;
        align-items:center;
        min-height:46px;
        padding:11px 13px;
        border-radius:11px;
        font-size:14px;
        white-space:normal;
    }
    .portal-nav a.is-active { box-shadow:inset 3px 0 0 var(--dpm-red); }
    .portal-nav a.portal-nav__primary {
        margin:5px 0 0;
        justify-content:center;
    }
    .portal-nav-backdrop {
        position:fixed;
        z-index:70;
        inset:66px 0 0;
        display:block;
        padding:0;
        border:0;
        background:rgba(15,23,42,.34);
        backdrop-filter:blur(2px);
    }
    .portal-nav-backdrop[hidden] { display:none; }

    .portal-main {
        width:min(100% - 24px,1320px);
        padding:20px 0 38px;
    }
    .portal-footer {
        width:min(100% - 24px,1320px);
        padding:18px 0 calc(26px + env(safe-area-inset-bottom));
        gap:7px;
        font-size:11px;
    }
    .page-heading { gap:15px; margin-bottom:18px; }
    .page-heading h1 { margin-bottom:7px; font-size:clamp(25px,8.2vw,32px); line-height:1.08; }
    .page-heading p { font-size:13px; line-height:1.5; }
    .page-heading__actions {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .page-heading__actions .button {
        width:100%;
        min-width:0;
        min-height:44px;
        padding:8px 10px;
        font-size:12px;
        text-align:center;
        white-space:normal;
    }
    .page-heading__actions .button:only-child { grid-column:1/-1; }
    .eyebrow { margin-bottom:6px; font-size:10px; }

    .card,.content-card {
        margin-bottom:14px;
        padding:15px;
        border-radius:16px;
        box-shadow:0 8px 24px rgba(31,41,55,.055);
    }
    .card__header { gap:11px; margin-bottom:13px; }
    .card__header h2,.section-heading h2 { font-size:18px; line-height:1.2; }
    .card__header p,.section-heading p { font-size:12px; line-height:1.45; }
    .card__header > .button { min-height:40px; font-size:12px; }

    .metrics {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        margin:0 0 15px;
        padding:0;
        overflow:visible;
    }
    .metric {
        min-width:0;
        min-height:104px;
        padding:14px;
    }
    .metric__label { font-size:11px; line-height:1.25; }
    .metric__value { margin-top:7px; font-size:27px; overflow-wrap:anywhere; }
    .metric__value--code { font-size:16px; line-height:1.15; }
    .metric__hint { margin-top:7px; font-size:9px; line-height:1.35; }

    .dashboard-welcome h1 span,
    .dashboard-welcome h1 strong { display:block; }
    .dashboard-welcome h1 span { font-weight:650; }
    .dashboard-welcome h1 strong {
        margin-top:3px;
        overflow-wrap:anywhere;
        color:var(--ink);
        font-size:.68em;
        line-height:1.2;
    }

    .customer-recommendations {
        gap:14px;
        margin-bottom:14px;
        padding:15px;
        border-radius:16px;
    }
    .customer-recommendations__intro h2 { font-size:21px; }
    .customer-recommendation { gap:10px; padding:11px; }
    .customer-recommendation-product { grid-template-columns:58px minmax(0,1fr); }
    .customer-recommendation-product__image { width:58px; height:58px; }

    .quick-actions { gap:8px; }
    .quick-action {
        position:relative;
        min-height:82px;
        padding:14px 42px 14px 14px;
        background:#fff;
    }
    .quick-action::after {
        position:absolute;
        top:50%;
        right:15px;
        content:"›";
        color:var(--dpm-red);
        font-size:27px;
        font-weight:700;
        transform:translateY(-52%);
    }
    .quick-action span { font-size:11px; line-height:1.45; }

    .dashboard-orders-card,
    .dashboard-products-card { padding:15px 13px; }
    .dashboard-orders-card .card__header,
    .dashboard-products-card .card__header { padding-inline:2px; }
    .dashboard-orders-toolbar { display:none; }
    .customer-order-card {
        grid-template-columns:minmax(104px,.72fr) minmax(0,1.28fr);
        grid-template-areas:
            "identity status"
            "forecast forecast"
            "action action"
            "shipments shipments";
        gap:11px 12px;
        padding:13px;
    }
    .customer-order-list--archive .customer-order-card {
        grid-template-areas:
            "identity status"
            "forecast forecast"
            "action action";
    }
    .customer-order-card__identity strong { font-size:18px; }
    .customer-order-card__status {
        align-self:start;
        justify-self:end;
        min-width:0;
        text-align:right;
    }
    .customer-order-card__status .customer-order-card__label { text-align:right; }
    .customer-order-card__status .status {
        max-width:100%;
        white-space:normal;
        line-height:1.25;
        text-align:center;
    }
    .customer-order-card__forecast {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:10px 11px;
        border-radius:10px;
        background:var(--soft);
    }
    .customer-order-card__forecast .customer-order-card__label { flex:0 0 auto; margin:0; }
    .customer-order-card__forecast > strong,
    .customer-order-card__forecast > span:not(.customer-order-card__label) {
        margin:0;
        text-align:right;
    }
    .customer-order-card__action { width:100%; min-height:42px; }
    .customer-order-card__shipments { padding-top:9px; }

    .dashboard-product-grid { grid-template-columns:1fr; }
    .dashboard-product-card {
        display:grid;
        grid-template-columns:112px minmax(0,1fr);
        align-items:start;
    }
    .dashboard-product-card__image {
        flex:none;
        width:96px;
        height:96px;
        min-height:0;
        max-height:96px;
        margin:12px 0 12px 12px;
        padding:8px;
        overflow:hidden;
        border:1px solid #edf0f3;
        border-radius:12px;
        background:#fff;
    }
    .dashboard-product-card__image img {
        width:100%;
        height:100%;
        min-width:0;
        min-height:0;
        object-fit:contain;
        object-position:center;
    }
    .dashboard-product-card__body { padding:12px; }
    .dashboard-product-card h3 { min-height:0; font-size:13px; -webkit-line-clamp:3; }

    .order-product-card {
        grid-template-columns:76px minmax(0,1fr);
        gap:11px;
        padding:11px;
    }
    .order-product-card__image { width:76px; height:76px; }
    .order-product-card__main h3 { font-size:13px; }
    .order-product-card__facts { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }

    .customer-document-card {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-areas:
            "identity reference"
            "summary summary"
            "actions actions";
        gap:11px;
        padding:13px;
    }
    .customer-document-card__reference { text-align:right; }
    .customer-document-card__summary { margin-top:1px; }
    .customer-document-card__actions {
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        justify-self:stretch;
        margin-top:1px;
        padding-top:11px;
        border-top:1px solid #edf0f3;
    }
    .customer-document-card__actions .button { min-width:0; }
    .customer-document-toolbar .customer-toolbar-count {
        min-height:0;
        padding:2px 1px 0;
        border:0;
        background:transparent;
    }

    .reorder-overview { gap:13px; padding:15px; }
    .reorder-overview h2 { font-size:18px; }
    .reorder-overview__counts { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .reorder-overview__counts div { min-width:0; padding:9px 5px; }
    .reorder-overview__counts strong { font-size:19px; }

    .reorder-card {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-areas:
            "product product"
            "when quantity"
            "action action"
            "details details";
        gap:11px;
        padding:13px 12px 10px;
    }
    .reorder-card__product h3 { font-size:13px; }
    .reorder-card .reorder-request-button { width:100%; }
    .reorder-card__evidence { grid-template-columns:repeat(2,minmax(0,1fr)); }

    .portal-dialog.reorder-dialog {
        width:calc(100% - 8px);
        max-height:calc(100dvh - 8px);
        padding:12px;
        border-radius:14px;
    }
    .reorder-dialog .dialog-header {
        position:static;
        margin:0;
        padding:0;
    }
    .reorder-dialog .dialog-header .eyebrow { display:none; }
    .reorder-dialog .dialog-header h2 { font-size:19px; }
    .reorder-dialog .dialog-close { width:34px; height:34px; }
    .reorder-dialog__form { gap:7px; }
    .reorder-dialog__product {
        padding:8px 9px;
        overflow:hidden;
    }
    .reorder-dialog__product .product-description {
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .reorder-dialog__fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    .reorder-dialog__fields .input,
    .reorder-dialog__fields .select,
    .reorder-dialog__notes .input { min-height:40px; padding:7px 8px; }
    .reorder-payment-compact { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
    .reorder-payment-compact legend { grid-column:1/-1; padding:0; }
    .reorder-payment-flow { display:none; }
    .reorder-payment-compact label > span { min-height:40px; padding:5px; }
    .reorder-payment-compact label strong { font-size:10px; }
    .reorder-payment-compact label small { overflow:hidden; max-width:100%; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
    .reorder-dialog__footer { padding-top:7px; }
    .reorder-dialog__footer > span { display:none; }
    .reorder-dialog__footer .form-actions { width:100%; }

    .toolbar {
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
        padding:11px;
        border-radius:12px;
    }
    .toolbar > * { min-width:0; }
    .toolbar__search { width:100%; }
    .field label,.field-label { margin-bottom:5px; font-size:11px; }
    .input,.select,.textarea { min-height:44px; padding:10px 11px; font-size:16px; }
    .textarea { min-height:112px; }
    .button { min-height:44px; }
    .status { max-width:100%; white-space:normal; line-height:1.25; }

    .table-wrap {
        overflow:visible;
        border:0;
        border-radius:0;
        background:transparent;
    }
    .data-table--mobile-cards,
    .data-table--mobile-cards tbody { display:block; width:100%; }
    .data-table--mobile-cards thead { display:none; }
    .data-table--mobile-cards tbody { display:grid; gap:10px; }
    .data-table--mobile-cards tbody > tr {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:0 12px;
        overflow:hidden;
        border:1px solid var(--line);
        border-radius:13px;
        background:#fff;
        box-shadow:0 5px 15px rgba(31,41,55,.045);
    }
    .data-table--mobile-cards tbody > tr:hover { background:#fff; }
    .data-table--mobile-cards td {
        display:flex;
        min-width:0;
        align-items:flex-start;
        justify-content:space-between;
        gap:10px;
        padding:10px 11px;
        border:0;
        border-bottom:1px solid #edf0f3;
        text-align:right !important;
        overflow-wrap:anywhere;
    }
    .data-table--mobile-cards td::before {
        flex:0 0 auto;
        max-width:42%;
        content:attr(data-label);
        color:var(--muted);
        font-size:9px;
        font-weight:850;
        letter-spacing:.035em;
        line-height:1.35;
        text-align:left;
        text-transform:uppercase;
    }
    .data-table--mobile-cards td:first-child {
        grid-column:1/-1;
        align-items:center;
        background:#fafbfc;
        text-align:left !important;
    }
    .data-table--mobile-cards td:first-child > * { text-align:left; }
    .data-table--mobile-cards td[colspan] {
        grid-column:1/-1;
        display:block;
        padding:0;
        border:0;
        text-align:left !important;
    }
    .data-table--mobile-cards td[colspan]::before { display:none; }
    .data-table--mobile-cards td.action-cell,
    .data-table--mobile-cards td:last-child:not(:first-child) {
        grid-column:1/-1;
        align-items:center;
    }
    .data-table--mobile-cards td.action-cell .button,
    .data-table--mobile-cards td:last-child:not(:first-child) > .button {
        width:100%;
    }
    .data-table--mobile-cards .product-description { min-width:0; font-size:13px; }
    .data-table--mobile-cards .cell-title { font-size:13px; }
    .data-table--mobile-cards .cell-subtitle,.data-table--mobile-cards .product-code { font-size:10px; }
    .data-table--mobile-cards .empty-state { padding:28px 15px; }
    .data-table--mobile-cards .order-shipments-row {
        margin-top:-11px;
        border-top:0;
        border-radius:0 0 13px 13px;
        box-shadow:none;
    }
    .shipment-strip { gap:7px; padding:10px; }
    .shipment-chip { width:100%; padding:9px; font-size:11px; }

    .pagination { gap:7px; }
    .pagination .button { min-width:0; padding-inline:10px; font-size:11px; }
    .catalog-pagination { gap:12px; padding:12px; }
    .catalog-pagination__links { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
    .catalog-pagination__number,.catalog-pagination__current { min-width:0; width:100%; }

    .catalog-grid { gap:12px; }
    .catalog-card { border-radius:15px; }
    .catalog-card__image { height:210px; padding:14px; }
    .catalog-card__body { padding:14px; }
    .catalog-card h2 { font-size:17px; }
    .catalog-card__actions { flex-direction:row; align-items:stretch; gap:8px; padding-top:13px; }
    .catalog-card__details { min-height:44px; }
    .catalog-card__quote-form { flex:1; }
    .catalog-card__quote { width:100%; min-height:44px; font-size:11px; }
    .catalog-purchased-variants { margin-top:11px; padding:9px; }
    .catalog-variant { min-height:35px; }

    .portal-dialog {
        width:calc(100% - 16px);
        max-height:calc(100dvh - 16px);
        padding:16px;
        border-radius:16px;
    }
    .dialog-header { position:sticky; z-index:2; top:-16px; margin:-16px -16px 14px; padding:14px 16px; background:#fff; }
    .dialog-header h2 { font-size:21px; }

    .product-hero { gap:15px; }
    .product-gallery > img { max-height:310px; }
    .product-lead { font-size:15px; }
    .roll-configurator { margin-inline:-3px; padding:13px; }
    .guided-config-step { padding:12px; }
    .guided-config-choices > div { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    .guided-config-choice { min-height:64px; padding:9px; }
    .guided-config-choice svg { width:24px; height:24px; }
    .config-compact-summary { gap:9px; }
    .config-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    .config-results > div { padding:10px; }
    .config-results strong { font-size:17px; }

    .notice { margin-bottom:13px; padding:12px 13px; font-size:12px; }
    .info-grid { gap:8px; }
    .info-box { padding:11px; }
    .form-grid { gap:12px; }
    .form-actions { gap:8px; }
    .form-actions .button { flex:1 1 auto; }
    .empty-state { padding:30px 14px; }

    .login-page {
        min-height:100dvh;
        display:flex;
        flex-direction:column;
        background:#f4f6f8;
    }
    .login-panel {
        order:1;
        min-height:0;
        place-items:start center;
        padding:68px 14px 18px;
        background:linear-gradient(180deg,#f7f8fa,#eef1f5);
    }
    .login-card {
        width:100%;
        max-width:460px;
        padding:22px 18px;
        border-radius:20px;
        box-shadow:0 18px 50px rgba(31,41,55,.12);
    }
    .login-card__mobile-brand {
        display:flex;
        align-items:center;
        gap:10px;
        margin-bottom:22px;
    }
    .login-card__mobile-brand img { width:48px; height:48px; object-fit:contain; }
    .login-card__mobile-brand strong,.login-card__mobile-brand small { display:block; }
    .login-card__mobile-brand strong { font-size:17px; }
    .login-card__mobile-brand small { color:var(--muted); font-size:11px; }
    .login-card h2 { font-size:28px; }
    .login-card form { margin-top:20px; }
    .login-showcase {
        order:2;
        min-height:0;
        margin:0 12px 12px;
        padding:22px 17px calc(24px + env(safe-area-inset-bottom));
        border-radius:18px;
        background:linear-gradient(145deg,#7f0a11,#b5121b 58%,#cf2932);
    }
    .login-showcase__brand { display:none; }
    .login-showcase h1 { margin:0 0 9px; font-size:23px; line-height:1.12; }
    .login-showcase p { margin:0; font-size:12px; line-height:1.5; }
    .login-benefits {
        display:grid;
        grid-template-columns:1fr;
        gap:6px;
        margin-top:15px;
    }
    .login-benefit { padding:9px 10px; font-size:10px; }
    .login-showcase > small { display:block; margin-top:14px; font-size:10px; }
    .login-language-switcher {
        position:fixed;
        z-index:90;
        top:max(10px,env(safe-area-inset-top));
        right:12px;
    }
    .login-language-switcher .language-switcher__label { display:none; }
    .login-language-switcher .language-switcher__select { min-height:40px; font-size:12px; }
}

@media (max-width: 380px) {
    .portal-brand strong { max-width:88px; }
    .portal-header .language-switcher__select { width:68px; }
    .portal-menu-button { min-width:52px; padding-inline:8px; }
    .page-heading__actions { grid-template-columns:1fr; }
    .data-table--mobile-cards tbody > tr { grid-template-columns:1fr; }
    .data-table--mobile-cards td { grid-column:1 !important; }
    .guided-config-choices > div,.config-results { grid-template-columns:1fr; }
}
/* Codice articolo concordato con il singolo cliente. */
.catalog-card__reference--customer{display:flex;align-items:baseline;gap:6px;color:#5a6677}
.catalog-card__reference--customer strong{color:#a70e14;font-size:.9rem}
.catalog-variant small{display:block;margin-top:2px;color:inherit;font-size:.67rem;font-weight:700}
.customer-product-code{display:grid;gap:3px;margin-bottom:14px;padding:12px 14px;border:1px solid #f0d4d5;border-radius:12px;background:#fff8f8}
.customer-product-code>span,.customer-variant-code>small{color:#8c5558;font-size:.69rem;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.customer-product-code>strong{color:#9f1015;font-size:1.14rem}
.customer-product-code>small{color:#586579;font-size:.78rem;line-height:1.45}
.customer-variant-code{display:grid;gap:2px}
.customer-variant-code>strong{color:#9f1015;font-size:.9rem}
.customer-variant-code>span{max-width:360px;color:#68758a;font-size:.72rem;line-height:1.35}

/* The owner navigation includes company users and must fit common laptops. */
@media (min-width: 1101px) and (max-width: 1439px) {
    .portal-header__inner { align-items: flex-start; }
    .portal-menu-button { display: block; margin-top: 5px; }
    .portal-nav { display: none; position: absolute; top: 67px; left: 16px; right: 16px; padding: 12px; flex-wrap: wrap; justify-content: flex-start; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
    .portal-nav.is-open { display: flex; }
    .portal-nav a.portal-nav__primary { margin-left: 0; }
    .portal-header .language-switcher { margin-left: auto; }
}
