html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7f2;
    color: #1b1e23;
}

.drockle-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.drockle-panel {
    width: 100%;
    max-width: 720px;
    border: 1px solid #d8ded2;
    border-radius: 8px;
    background: #ffffff;
    padding: 32px;
}

.drockle-kicker {
    margin: 0 0 8px;
    color: #3f6b54;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.15;
}

p {
    font-size: 17px;
    line-height: 1.5;
}

.drockle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #b8c4b4;
    border-radius: 6px;
    background: #ffffff;
    color: #1b1e23;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    border-color: #2f6048;
    background: #2f6048;
    color: #ffffff;
}

.button-small {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

.button-disabled {
    opacity: 0.64;
    cursor: not-allowed;
}

.drockle-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.drockle-form label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
}

.drockle-form input,
.drockle-form select,
.drockle-form textarea {
    min-height: 42px;
    border: 1px solid #b8c4b4;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 16px;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.drockle-form textarea {
    padding: 12px;
    line-height: 1.4;
    resize: vertical;
}

.message {
    border-radius: 6px;
    padding: 10px 14px;
    margin: 18px 0;
}

.message p {
    margin: 4px 0;
    font-size: 15px;
}

.message-error {
    border: 1px solid #d8a3a3;
    background: #fff2f2;
    color: #7a2323;
}

.message-info {
    border: 1px solid #a7c3d0;
    background: #eef8fb;
    color: #234f5f;
}

.choice-group {
    display: grid;
    gap: 10px;
    margin: 0;
    border: 1px solid #d8ded2;
    border-radius: 6px;
    padding: 14px;
}

.choice-group legend {
    padding: 0 6px;
    font-size: 14px;
    font-weight: 700;
}

.choice-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    font-size: 15px;
}

.choice-row input {
    min-height: auto;
}

.field-note {
    color: #4f5b52;
    font-size: 13px;
    font-weight: 400;
}

.settings-form {
    max-width: 620px;
}

.wide-form {
    max-width: 900px;
}

.small-link {
    margin-top: 18px;
    font-size: 15px;
}

.drockle-app {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.app-header h1 {
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-tile {
    min-height: 120px;
    border: 1px solid #d8ded2;
    border-radius: 8px;
    background: #ffffff;
    color: #1b1e23;
    padding: 18px;
    text-decoration: none;
}

.dashboard-tile strong,
.dashboard-tile span {
    display: block;
}

.dashboard-tile strong {
    margin-bottom: 10px;
    font-size: 18px;
}

.dashboard-tile span {
    color: #4f5b52;
    font-size: 15px;
    line-height: 1.4;
}

.app-panel {
    margin-top: 20px;
    max-width: none;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid #d8ded2;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    color: #4f5b52;
    font-size: 13px;
    text-transform: uppercase;
}

.marketing-page {
    min-height: 100vh;
    background: #f4f7f8;
}

.marketing-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding: 0 32px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(19, 33, 42, 0.12);
    backdrop-filter: blur(14px);
}

.marketing-logo {
    color: #13212a;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.marketing-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.marketing-nav-links a {
    color: #13212a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.marketing-hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    padding: 112px 32px 56px;
    color: #ffffff;
    background-image: url('/assets/img/draftsell-hero-workflow.png');
    background-size: cover;
    background-position: center right;
}

.marketing-hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 28, 0.58);
}

