/* Readable guidance, resilient layouts and comfortably sized touch controls. */
.page--howto {padding:30px clamp(16px,3vw,48px) 50px;}
.howto {max-width:1480px;margin:auto;}
.howto-head {display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px;}
.howto-eyebrow {font-size:12px;letter-spacing:.09em;color:#52628a;font-weight:700;margin:0 0 8px;}
.howto-head h1 {font-size:clamp(25px,3vw,36px);letter-spacing:-.035em;line-height:1.4;margin:0 0 8px;}
.howto-head p {margin:0;color:#52617b;font-size:15px;}
.howto-head>.btn {flex-shrink:0;}
.howto-layout {display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;}
.howto-nav {position:sticky;top:20px;min-width:0;}
.howto-mobile-picker {display:none;}
.howto-nav .workspace-search {min-height:48px;padding:0 12px;margin:0;}
.howto-nav .workspace-search input {width:100%;min-width:0;font-size:14px;}
.howto-nav>p {margin:12px 0 8px;font-size:12px;}
.howto-nav nav {display:grid;gap:6px;}
.howto-nav nav button {display:grid;grid-template-columns:24px minmax(0,1fr) 16px;gap:12px;align-items:center;border:1px solid transparent;background:white;padding:13px 12px;border-radius:8px;color:#334260;text-align:left;cursor:pointer;min-height:72px;}
.howto-nav nav button:hover {background:#f6f8fc;}
.howto-nav nav button[aria-current] {color:#1d2088;background:#eef1ff;border-color:#cbd2f2;}
.howto-nav nav button>svg {width:23px;height:23px;}
.howto-nav nav button>svg:last-child {width:14px;height:14px;transform:rotate(-90deg);}
.howto-nav nav strong {display:block;font-size:14px;line-height:1.5;}
.howto-nav nav small {display:block;font-size:11px;color:#596a85;margin-top:4px;line-height:1.6;}
.howto-detail {border:1px solid #d8e0ed;border-radius:12px;overflow:hidden;background:white;min-width:0;scroll-margin-top:16px;}
.howto-detail>header {display:flex;gap:18px;align-items:center;justify-content:space-between;padding:24px 28px;background:#f8faff;border-bottom:1px solid #e4e9f2;}
.howto-detail h2 {font-size:25px;margin:0;line-height:1.5;}
.howto-step-count {font-size:13px;color:#4a5a79;white-space:nowrap;background:#fff;padding:6px 10px;border:1px solid #dce3f0;border-radius:20px;}
.howto-progress {display:flex;padding:20px 28px;gap:12px;}
.howto-progress button {display:flex;flex:1;align-items:center;text-align:left;gap:9px;background:none;border:0;border-bottom:3px solid #e7ebf4;color:#64718a;padding:0 0 12px;cursor:pointer;min-width:0;min-height:44px;}
.howto-progress b {display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border:1px solid #d6ddeb;border-radius:50%;font-size:13px;}
.howto-progress span {font-size:12px;line-height:1.5;}
.howto-progress button[aria-current] {border-color:#1d2088;color:#1d2088;}
.howto-progress button[aria-current] b {background:#1d2088;color:#fff;border-color:#1d2088;}
.howto-instructions {display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.95fr);gap:26px;padding:16px 28px 30px;align-items:start;}
.howto-number {display:inline-block;background:#eef1ff;color:#1d2088;padding:4px 9px;border-radius:5px;font-size:12px;letter-spacing:.06em;font-weight:700;}
.howto-instructions h3 {font-size:24px;line-height:1.5;margin:12px 0 16px;}
.howto-instructions section>p {line-height:1.9;font-size:15px;color:#3c4d68;margin:0 0 22px;}
.howto-instructions section>.btn {margin-top:10px;}
.howto-done {display:flex;gap:10px;background:#f0f8f4;padding:14px;margin:22px 0;color:#285e4e;}
.howto-done>svg {flex-shrink:0;margin-top:5px;}
.howto-done strong {font-size:12px;}
.howto-done p {font-size:14px;margin:5px 0 0;line-height:1.8;}
.howto-instructions .howto-tip {display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;color:#66728a;margin:0 0 18px;}
.howto-tip svg {flex-shrink:0;margin-top:4px;}
.howto-visual {margin:0;border:1px solid #dbe3f0;border-radius:10px;background:linear-gradient(145deg,#f4f7ff,#edf3f8);padding:18px;}
.howto-visual figcaption {display:flex;align-items:center;gap:7px;color:#475879;font-size:12px;font-weight:700;}
.howto-visual figcaption>svg {width:16px;height:16px;}
.howto-visual figcaption>span {margin-left:auto;font-size:10px;font-weight:400;}
.howto-visual ol {list-style:none;padding:0;margin:18px 0;display:grid;gap:10px;}
.howto-visual li {display:flex;align-items:center;gap:9px;color:#728099;font-size:12px;min-height:38px;}
.howto-visual li>span {width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e4eaf4;flex-shrink:0;}
.howto-visual li.is-current {color:#1d2088;}
.howto-visual li.is-current>span {background:#1d2088;color:white;}
.howto-visual li em {font-size:10px;font-style:normal;color:#1d2088;background:#e0e6ff;border-radius:4px;padding:2px 5px;margin-left:auto;white-space:nowrap;}
.howto-visual__screen {background:white;border:1px solid #ced9ea;border-radius:7px;box-shadow:0 6px 16px #2339740a;overflow:hidden;}
.howto-visual__screen>div {height:30px;display:flex;gap:4px;align-items:center;background:#eef2f9;padding:0 10px;border-bottom:1px solid #dbe2ef;}
.howto-visual__screen i {display:block;width:5px;height:5px;border-radius:50%;background:#afbdd4;}
.howto-visual__screen>div>span {font-size:9px;margin-left:7px;color:#60718f;}
.howto-visual__screen section {padding:16px;}
.howto-visual__label {display:block;font-size:10px;color:#697891;margin-bottom:7px;}
.howto-visual__screen strong {display:block;background:#f0f2ff;border:1px solid #949ed6;border-radius:5px;padding:10px;color:#1d2088;font-size:12px;line-height:1.8;}
.howto-visual__line {display:block;height:5px;background:#edf1f7;border-radius:4px;margin:13px 0;width:90%;}
.howto-visual__line.short {width:60%;}
.howto-visual__screen b {display:flex;gap:6px;align-items:flex-start;color:#467460;font-size:10px;line-height:1.7;font-weight:500;}
.howto-visual__screen b svg {flex-shrink:0;width:12px;height:12px;margin-top:3px;}
.howto-controls {display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #e1e7f0;padding:18px 28px;}
.howto-controls .text-button {display:flex;align-items:center;gap:6px;font-size:12px;}
.howto-help {margin-top:34px;}
.howto-help h2 {font-size:21px;margin:0 0 16px;}
.howto-help>div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;}
.howto-help details {border:1px solid #dce3ed;border-radius:8px;background:#fff;}
.howto-help summary {padding:16px;font-size:14px;cursor:pointer;min-height:48px;}
.howto-help p {padding:0 18px 16px;margin:0;font-size:14px;color:#52627a;line-height:1.9;}
.btn:disabled {cursor:not-allowed;opacity:.5;}
.sync-settings__head,.sync-settings__foot {display:flex;justify-content:space-between;align-items:start;gap:20px;}
.sync-settings__head .btn,.sync-settings__foot .btn {flex-shrink:0;}
.sync-settings__head .panel__title {margin-bottom:8px;}
.sync-status {display:flex;gap:8px;align-items:center;background:#eef6f1;border:1px solid #cfdfd5;border-radius:6px;padding:12px 16px;color:#29664d;font-weight:600;font-size:14px;margin:20px 0;}
.sync-status--error {background:#fff3f2;border-color:#efc8c5;color:#a2322a;}
.sync-settings__controls {display:flex;gap:24px;align-items:center;flex-wrap:wrap;}
.sync-settings__controls .field {margin:0;min-width:180px;}
.sync-toggle {display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;cursor:pointer;}
.sync-toggle input {width:22px;height:22px;accent-color:#1d2088;}
.sync-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0;padding:20px 0;border-top:1px solid #e1e6ef;border-bottom:1px solid #e1e6ef;}
.sync-stats dt {font-size:12px;color:#5d6c84;margin-bottom:7px;}
.sync-stats dd {font-size:14px;margin:0;overflow-wrap:anywhere;}
.sync-settings__foot p {margin:0;line-height:1.8;}
.mail-sync-line {display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:12px;color:#52627a;padding:12px 0;border-bottom:1px solid #e0e5ee;}
.mail-sync-line>span:first-child {font-weight:700;}
.mail-sync-line a {text-decoration:underline;text-underline-offset:3px;}
.mail-searchbar .workspace-search {min-width:0;}
.mail-searchbar .workspace-search input {min-width:0;}
#mail-search-clear {border:0;background:transparent;font-size:23px;color:#536581;width:44px;min-width:44px;height:44px;cursor:pointer;}
.mail-index__filters>div {flex-wrap:wrap;}
.mail-index .mail-pagination {display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;}
.mail-pagination .btn {font-size:12px;min-height:40px;}
.mail-trash-note {background:#fff8eb;border:1px solid #ecdfbf;border-radius:6px;padding:12px;font-size:13px;line-height:1.8;color:#725f39;margin:10px 0;}
.mail-trash-confirm {max-width:520px;}
.mail-trash-subject {padding:14px;background:#f1f4f8;border-radius:6px;font-weight:700;overflow-wrap:anywhere;}
.mail-trash-confirm p {line-height:1.9;}
.mail-item strong,.mail-item>b {overflow-wrap:anywhere;min-width:0;}
.mail-index .empty-state .btn {display:block;margin:16px auto 0;}
.mail-reader .gmsg__fromline,.mail-reader .gmsg__meta {min-width:0;overflow-wrap:anywhere;}
.mail-reader .gmsg__bodytext {overflow-wrap:anywhere;}
.mail-reader .gmail-toolbar__subject h1 {overflow-wrap:anywhere;}
@media(max-width:850px){.sync-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mail-searchbar{flex-wrap:wrap}.mail-searchbar .workspace-search{flex-basis:100%}.mail-searchbar>.btn{min-height:44px}.mail-sync-line{font-size:11px}.mail-reader{padding:18px}.mail-workspace{height:calc(100dvh - 360px)}}
@media(max-width:600px){.sync-settings__head,.sync-settings__foot{display:block}.sync-settings__head>.btn{margin-top:10px}.sync-settings__foot>.btn{margin-top:12px}.sync-settings__controls{gap:16px}.sync-settings__controls .field{flex:1;min-width:150px}.sync-toggle{width:100%}.sync-stats{gap:16px 12px}.mail-sync-line>span:nth-child(2){flex-basis:100%}.mail-reader .gmail-toolbar__actions select{min-width:0;flex-basis:100%}.mail-reader .mail-workflow-editor .select{min-width:0}.mail-index__filters .gmail-chip{min-height:44px}.mail-pagination .btn{min-height:44px}.mail-workspace{height:auto}.mail-reader .gmsg__date{margin-left:0;white-space:normal}.panel code{overflow-wrap:anywhere}.modal input,.modal select,.modal textarea,.compose input,.compose textarea{font-size:16px}}
@media(max-width:1100px){.howto-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}.howto-instructions{grid-template-columns:1fr}.howto-visual{display:grid;grid-template-columns:1fr 1.1fr;gap:14px}.howto-visual figcaption{grid-column:1/-1}.howto-visual ol{margin:0}.howto-instructions h3{font-size:23px}}
@media(max-width:800px){.howto-head{align-items:flex-start}.howto-head>.btn{font-size:0;padding:10px}.howto-head>.btn svg{width:20px;height:20px}.howto-layout{display:block}.howto-nav{position:static;margin-bottom:22px}.howto-nav nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.howto-nav nav button{grid-template-columns:22px minmax(0,1fr);gap:7px;padding:10px 8px;min-height:68px;border-color:#e1e7f0}.howto-nav nav button>svg:last-child{display:none}.howto-nav nav strong{font-size:12px}.howto-nav nav small{font-size:10px}.howto-detail>header{padding:20px}.howto-progress{padding:18px 20px}.howto-instructions{padding:8px 20px 24px;grid-template-columns:1fr 1fr;gap:18px}.howto-visual{display:block}.howto-visual ol{margin:16px 0}.howto-controls{padding:16px 20px}}
@media(max-width:550px){.page--howto{padding:22px 16px 40px}.howto-head{gap:10px;margin-bottom:20px}.howto-head h1{font-size:25px}.howto-head p{font-size:13px}.howto-eyebrow{font-size:10px}.howto-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}.howto-nav nav button{min-height:72px}.howto-nav nav strong{font-size:13px}.howto-nav nav small{font-size:10px}.howto-detail h2{font-size:22px}.howto-detail>header{align-items:flex-start;padding:18px 16px;gap:8px}.howto-step-count{font-size:11px;padding:5px 7px}.howto-progress{padding:14px 16px;gap:8px}.howto-progress button{display:block;text-align:left}.howto-progress b{margin-bottom:7px}.howto-progress span{font-size:11px}.howto-instructions{display:flex;flex-direction:column;padding:8px 16px 20px}.howto-instructions>section{width:100%}.howto-instructions h3{font-size:23px}.howto-instructions section>.btn{width:100%}.howto-visual{width:100%;box-sizing:border-box}.howto-controls{padding:14px 16px;flex-wrap:wrap}.howto-controls>.btn{font-size:12px;padding:9px 12px}.howto-controls .text-button{order:3;justify-content:center;width:100%;min-height:40px}.howto-help>div{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:550px){.howto-nav nav{display:none}.howto-mobile-picker{display:block}.howto-mobile-picker>span{display:block;font-size:12px;color:#53617a;margin-bottom:6px}.howto-mobile-picker .select{width:100%;min-height:48px;font-size:16px}.page--mail-workspace.mail-mobile-detail .mail-searchbar,.page--mail-workspace.mail-mobile-detail .mail-sync-line{display:none}}
