/* Google Drive settings and the Save-to-Drive sheet, in the Settings row grammar. */
.drive-panel{display:grid;gap:14px;color:var(--navy-ink)}
.drive-panel h2,.drive-sheet h2{font-size:26px;font-weight:600;letter-spacing:-.025em;line-height:1.15;margin:0}
.drive-sheet h2{font-size:22px}
.drive-panel h3{font-size:16px;font-weight:600;margin:10px 0 0}
.drive-panel p,.drive-sheet p{font-size:15px;line-height:1.6;color:var(--muted);max-width:68ch;margin:0;overflow-wrap:anywhere}
.drive-muted{color:var(--muted)}
.drive-feedback:empty{display:none}
.drive-feedback{color:var(--navy-ink);font-weight:600}
.drive-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.drive-actions p{margin:0;font-weight:600;color:var(--navy-2);display:inline-flex;align-items:center;gap:8px}
.drive-actions p::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--navy-2)}
.drive-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:4px 0}
.drive-choices label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:var(--muted);min-width:0}
.drive-choices select{width:100%;min-height:50px;padding:0 12px;border:0;border-radius:var(--key-r);color:var(--navy-ink);background:#fff;font-size:15px;font-weight:500;box-shadow:var(--sheet-rest),inset 0 -1px 0 var(--ivory-3);padding-right:40px}
.drive-choices select:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--navy-2),var(--sheet-rest)}
.drive-choices select:focus{border-color:var(--navy);outline:none}
.drive-toggle{display:flex;gap:12px;align-items:center;min-height:48px;font-size:16px;font-weight:600;cursor:pointer}
.drive-toggle input{width:20px;height:20px;accent-color:var(--navy);flex-shrink:0}
.drive-disconnect{margin:0;padding:0 20px}
.drive-disconnect summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted);font-size:14px;font-weight:600}
.drive-disconnect>*:not(summary){margin-top:10px}
.drive-jobs ul{list-style:none;margin:0;padding:0}
.drive-jobs li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.drive-jobs li:first-child{border-top:0}
.drive-jobs li>div{min-width:0;display:grid;gap:3px}
.drive-jobs strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.drive-jobs span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.drive-jobs .drive-action{flex-shrink:0}
.drive-jobs p{margin:0;font-size:13px}
.drive-sheet[open]{display:grid}
.drive-sheet{gap:14px;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto}
.drive-sheet>.drive-action{margin-top:6px}
.drive-item-title{font-weight:600!important;color:var(--navy-ink)!important}
.drive-item-form{display:grid;gap:14px}
.drive-sheet .drive-jobs{border-top:1px solid var(--line);padding-top:8px}
@media(max-width:599px){.drive-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-height:calc(100dvh - 16px);border-radius:26px 26px 0 0;padding:24px 20px calc(24px + var(--safe-bottom))}.drive-choices{grid-template-columns:1fr;gap:12px}.drive-jobs li{align-items:flex-start;flex-direction:column}.drive-sheet .drive-item-form button[type=submit],.drive-sheet>.drive-sheet-close{width:100%}}
@media(prefers-reduced-motion:reduce){.drive-sheet{scroll-behavior:auto}}
