/* mail-api web UI: only what the captured theme didn't have (toasts, empty list, open panel, login/setup). */
html:not(.ma-ready) .envelope-list .mailbox { visibility: hidden; }

.gm-toast {
	position: fixed; left: 24px; bottom: 24px; z-index: 10000; display: flex; align-items: center; gap: 16px;
	background: #202124; color: #fff; border-radius: 8px; padding: 12px 16px; font: 14px/20px var(--gm-font-text, inherit);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25); max-width: min(560px, calc(100vw - 48px)); animation: ma-toast-in .18s ease-out;
}
.gm-toast--warn { background: #8a1c1c; }
.gm-toast button { all: unset; cursor: pointer; color: var(--y-purple-light, #ffedd5); font-weight: 600; }
@keyframes ma-toast-in { from { transform: translateY(8px); opacity: 0 } }

.gm-empty-list { padding: 48px 24px; text-align: center; color: var(--color-text-maxcontrast, #6b6b6b); font-size: 15px; }

#mn-open-panel .mn-wipe { padding: 28px 24px; }
#mn-open-panel .mn-subj { font: 500 22px/28px var(--gm-font, inherit); color: var(--color-main-text, #222); }
#mn-open-panel .mn-from { margin-top: 10px; font: 14px/20px var(--gm-font-text, inherit); color: var(--color-text-maxcontrast, #666); }

.gm-menu__search { width: calc(100% - 16px); margin: 6px 8px; box-sizing: border-box; }
.gm-menu__scroll { max-height: min(60vh, 420px); overflow: auto; }

/* sign-in / first run (auth.js): brand panel + form card on a warm gradient; one column under 820 px */
#ma-auth { --o: var(--y-purple, #ea580c); --od: var(--y-purple-dark, #c2410c); --oi: var(--y-purple-ink, #9a3412); --ol: var(--y-purple-light, #ffedd5);
	--ink: #1f1a17; --mute: #6f6660; --line: #e7e0da;
	position: fixed; inset: 0; z-index: 20000; display: grid; place-items: center; overflow: auto; padding: 24px 16px; box-sizing: border-box;
	background: #fbf7f3; font: 14px/20px var(--gm-font-text, var(--gm-font, system-ui, sans-serif)); color: var(--ink); }
#ma-auth *, #ma-auth *::before, #ma-auth *::after { box-sizing: border-box; }
#ma-auth .ma-bg { position: fixed; inset: 0; pointer-events: none;
	background: radial-gradient(42vmax 42vmax at 8% 12%, rgba(251, 146, 60, .28), transparent 70%),
		radial-gradient(38vmax 38vmax at 95% 90%, rgba(234, 88, 12, .18), transparent 70%),
		radial-gradient(30vmax 30vmax at 85% 8%, rgba(253, 186, 116, .25), transparent 70%); }
#ma-auth .ma-bg::after { content: ''; position: absolute; inset: 0; opacity: .5;
	background-image: radial-gradient(rgba(154, 52, 18, .12) 1px, transparent 1px); background-size: 22px 22px;
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
#ma-auth .ma-svg { width: 100%; height: 100%; fill: currentColor; display: block; }

#ma-auth .ma-card { position: relative; display: grid; grid-template-columns: 380px 440px; width: min(820px, 100%); min-height: 540px;
	background: #fff; border-radius: 24px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(60, 30, 10, .06), 0 12px 32px -8px rgba(120, 50, 10, .18), 0 40px 80px -24px rgba(120, 50, 10, .22);
	animation: ma-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ma-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
#ma-auth .ma-card.ma-shake { animation: ma-shake .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes ma-shake { 20%, 80% { transform: translateX(-2px); } 30%, 50%, 70% { transform: translateX(5px); } 40%, 60% { transform: translateX(-5px); } }

/* brand panel */
#ma-auth .ma-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 36px 34px; color: #fff; overflow: hidden;
	background: linear-gradient(155deg, #fb923c 0%, var(--o) 38%, var(--od) 72%, var(--oi) 100%); }
#ma-auth .ma-brand::before { content: ''; position: absolute; width: 420px; height: 420px; right: -190px; top: -170px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
#ma-auth .ma-brand::after { content: ''; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -150px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03); }
#ma-auth .ma-logo { position: relative; display: flex; align-items: center; gap: 12px; }
#ma-auth .ma-mark { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: rgba(255, 255, 255, .18);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 6px 16px rgba(80, 20, 0, .2); backdrop-filter: blur(6px); }
#ma-auth .ma-word { display: grid; font: 700 22px/22px var(--gm-font, sans-serif); letter-spacing: -.02em; }
#ma-auth .ma-word small { font: 500 12px/16px var(--gm-font, sans-serif); letter-spacing: .02em; opacity: .8; margin-top: 3px; }
#ma-auth .ma-stack { position: relative; display: grid; gap: 12px; margin: 8px 0; }
#ma-auth .ma-msg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 10px 24px -10px rgba(80, 20, 0, .45); backdrop-filter: blur(8px);
	animation: ma-float 6s ease-in-out infinite; }
#ma-auth .ma-msg--0 { background: rgba(255, 255, 255, .95); color: var(--oi); margin-right: 26px; }
#ma-auth .ma-msg--1 { margin-left: 26px; animation-delay: -2s; }
#ma-auth .ma-msg--2 { margin-right: 52px; animation-delay: -4s; opacity: .8; }
@keyframes ma-float { 50% { transform: translateY(-5px); } }
#ma-auth .ma-msg__av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--gm-font, sans-serif);
	background: rgba(255, 255, 255, .25); color: #fff; }
#ma-auth .ma-msg--0 .ma-msg__av { background: var(--o); }
#ma-auth .ma-msg__lines { flex: 1; display: grid; gap: 7px; }
#ma-auth .ma-msg__lines i { display: block; height: 7px; border-radius: 4px; background: currentColor; opacity: .55; }
#ma-auth .ma-msg__lines i:first-child { opacity: .9; height: 8px; }
#ma-auth .w50 { width: 50%; } #ma-auth .w60 { width: 60%; } #ma-auth .w70 { width: 70%; } #ma-auth .w80 { width: 80%; } #ma-auth .w90 { width: 90%; }
#ma-auth .ma-tag { position: relative; display: grid; gap: 6px; }
#ma-auth .ma-tag b { font: 600 20px/26px var(--gm-font, sans-serif); letter-spacing: -.01em; }
#ma-auth .ma-tag span { opacity: .85; }

/* form side */
#ma-auth .ma-pane { display: flex; flex-direction: column; justify-content: center; padding: 44px 48px 28px; }
#ma-auth .ma-form { display: grid; gap: 14px; }
#ma-auth .ma-head { margin-bottom: 6px; }
#ma-auth h1 { margin: 0; font: 650 28px/34px var(--gm-font, sans-serif); letter-spacing: -.025em; color: var(--ink); }
#ma-auth .ma-head p { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
#ma-auth .ma-hint { color: var(--mute); font-size: 13px; margin-top: -6px; }

#ma-auth .ma-chip { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 999px; background: #fff7ed;
	box-shadow: inset 0 0 0 1px #fde3c8; animation: ma-rise .35s ease both; }
#ma-auth .ma-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 15px/1 var(--gm-font, sans-serif);
	box-shadow: 0 0 0 3px #fff; }
#ma-auth .ma-who { flex: 1; min-width: 0; display: grid; line-height: 18px; }
#ma-auth .ma-who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ma-auth .ma-who small { color: var(--mute); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ma-auth .ma-switch { all: unset; box-sizing: border-box; flex: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; color: var(--od); font-weight: 600; font-size: 13px; }
#ma-auth .ma-switch:hover { background: #ffedd5; }
#ma-auth .ma-switch:focus-visible { outline: 2px solid var(--o); outline-offset: 1px; }
#ma-auth .ma-form--known .ma-field--user { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

#ma-auth .ma-field { position: relative; display: block; }
#ma-auth .ma-in { width: 100%; height: 54px; padding: 20px 46px 6px 46px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
	font: 500 15px/20px var(--gm-font-text, sans-serif); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
#ma-auth .ma-in:hover { border-color: #d6cbc2; }
#ma-auth .ma-in:focus { border-color: var(--o); box-shadow: 0 0 0 4px rgba(234, 88, 12, .14); }
#ma-auth .ma-in:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--ink); }
#ma-auth .ma-lbl { position: absolute; left: 46px; top: 17px; color: var(--mute); font-size: 15px; pointer-events: none; transform-origin: 0 0;
	transition: transform .16s cubic-bezier(.2, .8, .2, 1), color .16s; }
#ma-auth .ma-in:focus ~ .ma-lbl, #ma-auth .ma-in:not(:placeholder-shown) ~ .ma-lbl, #ma-auth .ma-in:-webkit-autofill ~ .ma-lbl { transform: translateY(-10px) scale(.78); }
#ma-auth .ma-in:focus ~ .ma-lbl { color: var(--od); }
#ma-auth .ma-field > .ma-ic { position: absolute; left: 15px; top: 16px; width: 20px; height: 20px; color: #a89d95; pointer-events: none; transition: color .15s; }
#ma-auth .ma-field:focus-within > .ma-ic { color: var(--o); }
#ma-auth .ma-eye { all: unset; box-sizing: border-box; position: absolute; right: 8px; top: 8px; width: 38px; height: 38px; padding: 9px; border-radius: 10px; cursor: pointer; color: #8f847c; }
#ma-auth .ma-eye:hover { background: #f6f1ec; color: var(--ink); }
#ma-auth .ma-eye:focus-visible { outline: 2px solid var(--o); }

#ma-auth .ma-caps { font-size: 12.5px; color: var(--oi); background: #fff7ed; border-radius: 8px; padding: 4px 10px; justify-self: start; margin-top: -6px; }
#ma-auth .ma-err { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fef2f2; color: #b42318;
	box-shadow: inset 0 0 0 1px #fecaca; font-weight: 500; }
#ma-auth .ma-err .ma-ic { flex: none; width: 18px; height: 18px; }
#ma-auth [hidden] { display: none !important; }

#ma-auth .ma-go { all: unset; position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 6px;
	border-radius: 14px; cursor: pointer; color: #fff; font: 600 16px/1 var(--gm-font, sans-serif); letter-spacing: .005em;
	background: linear-gradient(180deg, #f97316, var(--o) 55%, var(--od)); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -6px rgba(234, 88, 12, .6);
	transition: transform .12s, box-shadow .15s, filter .15s; }
#ma-auth .ma-go:hover { filter: brightness(1.05); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 26px -6px rgba(234, 88, 12, .7); }
#ma-auth .ma-go:active { transform: translateY(1px) scale(.995); }
#ma-auth .ma-go:focus-visible { outline: 3px solid rgba(234, 88, 12, .35); outline-offset: 2px; }
#ma-auth .ma-go__i { width: 20px; height: 20px; transition: transform .2s; }
#ma-auth .ma-go:hover .ma-go__i { transform: translateX(3px); }
#ma-auth .ma-spin { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: ma-spin .7s linear infinite; }
@keyframes ma-spin { to { transform: rotate(360deg); } }
#ma-auth .ma-busy .ma-go { cursor: progress; filter: saturate(.9); }
#ma-auth .ma-busy .ma-go__i { display: none; }
#ma-auth .ma-busy .ma-spin { display: block; }

#ma-auth .ma-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; color: #a1958c; font-size: 12.5px; }
#ma-auth .ma-foot .ma-ic { width: 15px; height: 15px; }

@media (max-width: 820px) {
	#ma-auth { padding: 16px; place-items: start center; }
	#ma-auth .ma-card { grid-template-columns: 1fr; width: min(440px, 100%); min-height: 0; margin-top: max(0px, 6vh); }
	#ma-auth .ma-brand { padding: 22px 24px; flex-direction: row; align-items: center; }
	#ma-auth .ma-stack, #ma-auth .ma-tag { display: none; }
	#ma-auth .ma-brand::before { right: -240px; top: -260px; }
	#ma-auth .ma-pane { padding: 28px 24px 20px; }
	#ma-auth h1 { font-size: 24px; line-height: 30px; }
	#ma-auth .ma-foot { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	#ma-auth .ma-card, #ma-auth .ma-msg, #ma-auth .ma-chip, #ma-auth .ma-card.ma-shake { animation: none; }
}

/* composer suggestions (theme menu look) */
.gm-sug .gm-menu__item { gap: 10px; }
.gm-sug .gm-menu__item small { margin-inline-start: auto; opacity: .7; }
.gm-sug .gm-menu__item--hi { background: var(--gm-hover, rgba(0, 0, 0, .06)); }
.gm-sug[hidden] { display: none !important; }

/* search options (the search box's ⚙) */
.gm-so-menu { padding: 0 !important; }
.gm-so { display: grid; gap: 10px; padding: 16px; width: min(440px, calc(100vw - 32px)); box-sizing: border-box; font: 14px/20px var(--gm-font-text, inherit); }
.gm-so__row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; color: var(--gm-text-2, #555); }
.gm-so__row input { height: 34px; border: 0; border-bottom: 1px solid var(--color-border-dark, #ccc); background: transparent; font: inherit; color: var(--gm-text, #222); padding: 0 4px; }
.gm-so__row input:focus { outline: none; border-bottom: 2px solid var(--y-purple, #ea580c); }
.gm-so__chks { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 4px; }
.gm-so__chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.gm-so__chk input { accent-color: var(--y-purple, #ea580c); }
.gm-so__foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 6px; }
.gm-so__foot button { height: 36px; padding: 0 18px; border-radius: 18px; font: 600 14px/1 var(--gm-font-text, inherit); cursor: pointer; }
.gm-so__clear { border: 1px solid var(--color-border-dark, #ccc); background: transparent; color: var(--gm-text, #222); }
.gm-so__go { border: 0; background: var(--y-purple, #ea580c); color: #fff; }

/* icons the theme set lacks (Material Symbols Outlined, Apache-2.0) — same format as icons.css */
:root {
	--gm-i-alternate_email: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480v58q0 59-40.5 100.5T740-280q-35 0-66-15t-52-43q-29 29-65.5 43.5T480-280q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480v58q0 26 17 44t43 18q26 0 43-18t17-44v-58q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93h200v80H480Zm85-315q35-35 35-85t-35-85q-35-35-85-35t-85 35q-35 35-35 85t35 85q35 35 85 35t85-35Z'/%3E%3C/svg%3E");
	--gm-i-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M160-80q-33 0-56.5-23.5T80-160v-440q0-33 23.5-56.5T160-680h200v-120q0-33 23.5-56.5T440-880h80q33 0 56.5 23.5T600-800v120h200q33 0 56.5 23.5T880-600v440q0 33-23.5 56.5T800-80H160Zm0-80h640v-440H600q0 33-23.5 56.5T520-520h-80q-33 0-56.5-23.5T360-600H160v440Zm80-80h240v-18q0-17-9.5-31.5T444-312q-20-9-40.5-13.5T360-330q-23 0-43.5 4.5T276-312q-17 8-26.5 22.5T240-258v18Zm320-60h160v-60H560v60Zm-157.5-77.5Q420-395 420-420t-17.5-42.5Q385-480 360-480t-42.5 17.5Q300-445 300-420t17.5 42.5Q335-360 360-360t42.5-17.5ZM560-420h160v-60H560v60ZM440-600h80v-200h-80v200Zm40 220Z'/%3E%3C/svg%3E");
	--gm-i-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='m422-232 207-248H469l29-227-185 267h139l-30 208ZM320-80l40-280H160l360-520h80l-40 320h240L400-80h-80Zm151-390Z'/%3E%3C/svg%3E");
	--gm-i-check_circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/%3E%3C/svg%3E");
	--gm-i-dns: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M300-720q-25 0-42.5 17.5T240-660q0 25 17.5 42.5T300-600q25 0 42.5-17.5T360-660q0-25-17.5-42.5T300-720Zm0 400q-25 0-42.5 17.5T240-260q0 25 17.5 42.5T300-200q25 0 42.5-17.5T360-260q0-25-17.5-42.5T300-320ZM160-840h640q17 0 28.5 11.5T840-800v280q0 17-11.5 28.5T800-480H160q-17 0-28.5-11.5T120-520v-280q0-17 11.5-28.5T160-840Zm40 80v200h560v-200H200Zm-40 320h640q17 0 28.5 11.5T840-400v280q0 17-11.5 28.5T800-80H160q-17 0-28.5-11.5T120-120v-280q0-17 11.5-28.5T160-440Zm40 80v200h560v-200H200Zm0-400v200-200Zm0 400v200-200Z'/%3E%3C/svg%3E");
	--gm-i-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M508.5-291.5Q520-303 520-320t-11.5-28.5Q497-360 480-360t-28.5 11.5Q440-337 440-320t11.5 28.5Q463-280 480-280t28.5-11.5ZM440-440h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/%3E%3C/svg%3E");
	--gm-i-forward_to_inbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-440 160-640v400h360v80H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v280h-80v-200L480-440Zm0-80 320-200H160l320 200ZM760-40l-56-56 63-64H600v-80h167l-64-64 57-56 160 160L760-40ZM160-640v440-240 3-283 80Z'/%3E%3C/svg%3E");
	--gm-i-group: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm720 0v-120q0-44-24.5-84.5T666-434q51 6 96 20.5t84 35.5q36 20 55 44.5t19 53.5v120H760ZM247-527q-47-47-47-113t47-113q47-47 113-47t113 47q47 47 47 113t-47 113q-47 47-113 47t-113-47Zm466 0q-47 47-113 47-11 0-28-2.5t-28-5.5q27-32 41.5-71t14.5-81q0-42-14.5-81T544-792q14-5 28-6.5t28-1.5q66 0 113 47t47 113q0 66-47 113ZM120-240h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm296.5-343.5Q440-607 440-640t-23.5-56.5Q393-720 360-720t-56.5 23.5Q280-673 280-640t23.5 56.5Q327-560 360-560t56.5-23.5ZM360-240Zm0-400Z'/%3E%3C/svg%3E");
	--gm-i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M223.5-423.5Q200-447 200-480t23.5-56.5Q247-560 280-560t56.5 23.5Q360-513 360-480t-23.5 56.5Q313-400 280-400t-56.5-23.5ZM280-240q-100 0-170-70T40-480q0-100 70-170t170-70q67 0 121.5 33t86.5 87h352l120 120-180 180-80-60-80 60-85-60h-47q-32 54-86.5 87T280-240Zm0-80q56 0 98.5-34t56.5-86h125l58 41 82-61 71 55 75-75-40-40H435q-14-52-56.5-86T280-640q-66 0-113 47t-47 113q0 66 47 113t113 47Z'/%3E%3C/svg%3E");
	--gm-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm296.5-143.5Q560-327 560-360t-23.5-56.5Q513-440 480-440t-56.5 23.5Q400-393 400-360t23.5 56.5Q447-280 480-280t56.5-23.5ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z'/%3E%3C/svg%3E");
	--gm-i-login: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M480-120v-80h280v-560H480v-80h280q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H480Zm-80-160-55-58 102-102H120v-80h327L345-622l55-58 200 200-200 200Z'/%3E%3C/svg%3E");
	--gm-i-mail_off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M383-463Zm194-34ZM791-55 686-160H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800l80 80h-80v480h446L55-791l57-57 736 736-57 57Zm80-148-71-71v-366L575-499l-49-49 274-172H354l-80-80h526q33 0 56.5 23.5T880-720v480q0 10-2 19.5t-7 17.5Z'/%3E%3C/svg%3E");
	--gm-i-network_check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M84-516 0-600q95-97 219.5-148.5T480-800q24 0 48 1.5t48 4.5l-60 116q-9-1-18-1.5t-18-.5q-112 0-214.5 42.5T84-516Zm170 170-84-86q57-57 131-89t155-37l-64 131q-39 11-74 31.5T254-346Zm198 180q-33-11-48-41.5t0-60.5l240-488q4-8 12-10.5t16 .5q8 3 12 10.5t2 15.5L556-214q-8 33-39.5 47t-64.5 1Zm254-180q-7-7-13.5-12.5T678-370l32-125q21 14 41.5 29.5T790-432l-84 86Zm169-169q-32-29-65.5-55T738-616l28-120q54 26 103 60t91 76l-85 85Z'/%3E%3C/svg%3E");
	--gm-i-settings_ethernet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='m680-240-56-56 182-184-182-184 56-56 240 240-240 240Zm-400 0L40-480l240-240 56 56-182 184 182 184-56 56Zm11.5-211.5Q280-463 280-480t11.5-28.5Q303-520 320-520t28.5 11.5Q360-497 360-480t-11.5 28.5Q337-440 320-440t-28.5-11.5Zm160 0Q440-463 440-480t11.5-28.5Q463-520 480-520t28.5 11.5Q520-497 520-480t-11.5 28.5Q497-440 480-440t-28.5-11.5Zm160 0Q600-463 600-480t11.5-28.5Q623-520 640-520t28.5 11.5Q680-497 680-480t-11.5 28.5Q657-440 640-440t-28.5-11.5Z'/%3E%3C/svg%3E");
	--gm-i-shield_person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M380.5-480.5Q340-521 340-580t40.5-99.5Q421-720 480-720t99.5 40.5Q620-639 620-580t-40.5 99.5Q539-440 480-440t-99.5-40.5ZM523-537q17-17 17-43t-17-43q-17-17-43-17t-43 17q-17 17-17 43t17 43q17 17 43 17t43-17ZM480-80q-139-35-229.5-159.5T160-516v-244l320-120 320 120v244q0 152-90.5 276.5T480-80Zm0-400Zm0-315-240 90v189q0 54 15 105t41 96q42-21 88-33t96-12q50 0 96 12t88 33q26-45 41-96t15-105v-189l-240-90Zm-70 523q-34 8-65 22 29 30 63 52t72 34q38-12 72-34t63-52q-31-14-65-22t-70-8q-36 0-70 8Z'/%3E%3C/svg%3E");
	--gm-i-signature: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M563-491q73-54 114-118.5T718-738q0-32-10.5-47T679-800q-47 0-83 79.5T560-541q0 14 .5 26.5T563-491ZM120-120v-80h80v80h-80Zm160 0v-80h80v80h-80Zm160 0v-80h80v80h-80Zm160 0v-80h80v80h-80Zm160 0v-80h80v80h-80ZM136-280l-56-56 64-64-64-64 56-56 64 64 64-64 56 56-64 64 64 64-56 56-64-64-64 64Zm482-40q-30 0-55-11.5T520-369q-25 14-51.5 25T414-322l-28-75q28-10 53.5-21.5T489-443q-5-22-7.5-48t-2.5-56q0-144 57-238.5T679-880q52 0 85 38.5T797-734q0 86-54.5 170T591-413q7 7 14.5 10.5T621-399q26 0 60.5-33t62.5-87l73 34q-7 17-11 41t1 42q10-5 23.5-17t27.5-30l63 49q-26 36-60 58t-63 22q-21 0-37.5-12.5T733-371q-28 25-57 38t-58 13Z'/%3E%3C/svg%3E");
	--gm-i-visibility: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M607.5-372.5Q660-425 660-500t-52.5-127.5Q555-680 480-680t-127.5 52.5Q300-575 300-500t52.5 127.5Q405-320 480-320t127.5-52.5Zm-204-51Q372-455 372-500t31.5-76.5Q435-608 480-608t76.5 31.5Q588-545 588-500t-31.5 76.5Q525-392 480-392t-76.5-31.5ZM214-281.5Q94-363 40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200q-146 0-266-81.5ZM480-500Zm207.5 160.5Q782-399 832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280q113 0 207.5-59.5Z'/%3E%3C/svg%3E");
}

/* settings view (settings.js) — the contacts view's layout (gm-ct) + a few form pieces */
body.gm-st-open #app-content-vue > .app-content-wrapper { visibility: hidden; }
body.gm-st-open .app-navigation .app-navigation-entry.active .app-navigation-entry-link,
body.gm-st-open .app-navigation .app-navigation-entry.active .app-navigation-entry__name { font-weight: 400 !important; color: var(--gm-text-2) !important; }
.gm-st { z-index: 41; }
.gm-st-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gm-hover, #f1f1f1); color: var(--gm-text-2, #555); }
.gm-st-av .gm-ic { width: 20px; height: 20px; }
.gm-st-card { max-width: 760px; }
.gm-st-sect { display: grid; gap: 12px; }
.gm-st-sect > h2 { margin-bottom: 2px; }
.gm-st-help { margin: -4px 0 0 0; color: var(--gm-text-3, #777); font-size: 12.5px; line-height: 17px; }
.gm-st-f--sel { position: relative; }
.gm-st-sel { appearance: auto; cursor: pointer; }
.gm-st-toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 4px 0; }
.gm-st-toggle__txt { display: grid; gap: 2px; }
.gm-st-toggle__txt small { color: var(--gm-text-3, #777); font-size: 12.5px; }
.gm-st input.gm-st-chk { appearance: none !important; -webkit-appearance: none !important; flex: none; width: 36px !important; height: 20px !important; min-height: 0 !important; min-width: 0 !important;
	margin: 1px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: var(--color-border-dark, #c9c9c9) !important; box-shadow: none !important;
	position: relative; cursor: pointer; transition: background .15s; }
.gm-st input.gm-st-chk::before { display: none !important; }
.gm-st input.gm-st-chk::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.gm-st input.gm-st-chk:checked { background: var(--y-purple, #ea580c) !important; }
.gm-st input.gm-st-chk:checked::after { transform: translateX(16px); }
.gm-st-chk:focus-visible { outline: 2px solid var(--y-purple, #ea580c); outline-offset: 2px; }
.gm-st-acct { width: 100%; }
.gm-st-acct .gm-ct-mail__s b { font-weight: 600; }
.gm-st-status--ok { color: #188038; }
.gm-st-status--error { color: #b3261e; }
.gm-st-status--syncing { color: var(--y-purple, #ea580c); }
.gm-st-banner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: var(--gm-hover, #f4f4f4); font-weight: 500; }
.gm-st-banner.gm-st-status--error { background: #fce8e6; }
.gm-st-banner.gm-st-status--ok { background: #e6f4ea; }
.gm-st-test { display: grid; gap: 6px; }
.gm-st-test__l { display: flex; align-items: center; gap: 8px; }
.gm-st-test__l--ok { color: #188038; }
.gm-st-test__l--bad { color: #b3261e; }
.gm-st-caps { font-size: 12px; line-height: 18px; word-break: break-word; }
.gm-st-sig { min-height: 140px; padding: 12px 14px; border: 1px solid var(--color-border-dark, #ccc); border-radius: 10px; outline: none; overflow: auto; }
.gm-st-sig:focus { border-color: var(--y-purple, #ea580c); box-shadow: 0 0 0 1px var(--y-purple, #ea580c); }
.gm-st-sigsrc { font: 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.gm-st-tag { display: flex; align-items: center; gap: 10px; }
.gm-st-tag .gm-st-tagname { flex: 1; height: 38px; padding: 0 12px; border: 1px solid var(--color-border-dark, #ccc); border-radius: 8px; }
.gm-st-tag small { min-width: 70px; }
.gm-st-color { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.gm-st-color::-webkit-color-swatch-wrapper { padding: 0; }
.gm-st-color::-webkit-color-swatch { border: 0; border-radius: 50%; }
.gm-st-tabs { flex-wrap: wrap; }
.gm-st button.gm-st-reset { all: unset !important; display: inline-block !important; cursor: pointer !important; margin-top: 4px !important; font: 500 12.5px/18px var(--gm-font-text, inherit) !important; color: var(--y-purple, #ea580c) !important; }
.gm-st button.gm-st-reset:hover { text-decoration: underline !important; }
.gm-st input.gm-st-color { width: 34px !important; height: 34px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: none !important; box-shadow: none !important; }

/* go to page (goto.js): a split in the list like the attachments panel (rowatt.css) — same tint, edges, motion */
.gm-pb { position: relative; z-index: 0; background: #f7f4fd; contain: content; cursor: default;
	border-top: 1px solid color-mix(in srgb, var(--y-purple, #7d2eff) 14%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--y-purple, #7d2eff) 14%, #fff);
	color: var(--gm-text, #1f1f1f); font: 400 13px/20px var(--gm-font, sans-serif); }
.gm-pb *, .gm-pb *::before, .gm-pb *::after { box-sizing: border-box; }
.gm-pb__body { display: flex; flex-direction: column; gap: 12px; padding: 14px 24px 16px; }
/* the From / To dates on the left, spanning the panel's height (they replaced the wheel calendars, Navin 2026-11-18);
   the pages line, the slider + years and the page box on the right */
.gm-pb__body { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 28px; row-gap: 12px; }
.gm-pb__dcol { grid-column: 1; grid-row: 1 / 4; align-self: start; position: relative; display: flex; flex-direction: column; gap: 8px; }
.gm-pb__dcol > .gm-pb__date { flex: 1; }
/* the divider between Date range and Single date: centred in the column gap */
.gm-pb__dcol::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: -14px; width: 1px; background: color-mix(in srgb, var(--y-purple, #7d2eff) 22%, transparent); }
/* the two sides' headings */
.gm-pb__sec { display: flex; align-items: baseline; gap: 10px; min-width: 0; font: 700 12px/16px var(--gm-font, sans-serif); letter-spacing: .06em; text-transform: uppercase;
	color: var(--gm-text-2, #5f6368); white-space: nowrap; }
.gm-pb__sechint { overflow: hidden; text-overflow: ellipsis; font: 400 12.5px/16px var(--gm-font, sans-serif); letter-spacing: 0; text-transform: none; color: var(--gm-text-3, #80868b); }
.gm-pb__head > .gm-pb__sec { flex: 1 1 auto; }
/* "Date range" on a row as tall as "Single date"'s (its close button), same gap below: the headings, the From / To box
   and the year pills line up across the divider */
.gm-pb__dcol { gap: 12px; }
.gm-pb__dcol > .gm-pb__sec { min-height: 40px; align-items: center; }
/* the pages / range line, after Reset */
.gm-pb__form > .gm-pb__title { flex: 1 1 auto; min-width: 0; margin-inline-start: 8px; }
.gm-pb__flip { grid-column: 2; grid-row: 1 / 4; }
/* the flip (goto.js openFlip): the front and the year → month → day picker turn over each other. The picker lies over the
   front's cell (absolute: it never sizes the panel); for a month's calendar goto.js fitFlip grows the cell */
.gm-pb__flip { position: relative; display: grid; min-width: 0; perspective: 2000px; }
.gm-pb__front, .gm-pb__back { grid-area: 1 / 1; min-width: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
	transition: transform var(--flip-ms, 560ms) cubic-bezier(.3, .7, .2, 1); }
.gm-pb__front { display: flex; flex-direction: column; gap: 12px; }
.gm-pb__front > .gm-pb__form { margin-top: auto; }
.gm-pb__back { position: absolute; inset: 0; overflow: hidden; display: none; transform: rotateY(180deg); pointer-events: none; }
.gm-pb__flip.is-open .gm-pb__back { display: flex; flex-direction: column; gap: 10px; }
.gm-pb__flip.is-flipped .gm-pb__front { transform: rotateY(-180deg); pointer-events: none; }
.gm-pb__flip.is-flipped .gm-pb__back { transform: none; pointer-events: auto; }
.gm-pb__dt.is-picking .gm-pb__dtl { color: var(--y-purple, #7d2eff); }
.gm-pb__dt.is-picking input.gm-pb__din { border-bottom: 2px solid var(--y-purple, #7d2eff); }
.gm-pb__bk-head { display: flex; align-items: center; gap: 6px; min-height: 40px; }
/* the Show button on the turned side (goto.js bGo: "Show 2026" / "Show January"), as the front's .gm-pb__go */
.gm-pb button.gm-pb__bk-go { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; margin-inline-end: 6px; border-radius: 16px;
	cursor: pointer; white-space: nowrap; background: var(--y-purple, #7d2eff); color: #fff; font: 500 13px/1 var(--gm-font, sans-serif); }
.gm-pb button.gm-pb__bk-go:hover { filter: brightness(1.08); }
.gm-pb button.gm-pb__bk-go:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 2px; }
.gm-pb button.gm-pb__bk-go[hidden] { display: none; }
.gm-pb__bk-crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; font: 500 14px/20px var(--gm-font, sans-serif); color: var(--gm-text-2, #5f6368); }
.gm-pb__bk-who { padding: 2px 10px; margin-inline-end: 4px; border-radius: 10px; background: var(--y-purple, #7d2eff); color: #fff; font: 600 12px/18px var(--gm-font, sans-serif); }
.gm-pb__bk-here { font-weight: 600; color: var(--gm-text, #1f1f1f); }
.gm-pb__bk-gt { color: var(--gm-text-3, #80868b); }
.gm-pb__bk-grow { flex: 1; }
.gm-pb button.gm-pb__bk-link { all: unset; cursor: pointer; padding: 2px 6px; border-radius: 8px; color: var(--y-purple, #7d2eff); font-weight: 500; }
.gm-pb button.gm-pb__bk-link:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 10%, transparent); }
.gm-pb button.gm-pb__bk-nav { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
	color: var(--y-purple, #7d2eff); cursor: pointer; }
.gm-pb button.gm-pb__bk-nav:hover:not(:disabled) { background: color-mix(in srgb, var(--y-purple, #7d2eff) 10%, transparent); }
.gm-pb button.gm-pb__bk-nav:disabled { color: #c8cbcf; cursor: default; }
.gm-pb button.gm-pb__bk-nav[hidden] { display: none; }
.gm-pb button.gm-pb__bk-nav .gm-ic { width: 20px; height: 20px; }
.gm-pb__back button.gm-pb__close { margin-inline-start: 6px; }
/* years and months: pills in a grid; the field's own (solid), the other field's (ringed), those the range touches (tinted) */
.gm-pb__bk-body { display: flex; flex-direction: column; }
.gm-pb__bk-years { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; }
.gm-pb__bk-months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gm-pb button.gm-pb__bk-cell { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 10px; cursor: pointer;
	background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); font: 600 14px/1 var(--gm-font, sans-serif); color: var(--gm-text, #1f1f1f); font-variant-numeric: tabular-nums;
	transition: background-color .12s, box-shadow .12s; }
.gm-pb button.gm-pb__bk-cell:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--y-purple, #7d2eff); }
.gm-pb button.gm-pb__bk-cell.in-range { background: color-mix(in srgb, var(--y-purple, #7d2eff) 12%, #fff); }
.gm-pb button.gm-pb__bk-cell.is-other { box-shadow: inset 0 0 0 1.5px var(--y-purple, #7d2eff); }
.gm-pb button.gm-pb__bk-cell.is-sel { background: var(--y-purple, #7d2eff); color: #fff; box-shadow: none; }
.gm-pb button.gm-pb__bk-cell:disabled { background: transparent; color: #c8cbcf; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); cursor: default; }
/* days: a Sunday-first month across the full width, every day in a ringed circle (Navin 2026-11-18); the range as a band,
   the field's own day solid, the other field's day a strong ring */
.gm-pb__bk-week, .gm-pb__bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gm-pb__bk-week span { text-align: center; padding-bottom: 6px; font: 600 12px/14px var(--gm-font, sans-serif); color: #8e9196; }
.gm-pb__bk-days { row-gap: 4px; }
.gm-pb button.gm-pb__bk-day { all: unset; box-sizing: border-box; position: relative; z-index: 0; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer;
	font: 500 15px/1 var(--gm-font, sans-serif); font-variant-numeric: tabular-nums; color: var(--gm-text, #1f1f1f); }
.gm-pb button.gm-pb__bk-day::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
	background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: background-color .12s, box-shadow .12s; }
.gm-pb button.gm-pb__bk-day:hover:not(:disabled)::after { background: color-mix(in srgb, var(--y-purple, #7d2eff) 10%, #fff); box-shadow: inset 0 0 0 1.5px var(--y-purple, #7d2eff); }
.gm-pb button.gm-pb__bk-day.in-range { background: color-mix(in srgb, var(--y-purple, #7d2eff) 6%, transparent); }
.gm-pb button.gm-pb__bk-day.is-lo { border-radius: 18px 0 0 18px; }
.gm-pb button.gm-pb__bk-day.is-hi { border-radius: 0 18px 18px 0; }
.gm-pb button.gm-pb__bk-day.is-lo.is-hi { border-radius: 18px; }
.gm-pb button.gm-pb__bk-day.is-today { color: var(--y-purple, #7d2eff); font-weight: 700; }
.gm-pb button.gm-pb__bk-day.is-other::after { box-shadow: inset 0 0 0 2px var(--y-purple, #7d2eff); }
.gm-pb button.gm-pb__bk-day.is-sel { color: #fff; font-weight: 700; }
.gm-pb button.gm-pb__bk-day.is-sel::after, .gm-pb button.gm-pb__bk-day.is-sel:hover::after { background: var(--y-purple, #7d2eff); box-shadow: none; }
.gm-pb button.gm-pb__bk-day:disabled { color: #c8cbcf; cursor: default; }
.gm-pb button.gm-pb__bk-day:disabled::after { background: transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.gm-pb button.gm-pb__bk-cell:focus-visible, .gm-pb button.gm-pb__bk-day:focus-visible, .gm-pb button.gm-pb__bk-link:focus-visible, .gm-pb button.gm-pb__bk-nav:focus-visible {
	outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 1px; }
.gm-pb__head { display: flex; align-items: center; gap: 12px; }
.gm-pb__title { flex: 1 1 auto; min-width: 0; }
.gm-pb__meta { display: flex; align-items: center; gap: 12px; min-height: 28px; color: var(--gm-text-2, #5f6368); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gm-pb__pages { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* pages | the range in words (goto.js rangeEl): the days in the text colour at medium weight, a light "to" between them */
.gm-pb__sep { flex: none; width: 1px; height: 18px; background: color-mix(in srgb, var(--y-purple, #7d2eff) 30%, transparent); }
.gm-pb__range-txt { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; color: var(--gm-text-2, #5f6368); }
.gm-pb__rd { font-weight: 500; color: var(--gm-text, #1f1f1f); }
.gm-pb__rto { margin: 0 6px; color: var(--gm-text-3, #80868b); }
.gm-pb__range-txt:empty, .gm-pb__sep:has(+ .gm-pb__range-txt:empty) { display: none; }
button.gm-pb__close { all: unset; box-sizing: border-box; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border: 1.5px solid color-mix(in srgb, var(--y-purple, #7d2eff) 30%, transparent); border-radius: 50%; color: var(--y-purple, #7d2eff); cursor: pointer; transition: background-color .15s, border-color .15s; }
button.gm-pb__close:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 10%, transparent); border-color: color-mix(in srgb, var(--y-purple, #7d2eff) 55%, transparent); }
button.gm-pb__close:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 2px; }
button.gm-pb__close .gm-ic { width: 20px; height: 20px; }
.gm-pb__meta b { font-weight: 700; color: var(--gm-text, #1f1f1f); }
/* the span's two ends, a row each (Navin 2026-11-18): a white rounded card, "From" over the first date, "To" over the
   second (list order), large and bold */
.gm-pb__date { box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; width: 236px; padding: 14px 18px; border-radius: 16px; background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .07), inset 0 0 0 1px rgba(0, 0, 0, .06); white-space: nowrap; font-weight: 700; color: var(--gm-text, #1f1f1f); font-variant-numeric: tabular-nums; }
.gm-pb__dt { display: flex; flex-direction: column; gap: 2px; cursor: text; }
.gm-pb__dtl { font: 600 12.5px/16px var(--gm-font, sans-serif); color: var(--gm-text-3, #80868b); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.gm-pb__dtfmt { font: 500 11px/16px var(--gm-font, sans-serif); letter-spacing: .04em; color: #a8acb1; }
/* the From / To dates are typed fields (goto.js parseDay): a dashed underline says "editable" */
.gm-pb__dts { display: flex; flex-direction: column; gap: 16px; }
.gm-pb input.gm-pb__din::placeholder { color: #b4b8bd; font-weight: 500; }
.gm-pb input.gm-pb__din { box-sizing: border-box; width: 100%; height: 38px; min-height: 0; margin: 0; padding: 0 4px; border: 0; border-bottom: 1.5px dashed rgba(0, 0, 0, .28);
	border-radius: 6px 6px 0 0; background: transparent; box-shadow: none; outline: none; font: 700 22px/36px var(--gm-font, sans-serif); font-variant-numeric: tabular-nums;
	color: var(--gm-text, #1f1f1f); cursor: text; }
.gm-pb input.gm-pb__din:hover { border-bottom-color: var(--y-purple, #7d2eff); }
.gm-pb input.gm-pb__din:focus { border-bottom: 2px solid var(--y-purple, #7d2eff); background: #fff; }
.gm-pb input.gm-pb__din.is-bad { border-bottom: 2px solid #d93025; color: #d93025; }
/* the mail's years as pills (goto.js drawYears): those the selection touches solid */
.gm-pb__ypills { display: flex; flex-wrap: wrap; gap: 8px; min-height: 32px; } /* (one row's height before the years load: the panel doesn't grow then) */
.gm-pb button.gm-pb__ypill { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 16px; cursor: pointer;
	background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); font: 600 13px/1 var(--gm-font, sans-serif); color: var(--gm-text-2, #464e56); font-variant-numeric: tabular-nums;
	transition: background-color .12s, box-shadow .12s, color .12s; }
.gm-pb button.gm-pb__ypill:hover { box-shadow: inset 0 0 0 1.5px var(--y-purple, #7d2eff); color: var(--y-purple-ink, #39007d); }
.gm-pb button.gm-pb__ypill.is-on { background: var(--y-purple, #7d2eff); color: #fff; box-shadow: none; }
.gm-pb button.gm-pb__ypill.is-on:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 85%, #000); }
.gm-pb button.gm-pb__ypill:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 2px; }
/* page box + Open */
.gm-pb__form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.gm-pb__numwrap { display: inline-flex; align-items: center; gap: 8px; color: var(--gm-text-2, #5f6368); }
.gm-pb input.gm-pb__num { width: 76px; height: 32px; min-height: 0; margin: 0; padding: 0 8px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; background: #fff;
	font: 500 13px/1 var(--gm-font, sans-serif); color: var(--gm-text, #1f1f1f); font-variant-numeric: tabular-nums; text-align: center; }
.gm-pb input.gm-pb__num:focus { outline: none; border-color: var(--y-purple, #7d2eff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--y-purple, #7d2eff) 20%, transparent); }
button.gm-pb__go { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 16px; cursor: pointer;
	background: var(--y-purple, #7d2eff); color: #fff; font: 500 13px/1 var(--gm-font, sans-serif); }
button.gm-pb__go:hover:not(:disabled) { filter: brightness(1.08); }
button.gm-pb__go:disabled { background: color-mix(in srgb, var(--y-purple, #7d2eff) 12%, #fff); color: var(--gm-text-3, #80868b); cursor: default; }
button.gm-pb__go:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 2px; }
/* the theme's button:focus (server.css) paints a light background under the white text: keep the button's own colours */
.gm-pb button.gm-pb__go:focus:not(:disabled) { background: var(--y-purple, #7d2eff); color: #fff; }
.gm-pb button.gm-pb__reset:focus { background: transparent; color: var(--y-purple, #7d2eff); }
.gm-pb button.gm-pb__reset:focus:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 10%, transparent); }
button.gm-pb__reset { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 16px; cursor: pointer;
	border: 1px solid color-mix(in srgb, var(--y-purple, #7d2eff) 30%, transparent); color: var(--y-purple, #7d2eff); font: 500 13px/1 var(--gm-font, sans-serif); }
button.gm-pb__reset:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 10%, transparent); }
/* advanced search (advsearch.js + goto.js search mode, 2026-11-19): the date panel's split with tabs over it — Words,
   People, Dates (the date panel itself), Attachments, Where, Status — and a footer with the query, Clear all and Search.
   The panes share one grid cell, so switching tabs never changes the panel's height (the tallest sets it). */
.gm-as__head { display: flex; align-items: flex-end; gap: 8px; padding: 8px 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--y-purple, #7d2eff) 14%, #fff); }
.gm-as__head > .gm-pb__close { align-self: center; margin-bottom: 4px; }
.gm-as__tabs { display: flex; gap: 2px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.gm-pb button.gm-as__tab { all: unset; box-sizing: border-box; position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
	border-radius: 10px 10px 0 0; cursor: pointer; color: var(--gm-text-2, #5f6368); font: 600 13px/1 var(--gm-font, sans-serif); transition: background-color .12s, color .12s; }
.gm-pb button.gm-as__tab .gm-ic { width: 18px; height: 18px; }
.gm-pb button.gm-as__tab:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 7%, transparent); color: var(--gm-text, #1f1f1f); }
.gm-pb button.gm-as__tab.is-on { color: var(--y-purple-ink, #39007d); }
.gm-pb button.gm-as__tab.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--y-purple, #7d2eff); }
.gm-pb button.gm-as__tab:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: -2px; }
.gm-as__dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--y-purple, #7d2eff); }
.gm-as__tab.has-value .gm-as__dot { display: block; }
.gm-as__panes { display: grid; }
.gm-as__panes > .gm-as__pane { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.gm-as__panes > .gm-as__pane.is-on { visibility: visible; }
.gm-as__pane:not(.gm-pb__body) { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 24px 16px; }
.gm-as__sub { margin-top: 4px; }
.gm-as__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.gm-as__grid--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); margin-top: 4px; }
.gm-as__f { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 8px; border-radius: 14px; background: #fff; cursor: text;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .07), inset 0 0 0 1px rgba(0, 0, 0, .06); }
.gm-as__fl { font: 600 12.5px/16px var(--gm-font, sans-serif); color: var(--gm-text-3, #80868b); }
.gm-pb input.gm-as__in { box-sizing: border-box; width: 100%; height: 32px; min-height: 0; margin: 0; padding: 0 4px; border: 0; border-bottom: 1.5px dashed rgba(0, 0, 0, .22);
	border-radius: 6px 6px 0 0; background: transparent; box-shadow: none; outline: none; font: 600 16px/30px var(--gm-font, sans-serif); color: var(--gm-text, #1f1f1f); }
.gm-pb input.gm-as__in { -webkit-appearance: none; appearance: none; } /* (type=search: no autofill; its own look and × off) */
.gm-pb input.gm-as__in::-webkit-search-cancel-button, .gm-pb input.gm-as__in::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.gm-pb input.gm-as__in::placeholder { color: #b4b8bd; font-weight: 400; font-size: 14px; }
.gm-pb input.gm-as__in:hover { border-bottom-color: var(--y-purple, #7d2eff); }
.gm-pb input.gm-as__in:focus { border-bottom: 2px solid var(--y-purple, #7d2eff); }
.gm-as__chips { min-height: 32px; }
.gm-as__foot { display: flex; align-items: center; gap: 10px; padding: 10px 24px 14px; border-top: 1px solid color-mix(in srgb, var(--y-purple, #7d2eff) 14%, #fff); }
.gm-as__q { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px; border-radius: 8px; background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); font: 500 12.5px/20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--gm-text-2, #5f6368); }
.gm-as__q.is-empty { background: transparent; box-shadow: none; font-family: var(--gm-font, sans-serif); color: var(--gm-text-3, #80868b); }
.gm-as__grow { flex: 1 1 0; }
/* the Dates tab = the date panel without its pages: no page box / pages line, its own × and Show (the footer's Search runs it) */
.gm-pb--search .gm-pb__numwrap, .gm-pb--search .gm-pb__pages, .gm-pb--search .gm-pb__pages + .gm-pb__sep,
.gm-pb--search .gm-pb__front .gm-pb__head > .gm-pb__close, .gm-pb--search .gm-pb__front button.gm-pb__go { display: none; }
.gm-pb--search .gm-pb__front > .gm-pb__form > .gm-pb__title { margin-inline-start: 0; }
@media (max-width: 760px) {
	.gm-as__grid, .gm-as__grid--3 { grid-template-columns: minmax(0, 1fr); }
	.gm-pb button.gm-as__tab { padding: 0 10px; }
	.gm-pb button.gm-as__tab > span:not(.gm-as__dot):not(.gm-ic) { display: none; }
}
/* the toolbar pill: the old "Any time" date pill (daterange.js) folded into "1–50 of N" — its calendar icon, its tint while dates are on */
#gm-daterange { display: none !important; }
#mailnav-pager .mailnav-range__ic { width: 16px; height: 16px; flex: none; background: currentColor;
	-webkit-mask: var(--gm-i-calendar_month) center / 16px no-repeat; mask: var(--gm-i-calendar_month) center / 16px no-repeat; }
#mailnav-pager .mailnav-range.mailnav-range--on { background: var(--y-purple-light, #f1e9ff); border-color: transparent; color: var(--y-purple-ink, #39007d) !important; font-weight: 600 !important; }
#mailnav-pager .mailnav-range.mailnav-range--on:hover,
#mailnav-pager .mailnav-range.mailnav-range--on[aria-expanded="true"] { background: color-mix(in srgb, var(--y-purple, #7d2eff) 22%, #fff); }
#mailnav-foot button.mn-foot__num[aria-current="page"]:hover { background: var(--y-purple, #7d2eff); filter: brightness(1.1); }
/* one sort button at the left end (app.js renderFoot): shows the order in use, a click flips it */
#mailnav-foot .mn-foot__sort { margin-inline: 0 14px; color: var(--gm-text-2, #464e56); }
#mailnav-foot .mn-foot__sort:has(> span) { width: 140px; } /* same width for "Newest first" and "Oldest first": the row never shifts */
/* "Go to" at the right end: opens the go-to-page picker (goto.js) — a neutral grey pill */
#mailnav-foot button.mn-foot__goto { align-self: center; margin-inline-start: 14px; height: 30px; padding: 0 14px; border-radius: 15px; font-weight: 600;
	color: var(--gm-text-2, #464e56); background: var(--y-hover-pill, #ededed); box-shadow: inset 0 0 0 1px var(--y-pill-border, rgba(0, 0, 0, .15)); }
#mailnav-foot button.mn-foot__goto:hover:not(:disabled) { background: #e0e0e0; color: var(--gm-text, #1d2228); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28); }
#mailnav-foot button.mn-foot__goto[aria-expanded="true"] { background: var(--gm-text-2, #464e56); color: #fff; box-shadow: none; }
/* phones: the pill is just its calendar icon (tinted while dates are on) and the toolbar keeps its width (the header
   scrolls sideways, gmail.css) instead of the icons running under the pager */
@media (max-width: 600px) {
	.list__wrapper .sticky-header #mailnav-pager .mailnav-range { display: inline-flex !important; padding: 0 8px; margin-inline-end: 4px !important; }
	#mailnav-pager .mailnav-range__text, #mailnav-pager .mailnav-range::after { display: none; }
	#mailnav-pager .mailnav-range[hidden] { display: none !important; }
	#gm-list-tools { flex: none !important; }
}
@media (max-width: 760px) {
	.gm-pb__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.gm-pb__dcol { grid-row: auto; }
	.gm-pb__dcol::after { display: none; }
	.gm-pb__date { width: 100%; }
	.gm-pb__sechint { display: none; }
	.gm-pb__form > .gm-pb__title { flex-basis: 100%; margin-inline-start: 0; }
	.gm-pb__flip { grid-column: 1; grid-row: auto; }
	.gm-pb__bk-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gm-pb__bk-years { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
	.gm-pb__bk-head { flex-wrap: wrap; row-gap: 4px; }
	.gm-pb__bk-crumbs { flex-basis: 100%; font-size: 13px; overflow: hidden; } /* own line: the switch and arrows under it */
	.gm-pb__body { padding: 12px 16px 14px; }
	button.gm-pb__close { width: 34px; height: 34px; } /* in the pages line, under the dates */
	.gm-pb__meta { flex-wrap: wrap; row-gap: 4px; }
	.gm-pb__pages { flex-basis: 100%; white-space: normal; }
	.gm-pb__sep { display: none; }
	.gm-pb__meta { font-size: 12px; }
}

/* calendar tile left of the search row's clock (app.js syncCal): the clock's size, face and greys (clock.css); the month
   in the accent. The clock keeps its place over the ‹ › arrows; the tile takes the push-right margin instead. */
#gm-cal { all: unset; box-sizing: border-box; flex: none; align-self: center; width: 64px; height: 64px; margin-inline: auto 12px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 16px; background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06), inset 0 0 0 1px rgba(0, 0, 0, .08); cursor: pointer; font-family: var(--gm-font, sans-serif);
	font-variant-numeric: tabular-nums; transition: box-shadow .15s, transform .12s; }
#gm-cal:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(0, 0, 0, .1); }
#gm-cal:active { transform: scale(.95); }
#gm-cal:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 2px; }
#gm-cal[aria-expanded="true"] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--y-purple, #7d2eff) 35%, transparent); }
.gm-cal__m { font: 700 10px/12px var(--gm-font, sans-serif); letter-spacing: .08em; color: var(--y-purple, #7d2eff); }
.gm-cal__d { font: 300 26px/28px var(--gm-font, sans-serif); color: #6b7177; letter-spacing: -.02em; }
.gm-cal__w { font: 500 9.5px/11px var(--gm-font, sans-serif); color: #a3a8ad; }
#gm-cal + #gm-clock { margin-inline-start: 0; }
@media (max-width: 760px) { #gm-cal { display: none; } #gm-cal + #gm-clock { margin-inline-start: auto; } }

/* calendar popup under the tile (goto.js toggleCalendar): a month grid, iOS-like — round day cells, today ringed in
   the accent, a date range tinted with filled ends */
.gm-calp { position: fixed; z-index: 2100; box-sizing: border-box; padding: 14px 14px 12px; border-radius: 18px; background: #fff; transform-origin: top right;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(0, 0, 0, .06); font: 400 14px/1 var(--gm-font, sans-serif); color: #1f1f1f; }
.gm-calp *, .gm-calp *::before { box-sizing: border-box; }
#gm-calp button { all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#gm-calp button:focus-visible { outline: 2px solid var(--y-purple, #7d2eff) !important; outline-offset: 1px; box-shadow: none !important; }
#gm-calp button:disabled { cursor: default; }
.gm-calp__head { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; }
.gm-calp__title { flex: 1; text-align: center; padding: 8px 4px; border-radius: 10px; font: 600 17px/20px var(--gm-font, sans-serif); color: #1f1f1f; }
#gm-calp button.gm-calp__nav { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--y-purple, #7d2eff); }
#gm-calp button.gm-calp__nav:hover:not(:disabled) { background: rgba(120, 120, 128, .14); }
#gm-calp button.gm-calp__nav:disabled { color: #c8cbcf; }
#gm-calp button.gm-calp__nav::before { content: ""; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(2px) rotate(45deg); border-radius: 1px; }
#gm-calp button.gm-calp__nav--next::before, #gm-calp button.gm-calp__nav--ynext::before { transform: translateX(-2px) rotate(-135deg); }
#gm-calp button.gm-calp__nav--yprev::before, #gm-calp button.gm-calp__nav--ynext::before { box-shadow: -4px 4px 0 -2px currentColor; }
.gm-calp__week, .gm-calp__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.gm-calp__week span { text-align: center; padding-bottom: 6px; font: 600 11px/14px var(--gm-font, sans-serif); color: #8e9196; text-transform: uppercase; }
.gm-calp__grid { row-gap: 2px; }
#gm-calp .gm-calp__day { position: relative; height: 44px; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; font-size: 15px; color: #1f1f1f; }
#gm-calp .gm-calp__day::after { content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; }
#gm-calp .gm-calp__day span { position: relative; z-index: 1; }
#gm-calp .gm-calp__day.is-out { color: #b4b8bd; }
#gm-calp .gm-calp__day.is-today { color: var(--y-purple, #7d2eff); font-weight: 700; }
#gm-calp .gm-calp__day.is-today::after { box-shadow: inset 0 0 0 1.5px var(--y-purple, #7d2eff); }
.gm-calp__foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .07); }
.gm-calp__range { font: 600 12.5px/16px var(--gm-font, sans-serif); color: var(--y-purple-ink, #39007d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gm-calp__grow { flex: 1; }
#gm-calp button.gm-calp__today { height: 32px; padding: 0 14px; border-radius: 16px; display: inline-flex; align-items: center; font: 600 13px/1 var(--gm-font, sans-serif); }
#gm-calp button.gm-calp__today { background: var(--y-purple, #7d2eff); color: #fff; }
#gm-calp button.gm-calp__today:disabled { background: rgba(120, 120, 128, .12); color: #a3a8ad; }
#gm-calp button.gm-calp__today:hover:not(:disabled) { filter: brightness(1.08); }
#gm-calp { outline: none; }

/* message attachments: a line between the body and the attachment cards; with 2+ PDFs a tick box on each PDF card
   (top left of its preview) and "Print selected" before Download Zip (app.js wirePrintSelected) */
#mail-message .mail-message-attachments { border-top: 1px solid color-mix(in srgb, var(--gm-text-2, #5f6368) 30%, transparent); margin-top: 12px; padding-top: 6px; }
#mail-message .mail-message-attachments .attachment { position: relative; }
.gm-att-pick { position: absolute; top: 8px; left: 8px; z-index: 2; display: none; align-items: center; justify-content: center; width: 28px; height: 28px;
	border-radius: 6px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 2px rgba(60, 64, 67, .3); cursor: pointer; }
/* hidden until the toolbar's Select turns them on (fileBar adds .gm-picking to the cards' container) */
.gm-picking .gm-att-pick { display: flex; }
.gm-att-pick input { width: 18px; height: 18px; min-height: 0; margin: 0; cursor: pointer; accent-color: var(--y-purple, #7d2eff); }
.gm-att-pick:focus-within { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 1px; }
.mail-message-attachments .attachment.gm-att-picked, .gm-ra__card.gm-att-picked, .gm-rp__file.gm-att-picked { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: -2px; }
/* the same toolbar over the list's attachment panel (rowatt.js) and the related page's Attachments (related.js) */
.gm-ra__bar { margin: -4px 0 10px -8px; }
.gm-rp__file { position: relative; }
/* the file toolbar (app.js wireAttBar): groups of icon + label buttons, divided by thin lines; wraps when narrow */
p.attachments-button-wrapper.gm-attbar-wrap { display: block; width: 100%; margin: 6px 0 2px; text-align: start; }
.gm-attbar { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; }
.gm-attbar__grp { display: inline-flex; flex: none; align-items: center; gap: 2px; }
.gm-attbar button.gm-btn.gm-attbar__b { width: auto; min-width: 0; height: 32px; gap: 6px; padding: 0 12px 0 8px !important; border-radius: 16px;
	color: var(--gm-text, #1f1f1f); font: 500 13px/1 var(--gm-font, sans-serif); white-space: nowrap; }
.gm-attbar button.gm-attbar__b .gm-ic { width: 18px; height: 18px; color: var(--gm-text-2, #5f6368); }
.gm-attbar button.gm-attbar__b[aria-pressed="true"] { background: color-mix(in srgb, var(--y-purple, #7d2eff) 12%, transparent) !important; color: var(--y-purple, #7d2eff); }
.gm-attbar button.gm-attbar__b[aria-pressed="true"] .gm-ic { color: var(--y-purple, #7d2eff); }
.gm-btn.gm-tip-start[data-tip]:hover::after { left: 0; right: auto; transform: none; }
.gm-btn.gm-tip-end[data-tip]:hover::after { left: auto; right: 0; transform: none; }
.gm-attbar button.gm-attbar__soon { color: var(--gm-text-2, #5f6368); font-style: italic; }
.gm-attbar__info { display: flex; align-items: center; gap: 8px; height: 20px; padding: 0 8px 4px; font: 13px/20px var(--gm-font, sans-serif); color: var(--gm-text-2, #5f6368); }
button.gm-attbar__clear { all: unset; color: var(--y-purple, #7d2eff); font-weight: 500; cursor: pointer; border-radius: 4px; padding: 0 4px; }
button.gm-attbar__clear:hover { text-decoration: underline; }
button.gm-attbar__clear:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); }
button.gm-attbar__clear[hidden] { display: none; }
.gm-attbar .gm-attbar__sep { margin: 0 6px; }
/* labels that don't fit on one row: icons only (app.js fileBar, measured), the tooltips name them */
.gm-attbar.gm-attbar--icons button.gm-attbar__b { padding: 0 8px !important; }
.gm-attbar.gm-attbar--icons button.gm-attbar__b > span:not(.gm-ic) { display: none; }
/* the conversation bar's single "All emails with <them>" pill (app.js): ▾ opens the menu of the other views */
#gm-bar-tabs .gm-rp__tab .gm-rp__drop { width: 18px; height: 18px; margin-inline-start: -2px; color: var(--gm-text-2, #5f6368); }
/* the "Files with <them>" pill → "In this email": hover outlines the conversation's attachments, a click scrolls there
   and flashes them (app.js) */
#mail-message .mail-message-attachments { transition: background-color .2s, box-shadow .2s; }
#mail-message .mail-message-attachments.gm-att-hint, #mail-message .mail-message-attachments.gm-att-flash { border-radius: 12px; }
#mail-message .mail-message-attachments.gm-att-hint { box-shadow: 0 0 0 2px var(--y-purple, #7d2eff); background: color-mix(in srgb, var(--y-purple, #7d2eff) 5%, transparent); }
#mail-message .mail-message-attachments.gm-att-flash { animation: gm-att-flash 1.5s ease-out; }
@keyframes gm-att-flash {
	0%, 30% { box-shadow: 0 0 0 3px var(--y-purple, #7d2eff); background: color-mix(in srgb, var(--y-purple, #7d2eff) 12%, transparent); }
	100% { box-shadow: 0 0 0 3px transparent; background: transparent; }
}

/* related page → Files (related.js filesView): under the name, the subject of the email it came in; across the card's
   foot an "Open email" row in the accent colour (a click on the rest of the card opens the file) */
.gm-rp__fsubj { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 4px; color: var(--gm-text-2, #5f6368); font: 400 12px/16px var(--gm-font, sans-serif); }
.gm-rp__fsubj .gm-ic { width: 14px; height: 14px; flex: none; }
.gm-rp__fsubj span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-rp__file > .gm-rp__finfo { flex: 1; }
#gm-related button.gm-rp__fopen { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px 9px 12px;
	border-top: 1px solid var(--gm-line, #e0e4e9); color: var(--y-purple, #7d2eff); font: 500 13px/18px var(--gm-font, sans-serif); cursor: pointer;
	transition: background-color .12s; }
#gm-related button.gm-rp__fopen span { flex: 1; }
#gm-related button.gm-rp__fopen .gm-ic { width: 18px; height: 18px; flex: none; }
#gm-related button.gm-rp__fopen:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 8%, transparent); }
#gm-related button.gm-rp__fopen:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: -2px; }

/* related page → Files: the file toolbar sticks to the top of the list; scrolling down folds the tool row above it
   away (related.js: .gm-rp--folded on the page, --h = the row's height), scrolling up brings it back */
/* layers: the person bar over the tool row (which folds up under it), the tool row over the list (its tooltips drop
   over the list) */
#gm-related .gm-rp__bar { position: relative; z-index: 3; background: var(--gm-surface, #fff); }
#gm-related .gm-rp__toolrow { position: relative; z-index: 2; transition: margin-top .22s ease, opacity .18s ease; }
#gm-related.gm-rp--folded .gm-rp__toolrow--files { margin-top: calc(-1 * var(--h, 52px)); opacity: 0; pointer-events: none; }
#gm-related .gm-rp__fbar { position: sticky; top: 0; z-index: 3; margin: -12px -20px 12px; padding: 12px 20px 8px 12px; background: var(--gm-surface, #fff);
	transition: box-shadow .15s; }
#gm-related.gm-rp--scrolled .gm-rp__fbar { box-shadow: 0 1px 0 var(--gm-line, #e0e4e9), 0 4px 8px -6px rgba(0, 0, 0, .15); }
@media (prefers-reduced-motion: reduce) { #gm-related .gm-rp__toolrow { transition: none; } }
/* Filters row (app.js filtersRow): under the search box, inside #gm-search-row, which grows by it while a filter is on
   (--gm-search-h on the content pane only: the folder column's logo band keeps its height). 13 + 52 pill + 10 + 30 + 18 + 1.
   The height changes in one step; app.js syncFilters slides the panes under it and the separator (transforms only). */
#content-vue.app-mail #app-content-vue.gm-filters-on { --gm-search-h: 124px; }
/* the separator as a line of its own, so it can slide with the panes (the row's border can't) */
#gm-search-row { border-bottom-color: transparent; }
#gm-search-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--y-line); pointer-events: none; }
#gm-filters { position: absolute; left: 16px; top: 75px; display: flex; align-items: center; gap: 10px; max-width: 760px; min-width: 0;
	opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .14s ease-in, transform .14s ease-in, visibility 0s linear .14s; }
#gm-filters.is-shown { opacity: 1; transform: none; visibility: visible;
	transition: opacity .22s ease-out .12s, transform .26s cubic-bezier(.2, .8, .2, 1) .12s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { #gm-filters, #gm-filters.is-shown { transition: none; } }
/* the calendar and clock: level with the search pill at any band height (as centred in the 82 px band: 13 + (52 - 64) / 2) */
#gm-search-row > #gm-cal, #gm-search-row > #gm-clock { align-self: flex-start; margin-block-start: -6px; }
/* the date filter pill: the dates (a click reopens the picker) and a round × that removes the filter */
#gm-filters .mailnav-filter { display: inline-flex; align-items: center; height: 30px; margin-inline-end: 6px; padding: 0 3px 0 0; border-radius: 15px;
	background: var(--y-purple-light, #f1e9ff); color: var(--y-purple-ink, #39007d); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
#gm-filters .mailnav-filter[hidden] { display: none; }
#gm-filters .mailnav-filter__body { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 6px 0 12px; border-radius: 15px 0 0 15px; cursor: pointer; user-select: none; }
#gm-filters .mailnav-filter__body:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 12%, transparent); }
#gm-filters .mailnav-filter__body:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); outline-offset: 1px; }
#gm-filters button.mailnav-filter__x { all: unset; box-sizing: border-box; position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; border-radius: 50%; color: var(--y-purple-ink, #39007d); cursor: pointer; transition: background-color .12s; }
#gm-filters button.mailnav-filter__x:hover { background: color-mix(in srgb, var(--y-purple, #7d2eff) 22%, transparent); }
#gm-filters button.mailnav-filter__x:focus-visible { outline: 2px solid var(--y-purple, #7d2eff); }
#gm-filters button.mailnav-filter__x .gm-ic { width: 16px; height: 16px; }
#gm-filters button.mailnav-filter__x { min-width: 0 !important; width: 24px !important; height: 24px !important; flex: none; } /* a theme rule's min-width: 40px made the hover an ellipse (Navin 2026-11-18): a 24 px circle */
#gm-filters button.mailnav-filter__x[data-tip]:hover::after { content: attr(data-tip); position: absolute; top: calc(100% + 4px); right: 0; background: #3c4043; color: #fff;
	font: 500 12px/16px var(--gm-font-text, sans-serif); padding: 4px 8px; border-radius: 4px; white-space: nowrap; z-index: 10000; pointer-events: none; }
#gm-filters button.mailnav-filter__x::before { content: none; display: none; } /* the pager's ‹ › chevron rule, not for the × */
/* the message body: its shadow root's :host says 16px, but Nextcloud's reset (server.css: div { font-size: 100% }) on
   the host div wins from outside and the body inherited the UI's 13px — set it here (mails with their own sizes keep them) */
#mail-message .message-frame { font-size: 16px; }
/* To/Cc/Bcc chips start on the From text's column (vue-select's 4px 2px 0 margin put them 2px right and 2px low);
   the 4px gap between chips moves to their right side (Navin 2026-11-18) */
.floating-composer .composer-fields .v-select.select:not(.composer-fields__from *) .vs__selected { margin: 2px 4px 2px 0 !important; }
/* Search · Date · People segments: green on hover (Navin 2026-11-18; was #f2f2f2 grey, yahoo.css) */
#gm-search #gm-search-btns .gm-btn:hover { background: #e6f4ea !important; color: #137333 !important; }

/* lightbox (lightbox.js): Office files — the icon in the app's colour, breathing, an indeterminate bar and a line of
   text while the Document Server opens the file (Navin 2026-11-18) */
.gm-lb-ph--load { flex-direction: column; gap: 20px; }
.gm-lb-ph--load .gm-ic { color: var(--gm-lb-c, #2b579a); animation: gm-lb-breathe 1.6s ease-in-out infinite; }
.gm-lb-ph__bar { position: relative; width: 200px; height: 4px; overflow: hidden; border-radius: 2px;
	background: color-mix(in srgb, var(--gm-lb-c, #2b579a) 18%, transparent); }
.gm-lb-ph__bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 2px;
	background: var(--gm-lb-c, #2b579a); animation: gm-lb-indet 1.3s cubic-bezier(.4, 0, .2, 1) infinite; }
.gm-lb-ph__txt { font: 500 13px/18px var(--gm-font, sans-serif); color: #5f6368; }
@keyframes gm-lb-breathe { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }
@keyframes gm-lb-indet { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
	.gm-lb-ph--load .gm-ic { animation: none; }
	.gm-lb-ph__bar::after { animation-duration: 2.6s; }
}

/* lightbox: on Office files the "open in the editor" button is the file type's icon (web/app/icons), not a glyph */
.gm-lb .gm-btn[data-office="word"] .gm-ic,
.gm-lb .gm-btn[data-office="cell"] .gm-ic,
.gm-lb .gm-btn[data-office="slide"] .gm-ic { width: 24px; height: 24px; -webkit-mask: none; mask: none; background: center / contain no-repeat; }
.gm-lb .gm-btn[data-office="word"] .gm-ic { background-image: url(/app/icons/docx.svg); }
.gm-lb .gm-btn[data-office="cell"] .gm-ic { background-image: url(/app/icons/xlsx.svg); }
.gm-lb .gm-btn[data-office="slide"] .gm-ic { background-image: url(/app/icons/pptx.svg); }
/* lightbox Print on an Office file: busy while its PDF is made and loaded (lightbox.js printOffice) */
.gm-lb .gm-btn.is-busy { opacity: .45; pointer-events: none; }
.gm-lb .gm-btn.gm-lb-pdf .gm-ic { width: 24px; height: 24px; -webkit-mask: none; mask: none; background: url(/app/icons/pdf.svg) center / contain no-repeat; }
@media only screen and (max-width: 600px) { #gm-filters { top: 67px; left: 12px; } } /* (the search pill is 44 px there) */
/* the search-term pill (app.js): a magnifier where the dates pill has its calendar; long searches are cut with … */
#gm-filters .mailnav-filter[data-f="q"] .gm-ic { width: 16px; height: 16px; }
#gm-filters .mailnav-filter[data-f="q"] .mailnav-filter__text { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
#gm-filters .mailnav-filter[hidden] { display: none; }

/* the open message's Previous / Next: ↑ ↓ in a ring; the same pair again at the end of #gm-replybar */
#mailnav-bar > button,
.gm-replynav > button {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	margin: 0 2px !important;
	border: 1px solid #747775 !important;
}
#mailnav-bar > button::before,
.gm-replynav > button::before { transform: rotate(90deg); }
#mailnav-bar > button:disabled,
.gm-replynav > button:disabled { opacity: .38 !important; cursor: default; }
#mailnav-bar > button:disabled:hover { background: transparent !important; }
/* hold ↑ / ↓ (holdnav.js): a ring fills around the button, --gm-hold 0 → 1 */
#mailnav-bar > button,
.gm-replynav > button { position: relative !important; }
#mailnav-bar > button::after,
.gm-replynav > button::after {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	background: conic-gradient(var(--y-purple, #ea580c) calc(var(--gm-hold, 0) * 1turn), transparent 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
#mailnav-bar > button.gm-holding::after,
.gm-replynav > button.gm-holding::after { opacity: 1; }
.gm-replynav { display: flex; align-items: center; margin-inline-start: auto; }
.gm-replynav > button {
	all: unset;
	box-sizing: border-box;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	color: var(--gm-text-2) !important;
	font-size: 0 !important;
	cursor: pointer;
	background: transparent;
}
.gm-replynav > button:hover:not(:disabled) { background: var(--gm-hover) !important; }
.gm-replynav > button::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--gm-i-chevron_left) center / 20px no-repeat;
	mask: var(--gm-i-chevron_left) center / 20px no-repeat;
}
.gm-replynav > button:last-child::before {
	-webkit-mask-image: var(--gm-i-chevron_right);
	mask-image: var(--gm-i-chevron_right);
}

/* Settings: an int preference with a unit = a slider */
.gm-st-range { display: grid; gap: 4px; }
.gm-st-range__head { display: flex; justify-content: space-between; gap: 12px; font: 400 14px/20px var(--gm-font); color: var(--gm-text); }
.gm-st-range__head b { font-weight: 500; white-space: nowrap; }
.gm-st-range__in { width: 100%; margin: 0; accent-color: var(--gm-blue, #0b57d0); }

/* advanced search = a white dialog (goto.js search mode, Navin 2026-11-19): backdrop + centred card; the panel inside
   loses the split's tint and borders, its fields and pills sit on a light grey instead of white */
.gm-asm { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-start; justify-content: center;
	padding: max(72px, 10vh) 16px 24px; background: rgba(32, 33, 36, .45); overflow-y: auto; }
.gm-asm__card { width: min(960px, 100%); border-radius: 24px; background: #fff; overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .28), 0 4px 16px rgba(0, 0, 0, .12); }
.gm-asm .gm-pb { background: #fff; border: 0; }
.gm-asm .gm-as__head { padding: 12px 16px 0 20px; border-bottom-color: #eceef1; }
.gm-asm .gm-as__foot { border-top-color: #eceef1; padding: 14px 24px 18px; }
.gm-asm .gm-as__pane:not(.gm-pb__body) { padding: 20px 24px; min-height: 240px; }
.gm-asm .gm-as__f, .gm-asm .gm-pb__date { background: #f5f6f8; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.gm-asm .gm-pb button.gm-pb__ypill:not(.is-on) { background: #f5f6f8; }
.gm-asm .gm-as__q:not(.is-empty) { background: #f5f6f8; }
@media (max-width: 600px) {
	.gm-asm { padding: 0; align-items: stretch; }
	.gm-asm__card { width: 100%; border-radius: 0; }
}
/* advanced search's Search tab: words, where to search, status — one section under another */
.gm-as__pane--main { gap: 0 !important; }
.gm-as__group { display: flex; flex-direction: column; gap: 12px; }
.gm-as__group--rule { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eceef1; }

/* list toolbar "Unread only" toggle (in Snooze's old place): on = tinted like a pressed button */
#gm-list-tools .gm-btn[data-act="unreadonly"].gm-on { background: color-mix(in srgb, var(--y-purple, #ea580c) 14%, transparent) !important; color: var(--y-purple, #ea580c) !important; }
#gm-list-tools .gm-btn[data-act="unreadonly"].gm-on .gm-ic { color: var(--y-purple, #ea580c) !important; }

/* advanced search: chips with an icon (attachment types, "Has an attachment") */
.gm-pb button.gm-pb__ypill.gm-pb__ypill--ic { gap: 8px; padding-left: 10px; }
.gm-pb .gm-as__ci { flex: none; width: 20px; height: 20px; object-fit: contain; }
.gm-pb .gm-pb__ypill.is-on img.gm-as__ci { filter: drop-shadow(0 0 1px rgba(255,255,255,.9)); }

/* attachment chips (rowatt.js) right after the subject, not pushed to the far right by the subject column filling the row
   (Navin 2026-11-21); rows without chips are unchanged */
li.envelope .list-item-content__inner__main:has(> .list-item-content__inner__tags > [data-ma-att]) > .list-item-content__inner__subname { flex: 0 1 auto; }
li.envelope .list-item-content__inner__main > .list-item-content__inner__tags:has(> [data-ma-att]) { margin-inline-start: 12px; flex: none; }
li.envelope .list-item-content__inner__main:has(> .list-item-content__inner__tags > [data-ma-att]) .line-two.one-line .envelope__subtitle--compact-wrapper { max-width: 100% !important; }

/* ------------------------------------------------------------------ in-page confirm/prompt (dialog.js, 2026-11-23) */
.gm-dlg { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; background: rgba(15, 18, 22, .38);
	animation: gm-dlg-fade var(--y-in, 200ms) var(--y-ease, ease) both; font-family: var(--gm-font, sans-serif); color: var(--gm-text, #1f1f1f); }
.gm-dlg.is-out { animation: gm-dlg-fade var(--y-out, 100ms) ease reverse both; pointer-events: none; }
.gm-dlg__card { box-sizing: border-box; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 24px 18px;
	background: #fff; border-radius: 20px; box-shadow: 0 24px 64px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .08);
	animation: gm-dlg-pop var(--y-in, 200ms) var(--y-ease, ease) both; }
.gm-dlg.is-out .gm-dlg__card { animation: gm-dlg-pop var(--y-out, 100ms) ease reverse both; }
.gm-dlg__title { margin: 0 0 8px; font: 600 18px/1.35 var(--gm-font, sans-serif); color: var(--gm-text, #1f1f1f); overflow-wrap: anywhere; }
.gm-dlg__body { margin: 0; font: 400 14px/1.5 var(--gm-font, sans-serif); color: var(--gm-text-2, #444746); white-space: pre-line; overflow-wrap: anywhere; }
.gm-dlg__in { box-sizing: border-box; display: block; width: 100%; height: 40px; margin: 14px 0 0; padding: 0 12px; border: 1px solid var(--color-border-dark, #ccc);
	border-radius: 10px; background: #fff; color: var(--gm-text, #1f1f1f); font: 400 14px var(--gm-font, sans-serif); outline: none; }
.gm-dlg__in--area { height: min(50vh, 360px); padding: 10px 12px; resize: vertical; font: 400 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; }
.gm-dlg__card:has(.gm-dlg__in--area) { width: min(720px, 100%); }
.gm-dlg__in:focus { border-color: var(--y-purple, #ea580c); box-shadow: 0 0 0 3px var(--y-purple-light, #ffedd5); }
.gm-dlg__bar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
/* the theme's global button rules (server.css) out-rank plain classes, hence the id-free but !important block */
.gm-dlg .gm-dlg__bar button.gm-dlg__btn { all: unset; box-sizing: border-box !important; display: inline-flex !important; align-items: center; height: 36px !important; min-height: 0 !important;
	margin: 0 !important; padding: 0 18px !important; border-radius: 999px !important; cursor: pointer; box-shadow: none !important; outline: none !important;
	border: .8px solid var(--y-pill-border, rgba(0, 0, 0, .15)) !important; background: #fff !important; color: var(--gm-text, #1f1f1f) !important;
	font: 600 13px/1 var(--gm-font, sans-serif) !important; white-space: nowrap; transition: background var(--y-out, .1s) var(--y-ease, ease), transform var(--y-out, .1s); }
.gm-dlg .gm-dlg__bar button.gm-dlg__btn:hover { background: var(--y-hover-pill, #ededed) !important; }
.gm-dlg .gm-dlg__bar button.gm-dlg__btn:active { transform: scale(.97); }
.gm-dlg .gm-dlg__bar button.gm-dlg__btn:focus-visible { outline: 2px solid var(--y-purple, #ea580c) !important; outline-offset: 2px !important; }
.gm-dlg .gm-dlg__bar button.gm-dlg__btn--ok { border-color: transparent !important; background: var(--y-purple, #ea580c) !important; color: #fff !important; }
.gm-dlg .gm-dlg__bar button.gm-dlg__btn--ok:hover { background: var(--y-purple-dark, #c2410c) !important; }
.gm-dlg .gm-dlg--danger button.gm-dlg__btn--ok { background: #d93025 !important; }
.gm-dlg .gm-dlg--danger button.gm-dlg__btn--ok:hover { background: #b3261e !important; }
.gm-dlg .gm-dlg__in, .gm-dlg .gm-dlg__in:focus { outline: none !important; margin: 14px 0 0 !important; }
.gm-dlg .gm-dlg__in { border: 1px solid var(--color-border-dark, #ccc) !important; border-radius: 10px !important; }
.gm-dlg .gm-dlg__in:focus { border-color: var(--y-purple, #ea580c) !important; box-shadow: 0 0 0 3px var(--y-purple-light, #ffedd5) !important; }
@keyframes gm-dlg-fade { from { opacity: 0 } }
@keyframes gm-dlg-pop { from { opacity: 0; transform: translateY(8px) scale(.96) } }
@media (prefers-reduced-motion: reduce) { .gm-dlg, .gm-dlg__card { animation: none !important; } }
