/* Shared application theme */
* { box-sizing: border-box; }
body { margin: 0; background: #f7f9fa; color: #18262c; font-family: Arial, Helvetica, sans-serif; }
button { cursor: pointer; }

header { height: 68px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e5ecec; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; }
.brand span { padding: 7px; border-radius: 10px; background: #1b957c; color: #fff; font-size: 19px; }
.brand b { color: #ed6146; }
.head-actions { display: flex; align-items: center; gap: 15px; }
.language, .share { border: 1px solid #dce6e5; border-radius: 8px; background: #fff; color: #426169; font-weight: bold; }
.language { padding: 7px 9px; font-size: 12px; }
.online { color: #238e77; font-size: 12px; }
.avatar { width: 35px; height: 35px; border: 0; border-radius: 50%; background: #ffe5d9; color: #bb5036; font-weight: bold; }

main { display: flex; min-height: calc(100vh - 68px); }
aside { position: relative; width: 245px; padding: 25px 18px; background: #fff; border-right: 1px solid #e6ecec; }
.new { width: 100%; padding: 12px; border: 0; border-radius: 10px; background: #e9f7f3; color: #137d67; font-weight: bold; text-align: left; }
.label { margin: 0 0 7px; color: #85939a; font-size: 10px; font-weight: bold; letter-spacing: 1px; }
aside .label { margin: 28px 10px 8px; }
.list { width: 100%; padding: 12px 10px; border: 0; border-radius: 9px; background: none; color: #516068; font-size: 14px; text-align: left; }
.list b { float: right; }.active { background: #edf8f5; color: #167d67; font-weight: bold; }.yellow { color: #af8128; }.pink { color: #a85d70; }
.members { position: absolute; right: 15px; bottom: 15px; left: 25px; padding-top: 16px; border-top: 1px solid #edf1f1; color: #74828a; font-size: 12px; }

section { width: 100%; max-width: 1020px; margin: auto; padding: 40px; }
.heading { display: flex; justify-content: space-between; }.heading h1 { margin: 4px 0; font-size: 29px; letter-spacing: -1px; outline: 0; }.heading small, article small { color: #7c8a91; font-size: 12px; }
.share { height: 38px; padding: 0 13px; }.cards { display: grid; grid-template-columns: 1fr 255px; gap: 17px; margin: 27px 0 21px; }.cards article { padding: 16px 20px; border: 1px solid #e5ecec; border-radius: 13px; background: #fff; }.cards strong { display: block; margin: 4px 0; font-size: 23px; }
.bar { height: 6px; margin: 10px 0; border-radius: 6px; background: #eaf0f0; }.bar i { display: block; height: 100%; border-radius: 6px; background: #1ca183; }.cards .total { border: 0; background: #174e50; color: #fff; }.total .label, .total small { color: #b9d8d3; }

form { display: grid; grid-template-columns: 1fr 110px auto; gap: 9px; margin-bottom: 23px; padding: 7px; border: 1px solid #dce7e7; border-radius: 13px; background: #fff; }.productInput { display: flex; }.productInput input { width: 100%; padding: 10px; border: 0; outline: 0; font-size: 15px; }.productInput button { width: 38px; border: 0; border-radius: 8px; background: #eff5f4; color: #258a77; }form label { padding: 11px; border-left: 1px solid #e7eeee; color: #75838a; font-size: 12px; }form label input { width: 52px; margin-left: 4px; border: 0; outline: 0; font-weight: bold; }.add { padding: 0 16px; border: 0; border-radius: 9px; background: #1c977d; color: #fff; font-weight: bold; }
.tableHead { display: grid; grid-template-columns: 1fr 106px 112px 115px; padding: 0 44px 10px 49px; color: #87949a; font-size: 10px; font-weight: bold; letter-spacing: 1px; }.items { overflow: hidden; border: 1px solid #e5ecec; border-radius: 13px; background: #fff; }.item { display: grid; grid-template-columns: 38px 1fr 106px 112px 115px 25px; align-items: center; min-height: 69px; padding: 9px 11px; border-bottom: 1px solid #edf1f1; }.item:last-child { border: 0; }.check { width: 23px; height: 23px; border: 1.5px solid #bdcacc; border-radius: 7px; background: #fff; color: #fff; }.done .check { border-color: #1b9e80; background: #1b9e80; }.itemName { font-size: 15px; font-weight: bold; }.doneName { color: #87949a; text-decoration: line-through; }.item small { display: block; margin-top: 3px; color: #9aa5aa; font-size: 11px; }.qty { width: 65px; border: 0; font-size: 14px; }.price { width: 90px; padding: 6px; border: 1px solid #e3e9e9; border-radius: 7px; color: #9aa6aa; font-size: 13px; }.price input { width: 64px; border: 0; outline: 0; font-size: 13px; }.subtotal { font-size: 14px; }.trash { border: 0; background: none; color: #b4bec1; font-size: 17px; opacity: .4; }
footer { display: flex; justify-content: space-between; padding: 17px 12px; color: #6a7980; font-size: 13px; }footer span { color: #29927b; }footer div { display: flex; align-items: center; gap: 19px; }footer b { color: #192c31; font-size: 20px; }nav { display: none; }

/* Phone layout: keep quantities visible without hiding price or subtotal. */
@media (max-width: 700px) { header { height: 60px; padding: 0 18px; }.online, aside { display: none; }.head-actions { gap: 8px; }main { min-height: calc(100vh - 60px); }section { padding: 25px 14px 88px; }.heading h1 { font-size: 24px; }.share { width: 40px; font-size: 0; }.cards { grid-template-columns: 1fr; gap: 10px; margin: 21px 0 16px; }.cards article { padding: 14px 16px; }form { grid-template-columns: 1fr 80px auto; gap: 4px; }form label { padding-left: 5px; }.add { padding: 0 10px; }.add span, .tableHead { display: none; }.item { grid-template-columns: 35px minmax(0, 1fr) 42px 74px 48px; gap: 3px; }.qty { display: block; width: 40px; padding: 6px 3px; border: 1px solid #e3e9e9; border-radius: 7px; font-size: 12px; text-align: center; }.itemName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.price { width: 70px; }.price input { width: 45px; }.subtotal { font-size: 12px; text-align: right; }.trash { display: none; }footer { padding: 16px 0; }nav { position: fixed; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-around; height: 67px; border-top: 1px solid #e5ecec; background: #fff; }nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: #637279; }nav button small { font-size: 10px; }.plus { width: 45px; height: 45px; border-radius: 15px !important; background: #1c977d !important; color: #fff !important; font-size: 24px !important; } }
