html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f5f5f2;
    color: #222;
}

button, input, select {
    font: inherit;
    min-height: 44px;
}

button {
    padding: 0.6rem 1rem;
    border: 1px solid #aaa;
    border-radius: 0.35rem;
    background: white;
    cursor: pointer;
}

button:disabled {
    cursor: default;
    opacity: 0.5;
}

button.primary {
    background: #245f45;
    border-color: #245f45;
    color: white;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0.6rem 1rem;
    border: 1px solid #aaa;
    border-radius: 0.35rem;
    background: white;
    color: #222;
    text-decoration: none;
}

button.danger {
    border-color: #b42318;
    background: #b42318;
    color: white;
}

input, select {
    padding: 0.55rem 0.7rem;
    border: 1px solid #aaa;
    border-radius: 0.35rem;
    background: white;
}

.packing-page {
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
}

.start-page, .find-page, .browse-page {
    width: min(760px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 8vh, 6rem) 0 4rem;
}

.start-header {
    margin-bottom: 2rem;
    text-align: center;
}

.prompt-heading {
    margin: 0.35rem 0 0;
    color: var(--pw-muted);
    font-size: clamp(1.25rem, 4vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.mascot-home {
    display: block;
    margin: 0 auto 0.75rem;
    border: 2px solid var(--pw-primary-hover);
    border-radius: 22%;
    box-shadow: 0 0.35rem 1rem rgb(87 62 28 / 18%);
}

.start-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.start-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 150px;
    box-sizing: border-box;
    padding: 1.5rem;
    border: 2px solid #d3d3cd;
    border-radius: 0.75rem;
    background: white;
    color: #222;
    text-decoration: none;
}

.start-action:hover, .start-action:focus-visible {
    border-color: #245f45;
    box-shadow: 0 0 0 3px rgb(36 95 69 / 15%);
}

.start-action-image {
    flex: 0 0 auto;
    width: clamp(72px, 9vw, 96px);
    height: auto;
    object-fit: contain;
}

.start-action > span:last-child {
    display: grid;
    gap: 0.4rem;
}

.start-action strong {
    font-size: 1.5rem;
}

.start-action small {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.back-link {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.back-navigation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0.25rem 0.7rem 0.25rem 0.35rem;
    border: 1px solid var(--pw-border);
    border-radius: 0.6rem;
    background: var(--pw-surface);
    color: var(--pw-accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(87 62 28 / 6%);
}

.back-navigation-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.back-navigation-chevron {
    color: var(--pw-accent);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-1px);
}

.back-navigation-link:hover, .back-navigation-link:focus-visible {
    border-color: var(--pw-primary);
    background: #fff8e8;
    color: var(--pw-accent-hover);
    box-shadow: 0 0 0 3px var(--pw-primary-glow);
}

.back-navigation-link:hover .back-navigation-chevron,
.back-navigation-link:focus-visible .back-navigation-chevron {
    color: var(--pw-primary-hover);
}

.browser-controls {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #d3d3cd;
    border-radius: 0.75rem;
    background: white;
}

.status-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-filters button.active {
    border-color: #245f45;
    background: #245f45;
    color: white;
}

.browser-search {
    display: grid;
    gap: 0.35rem;
    color: #555;
    font-size: 0.9rem;
}

.browse-container-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.browse-container-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border: 2px solid #d3d3cd;
    border-radius: 0.75rem;
    background: white;
    color: #222;
    text-decoration: none;
}

.browse-container-card:hover, .browse-container-card:focus-visible {
    border-color: #245f45;
    box-shadow: 0 0 0 3px rgb(36 95 69 / 15%);
}

.browse-container-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.browse-container-heading strong {
    font-size: 1.35rem;
}

.browse-container-type {
    font-weight: 600;
}

.browse-container-meta {
    color: #666;
    font-size: 0.9rem;
}

.browse-empty {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 2rem);
    margin-top: 1.5rem;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px dashed var(--pw-border);
    border-top: 4px solid var(--pw-primary);
    border-radius: 0.85rem;
    background: linear-gradient(145deg, var(--pw-surface) 0%, #fff8e8 100%);
    box-shadow: 0 0.35rem 1.2rem rgb(87 62 28 / 8%);
}

.browse-empty > img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.browse-empty-copy {
    display: grid;
    justify-items: start;
    gap: 0.65rem;
}

.browse-empty h2, .browse-empty p {
    margin: 0;
}

.browse-empty h2 {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
}

.browse-empty p {
    max-width: 34rem;
    color: var(--pw-muted);
    line-height: 1.5;
}

.browse-empty-action {
    margin-top: 0.35rem;
    border-color: var(--pw-accent);
    color: var(--pw-accent);
    font-weight: 700;
}

.browse-empty-action:hover:not(:disabled) {
    border-color: var(--pw-primary-hover);
    background: #fff2d2;
    color: var(--pw-accent-hover);
}

.mascot-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    text-align: left;
}

