body {
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 214, 165, 0.35), transparent 35%),
        linear-gradient(180deg, #fff8f2 0%, #f6efe8 100%);
    color: #2f241f;
    min-height: 100vh;
}

.doceria-navbar {
    background: linear-gradient(135deg, #8c3b2b, #5c241b);
}

.hero-card {
    background: linear-gradient(135deg, rgba(255, 241, 228, 0.96), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(140, 59, 43, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(92, 36, 27, 0.08);
}

.stats-panel {
    display: grid;
    gap: 1rem;
}

.stat-item {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(92, 36, 27, 0.08);
}

.stat-item strong {
    display: block;
    font-size: 2rem;
}

.card {
    border-radius: 1rem;
}

.table > :not(caption) > * > * {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.ingredient-row {
    background: rgba(140, 59, 43, 0.03);
    border-radius: 0.8rem;
    padding: 0.65rem;
}

.pagination .page-link {
    color: #7f3326;
}

.pagination .active > .page-link {
    background-color: #8c3b2b;
    border-color: #8c3b2b;
}

.manual-shell {
    padding-bottom: 2rem;
}

.manual-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 214, 165, 0.45), transparent 28%),
        radial-gradient(circle at bottom left, rgba(140, 59, 43, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255, 245, 235, 0.98), rgba(255, 255, 255, 0.96));
    border-radius: 1.5rem;
}

.manual-header::after {
    content: "";
    position: absolute;
    inset: auto -8% -45% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 59, 43, 0.09), transparent 68%);
    pointer-events: none;
}

.manual-eyebrow,
.manual-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8c3b2b;
}

.manual-callout {
    max-width: 22rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(140, 59, 43, 0.08);
    color: #5c241b;
    box-shadow: 0 10px 24px rgba(92, 36, 27, 0.08);
}

.manual-sidebar {
    position: sticky;
    top: 1rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(248, 238, 231, 0.98));
}

.manual-nav .list-group-item {
    border: 0;
    margin-bottom: 0.3rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.9rem;
    color: #5c241b;
    background: transparent;
    font-weight: 600;
    transition: transform 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.manual-nav .list-group-item:hover,
.manual-nav .list-group-item:focus {
    color: #8c3b2b;
    background: rgba(140, 59, 43, 0.08);
    transform: translateX(2px);
    box-shadow: inset 3px 0 0 #8c3b2b;
}

.manual-section {
    border-radius: 1.35rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 244, 0.98));
    box-shadow: 0 18px 42px rgba(92, 36, 27, 0.08);
}

.manual-section::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #8c3b2b, #d59663, rgba(213, 150, 99, 0));
}

.manual-section-head {
    margin-bottom: 1.5rem;
}

.manual-process-grid,
.manual-shot-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.manual-process-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.manual-shot-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.manual-card,
.manual-shot {
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.manual-card {
    background:
        linear-gradient(135deg, rgba(255, 248, 242, 0.95), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(140, 59, 43, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.manual-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.manual-card p,
.manual-card ul {
    margin-bottom: 0;
}

.manual-card ul {
    padding-left: 1.1rem;
}

.manual-steps {
    margin-bottom: 1.25rem;
    padding-left: 1.2rem;
}

.manual-steps li + li {
    margin-top: 0.55rem;
}

.manual-shot {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid rgba(92, 36, 27, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 250, 246, 0.98), rgba(247, 239, 232, 0.94));
    color: #6b4b42;
    box-shadow: 0 14px 34px rgba(92, 36, 27, 0.08);
}

.manual-shot strong {
    color: #5c241b;
}

@media (max-width: 991.98px) {
    .manual-sidebar {
        position: static;
    }
}

.manual-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.manual-section-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(92, 36, 27, 0.18);
}

.manual-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0.65rem 1rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #9a4634, #7f3326);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.01em;
    border: 1px solid rgba(92, 36, 27, 0.12);
    box-shadow: 0 10px 20px rgba(92, 36, 27, 0.14);
    transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.manual-top-link::before {
    content: "↑";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
}

.manual-top-link:hover,
.manual-top-link:focus {
    color: #fff;
    background: linear-gradient(180deg, #a94c39, #8a3427);
    transform: translateY(-1px);
    box-shadow: 0 14px 22px rgba(92, 36, 27, 0.18);
    text-decoration: none;
}

.manual-shot-meta {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.9rem;
}

.manual-shot-meta span {
    color: #7b635b;
}

.manual-screen {
    width: 100%;
    overflow: hidden;
    border-radius: 0.95rem;
    border: 1px solid rgba(92, 36, 27, 0.1);
    background: #fff;
    box-shadow: 0 10px 24px rgba(92, 36, 27, 0.08);
}

.manual-screen-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(92, 36, 27, 0.08);
    background:
        linear-gradient(180deg, #fbf0e8, #f1ddd0);
}

.manual-screen-dots {
    display: flex;
    gap: 0.35rem;
}

.manual-screen-dots span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(92, 36, 27, 0.25);
}

.manual-screen-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5c241b;
}

.manual-screen-body {
    padding: 0.95rem;
    display: grid;
    gap: 0.85rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 244, 0.98));
}

.manual-screen-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.manual-screen-stats.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-stat {
    padding: 0.7rem;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #fffdfb, #faf2ec);
    border: 1px solid rgba(140, 59, 43, 0.08);
    box-shadow: 0 6px 16px rgba(92, 36, 27, 0.05);
}

.manual-stat span {
    display: block;
    font-size: 0.68rem;
    color: #8c6b62;
    margin-bottom: 0.25rem;
}

