body,html{height:100%}
*,*::before,*::after{box-sizing:border-box}
.app-wrapper{height:100%;background:#000;display:flex;align-items:center;justify-content:center}
.phone-wrapper{position:relative;margin:auto;border:2px solid rgba(245,245,245,.7);background:#000;width:280px;height:560px;border-radius:25px;padding:6px;box-shadow:0 3px 6px rgba(0,0,0,.3);overflow:hidden}
.screen{position:relative;background:#0c1027;background-image:url("https://media.idownloadblog.com/wp-content/uploads/2017/09/iPhone-X-presentation-wallpaper-ar72014.jpg");background-size:cover;width:100%;height:100%;border-radius:20px;overflow:hidden;padding:48px 12px 20px 12px;display:flex;flex-direction:column;min-height:0}
.notch{width:118px;height:18px;background:#000;margin:auto;position:absolute;left:0;right:0;border-radius:0 0 10px 10px;z-index:10;top:12px}
.phone-stats{color:#fff;position:absolute;top:10px;right:15px;z-index:10;display:flex;gap:4px;font-size:12px;align-items:center;opacity:0.85}
.phone-stats .material-icons{font-size:14px;line-height:1}
.screen-content{flex:1;display:flex;flex-direction:column;min-height:0}
.screen-scroll{flex:1;display:flex;flex-direction:column;gap:16px;overflow-y:auto;overflow-x:hidden;padding:0 4px 4px;min-height:0;scrollbar-width:thin}
.screen-scroll::-webkit-scrollbar{width:4px}
.screen-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:4px}
.menu-button{width:100%;background:rgba(238,238,238,.5);border:none;padding:10px 15px 5px;margin:5px 0;text-align:left;cursor:pointer;display:flex;align-items:center;gap:8px;color:#111;font-weight:600;border-radius:12px;backdrop-filter:blur(8px)}
.menu-button i{font-size:18px}
.menu-button:disabled{opacity:.6;cursor:not-allowed}
.main-menu,.app-show-hide{padding:8px;color:#fff;flex:0 0 auto}
h1{font-size:16px;text-align:center;color:#fff;margin:0}
.shop .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:6px}
@media (min-width:480px){.shop .grid{grid-template-columns:repeat(3,1fr)}}
.shop .sku{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:6px;cursor:pointer;text-align:center;color:#f8fafc;min-height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.shop .sku img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}
.shop .sku .sku-name{font-size:12px;color:#fff;min-height:28px}
.shop .sku .sku-price{font-size:12px;color:#a7f3d0}
.shop .shop-toolbar{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:6px 0;color:#fff;flex-wrap:wrap}
.shop .shop-toolbar label{display:flex;align-items:center;gap:6px;flex:1 1 140px}
.shop .shop-toolbar select{margin-left:0;flex:1 1 auto}
.shop .shop-toolbar .pill-button{flex:1 1 140px;display:inline-flex;justify-content:center}
@media (max-width:360px){.shop .shop-toolbar{flex-direction:column;align-items:stretch}.shop .shop-toolbar .pill-button{width:100%}}
.cart{margin-top:8px;background:rgba(0,0,0,.35);border-radius:10px;padding:6px;color:#fff}
.cart-row{display:grid;grid-template-columns:40px 1fr auto auto 32px;gap:6px;align-items:center;margin:6px 0}
.cart-row img{width:40px;height:40px;object-fit:contain}
.cart-qty button{width:22px;height:22px}
.cart-total{font-weight:700;text-align:right;margin-top:6px}
.delivery-status{margin-top:8px;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.4);padding:6px;border-radius:10px;color:#d1fae5;font-size:13px}
.truck-preview{height:80px;background:rgba(255,255,255,.06);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#cbd5e1;margin-top:6px}
.hide{display:none}
.phone-overview{background:rgba(15,23,42,.55);border-radius:14px;padding:12px;margin-bottom:12px;color:#f8fafc;backdrop-filter:blur(8px);box-shadow:0 8px 16px rgba(15,23,42,.35)}
.phone-overview__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.phone-overview__title{font-weight:700;font-size:16px}
.phone-overview__meta{font-size:11px;color:rgba(248,250,252,.6)}
.phone-overview__grid{display:flex;gap:12px;justify-content:space-between;margin-bottom:6px}
.phone-overview__grid div{flex:1;display:flex;flex-direction:column;gap:2px;font-size:12px}
.phone-overview__grid strong{font-size:14px;color:#facc15}
.phone-overview__stats{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:rgba(248,250,252,.75)}
.phone-overview--empty{text-align:center;background:rgba(15,23,42,.35);color:#e2e8f0}
.phone-overview--empty strong{display:block;font-size:14px}
.phone-overview--empty span{display:block;font-size:12px;margin-top:4px}
.app-header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:12px}
.app-header h1{flex:1;margin:0;text-align:center;font-size:18px}
.app-header__spacer{display:inline-block;width:36px;height:36px}
.app-header--with-action .pill-button{min-width:88px}
.balance-cards{display:flex;flex-direction:column;gap:10px}
.balance-card{background:rgba(15,23,42,.45);border-radius:12px;padding:10px;color:#f8fafc;box-shadow:0 6px 12px rgba(15,23,42,.35)}
.balance-card__name{font-weight:600;font-size:14px;margin-bottom:4px}
.balance-card__amount{font-size:18px;color:#34d399;font-weight:700;margin-bottom:4px}
.balance-card__meta{display:flex;flex-wrap:wrap;gap:6px;font-size:11px;color:rgba(248,250,252,.7)}
.empty-state{text-align:center;color:#94a3b8;font-size:13px;margin-top:16px}
.icon-button{width:36px;height:36px;border:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(15,23,42,.5);color:#f8fafc;cursor:pointer;backdrop-filter:blur(10px);box-shadow:0 4px 10px rgba(15,23,42,.35)}
.icon-button i{font-size:20px}
.icon-button:active{transform:translateY(1px)}
.pill-button{background:rgba(56,189,248,.2);color:#f0f9ff;border:none;border-radius:999px;padding:8px 16px;font-weight:600;cursor:pointer;backdrop-filter:blur(10px);box-shadow:0 6px 12px rgba(15,23,42,.35);transition:background .2s ease,color .2s ease,opacity .2s ease}
.pill-button:hover{background:rgba(56,189,248,.35)}
.pill-button:disabled{opacity:.6;cursor:not-allowed}
.pill-button--primary{background:linear-gradient(135deg,rgba(45,212,191,.85),rgba(59,130,246,.85));color:#032541}
.pill-button--primary:hover{background:linear-gradient(135deg,rgba(45,212,191,.95),rgba(59,130,246,.95));color:#021a32}
.district-pulse{display:flex;flex-direction:column;gap:16px;color:#f8fafc}
.district-login{display:flex;justify-content:center;padding:12px 4px}
.district-login-card{background:linear-gradient(160deg,#94ff9c 0%,#34d399 40%,#0f172a 100%);border-radius:20px;padding:20px;box-shadow:0 14px 30px rgba(15,23,42,.45);width:100%;max-width:260px;color:#051b1f;position:relative;overflow:hidden}
.district-login-card::after{content:"";position:absolute;inset:4px;border-radius:16px;border:1px solid rgba(255,255,255,.35);pointer-events:none}
.district-login-card__logo{font-weight:800;font-size:20px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px;color:#032541}
.district-login-card__tagline{margin:0 0 12px;font-size:12px;color:rgba(3,37,65,.8)}
.district-login-card__fields{display:flex;flex-direction:column;gap:10px}
.district-input{width:100%;border:none;border-radius:8px;padding:8px 10px;text-align:center;font-weight:600;font-size:14px;color:#032541;box-shadow:0 4px 10px rgba(3,37,65,.2);background:#f8fafc}
.district-input[readonly]{cursor:default}
.district-login-card.is-typing .district-input{box-shadow:0 0 0 2px rgba(59,130,246,.4),0 8px 18px rgba(15,23,42,.35)}
.district-feed{background:rgba(15,23,42,.55);backdrop-filter:blur(12px);border-radius:18px;padding:14px;box-shadow:0 16px 30px rgba(15,23,42,.35);display:flex;flex-direction:column;gap:12px}
.district-feed__profile{display:flex;align-items:center;gap:10px}
.district-feed__avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid rgba(59,130,246,.55)}
.district-feed__status{font-size:11px;color:rgba(226,232,240,.75)}
.district-feed__composer textarea{width:100%;border:none;border-radius:12px;padding:10px 12px;font-size:13px;resize:none;background:rgba(15,23,42,.6);color:#f8fafc;box-shadow:inset 0 0 0 1px rgba(148,163,184,.25)}
.district-feed__composer textarea:focus{outline:none;box-shadow:0 0 0 2px rgba(59,130,246,.4)}
.district-feed__composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;font-size:11px;color:rgba(226,232,240,.7)}
.district-feed__timestamp{font-size:11px;color:rgba(226,232,240,.6);text-align:right}
.district-feed__list{display:flex;flex-direction:column;gap:12px;max-height:220px;overflow-y:auto;overflow-x:hidden;padding-right:4px}
.district-feed__list::-webkit-scrollbar{width:4px}
.district-feed__list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:3px}
.district-post{display:flex;gap:10px;background:rgba(15,23,42,.5);padding:10px;border-radius:12px;box-shadow:0 6px 12px rgba(15,23,42,.35)}
.district-post__avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}
.district-post__meta{display:flex;justify-content:space-between;font-size:12px;color:rgba(226,232,240,.8);margin-bottom:4px;gap:10px}
.district-post__meta strong{font-size:13px;color:#f8fafc}
.district-post__text{font-size:12px;line-height:1.4;color:#e2e8f0}
.district-feed__empty{text-align:center;font-size:12px;color:rgba(226,232,240,.7);padding:12px 0}