.mascot-empty img {
    flex: 0 0 auto;
    border-radius: 22%;
}

.mascot-empty p {
    margin: 0;
}

.find-page > p:last-child {
    max-width: 560px;
    color: #555;
    line-height: 1.6;
}

.search-box {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.search-box input {
    flex: 1;
    min-width: 0;
    font-size: 1.1rem;
}

.search-results {
    margin-top: 1.5rem;
}

.search-summary {
    color: #666;
}

.search-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.search-results-toolbar .search-summary {
    margin: 0;
}

.search-view-switcher {
    display: inline-flex;
    padding: .2rem;
    border: 1px solid var(--pw-border);
    border-radius: .55rem;
    background: var(--pw-surface);
}

.search-view-switcher button {
    min-height: 34px;
    padding: .3rem .7rem;
    border: 0;
    background: transparent;
}

.search-view-switcher button.active {
    background: var(--pw-accent);
    color: white;
}

.search-result-grid-wrapper {
    overflow-x: auto;
    border: 1px solid var(--pw-border);
    border-radius: .65rem;
    background: var(--pw-surface);
}

.search-result-grid {
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
}

.search-result-grid th,
.search-result-grid td {
    padding: .75rem .85rem;
    border-bottom: 1px solid var(--pw-border);
    text-align: left;
    vertical-align: middle;
}

.search-result-grid th {
    color: var(--pw-muted);
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.search-result-grid th button {
    min-height: 32px;
    padding: .2rem .35rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    text-transform: inherit;
    white-space: nowrap;
}

.search-result-grid th button:hover {
    color: var(--pw-accent-hover);
}

.search-result-grid tbody tr:last-child td {
    border-bottom: 0;
}

.search-result-grid tbody tr:hover {
    background: rgb(245 158 11 / 7%);
}

.search-result-grid a {
    color: var(--pw-ink);
    font-weight: 650;
    text-decoration: none;
}

.search-result-grid a:hover {
    color: var(--pw-accent-hover);
    text-decoration: underline;
}

.search-result-grid .search-grid-label {
    color: var(--pw-accent);
    font-variant-numeric: tabular-nums;
}

.search-result-list {
    display: grid;
    gap: 0.65rem;
}

.search-result {
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
    border: 1px solid #d3d3cd;
    border-radius: 0.5rem;
    background: white;
    color: #222;
    text-decoration: none;
}

.search-result:hover, .search-result:focus-visible {
    border-color: #245f45;
    box-shadow: 0 0 0 3px rgb(36 95 69 / 15%);
}

.search-result-description {
    font-size: 1.2rem;
    font-weight: bold;
}

.search-result-container {
    display: flex;
    align-items: center;
    gap: 0.45rem 0.75rem;
    flex-wrap: wrap;
    color: #666;
}

.search-result-container strong {
    color: #245f45;
    font-size: 1.05rem;
}

.search-result .status-badge {
    padding: 0.15rem 0.45rem;
    font-size: 0.75rem;
}

.packing-page header h1 {
    margin-bottom: 0.15rem;
}

.packing-page header p {
    margin-top: 0;
    color: #666;
}

.panel {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #d3d3cd;
    border-radius: 0.5rem;
    background: white;
}

.panel h2 {
    margin-top: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.inline-controls, .entry-box, .new-type-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.new-type-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 150px;
    gap: 0.8rem;
}

.new-type-grid label {
    display: grid;
    gap: 0.3rem;
}

.new-type-actions {
    grid-column: 1 / -1;
}

.container-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6rem;
}

.container-choice {
    display: grid;
    gap: 0.2rem;
    text-align: left;
}

.container-card {
    display: grid;
    gap: 0.3rem;
}

.container-card .container-choice {
    width: 100%;
}

.container-card > a {
    padding: 0.15rem 0.25rem;
    font-size: 0.9rem;
}

.container-choice.selected {
    border: 2px solid #245f45;
}

.container-choice strong {
    font-size: 1.2rem;
}

.container-choice span {
    color: #666;
    font-size: 0.9rem;
}

.closed-container-list {
    display: grid;
    gap: 0.6rem;
}

.closed-container-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem;
    border: 1px solid #d3d3cd;
    border-radius: 0.35rem;
}