.manual-stat strong {
    font-size: 1rem;
}

.manual-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0.85rem;
}

.manual-screen-grid.order {
    grid-template-columns: 1.25fr 0.95fr;
}

.manual-panel,
.manual-subpanel {
    border: 1px solid rgba(92, 36, 27, 0.08);
    border-radius: 0.85rem;
    padding: 0.75rem;
    background: linear-gradient(180deg, #fffefd, #fbf6f2);
}

.manual-panel-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #5c241b;
    margin-bottom: 0.55rem;
}

.manual-list-row,
.manual-table-row {
    display: grid;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.77rem;
    border-bottom: 1px solid rgba(92, 36, 27, 0.06);
}

.manual-list-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.manual-table {
    border: 1px solid rgba(92, 36, 27, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
}

.manual-table-head,
.manual-table-row {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.manual-table-head {
    display: grid;
    gap: 0.6rem;
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8c6b62;
    background: #faf4ef;
}

.manual-table-row:last-child,
.manual-list-row:last-child {
    border-bottom: 0;
}

.manual-table-row:nth-child(even) {
    background: rgba(140, 59, 43, 0.02);
}

.manual-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
}

.manual-badge.success {
    background: #d9f7e7;
    color: #116b40;
}

.manual-badge.warning {
    background: #fff0c9;
    color: #8a5a00;
}

.manual-badge.info {
    background: #dff2ff;
    color: #0d5e8c;
}

.manual-badge.primary {
    background: #e6e8ff;
    color: #3d45a3;
}

.manual-badge.danger {
    background: #ffe0de;
    color: #99281e;
}

.manual-badge.dark {
    background: #ece9e8;
    color: #544742;
}

.manual-chip-row,
.manual-option-row,
.manual-button-row,
.manual-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.manual-button-row.compact {
    gap: 0.45rem;
}

.manual-chip,
.manual-option,
.manual-button,
.manual-actions,
.manual-pill-banner,
.manual-qty-box {
    font-size: 0.72rem;
    font-weight: 700;
}

.manual-chip,
.manual-option {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f3e8df;
    color: #6d4035;
    border: 1px solid rgba(92, 36, 27, 0.08);
}

.manual-chip.active,
.manual-option.active {
    background: #8c3b2b;
    color: #fff;
}

.manual-pill-banner {
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
    background: #dff4ff;
    color: #0c617d;
    border: 1px solid rgba(12, 97, 125, 0.1);
}

.manual-input {
    min-height: 2rem;
    padding: 0.45rem 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(92, 36, 27, 0.12);
    background: linear-gradient(180deg, #fff, #fdf9f6);
    color: #6d4035;
    font-size: 0.76rem;
}

.manual-input-wide {
    flex: 1 1 220px;
}

.manual-field {
    display: grid;
    gap: 0.35rem;
}

.manual-field label {
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #8c6b62;
    letter-spacing: 0.04em;
}

.manual-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.manual-switch-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.76rem;
    color: #6d4035;
}

.manual-switch {
    position: relative;
    width: 2.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #d7d0cc;
}

.manual-switch::after {
    content: "";
    position: absolute;
    top: 0.16rem;
    left: 0.16rem;
    width: 0.88rem;
    height: 0.88rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.manual-switch.on {
    background: #6fbf8f;
}

.manual-switch.on::after {
    left: 1.15rem;
}

.manual-button,
.manual-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #9a4634, #7f3326);
    color: #fff;
    box-shadow: 0 8px 16px rgba(140, 59, 43, 0.18);
}

.manual-button.light {
    background: #f0e0d6;
    color: #6d4035;
}

.manual-button.ghost {
    background: transparent;
    color: #6d4035;
    border: 1px solid rgba(92, 36, 27, 0.16);
    box-shadow: none;
}

.manual-button.danger {
    background: linear-gradient(180deg, #b8483b, #9b3126);
    color: #fff;
}

.manual-actions {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #8c3b2b;
    justify-content: flex-start;
}

.manual-note-box {
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #fffdfb, #faf2eb);
    color: #6d4035;
    border: 1px solid rgba(92, 36, 27, 0.08);
}

.manual-note-box.warning {
    background: #fff4d8;
    color: #7a5600;
}

.manual-note-box.danger {
    background: #fee7e4;
    color: #8b2e25;
}

.manual-stack-buttons {
    display: grid;
    gap: 0.55rem;
}

.manual-product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #fffefd, #fbf5f0);
    border: 1px solid rgba(92, 36, 27, 0.08);
}

.manual-product-card h4 {
    margin: 0.5rem 0 0.35rem;
    font-size: 1rem;
}

.manual-product-card p {
    margin: 0;
    font-size: 0.76rem;
    color: #7c6058;
}

.manual-price-box {
    display: inline-flex;
    align-items: center;
    height: fit-content;
    padding: 0.55rem 0.7rem;
    border-radius: 0.8rem;
    background: linear-gradient(180deg, #94412f, #7f3326);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(140, 59, 43, 0.18);
}

.manual-option {
    border: 1px solid rgba(92, 36, 27, 0.08);
}

.manual-qty-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    padding: 0.25rem 0.45rem;
    border-radius: 0.6rem;
    background: #f6efe8;
    color: #6d4035;
    font-style: normal;
}

@media (max-width: 991.98px) {
    .manual-screen-grid,
    .manual-screen-grid.order,
    .manual-form-grid,
    .manual-screen-stats,
    .manual-screen-stats.compact {
        grid-template-columns: 1fr;
    }
}
