/* Email Signature on the web iOS kit (src/ioskit/ios.css): system grey lists, a blue tint, the signature in a mock email. */
:root { --tint: #007aff; --forest: #007aff; --coral: #007aff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tint: #0a84ff; --forest: #0a84ff; --coral: #0a84ff; } }
:root[data-theme="dark"] { --tint: #0a84ff; --forest: #0a84ff; --coral: #0a84ff; }
.es-wrap { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin: 0 auto; }
@media (min-width: 960px) { .es-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 28px; padding: 0 24px; } .es-side { position: sticky; top: 0; align-self: start; padding-top: 12px; } .es-wrap .form { padding-left: 0; padding-right: 0; } }
.mail { margin: 8px auto 4px; width: min(100%, 520px); background: #fff; color: #202124; border-radius: 16px; box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 14px 40px rgba(0,0,0,.14); overflow: hidden; }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f3f4; font: 600 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; color: #3c4043; }
.mail-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dadce0; }
.mail-bar i:nth-child(1) { background: #ff5f57; } .mail-bar i:nth-child(2) { background: #febc2e; } .mail-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.mail-f { padding: 8px 16px; border-bottom: 1px solid #eceff1; font: 13px/1.4 -apple-system, BlinkMacSystemFont, sans-serif; color: #5f6368; }
.mail-f b { color: #202124; font-weight: 500; }
.mail-b { padding: 16px 18px 22px; font: 14px/1.5 Arial, Helvetica, sans-serif; color: #202124; overflow-x: auto; }
.mail-b p { margin: 0 0 12px; }
.mail-b .sig { margin-top: 14px; }
.mail-b .sig img { max-width: 100%; }
@media (max-width: 959px) { .mail { width: calc(100% - 0px); } }
.side-acts { display: flex; gap: 10px; justify-content: center; margin: 12px auto 0; flex-wrap: wrap; }
.tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
@media (min-width: 700px) { .tpls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tpl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; text-align: left; color: var(--text); font: inherit; cursor: pointer; min-width: 0; }
.tpl-v { position: relative; height: 92px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.14); overflow: hidden; pointer-events: none; }
.tpl-v > div { position: absolute; left: 10px; top: 10px; transform: scale(.5); transform-origin: 0 0; width: 200%; }
.tpl[aria-pressed="true"] .tpl-v { box-shadow: 0 0 0 3px var(--tint); }
.tpl-n { font-size: 13px; font-weight: 600; padding: 0 2px; display: flex; align-items: center; gap: 6px; }
.tpl .lock { position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; z-index: 1; }
.tpl .lock svg { width: 11px; height: 11px; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 12px 16px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: var(--c); box-shadow: 0 0 0 1px rgba(127,127,127,.35) inset; cursor: pointer; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg-grouped2, #fff), 0 0 0 4px var(--c); }
.sw-custom { position: relative; overflow: hidden; background: conic-gradient(#f44, #fd4, #4d6, #4cf, #64f, #f4c, #f44); }
.sw-custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.link-ic { width: 30px; height: 30px; border-radius: 50%; flex: none; overflow: hidden; }
.link-ic img { width: 30px; height: 30px; display: block; }
.guide-tabs { overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; }
.guide-tabs::-webkit-scrollbar { display: none; }
.guide-tabs .segmented { min-width: 360px; }
.guide-tabs .seg { font-size: 13px; padding-left: 2px; padding-right: 2px; }
.steps { margin: 0; padding: 4px 0 4px 22px; display: flex; flex-direction: column; gap: 10px; line-height: 1.45; }
.steps b { font-weight: 600; }
.copied { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 16px 2px; text-align: center; }
.copied svg { width: 44px; height: 44px; color: var(--green, #34c759); }
.copied b { font-size: 19px; }
.code-box { font: 12px/1.45 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text2); overflow-wrap: anywhere; max-height: 7.5em; overflow: hidden; }
.pro-tag { font-size: 11px; font-weight: 700; color: var(--tint); background: color-mix(in srgb, var(--tint) 13%, transparent); padding: 2px 7px; border-radius: 999px; }
.sw { position: relative; }
.sw::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; }
/* a blank signature's welcome */
.starter { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 4px 4px; }
.starter h2 { font: 700 28px/1.12 var(--sys, -apple-system, system-ui); letter-spacing: -0.02em; margin: 0; }
.starter p { color: var(--text2); font-size: 15px; line-height: 20px; margin: 0 0 6px; }