.closed-container-row span {
    display: grid;
    gap: 0.15rem;
}

.closed-container-row small {
    color: #666;
}

.closed-container-actions, .container-actions, .detail-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.packing-panel {
    border-color: #245f45;
}

.container-actions {
    margin: 0.75rem 0 1rem;
}

.container-detail-page {
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 4rem;
}

.detail-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-action-buttons {
    display: flex;
    gap: .55rem;
}

.detail-actions .back-navigation-link {
    margin-bottom: 0;
}

.manifest {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid #d3d3cd;
    border-radius: 0.5rem;
    background: white;
}

.manifest-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #222;
}

.manifest-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.manifest-title-row h1 {
    margin: 0.15rem 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
}

.physical-container-label {
    display: inline-block;
    padding: .45rem .8rem;
    border: 3px solid var(--pw-ink);
    border-radius: .25rem;
    background: white;
    color: #111;
    box-shadow: inset 0 0 0 2px white, inset 0 0 0 3px #b8b8b8;
    font-family: "Courier New", ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: .08em;
}

.status-badge {
    padding: 0.35rem 0.65rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-weight: bold;
}

.status-badge.open {
    color: #245f45;
}

.status-badge.closed {
    color: #555;
}

.container-type-name {
    margin: 0.5rem 0 1.5rem;
    color: #555;
    font-size: 1.2rem;
}

.manifest-metadata {
    display: flex;
    gap: 1rem 2.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.manifest-metadata div {
    display: grid;
    gap: 0.15rem;
}

.manifest-metadata dt {
    color: #666;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.manifest-metadata dd {
    margin: 0;
}

.manifest-contents {
    padding-top: 1.5rem;
}

.manifest-contents-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.manifest-contents h2 {
    margin: 0;
}

.manifest-correction-tools {
    display: grid;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid var(--pw-primary);
    border-radius: .6rem;
    background: #fff8e8;
}

.manifest-correction-tools p {
    margin: 0;
    color: var(--pw-muted);
}

.manifest-correction-tools form {
    display: grid;
    gap: .4rem;
}

.manifest-correction-tools form > span {
    display: flex;
    gap: .55rem;
}

.manifest-correction-tools input {
    flex: 1;
    min-width: 0;
}

.manifest-contents ol {
    margin-bottom: 0;
    padding-left: 2rem;
    columns: 2 280px;
    column-gap: 3rem;
}

.manifest-contents li {
    break-inside: avoid;
    padding: 0.3rem 0 0.3rem 0.25rem;
}

.manifest-entry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.manifest-entry-cards li {
    display: grid;
    gap: .35rem;
    padding: .8rem .9rem;
    border: 1px solid var(--pw-border);
    border-radius: .55rem;
    background: var(--pw-surface-strong);
}

.manifest-entry-cards time {
    color: var(--pw-muted);
    font-size: .78rem;
}

.manifest-entry-edit-input {
    width: 100%;
}

.manifest-entry-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}

.manifest-entry-actions button {
    min-height: 34px;
    padding: .3rem .6rem;
}

.manifest-entry-actions .secondary-danger {
    border-color: var(--pw-danger);
    background: transparent;
    color: var(--pw-danger);
}

.manifest-removal-prompt {
    color: var(--pw-danger);
    font-size: .82rem;
    font-weight: 700;
}

.container-contents-grid-wrapper {
    overflow-x: auto;
    border: 1px solid var(--pw-border);
    border-radius: .6rem;
}

.container-contents-grid {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
}

.container-contents-grid th,
.container-contents-grid td {
    padding: .7rem .8rem;
    border-bottom: 1px solid var(--pw-border);
    text-align: left;
}

