/* Gmail (iOS app look) */
.gm, .gm-view { position: absolute; inset: 0; background: #fff; color: #1f1f1f; display: flex; flex-direction: column; }
.gm-scroll { flex: 1; overflow-y: auto; padding: 56px 12px 100px; scrollbar-width: none; }
.gm-scroll::-webkit-scrollbar { display: none; }
.gm-search { display: flex; align-items: center; gap: 6px; background: #EEF2F9; border-radius: 26px; padding: 5px 8px; }
.gm-search input { flex: 1; border: 0; background: none; font-size: 16px; outline: none; min-width: 0; padding: 6px 2px; }
.gm-ib { border: 0; background: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #444; padding: 0; }
.gm-me { width: 32px; height: 32px; border-radius: 50%; background: #7B1FA2; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.gm-ftitle { font-size: 13px; color: #5f6368; margin: 16px 6px 4px; font-weight: 600; }
.gm-row { display: flex; gap: 12px; padding: 10px 6px; cursor: pointer; border-radius: 12px; }
.gm-row:active { background: #f1f3f4; }
.gm-av { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; flex-shrink: 0; }
.gm-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gm-l1 { display: flex; justify-content: space-between; gap: 6px; }
.gm-l1 b { font-weight: 500; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-l1 span { font-size: 12.5px; color: #5f6368; white-space: nowrap; }
.gm-sub, .gm-snip { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-sub { color: #3c4043; }
.gm-snip { color: #5f6368; }
.gm-row.unread .gm-l1 b, .gm-row.unread .gm-sub { font-weight: 700; color: #1f1f1f; }
.gm-row.unread .gm-l1 span { color: #1f1f1f; font-weight: 700; }
.gm-star { border: 0; background: none; padding: 2px; align-self: flex-end; display: grid; }
.gm-draft { color: #D93025; font-weight: 600; }
.gm-fab { position: absolute; left: 16px; bottom: 44px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 18px; padding: 16px 20px;
  background: #C2E7FF; color: #001D35; font-size: 15px; font-weight: 600; box-shadow: 0 3px 10px #0002; }
.gm-vbar { display: flex; align-items: center; gap: 4px; padding: 52px 8px 4px; }
.gm-vbar span { flex: 1; }
.gm-vbody { flex: 1; overflow-y: auto; padding: 6px 16px 50px; scrollbar-width: none; }
.gm-vbody h2 { font-size: 21px; font-weight: 500; line-height: 1.4; margin: 4px 0 14px; }
.gm-chip { font-size: 11.5px; background: #E8EAED; color: #3c4043; border-radius: 4px; padding: 2px 6px; vertical-align: middle; font-weight: 500; }
.gm-from { display: flex; align-items: center; gap: 10px; }
.gm-from .gm-mid span { font-size: 12.5px; color: #5f6368; }
.gm-text { white-space: pre-wrap; line-height: 1.75; font-size: 15.5px; margin: 18px 2px; user-select: text; -webkit-user-select: text; }
.gm-actions { display: flex; gap: 10px; }
.gm-actions button { flex: 1; border: 1px solid #dadce0; background: #fff; border-radius: 20px; padding: 10px; font-size: 14.5px; color: #3c4043; }
.gm-drawer { position: absolute; inset: 0; z-index: 20; background: #0005; animation: fade .2s; }
.gm-panel { position: absolute; top: 0; bottom: 0; right: 0; width: 290px; background: #fff; padding: 60px 10px 20px; display: flex; flex-direction: column; gap: 2px; animation: gmslide .25s ease-out; }
@keyframes gmslide { from { transform: translateX(100%) } }
.gm-logo { font-size: 22px; color: #5f6368; padding: 0 16px 14px; font-weight: 500; }
.gm-panel button { border: 0; background: none; text-align: start; padding: 13px 16px; border-radius: 22px; font-size: 15px; display: flex; justify-content: space-between; color: #1f1f1f; }
.gm-panel button.on { background: #D3E3FD; font-weight: 700; }
.gm-panel button span { font-size: 13px; font-weight: 600; }
.gm-compose { position: absolute; inset: 0; z-index: 20; background: #0004; display: flex; align-items: flex-end; animation: fade .2s; }
.gm-csheet { width: 100%; height: calc(100% - 60px); background: #fff; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; animation: gmup .3s ease-out; }
@keyframes gmup { from { transform: translateY(100%) } }
.gm-cbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: .5px solid #ddd; }
.gm-link { border: 0; background: none; color: var(--blue); font-size: 16px; }
.gm-csheet input, .gm-csheet textarea { border: 0; border-bottom: .5px solid #e5e5ea; padding: 13px 16px; font-size: 16px; outline: none; }
.gm-csheet textarea { flex: 1; resize: none; border: 0; }
