:root{color:#1f2937;background:#f5f6f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif}*{box-sizing:border-box}body{background:#f5f6f8;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{border:0}.app-shell{min-height:100vh;padding-bottom:76px}.auth-page{background:linear-gradient(135deg,#1b1550,#ff6b00);place-items:center;min-height:100vh;padding:24px;display:grid}.brand-card{text-align:center;background:#fff;border-radius:28px;width:100%;max-width:420px;padding:32px 24px;box-shadow:0 18px 50px #0000002e}.logo{color:#fff;background:#1b2559;border-radius:18px;place-items:center;width:58px;height:58px;margin:0 auto 16px;font-weight:800;display:grid}.brand-card h1,.topbar h1{margin:0;font-size:22px}.brand-card p,.topbar p{color:#6b7280;line-height:1.6}.topbar{z-index:3;padding:max(16px, env(safe-area-inset-top)) 18px 14px;background:#fff;border-bottom:1px solid #edf0f5;justify-content:space-between;gap:12px;display:flex;position:sticky;top:0}.topbar p{margin:4px 0 0;font-size:13px}.page{padding:16px}.grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.metric{background:#fff;border-radius:18px;padding:18px;box-shadow:0 8px 24px #1f29370f}.metric span{color:#ff6b00;font-size:28px;font-weight:800}.metric p{color:#6b7280;margin:8px 0 0;font-size:13px}.metric.warn span{color:#ef4444}.quick-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0;display:grid}.quick-grid button{color:#f97316;background:#fff3e8;border-radius:14px;padding:14px 6px}.card,.customer,.review,.profile{background:#fff;border-radius:18px;padding:14px;box-shadow:0 8px 24px #1f29370f}.section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-title h2{margin:8px 0;font-size:18px}.text-btn{color:#6b7280;background:0 0;padding:8px}.review,.customer{gap:12px;margin-bottom:12px;display:flex}.avatar{color:#fff;background:#ff6b00;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.avatar.large{width:58px;height:58px;font-size:22px}.grow{flex:1;min-width:0}.grow h3{margin:0 0 6px;font-size:16px}.grow p{color:#4b5563;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 8px;display:-webkit-box;overflow:hidden}.grow small,.muted{color:#9ca3af}.search{gap:10px;margin-bottom:14px;display:flex}input,textarea{background:#fff;border:1px solid #e5e7eb;border-radius:14px;outline:none;width:100%;padding:12px 14px}textarea{resize:vertical}.search button,.primary{color:#fff;background:linear-gradient(135deg,#ff7a18,#ff5a00);border-radius:14px;padding:12px 16px}.secondary{color:#374151;background:#f3f4f6;border-radius:14px;padding:12px 16px}.primary:disabled{opacity:.55}.back{color:#ff6b00;background:0 0;margin-bottom:12px}.profile{align-items:center;gap:14px;margin-bottom:14px;display:flex}.chat{flex-direction:column;gap:10px;min-height:260px;margin-bottom:76px;display:flex}.bubble{border-radius:18px;max-width:80%;padding:12px 14px;line-height:1.5}.bubble.left{background:#fff;align-self:flex-start}.bubble.right{background:#ddf7e9;align-self:flex-end}.reply-box{background:#fff;border-radius:18px;gap:8px;padding:10px;display:flex;position:fixed;bottom:76px;left:12px;right:12px;box-shadow:0 10px 30px #0000001a}.reply-box button{color:#fff;background:#ff6b00;border-radius:14px;padding:0 16px}.tabs{z-index:5;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #edf0f5;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabs button{color:#6b7280;background:0 0;padding:10px 4px}.tabs button.active{color:#ff6b00;font-weight:700}.sheet-mask{z-index:10;background:#00000073;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:#fff;border-radius:22px 22px 0 0;width:100%;padding:18px}.sheet h2{margin:0 0 6px}.actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;display:grid}.empty{color:#9ca3af;text-align:center;padding:40px 16px}.error{color:#ef4444!important}
