*{box-sizing:border-box;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}html,body{height:100dvh;max-height:100dvh;overflow:hidden}.hidden{display:none!important}.app-main{overflow:hidden!important;height:100%!important;display:flex!important;flex-direction:column!important}.app-main-inner{height:100%!important;flex:1!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}main{height:100%!important;max-height:100%!important;flex:1!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.btn-blue{background-color:#2563eb;color:#fff;border:none;cursor:pointer;font-weight:600;border-radius:.75rem;transition:background .2s}.btn-blue:hover{background-color:#1d4ed8}.admin-nav{background-color:#0f172a;color:#fff;padding:.5rem 1rem;border-bottom:2px solid #2563eb;flex-shrink:0;z-index:25;width:100%}.phone-header{flex-shrink:0!important;position:relative;background:#f1f5f9;border-bottom:1px solid #e2e8f0;padding:.55rem 2.5rem;display:flex;align-items:center;justify-content:center;user-select:none;z-index:10;width:100%}.phone-header-title{font-size:.85rem;font-weight:800;color:#1e293b;cursor:pointer;padding:.2rem .5rem;border-radius:.5rem;transition:background .2s;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:1px;max-width:100%}.phone-header-title:hover{background:#e2e8f0}.identity-badge{font-size:.725rem;font-weight:600;color:#2563eb;background:#fff;border:1px solid #bfdbfe;padding:.2rem .55rem;border-radius:9999px}.info-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.75rem;width:100%}.info-trigger-btn{background:#f8fafc;border:1.5px solid #e2e8f0;padding:.6rem;border-radius:.75rem;text-align:center;cursor:pointer;transition:.2s}.info-trigger-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.info-trigger-btn h5{font-size:.8rem;font-weight:800;color:#1e293b}.info-trigger-btn span{font-size:.65rem;color:#64748b}.phone-chat-messages{flex:1!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:1rem;display:flex;flex-direction:column;gap:.65rem;background-color:#f8fafc;background-image:radial-gradient(#e2e8f0 .8px,transparent .8px);background-size:10px 10px;width:100%}.phone-chat-messages::-webkit-scrollbar{display:none}.msg-bubble{max-width:78%;padding:.5rem .75rem .35rem;border-radius:.75rem;font-size:.85rem;line-height:1.45;box-shadow:0 1px 2px #00000008;word-break:break-word}.msg-row-other{display:flex;justify-content:flex-start;width:100%}.msg-bubble-other{background-color:#fff;color:#1e293b;border:1px solid #e2e8f0;border-top-left-radius:.1rem}.msg-row-self{display:flex;justify-content:flex-end;width:100%}.msg-bubble-self{background-color:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;border-top-right-radius:.1rem}.msg-sender-name{font-size:.7rem;font-weight:700;color:#2563eb;margin-bottom:.15rem;display:block}.msg-time-stamp{font-size:.6rem;color:#94a3b8;float:right;margin-left:.5rem;margin-top:.2rem;display:inline-block}.chat-date-divider{text-align:center;margin:.75rem 0;font-size:.7rem;color:#64748b;background:#e2e8f0;padding:2px 10px;border-radius:9999px;align-self:center;font-weight:700}.phone-input-bar{flex-shrink:0!important;padding:.6rem .75rem;background:#f1f5f9;border-top:1px solid #e2e8f0;display:flex;gap:.5rem;align-items:center;width:100%;z-index:10}.phone-input-field{flex:1;padding:.6rem .85rem;background-color:#fff;border:1px solid #cbd5e1;border-radius:1.25rem;font-size:.875rem;outline:none}.phone-input-field:focus{border-color:#2563eb}.phone-send-btn{background-color:#2563eb;color:#fff;border:none;border-radius:1.25rem;padding:.6rem 1.1rem;font-weight:600;font-size:.85rem;cursor:pointer;transition:background .2s}.phone-send-btn:hover{background-color:#1d4ed8}.topic-select-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:.85rem;padding:.75rem;margin-bottom:.5rem;cursor:pointer;transition:.2s;width:100%}.topic-select-card:hover{border-color:#2563eb;background:#fafcfd}.input-field{width:100%;padding:.625rem;background-color:#fff;border:1px solid #cbd5e1;border-radius:.75rem;font-size:.875rem;outline:none}.input-field:focus{border-color:#2563eb}.tab-switch-group{display:flex;background:#e2e8f0;border-radius:.75rem;padding:3px;margin-bottom:.5rem;width:100%}.tab-btn{flex:1;background:transparent;border:none;padding:.4rem;font-size:.75rem;font-weight:700;color:#64748b;border-radius:.6rem;cursor:pointer;transition:.2s}.tab-btn.active{background:#fff;color:#1e293b;box-shadow:0 1px 3px #0000000d}
