:root {
  --green: #0f8a4c;
  --green-dark: #087a41;
  --green-soft: #edf7f1;
  --red: #e13f2b;
  --text: #171d19;
  --muted: #747d77;
  --line: #e3e8e4;
  --surface: #ffffff;
  --soft: #f5f7f5;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #edf2ee; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button { color: inherit; display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; }
button:focus-visible, input:focus-visible { outline: 2px solid #2a9b62; outline-offset: 2px; }
svg { width: 1em; height: 1em; display: block; }

.preview-shell { min-height: 100vh; display: grid; grid-template-columns: 390px minmax(280px, 420px); justify-content: center; align-items: center; gap: 52px; padding: 30px; }
.phone { width: 390px; height: 844px; max-height: calc(100vh - 40px); overflow: hidden; border: 10px solid #17201b; border-radius: 38px; background: #fff; box-shadow: 0 28px 72px rgba(16, 38, 25, .22); position: relative; }
.app { height: 100%; overflow: hidden; position: relative; }
.notes h1 { margin: 0 0 14px; font-size: 34px; letter-spacing: 0; }
.notes > p { margin: 0 0 24px; color: #56625b; line-height: 1.7; }
.note-card { margin-top: 12px; padding: 18px; border-left: 3px solid var(--green); background: #fff; display: grid; gap: 7px; }
.note-card span { color: #647068; line-height: 1.5; }
.production-h5 .preview-shell { display: block; min-height: 100vh; padding: 0; }
.production-h5 .phone { width: 100%; max-width: 480px; height: 100vh; max-height: none; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; }
.production-h5 .notes { display: none; }

.screen { height: calc(100% - 64px); overflow-y: auto; padding-bottom: 78px; background: #fff; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.home-screen { padding-bottom: 120px; }
.home-header { padding: 8px 12px 7px; background: #fff; }
.brand-row { min-height: 29px; display: flex; align-items: center; gap: 8px; }
.brand-lockup { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; }
.brand-lockup img { width: 28px; height: 28px; object-fit: contain; }
.brand { flex-shrink: 0; color: var(--green-dark); font-size: 21px; font-weight: 900; }
.address { min-width: 0; display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.address svg { width: 16px; height: 16px; }
.address svg:last-child { width: 13px; height: 13px; }
.delivery-chip { margin-left: auto; padding: 5px 8px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.delivery-chip svg { width: 14px; height: 14px; }
.header-cart { position: relative; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; line-height: 0; }
.header-cart svg { width: 22px; height: 22px; }
.header-cart b, .tabbar button b { position: absolute; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--green); color: #fff; font-size: 10px; line-height: 17px; }
.header-cart b { right: -2px; top: -2px; }
.search-field { height: 36px; margin-top: 6px; padding: 0 4px 0 12px; border: 1px solid #d9dfdb; border-radius: 19px; display: flex; align-items: center; gap: 8px; }
.search-field > svg { width: 21px; height: 21px; color: #646d67; }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--text); font-size: 14px; background: transparent; }
.search-field button { height: 30px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--green); color: #fff; font-weight: 800; cursor: pointer; }

.fresh-carousel { position: relative; height: 174px; overflow: hidden; background: #eef5ef; }
.fresh-carousel > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-shade { position: absolute; inset: 0; background: rgba(5, 45, 25, .22); pointer-events: none; }
.carousel-copy { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: #fff; }
.carousel-copy h2 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: 0; }
.carousel-copy span { width: max-content; margin-top: 13px; padding: 7px 10px; border-radius: 18px; background: rgba(255,255,255,.9); color: #1f2e25; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; }
.carousel-copy svg { width: 14px; height: 14px; color: var(--green); }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 7px; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.62); cursor: pointer; }
.carousel-dots button.active { background: var(--green); }
.theme-promotion .search-field button, .theme-promotion .quick-add, .theme-promotion .round-add, .theme-promotion .deal-tabs button.active { background: #d94730; }
.theme-promotion .carousel-shade { background: rgba(95, 24, 12, .22); }
.theme-community .fresh-carousel { height: 138px; }
.theme-community .delivery-chip { background: #eef6fa; color: #18758b; }
.home-content { padding: 8px 12px 0; }
.api-state { margin-bottom: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 13px; }
.api-state.error { display: grid; gap: 7px; border-color: #f1b9b1; color: #9c3024; }

.quick-panel { padding: 8px 0 11px; border-bottom: 1px solid var(--line); }
.section-heading, .deals-heading, .category-title, .row, .settlement, .order-card > div, .order-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.section-heading > div { display: flex; align-items: baseline; gap: 9px; }
.section-heading h2, .deals-heading h2 { margin: 0; font-size: 20px; }
.section-heading span { color: #858d88; font-size: 12px; }
.section-heading > button { padding: 5px 0; border: 0; background: transparent; color: var(--green); display: flex; align-items: center; font-size: 12px; font-weight: 750; cursor: pointer; }
.section-heading > button svg { width: 14px; height: 14px; }
.quick-list { margin-top: 7px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.quick-item { min-width: 0; }
.quick-item > img { width: 100%; aspect-ratio: 1.35; border-radius: 6px; object-fit: cover; display: block; background: var(--soft); cursor: pointer; }
.quick-item > strong, .quick-item > span, .quick-item > em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-item > strong { margin-top: 6px; font-size: 12px; }
.quick-item > span { margin-top: 2px; color: #808883; font-size: 10px; }
.quick-item > em { margin-top: 3px; color: var(--red); font-size: 13px; font-style: normal; font-weight: 850; }
.stepper { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; }
.stepper button, .cart-stepper button { width: 23px; height: 23px; padding: 0; border: 1px solid #cbd3cd; border-radius: 50%; background: #fff; color: #445049; display: flex; align-items: center; justify-content: center; line-height: 1; cursor: pointer; }
.stepper button svg, .cart-stepper button svg { width: 13px; height: 13px; }
.stepper button:last-child, .cart-stepper button:last-child { border-color: var(--green); color: var(--green); }
.stepper b { font-size: 13px; }
.quick-add { width: 100%; height: 36px; margin-top: 9px; border: 0; border-radius: 6px; background: var(--green); color: #fff; font-size: 13px; font-weight: 900; cursor: pointer; }

.deals-section { padding-top: 10px; }
.deals-heading { align-items: center; }
.deal-tabs { min-width: 0; flex: 1; overflow-x: auto; display: flex; justify-content: flex-end; gap: 4px; scrollbar-width: none; }
.deal-tabs::-webkit-scrollbar { display: none; }
.deal-tabs button { flex-shrink: 0; padding: 6px 8px; border: 0; border-radius: 14px; background: transparent; color: #727a75; font-size: 11px; cursor: pointer; }
.deal-tabs button.active { background: var(--green); color: #fff; font-weight: 800; }
.deal-grid, .category-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.load-more { width:100%; min-height:42px; margin:14px 0 4px; border:1px solid #cfe0d6; border-radius:6px; background:#fff; color:#0f7a43; font-size:12px; font-weight:700; cursor:pointer; }
.deal-card { min-width: 0; min-height: 105px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; display: grid; grid-template-columns: 1.02fr .98fr; cursor: pointer; }
.deal-image { width: 100%; height: 100%; min-height: 105px; object-fit: cover; display: block; background: var(--soft); }
.deal-body { min-width: 0; padding: 8px 6px; }
.deal-name, .deal-unit { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deal-name { font-size: 12px; }
.deal-unit { margin-top: 2px; color: var(--muted); font-size: 11px; }
.deal-label { display: inline-block; max-width: 100%; margin-top: 5px; padding: 2px 5px; overflow: hidden; border: 1px solid #67aa80; border-radius: 3px; color: #148049; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.deal-bottom { min-height: 39px; margin-top: 5px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.deal-price { display: block; color: var(--red); font-size: 14px; font-weight: 900; }
.deal-bottom del { color: #a1a7a3; font-size: 10px; }
.round-add { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; line-height: 0; cursor: pointer; }
.round-add svg { width: 14px; height: 14px; }
.delivery-float { position: absolute; left: 10px; right: 10px; bottom: 70px; min-height: 50px; padding: 8px 10px; border: 1px solid #d9e8e0; border-radius: 6px; background: #f2fbff; color: #08768a; box-shadow: 0 7px 20px rgba(16, 42, 27, .13); display: flex; align-items: center; justify-content: space-between; z-index: 10; cursor: pointer; }
.delivery-float > span { display: grid; gap: 2px; text-align: left; }
.delivery-float small { color: #4d5952; font-size: 10px; }
.delivery-float > i { position: relative; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; color: var(--text); font-style: normal; }
.delivery-float > i b { position: absolute; right: -5px; top: -7px; width: 17px; height: 17px; border-radius: 50%; background: #ec3c32; color: #fff; font-size: 10px; line-height: 17px; text-align: center; }

.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-top: 1px solid var(--line); background: rgba(255,255,255,.98); display: grid; grid-template-columns: repeat(5, 1fr); z-index: 30; }
.tabbar button { position: relative; border: 0; background: transparent; color: #68706b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; cursor: pointer; }
.tabbar button svg { width: 21px; height: 21px; }
.tabbar button.active { color: var(--green); font-weight: 800; }
.tabbar button b { right: 17px; top: 7px; background: #ef3e34; }

.inner-screen { padding: 14px 14px 95px; background: #f6f8f6; }
.delivery-row, .cart-row, .order-card, .empty-state, .address-card, .profile-stats, .service-card, .detail-info, .detail-stats { border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.delivery-row { padding: 13px; display: flex; align-items: center; justify-content: space-between; }
.delivery-row div { display: grid; gap: 4px; }
.delivery-row span { color: var(--muted); font-size: 11px; }
.delivery-row > b { color: var(--green); font-size: 12px; }
.cart-row { margin-top: 10px; padding: 10px; display: grid; grid-template-columns: 24px 65px 1fr; align-items: center; gap: 9px; }
.cart-row > img { width: 65px; height: 65px; border-radius: 5px; object-fit: cover; }
.cart-row > div { min-width: 0; }
.check { width: 22px; height: 22px; padding: 0; border: 1px solid #b8c1bb; border-radius: 50%; background: #fff; color: transparent; line-height: 0; }
.check svg { width: 13px; height: 13px; }
.check.on { border-color: var(--green); background: var(--green); color: #fff; }
.cart-row small { color: var(--muted); font-size: 10px; }
.cart-row em { color: var(--red); font-style: normal; font-weight: 900; }
.cart-stepper { display: flex; align-items: center; gap: 8px; }
.cart-stepper button { width: 23px; height: 23px; }
.settlement { position: absolute; left: 0; right: 0; bottom: 64px; min-height: 68px; padding: 9px 14px; border-top: 1px solid var(--line); background: #fff; z-index: 20; }
.settlement > div { display: grid; gap: 4px; }
.settlement small { color: var(--muted); font-size: 10px; }
.delivery-time-select { max-width:170px; padding:4px 7px; border:1px solid #cbd6d0; border-radius:4px; background:#fff; color:#284236; font-size:10px; }
.settlement em { color: var(--red); font-style: normal; }
.primary-btn, .outline-btn { min-height: 40px; padding: 0 19px; border-radius: 6px; font-weight: 850; cursor: pointer; }
.primary-btn { border: 0; background: var(--green); color: #fff; }
.outline-btn { border: 1px solid var(--green); background: #fff; color: var(--green); }
.empty-state { min-height: 300px; margin-top: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.empty-state > svg { width: 48px; height: 48px; color: #8d9690; }
.empty-state h3, .empty-state p { margin: 0; }
.empty-state p { color: var(--muted); font-size: 12px; }

.category-layout { padding: 0; display: grid; grid-template-columns: 88px 1fr; background: #fff; }
.category-side { height: 100%; overflow-y: auto; border-right: 1px solid var(--line); background: #f3f6f4; }
.category-side button { width: 100%; min-height: 70px; border: 0; border-left: 3px solid transparent; background: transparent; color: #667069; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 11px; cursor: pointer; }
.category-side button svg { width: 20px; height: 20px; }
.category-side button.active { border-left-color: var(--green); background: #fff; color: var(--green); font-weight: 800; }
.category-main { min-width: 0; padding: 14px 10px 90px; overflow-y: auto; }
.category-title h2 { margin: 0; font-size: 20px; }
.category-title span { color: var(--muted); font-size: 10px; }
.category-title b { color: var(--green); font-size: 11px; }
.sort-row { margin-top: 10px; display: flex; gap: 6px; }
.sort-row button, .order-tabs button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--muted); font-size: 10px; cursor: pointer; }
.sort-row button.active, .order-tabs button.active { border-color: var(--green); background: var(--green); color: #fff; }
.category-grid { grid-template-columns: 1fr; }
.category-grid .deal-card { display: grid; grid-template-columns: 92px 1fr; }
.category-grid .deal-image { height: 100%; min-height: 112px; }
.order-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.order-card { margin-top: 10px; padding: 13px; }
.order-card p { margin: 12px 0; font-size: 12px; }
.order-card span, .order-card small { color: var(--muted); font-size: 11px; }
.order-card b { color: var(--green); font-size: 12px; }
.order-card em { color: var(--red); font-style: normal; font-weight: 900; }
.order-card .order-discount, .settlement .cart-discount { display: block; margin-top: 5px; color: var(--green); font-size: 10px; font-weight: 700; }
.refund-state { margin-top:10px; padding:10px 11px; border-left:3px solid var(--green); background:#f1f7f3; display:grid !important; gap:3px; }
.refund-state strong { color:var(--green); font-size:11px; }.refund-state span,.refund-state small { color:#58645e; font-size:10px; line-height:1.5; }
.refund-state.attention { border-left-color:#c8782b; background:#fff8ef; }.refund-state.attention strong { color:#a85d18; }
.order-card .order-actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.order-actions button { min-height: 34px; padding: 0 10px; border: 1px solid #8dc4a6; border-radius: 5px; background: #fff; color: var(--green); font-size: 11px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.order-actions button.primary { border-color: var(--green); background: var(--green); color: #fff; }
.order-actions button.danger { border-color: #e5b1aa; color: #b84034; }
.order-actions button svg { width: 14px; height: 14px; }
.order-progress { height: 4px; margin: 9px 0 7px; overflow: hidden; border-radius: 2px; background: #e7ece8; }
.order-progress i { display: block; height: 100%; border-radius: inherit; background: var(--green); transition: width .2s ease; }
.order-track-button { width: 100%; height: 36px; margin-top: 12px; border: 1px solid var(--green); border-radius: 5px; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 800; cursor: pointer; }
.order-track-button svg { width: 15px; height: 15px; }
.tracking-preview { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tracking-preview.loading { min-height: 52px; place-items: center; }
.tracking-map-preview { min-height: 92px; padding: 14px; border: 1px solid #d9e4dc; border-radius: 5px; background: #f3f8f4; display: grid; grid-template-columns: 34px 1fr; align-content: center; align-items: center; gap: 3px 10px; }
.tracking-map-preview > b { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgb(16 93 58 / 24%); }
.tracking-map-preview > b svg { width: 17px; height: 17px; }
.tracking-map-preview > strong { color: #193d2b; font-size: 13px; }
.tracking-map-preview > small { color: #708078; font-size: 11px; }
.tracking-copy { display: grid; gap: 5px; }
.tracking-copy strong { font-size: 13px; }

.profile-screen { background: #f5f7f5; }
.profile-screen > header { padding: 26px 18px; background: var(--green-dark); color: #fff; display: flex; align-items: center; gap: 13px; }
.profile-screen > header > div { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; font-size: 21px; font-weight: 900; }
.profile-screen > header span { display: grid; gap: 4px; }
.profile-screen > main { padding: 14px; }
.member-row { width: 100%; padding: 15px; border: 0; border-radius: 5px; background: #fff6d9; display: grid; gap: 5px; text-align: left; cursor: pointer; }
.member-row span { color: #6f653d; font-size: 11px; }
.profile-stats { margin-top: 10px; padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.profile-stats div { display: grid; gap: 5px; }
.profile-stats span, .address-card span { color: var(--muted); font-size: 11px; }
.address-card { position:relative; width:100%; margin-top:10px; padding:16px; border:1px solid var(--line); border-radius:6px; background:#fff; display:grid; gap:7px; text-align:left; cursor:pointer; }
.address-card em { position:absolute; right:14px; top:16px; color:var(--green); font-size:10px; font-style:normal; }
.address-manager { position:absolute; inset:0; z-index:70; padding:16px; overflow-y:auto; background:rgba(20,31,24,.48); display:flex; align-items:flex-end; }
.address-manager>section { width:100%; max-height:92%; padding:18px; overflow-y:auto; border-radius:8px 8px 0 0; background:#f6f8f6; }
.address-manager header { display:flex; align-items:center; justify-content:space-between; }.address-manager header small { color:var(--green); font-size:9px; }.address-manager h2 { margin:3px 0 0; font-size:19px; }
.address-manager header>button { width:34px; height:34px; padding:0; border:1px solid var(--line); border-radius:5px; background:#fff; display:grid; place-items:center; }.address-manager header svg { width:17px; }
.address-service-note { margin:14px 0 10px; padding:10px; border-left:3px solid var(--green); background:#e9f5ee; color:#356047; font-size:10px; line-height:1.6; }
.address-list { display:grid; gap:8px; }.address-list article { padding:12px; border:1px solid var(--line); border-radius:6px; background:#fff; }
.address-select { width:100%; padding:0; border:0; background:transparent; display:grid; gap:7px; text-align:left; }.address-select>span { display:flex; align-items:center; gap:7px; }.address-select small { color:var(--muted); }.address-select b { padding:2px 5px; border-radius:3px; background:#e2f2e8; color:var(--green); font-size:8px; }.address-select em { color:#34433a; font-size:11px; font-style:normal; line-height:1.5; }
.address-list footer { margin-top:10px; padding-top:8px; border-top:1px solid var(--line); display:flex; justify-content:flex-end; gap:6px; }.address-list footer button { min-height:30px; padding:0 10px; border:1px solid #ccd6d0; border-radius:4px; background:#fff; font-size:9px; }.address-list footer .danger { color:#a84137; }
.address-add { width:100%; margin-top:12px; }.address-empty { padding:40px 0; color:var(--muted); text-align:center; font-size:12px; }
.address-form { margin-top:14px; display:grid; gap:12px; }.address-form label { color:#425048; font-size:10px; font-weight:700; display:grid; gap:6px; }.address-form input,.address-form textarea,.address-form select { width:100%; padding:10px; border:1px solid #ccd6d0; border-radius:5px; background:#fff; font:inherit; font-weight:400; }.address-form textarea { min-height:82px; resize:vertical; }.address-form .address-default { grid-template-columns:auto 1fr; align-items:center; }.address-default input { width:auto; }
.address-area-fields { display:grid; grid-template-columns:1fr 105px; gap:8px; }

.detail-modal { position: absolute; inset: 0; padding-bottom: 66px; overflow-y: auto; background: #f6f8f6; z-index: 50; }
.detail-media { position: relative; height: 340px; background: #fff; }
.detail-gallery { width: 100%; height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.detail-gallery::-webkit-scrollbar { display: none; }
.detail-gallery img { min-width: 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.detail-media > button { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); line-height: 0; z-index: 2; cursor: pointer; }
.detail-media > button svg { width: 20px; height: 20px; }
.detail-modal > main { padding: 12px; }
.detail-info { padding: 16px; }
.detail-info > div { display: flex; align-items: center; justify-content: space-between; }
.detail-info h2 { margin: 0; font-size: 23px; }
.detail-info span { color: var(--green); font-size: 12px; }
.detail-info p { color: var(--muted); font-size: 13px; }
.detail-info > strong { color: var(--red); font-size: 23px; }
.detail-info small { color: var(--muted); font-size: 11px; }
.detail-stats { margin-top: 10px; padding: 13px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.detail-stats div { display: grid; gap: 5px; }
.detail-stats span { color: var(--muted); font-size: 11px; }
.detail-modal h3 { margin: 17px 0 9px; }
.detail-loading { padding: 10px 12px; border: 1px solid #cfe3d7; border-radius: 6px; background: #eef8f2; color: var(--green); font-size: 12px; text-align: center; }
.detail-images { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.detail-images img { width: 100%; height: auto; display: block; }
.detail-text { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #526159; font-size: 12px; line-height: 1.75; }
.service-card { padding: 15px; }
.service-card strong { display: flex; align-items: center; gap: 7px; }
.service-card p { margin: 6px 0 14px; color: var(--muted); font-size: 12px; }
.detail-actions { position: sticky; left: 0; right: 0; bottom: 0; padding: 9px 12px; border-top: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

@media (max-width: 900px) {
  body { background: #fff; }
  .preview-shell { display: block; min-height: 100vh; padding: 0; }
  .phone { width: 100%; height: 100vh; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
  .notes { display: none; }
}
