:root {
    --navy: #102a43;
    --green: #16834a;
    --bg: #f3f6fa;
    --line: #e3e9f0;
    --muted: #64748b
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: #172b4d;
    font-family: Arial, Helvetica, sans-serif
}

header {
    background: var(--navy);
    color: #fff;
    padding: 22px 16px
}

.wrap,
main {
    max-width: 760px;
    margin: auto
}

.brand {
    font-size: 22px;
    font-weight: 800
}

.sub {
    font-size: 12px;
    color: #c8d7e5;
    margin-top: 5px;
    letter-spacing: 1px
}

main {
    padding: 18px 12px 30px
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 3px 12px #102a430b
}

h1 {
    font-size: 20px;
    margin: 0 0 6px
}

.hint {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 14px
}

.base {
    background: #edf8f1;
    border: 1px solid #ccebd7;
    border-radius: 12px;
    padding: 13px;
    margin-bottom: 14px
}

.base-title {
    font-weight: 800;
    color: #17643a;
    font-size: 14px
}

.base-price {
    font-size: 25px;
    font-weight: 800;
    color: var(--green);
    margin: 5px 0
}

.base-items {
    font-size: 13px;
    color: #315b43;
    line-height: 1.6
}

.toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0
}

button {
    border: 0;
    border-radius: 10px;
    padding: 11px 13px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer
}

.secondary {
    background: #edf2f7;
    color: #243b53
}

.search {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 10px
}

.item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 2px;
    border-bottom: 1px solid #edf1f5
}

.item:last-child {
    border-bottom: 0
}

.item input {
    width: 19px;
    height: 19px;
    accent-color: var(--green);
    flex: none
}

.name {
    flex: 1;
    font-weight: 600;
    font-size: 14px
}

.price {
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums
}

.included {
    font-size: 11px;
    font-weight: 700;
    color: #17643a;
    background: #e5f5eb;
    padding: 5px 8px;
    border-radius: 20px;
    white-space: nowrap
}

.summary {
    background: #f7fafc;
    border-radius: 12px;
    padding: 14px
}

.total-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .7px
}

.total {
    font-size: 30px;
    font-weight: 800;
    color: var(--green);
    margin: 4px 0 12px
}

.line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    font-size: 14px
}

.line strong {
    font-variant-numeric: tabular-nums
}

.primary {
    background: var(--green);
    color: #fff;
    width: 100%;
    padding: 14px;
    margin-top: 14px
}

.note {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 12px
}

.empty {
    padding: 14px 0;
    color: var(--muted);
    font-size: 13px
}