.marketing-hero-content {
    position: relative;
    z-index: 1;
    width: min(700px, 100%);
    margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.marketing-kicker {
    margin: 0 0 12px;
    color: #b9efdb;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.marketing-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 68px;
    line-height: 0.98;
}

.marketing-hero p {
    max-width: 620px;
    margin: 0;
    color: #edf5f3;
    font-size: 22px;
    line-height: 1.38;
}

.marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button-light {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.marketing-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin: 36px 0 0;
}

.marketing-proof div {
    border-top: 2px solid #74d5b3;
    padding-top: 12px;
}

.marketing-proof dt {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.marketing-proof dd {
    margin: 5px 0 0;
    color: #d8e9e6;
    font-size: 14px;
    line-height: 1.35;
}

.marketing-band {
    background: #ffffff;
    border-top: 1px solid #d9e2e4;
    border-bottom: 1px solid #d9e2e4;
}

.marketing-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.section-heading .marketing-kicker,
.split-section .marketing-kicker {
    color: #1f6f5b;
}

.marketing-section h2 {
    margin: 0;
    color: #13212a;
    font-size: 38px;
    line-height: 1.08;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    min-height: 238px;
    border: 1px solid #d5e0e3;
    border-radius: 8px;
    background: #f9fbfb;
    padding: 22px;
}

.feature-number {
    display: inline-block;
    margin-bottom: 22px;
    color: #b95534;
    font-size: 14px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 0 0 10px;
    color: #13212a;
    font-size: 21px;
    line-height: 1.16;
}

.feature-card p,
.pilot-list p,
.pilot-list li {
    color: #40505a;
    font-size: 16px;
    line-height: 1.52;
}

.feature-card p {
    margin: 0;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.pilot-list {
    border-left: 4px solid #294c6f;
    padding-left: 26px;
}

.pilot-list p {
    margin: 0 0 18px;
}

.pilot-list ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 880px) {
    .marketing-nav {
        min-height: 64px;
        padding: 0 20px;
    }

    .marketing-nav-links {
        gap: 10px;
    }

    .marketing-nav-links .button {
        display: none;
    }

    .marketing-hero {
        min-height: 78vh;
        padding: 96px 20px 44px;
        background-position: center center;
    }

    .marketing-hero-shade {
        background: rgba(10, 20, 28, 0.66);
    }

    .marketing-hero h1 {
        font-size: 44px;
    }

    .marketing-hero p {
        font-size: 18px;
    }

    .marketing-proof,
    .section-heading,
    .feature-grid,
    .split-section {
        grid-template-columns: 1fr;
    }

    .marketing-section {
        width: min(100% - 32px, 720px);
        padding: 48px 0;
    }

    .marketing-section h2 {
        font-size: 30px;
    }

    .feature-card {
        min-height: 0;
    }

    .pilot-list {
        border-left: 0;
        border-top: 4px solid #294c6f;
        padding: 20px 0 0;
    }
}

.filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.log-cell-preview {
    display: block;
    max-width: 360px;
    max-height: 96px;
    overflow: hidden;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.log-preview {
    max-height: 360px;
    overflow: auto;
    border: 1px solid #d8ded2;
    border-radius: 6px;
    background: #f6f7f2;
    padding: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.45;
}

.table-scroll {
    overflow-x: auto;
}

.inventory-adjust-form {
    min-width: 520px;
    align-items: flex-start;
}

.inventory-adjust-form input,
.inventory-adjust-form textarea {
    min-height: 32px;
    border: 1px solid #b8c4b4;
    border-radius: 6px;
    padding: 0 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.inventory-adjust-form input[type="number"] {
    width: 82px;
}

.inventory-adjust-form input[type="text"] {
    width: 92px;
}

.inventory-adjust-form textarea {
    width: 160px;
    padding: 8px;
    resize: vertical;
}

.support-action-form {
    display: grid;
    gap: 8px;
    min-width: 220px;
}

.support-action-form select,
.support-action-form input,
.support-action-form textarea {
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
    border: 1px solid #b8c4b4;
    border-radius: 6px;
    padding: 0 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.support-action-form textarea {
    min-height: 64px;
    padding: 8px;
    resize: vertical;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-ready {
    border: 1px solid #99b8a5;
    background: #eef8f1;
    color: #245239;
}

.status-warning {
    border: 1px solid #d8c58a;
    background: #fff8df;
    color: #6a5113;
}

.status-pending {
    border: 1px solid #c9d0d3;
    background: #f3f6f7;
    color: #445158;
}

.inline-form {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.connection-provider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.form-grid-four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.detail-list {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 10px 18px;
    margin: 0;
}

.detail-list dt {
    color: #4f5b52;
    font-weight: 700;
}

.detail-list dd {
    margin: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.image-tile {
    margin: 0;
}

.image-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #d8ded2;
    border-radius: 6px;
    background: #f6f7f2;
}

.image-tile figcaption {
    margin-top: 6px;
    color: #4f5b52;
    font-size: 13px;
}

@media (max-width: 760px) {
    .drockle-shell,
    .drockle-app {
        padding: 18px;
    }

    .app-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .connection-provider {
        align-items: flex-start;
        flex-direction: column;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-four {
        grid-template-columns: 1fr;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
