.k12-google-view { margin: 1.5rem 0; max-width: 100%; }
.k12-google-view iframe { display: block; width: 100%; height: 600px; max-width: 100%; border: 1px solid #dbe3ec; border-radius: 8px; background: #fff; }
.k12-google-presentation iframe { aspect-ratio: 16 / 9; height: auto; min-height: 200px; }
.k12-google-forms iframe { height: 720px; }
.k12-google-view p { font-size: .9rem; line-height: 1.5; margin: .5rem 0; }
.k12-google-view span { color: #526174; }
.k12-google-dialog { width: min(560px, calc(100vw - 32px)); box-sizing: border-box; max-height: 90dvh; overflow: auto; padding: 24px; border: 1px solid #dbe3ec; border-radius: 16px; color: #182c43; background: #fff; box-shadow: 0 16px 64px #12263d33; }
.k12-google-dialog::backdrop { background: #12263d88; }
.k12-google-dialog h2 { margin: 0 0 16px; font-size: 1.5rem; }
.k12-google-dialog label { display: block; font-weight: 600; margin-bottom: 8px; }
.k12-google-dialog input { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #8496a9; border-radius: 6px; font-size: 16px; }
.k12-google-dialog details { border-top: 1px solid #dbe3ec; margin-top: 16px; padding-top: 12px; }
.k12-google-dialog summary { cursor: pointer; color: #146174; font-weight: 600; padding: 6px 0; }
.k12-google-dialog details[open] summary { margin-bottom: 14px; }
.k12-google-dialog #k12-google-status:not(:empty) { padding: 10px; border: 1px solid #c5d2e0; border-radius: 6px; background: #f5f8fc; }
.k12-google-dialog [hidden] { display: none !important; }
.k12-google-dialog p { font-size: 14px; line-height: 1.5; margin: 12px 0; }
.k12-google-dialog .k12-google-error { color: #a02222; }
.k12-google-dialog footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.k12-google-dialog button { padding: 10px 16px; border-radius: 8px; border: 1px solid #b5c3d0; background: #fff; color: #182c43; cursor: pointer; font-size: 15px; }
.k12-google-dialog button[type=submit] { background: #146174; border-color: #146174; color: #fff; }
.k12-google-dialog :focus-visible { outline: 3px solid #4285f4; outline-offset: 3px; }
.k12-toolbar-btn[data-action=google] svg { width: 20px; height: 20px; }
@media(max-width: 480px) { .k12-google-dialog { padding: 18px; } .k12-google-view iframe { height: 480px; } .k12-google-presentation iframe { height: auto; } .k12-google-forms iframe { height: 650px; } }