.container-contents-grid th {
    color: var(--pw-muted);
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.container-contents-grid th button {
    min-height: 32px;
    padding: .2rem .35rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    text-transform: inherit;
}

.container-contents-grid tbody tr:last-child td {
    border-bottom: 0;
}

.container-contents-grid tbody tr:hover {
    background: rgb(245 158 11 / 7%);
}

.container-contents-grid time {
    color: var(--pw-muted);
    white-space: nowrap;
}

.container-contents-grid .manifest-entry-actions {
    min-width: 12rem;
}

.print-only {
    display: none;
}

.eyebrow {
    margin-bottom: 0;
    color: #666;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.label-code {
    margin-bottom: 0;
    font-size: clamp(2.5rem, 10vw, 5rem);
}

.entry-box input {
    flex: 1;
    min-width: 220px;
}

.entry-list {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.entry-list li {
    padding: 0.3rem 0;
}

.entry-row, .edit-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.entry-row > span, .edit-entry > input {
    flex: 1;
    min-width: 0;
}

.entry-actions {
    display: flex;
    gap: 0.4rem;
}

.empty-state {
    color: #777;
}

.error-message {
    margin: 1rem 0;
    padding: 0.75rem;
    border: 1px solid #b42318;
    border-radius: 0.35rem;
    background: #fef3f2;
    color: #b42318;
}

@media (max-width: 600px) {
    .start-actions {
        grid-template-columns: 1fr;
    }

    .start-action {
        min-height: 130px;
    }

    .status-filters > * {
        flex: 1;
    }

    .browse-empty {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 280px;
        text-align: center;
    }

    .browse-empty > img {
        width: 132px;
        height: 132px;
    }

    .browse-empty-copy {
        justify-items: center;
    }

    .search-box {
        align-items: stretch;
        flex-direction: column;
    }

    .new-type-grid {
        grid-template-columns: 1fr;
    }

    .new-type-actions {
        grid-column: auto;
    }

    .inline-controls > *, .entry-box > * {
        width: 100%;
    }

    .section-heading, .closed-container-row {
        align-items: stretch;
        flex-direction: column;
    }

    .closed-container-actions > *, .container-actions > * {
        flex: 1;
    }

    .entry-row, .edit-entry {
        align-items: stretch;
        flex-direction: column;
    }
}

@media print {
    @page {
        margin: 0.6in;
    }

    html, body {
        background: white;
        color: black;
    }

    .screen-only, #blazor-error-ui {
        display: none !important;
    }

    .container-detail-page {
        width: auto;
        margin: 0;
        padding: 0;
    }

    .manifest {
        padding: 0;
        border: 0;
    }

    .manifest-title-row h1 {
        font-size: 34pt;
    }

    .manifest-contents ol {
        columns: 2;
    }

    .print-only {
        display: block;
    }
}

/* Explicit desktop experience ------------------------------------------------ */
.desktop-experience .back-navigation-link {
    display: none;
}

.desktop-experience .start-page,
.desktop-experience .find-page,
.desktop-experience .browse-page,
.desktop-experience .packing-page,
.desktop-experience .container-detail-page,
.desktop-experience .household-members-page,
.desktop-experience .household-settings-page {
    width: 100%;
    max-width: 90rem;
    margin: 0;
    padding: 0;
}

.desktop-dashboard {
    display: grid;
    gap: 1.5rem;
    max-width: 84rem;
}

.desktop-dashboard-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.desktop-dashboard-heading h1 {
    max-width: 48rem;
    margin: .25rem 0 .45rem;
    font-size: clamp(1.75rem, 2.4vw, 2.5rem);
    line-height: 1.15;
}

.desktop-dashboard-heading p:last-child { margin: 0; color: var(--pw-muted); font-size: 1.05rem; }
.desktop-account-actions { display: flex; gap: .65rem; white-space: nowrap; }

.mascot-theme-selector {
    display: grid;
    gap: 0.15rem;
    color: var(--pw-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.mascot-theme-selector select {
    min-height: 44px;
    color: var(--pw-text);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

.desktop-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.desktop-summary article {
    display: grid;
    gap: .2rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid var(--pw-border);
    border-radius: .75rem;
    background: var(--pw-surface);
}

.desktop-summary strong { font-size: 2rem; font-variant-numeric: tabular-nums; }
.desktop-summary span { color: var(--pw-muted); }

.desktop-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.desktop-action-grid a {
    min-height: 14rem;
    display: grid;
    grid-template-columns: 7rem 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--pw-border);
    border-radius: .9rem;
    background: var(--pw-surface);
    color: var(--pw-ink);
    text-decoration: none;
}

.desktop-action-grid a:hover { border-color: var(--pw-primary); box-shadow: 0 0 0 3px var(--pw-primary-glow); }
.desktop-action-grid img { width: 7rem; height: 7rem; object-fit: contain; }
.desktop-action-grid span { display: grid; gap: .4rem; }
.desktop-action-grid strong { font-size: 1.35rem; }
.desktop-action-grid small { color: var(--pw-muted); line-height: 1.45; }

.desktop-experience .packing-page {
    display: grid;
    grid-template-columns: minmax(18rem, .8fr) minmax(28rem, 1.4fr);
    align-items: start;
    gap: 1.25rem;
}

.desktop-experience .packing-page > header,
.desktop-experience .packing-page > .error-message {
    grid-column: 1 / -1;
}

.desktop-experience .packing-page > header h1 { margin-bottom: .25rem; }
.desktop-experience .packing-page .panel { margin: 0; }
.desktop-experience .packing-page .packing-panel { grid-column: 2; grid-row: 2 / span 3; position: sticky; top: 5.2rem; }
.desktop-experience .container-list { max-height: 28rem; overflow: auto; padding-right: .25rem; }

.desktop-experience .browse-page { max-width: none; }
.desktop-experience .browse-page > h1,
.desktop-experience .find-page > h1 { font-size: 2.4rem; }
.desktop-experience .browser-controls { display: grid; grid-template-columns: auto minmax(18rem, 28rem); justify-content: space-between; }
.desktop-experience .browse-container-list { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.desktop-experience .browse-container-card { min-height: 9rem; align-content: start; }

.desktop-experience .find-page { max-width: none; }
.desktop-experience .search-box { max-width: 52rem; }
.desktop-experience .search-result-list { grid-template-columns: repeat(auto-fill, minmax(23rem, 1fr)); }

.desktop-experience .container-detail-page { max-width: 74rem; }
.desktop-experience .manifest { padding: 2.5rem 3rem; }
.desktop-experience .manifest-contents ol { columns: 2; column-gap: 4rem; }

.desktop-experience .household-members-page { max-width: 70rem; }
.desktop-experience .household-members-page > header { margin-bottom: 1.5rem; }
.desktop-experience .household-members-page > .panel { display: inline-block; width: calc(50% - .65rem); vertical-align: top; }
.desktop-experience .household-members-page > .panel + .panel { margin-left: 1rem; }
.desktop-experience .household-settings-page { max-width: 50rem; }

.desktop-experience .container-types-page {
    width: 100%;
    max-width: 72rem;
}

.container-types-page > header {
    margin-bottom: 1.5rem;
}

.container-types-page > header h1 {
    margin: .25rem 0 .45rem;
}

.container-types-page > header p:last-child {
    max-width: 50rem;
    color: var(--pw-muted);
}

.container-type-management-panel {
    overflow-x: auto;
}

.container-type-table {
    width: 100%;
    border-collapse: collapse;
}

.container-type-table th,
.container-type-table td {
    padding: .8rem .7rem;
    border-bottom: 1px solid var(--pw-border);
    text-align: left;
    vertical-align: middle;
}

.container-type-table th {
    color: var(--pw-muted);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.container-type-table tr:last-child td {
    border-bottom: 0;
}

.container-type-table tr.is-retired td {
    background: rgb(107 98 88 / 5%);
    color: var(--pw-muted);
}

.container-type-table td:first-child .status-badge {
    margin-left: .55rem;
}

.container-type-table code {
    color: var(--pw-ink);
    font-size: .95rem;
    font-weight: 700;
}

.container-type-table input {
    width: min(100%, 25rem);
}

.container-type-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    white-space: nowrap;
}

.container-type-row-actions button {
    min-height: 36px;
    padding: .35rem .7rem;
}

/* Explicit mobile experience ------------------------------------------------- */
.mobile-experience .start-page,
.mobile-experience .find-page,
.mobile-experience .browse-page,
.mobile-experience .packing-page,
.mobile-experience .container-detail-page,
.mobile-experience .household-members-page,
.mobile-experience .household-settings-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mobile-experience .mobile-start-page { padding-top: .5rem; }
.mobile-experience .start-account-actions { position: static; justify-content: center; margin-bottom: 1rem; }
.mobile-experience .start-account-actions { align-items: end; flex-wrap: wrap; }
.mobile-experience .start-actions { grid-template-columns: 1fr; }
.mobile-experience .start-action { min-height: 7.5rem; padding: 1rem; }
.mobile-experience .start-action-image { width: 4.8rem; }
.mobile-experience .start-action strong { font-size: 1.2rem; }
.mobile-experience .back-navigation-link { display: none; }
.mobile-experience .panel { padding: 1rem; }
.mobile-experience .packing-page > header { margin-bottom: 1rem; }
.mobile-experience .packing-page .panel { margin-bottom: .85rem; }
.mobile-experience .browse-container-list,
.mobile-experience .search-result-list { grid-template-columns: 1fr; }
.mobile-experience .search-results-toolbar { align-items: stretch; flex-direction: column; }
.mobile-experience .search-view-switcher { align-self: flex-start; }
.mobile-experience .search-result-grid { min-width: 34rem; }
.mobile-experience .manifest { padding: 1rem; border-radius: .65rem; }
.mobile-experience .manifest-title-row h1 { font-size: 1.9rem; }
.mobile-experience .manifest-contents-heading { align-items: stretch; flex-direction: column; }
.mobile-experience .manifest-contents-heading .search-view-switcher { align-self: flex-start; }
.mobile-experience .manifest-entry-cards { grid-template-columns: 1fr; }
.mobile-experience .container-contents-grid { min-width: 31rem; }
.mobile-experience .detail-actions,
.mobile-experience .detail-action-buttons,
.mobile-experience .manifest-correction-tools form > span {
    align-items: stretch;
    flex-direction: column;
}
.mobile-experience .detail-action-buttons > *,
.mobile-experience .manifest-correction-tools form > span > * {
    width: 100%;
}

@media (max-width: 1100px) {
    .desktop-action-grid a { grid-template-columns: 1fr; }
    .desktop-action-grid img { width: 5.5rem; height: 5.5rem; }
}

.authentication-page {
    display: grid;
    min-height: calc(100vh - 3rem);
    padding: 1.5rem;
    place-items: center;
}

.authentication-card {
    width: min(100%, 31rem);
    padding: clamp(1.5rem, 5vw, 2.75rem);
    border: 1px solid var(--pw-border);
    border-radius: 1rem;
    background: var(--pw-surface);
    box-shadow: 0 12px 32px rgb(87 62 28 / 10%);
}

.authentication-mascot {
    display: block;
    margin: 0 auto;
}

.authentication-mascot-preview {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.authentication-card h1 {
    margin-top: 0;
}

.authentication-intro,
.authentication-note {
    color: var(--pw-muted);
}

.authentication-card form {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.authentication-card input {
    width: 100%;
    padding: 0.8rem 0.9rem;
}

.authentication-submit {
    margin-top: 0.4rem;
}

.authentication-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.development-authentication-card {
    width: min(100%, 42rem);
}

.authentication-stack {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    max-width: 100%;
}

.development-authentication-tools {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    padding: 0.8rem;
    border: 2px dashed #9a4a20;
    border-radius: 0.55rem;
    background: #fff4e8;
    box-shadow: 0 4px 14px rgb(87 62 28 / 16%);
}

.development-authentication-tools .mascot-theme-selector {
    min-width: 10rem;
}

.development-authentication-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0.65rem 0.9rem;
    border: 1px solid #9a4a20;
    border-radius: 0.4rem;
    background: white;
    color: #7a2e0e;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.development-authentication-entry:hover,
.development-authentication-entry:focus-visible {
    background: #ffe7cf;
    box-shadow: 0 0 0 3px rgb(154 74 32 / 18%);
}

@media (max-width: 480px) {
    .development-authentication-tools {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 18rem);
        box-sizing: border-box;
    }
}

.development-only-banner {
    margin: -1rem -1rem 1.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.65rem;
    background: #7a2e0e;
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.development-persona-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.development-persona {
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border-color: var(--pw-border);
    text-align: left;
}

.development-persona:hover,
.development-persona:focus-visible {
    border-color: var(--pw-primary);
    box-shadow: 0 0 0 3px var(--pw-primary-glow);
}

.development-persona strong {
    color: var(--pw-text);
    font-size: 1.05rem;
}

.development-persona span,
.development-persona small {
    color: var(--pw-muted);
}

.development-authentication-fallback {
    margin: 1.5rem 0 0;
    text-align: center;
}

.authentication-code {
    margin: 0.4rem 0 0.75rem;
    font-size: 1.75rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.35em;
    text-align: center;
}

.authentication-card .error-message {
    margin-top: 1rem;
}

.start-header {
    position: relative;
}

.start-account-actions {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    right: 0;
    top: 0;
}

.household-members-page {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.household-settings-page {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.household-management-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.household-management-navigation a {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--pw-border);
    border-radius: 0.45rem;
    background: var(--pw-surface);
    color: var(--pw-ink);
    font-weight: 650;
    text-decoration: none;
}

.household-management-navigation a.active {
    border-color: var(--pw-primary);
    color: var(--pw-accent);
    box-shadow: 0 0 0 2px var(--pw-primary-glow);
}

.household-settings-panel form {
    display: grid;
    gap: 0.65rem;
}

.household-settings-panel input {
    width: 100%;
    box-sizing: border-box;
}

.household-settings-section {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--pw-border);
}

.household-settings-section h2 {
    margin: 0;
}

.household-settings-section h2 span {
    color: var(--pw-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.household-settings-section > p {
    margin: 0 0 0.5rem;
    color: var(--pw-muted);
}

.success-message {
    margin: 1rem 0;
    padding: 0.75rem;
    border: 1px solid var(--pw-primary);
    border-radius: 0.35rem;
    background: #edf7f0;
    color: var(--pw-accent);
}

.household-member-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.household-member-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--pw-border);
}

.household-member-list li:last-child {
    border-bottom: 0;
}

.household-member-list span:first-child {
    display: grid;
}

.household-member-admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.household-member-admin-actions button {
    min-height: 36px;
    padding: 0.35rem 0.7rem;
}

.household-member-list li.is-editing {
    display: block;
}

.household-member-editor {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) auto auto;
    align-items: end;
    gap: 0.65rem 1rem;
    width: 100%;
}

.household-member-editor > label:first-child {
    grid-column: 1 / -1;
}

.household-member-editor > input {
    width: 100%;
}

.household-member-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
}

.household-member-option input {
    width: 1.1rem;
    min-height: auto;
    height: 1.1rem;
    margin: 0;
}

.household-member-edit-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.25rem;
}

.household-member-edit-actions .secondary-danger {
    margin-left: auto;
    border-color: var(--pw-danger);
    background: transparent;
    color: var(--pw-danger);
}

.household-member-list small,
.household-invite-panel > p {
    color: var(--pw-muted);
}

.household-invite-panel form {
    display: grid;
    gap: 0.65rem;
}

.household-invite-panel input {
    width: 100%;
    padding: 0.8rem 0.9rem;
}

@media (max-width: 640px) {
    .start-account-actions {
        position: static;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .household-member-list li,
    .household-member-admin-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .household-member-admin-actions {
        width: 100%;
    }

    .household-member-editor {
        grid-template-columns: 1fr;
    }

    .household-member-editor > label:first-child,
    .household-member-edit-actions {
        grid-column: auto;
    }

    .household-member-edit-actions > *,
    .household-member-edit-actions .secondary-danger {
        width: 100%;
        margin-left: 0;
    }
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* PackedWhere "Packing Slip" theme */
:root {
    color-scheme: light;
    --pw-canvas: #f6f1e7;
    --pw-surface: #fffdf8;
    --pw-surface-strong: #fff;
    --pw-ink: #171a20;
    --pw-primary: #f59e0b;
    --pw-primary-hover: #d97706;
    --pw-accent: #2d6595;
    --pw-accent-hover: #1f4b70;
    --pw-border: #d8c7ab;
    --pw-muted: #6b6258;
    --pw-danger: #b42318;
    --pw-danger-hover: #8f1c13;
    --pw-danger-soft: #fef3f2;
    --pw-focus-ring: rgb(45 101 149 / 28%);
    --pw-primary-glow: rgb(245 158 11 / 20%);
}

html, body {
    background: var(--pw-canvas);
    color: var(--pw-ink);
}

button, input, select, .button-link {
    border-color: var(--pw-border);
    background: var(--pw-surface-strong);
    color: var(--pw-ink);
}

button:hover:not(:disabled) {
    border-color: var(--pw-accent);
}

button.primary, .status-filters button.active, .btn-primary {
    border-color: var(--pw-primary-hover);
    background: var(--pw-primary);
    color: var(--pw-ink);
    font-weight: 700;
}

button.primary:hover:not(:disabled), .status-filters button.active:hover:not(:disabled), .btn-primary:hover {
    border-color: var(--pw-primary-hover);
    background: var(--pw-primary-hover);
    color: var(--pw-ink);
}

button.danger {
    border-color: var(--pw-danger);
    background: var(--pw-danger);
    color: var(--pw-surface-strong);
}

button.danger:hover:not(:disabled) {
    border-color: var(--pw-danger-hover);
    background: var(--pw-danger-hover);
}

button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
    outline: 3px solid var(--pw-focus-ring);
    outline-offset: 2px;
}

.start-action,
.browser-controls,
.browse-container-card,
.search-result,
.panel,
.manifest {
    border-color: var(--pw-border);
    background: var(--pw-surface);
    color: var(--pw-ink);
    box-shadow: 0 1px 2px rgb(87 62 28 / 6%);
}

.start-action:hover, .start-action:focus-visible,
.browse-container-card:hover, .browse-container-card:focus-visible,
.search-result:hover, .search-result:focus-visible {
    border-color: var(--pw-primary);
    box-shadow: 0 0 0 3px var(--pw-primary-glow);
}

.container-choice.selected, .packing-panel {
    border-color: var(--pw-primary);
}

.closed-container-row {
    border-color: var(--pw-border);
}

.manifest-header {
    border-bottom-color: var(--pw-ink);
}

.start-action small,
.browser-search,
.browse-container-meta,
.find-page > p:last-child,
.search-summary,
.search-result-container,
.packing-page header p,
.container-choice span,
.closed-container-row small,
.container-type-name,
.manifest-metadata dt,
.empty-state {
    color: var(--pw-muted);
}

.eyebrow {
    color: #9a4f00;
}

a, .btn-link, .search-result-container strong, .status-badge.open {
    color: var(--pw-accent);
}

a:hover, .button-link:hover {
    color: var(--pw-accent-hover);
}

.status-badge.closed {
    color: var(--pw-muted);
}

.error-message {
    border-color: var(--pw-danger);
    background: var(--pw-danger-soft);
    color: var(--pw-danger);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--pw-surface-strong), 0 0 0 0.25rem var(--pw-accent);
}

.loading-progress circle:last-child {
    stroke: var(--pw-primary);
}

@media print {
    @page {
        size: auto;
        margin: 0.5in;
    }

    html,
    body {
        width: auto;
        min-height: 0;
        margin: 0;
        background: white !important;
        color: black !important;
        font-family: Arial, Helvetica, sans-serif;
    }

    .desktop-experience,
    .desktop-workspace,
    .mobile-experience {
        display: block !important;
        min-height: 0 !important;
        background: white !important;
    }

    .desktop-sidebar,
    .desktop-toolbar,
    .mobile-header,
    .mobile-navigation,
    .detail-actions,
    .manifest-contents-heading .search-view-switcher,
    #blazor-error-ui {
        display: none !important;
    }

    .desktop-content,
    .mobile-content {
        min-height: 0 !important;
        padding: 0 !important;
    }

    .container-detail-page {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .manifest {
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: white !important;
        color: black !important;
        box-shadow: none;
    }

    .move-countdown {
        display: none !important;
    }

    .manifest-header {
        padding-bottom: 0.22in;
        border-bottom: 2px solid black;
    }

    .manifest-header .eyebrow {
        color: black;
        font-size: 8pt;
        letter-spacing: .12em;
    }

    .manifest-title-row {
        align-items: center;
        margin-top: .08in;
    }

    .manifest-title-row h1,
    .physical-container-label {
        margin: 0;
        padding: .08in .14in;
        border: 3px solid black;
        border-radius: 0;
        background: white !important;
        color: black !important;
        box-shadow: none;
        font-size: 30pt;
        line-height: 1;
        print-color-adjust: exact;
    }

    .manifest .status-badge {
        padding: .04in .09in;
        border-color: black;
        background: white !important;
        color: black !important;
        font-size: 9pt;
        print-color-adjust: exact;
    }

    .container-type-name {
        margin: .12in 0 .18in;
        color: black;
        font-size: 13pt;
        font-weight: 700;
    }

    .manifest-metadata {
        gap: .15in .45in;
    }

    .manifest-metadata dt {
        color: black;
        font-size: 7.5pt;
    }

    .manifest-metadata dd {
        font-size: 10pt;
    }

    .manifest-contents {
        padding-top: .22in;
    }

    .manifest-contents-heading {
        margin-bottom: .12in;
    }

    .manifest-contents h2 {
        font-size: 16pt;
    }

    .manifest-contents ol.print-only {
        display: block !important;
        margin: 0;
        padding-left: .28in;
        columns: 2;
        column-gap: .45in;
        column-rule: 1px solid #bbb;
        font-size: 10pt;
        line-height: 1.3;
    }

    .manifest-contents ol.print-only li {
        break-inside: avoid;
        padding: .035in 0 .035in .04in;
    }

    .container-contents-print-grid {
        display: table !important;
        width: 100%;
        border-collapse: collapse;
        font-size: 9.5pt;
    }

    .container-contents-print-grid th,
    .container-contents-print-grid td {
        padding: .055in .08in;
        border: 1px solid #888;
        text-align: left;
        vertical-align: top;
    }

    .container-contents-print-grid th {
        background: #eee !important;
        font-size: 8pt;
        letter-spacing: .05em;
        text-transform: uppercase;
        print-color-adjust: exact;
    }

    .container-contents-print-grid th:last-child,
    .container-contents-print-grid td:last-child {
        width: 2.25in;
        white-space: nowrap;
    }

    .container-contents-print-grid tr {
        break-inside: avoid;
    }
}
