body {
    font-family: "B612", system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 16px;
    background: rgb(19, 45, 65);
    line-height: 1.4;
}

h2,
h1 {
    text-align: center;
    margin: 0 0 10px 0;
    color: rgba(206, 166, 103);
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.row:last-child {
    margin-bottom: 0;
}

label {
    font-weight: 500;
}

input {
    width: 45px;
    padding: 5px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #bbb;
    text-align: right;
    font-family: "B612 Mono"
}

.resultRow {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 600;
}

.resultRow:last-child {
    margin-bottom: 0;
}

@media (min-width:700px){

    body{
        max-width:600px;
        margin:auto;
        padding:40px;
    }

}

canvas {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.canvas-card {
    text-align: center;
}

#copyNotes {
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    background: rgba(66, 63, 125, 1);
    color: white;
    cursor: pointer;
    width: 100%;
}

#copyNotes:active {
    background: #0849a6;
}

.inputGroup {
    display: flex;
    align-items: center;
    gap: 6px;
}

.clearBtn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(206, 166, 103);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.clearBtn:hover {
    background: #bbb;
}

.vars {
    white-space: pre-wrap;
    width: 100%;
}

[data-target="bagWeight"],
[data-target="fuelGallons"] {
    font-size: 10px;
    vertical-align: middle;
    font-weight: bolder;
}

.drawer-toggle {
    width: 100%;
    padding: 10px;
    border: none;
    background: rgba(206, 166, 103);
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
    font-size: 1rem;
    color: rgb(19, 45, 65);
}

.drawer-content {
    display: none;
    padding-top: 10px;
}

.drawer-content.open {
    display: block;
}

.drawer-toggle.open:after {
    transform: rotate(-180deg);
}

.drawer-toggle:after {
    content: " ▼";
    float: right;
    transition: transform 0.3s ease;
}

code {
    background: rgba(0, 0, 0, 0.321);
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.2) 3px 3px inset;
}
