:root{--bg: #0f0f12;--surface: #1a1a1f;--border: #2a2a32;--text: #e8e8ed;--text-muted: #8888a0;--accent: #5b7cff;--accent-hover: #7a94ff;--success: #3da86a;--error: #d94a4a;--radius: 10px;--font: "DM Sans", system-ui, sans-serif;--overlay-bg: rgba(15, 15, 18, .5)}body.theme-light{--bg: #f0f0f4;--surface: #ffffff;--border: #e0e0e8;--text: #1a1a1f;--text-muted: #5c5c70;--overlay-bg: rgba(240, 240, 244, .6)}body.theme-light .btn-secondary:hover{background:#d8d8e0}body.theme-light .btn-success:hover{background:#2d8f5c}*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.5}.app{max-width:900px;margin:0 auto;padding:2rem 1.5rem}@media (max-width: 600px){.app{padding:.75rem 1rem}}header{margin-bottom:2rem}@media (max-width: 600px){header{margin-bottom:.75rem}.header-row{flex-direction:column;align-items:center;gap:.4rem}.header-row>div:first-child{text-align:center}.header-title-row{justify-content:center}header h1{font-size:1.25rem;margin:0;white-space:nowrap}.tagline{font-size:.8rem}.header-actions{width:100%;max-width:100%;align-self:stretch;gap:.5rem;justify-content:flex-start;flex-wrap:wrap;min-width:0}.header-actions .header-drive-help-btn{margin-left:auto}.header-drive-link{font-size:.8rem;min-width:0}}.app-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border);text-align:center;font-size:.85rem}.app-footer a{color:var(--text-muted);text-decoration:none}.app-footer a:hover{color:var(--accent)}.footer-sep{margin:0 .5rem;color:var(--text-muted)}.header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.header-row>div:first-child{flex:1;min-width:0;text-align:center}.header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.header-drive-link{background:none;border:none;padding:0;font:inherit;font-size:.9rem;color:var(--text-muted);cursor:pointer;text-decoration:none}.header-drive-link:hover{color:var(--accent)}.header-drive-signout{font-size:.85rem}.header-row .theme-toggle{flex-shrink:0}.header-title-row{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0 0 .25rem}.header-icon{flex-shrink:0;display:block}header h1{margin:0;font-size:1.75rem;font-weight:600;letter-spacing:-.02em}.tagline{margin:0;color:var(--text-muted);font-size:.95rem}section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.5rem;margin-bottom:1.25rem}@media (max-width: 600px){section{padding:.75rem 1rem;margin-bottom:.6rem}}.section-header{width:100%;min-width:0}.section-header-row{display:flex;align-items:center;gap:.5rem;margin:0 0 .5rem;width:100%;min-width:0}.section-header-titles{flex:1;min-width:0}.section-header-titles--with-prefix{display:flex;flex-direction:row;align-items:center;gap:.35rem;overflow:visible;min-width:0}.section-header-titles--with-prefix h2{flex:1;min-width:0}.snippet-history-details{width:100%;min-width:0}.snippet-history-summary{display:flex;align-items:center;gap:.5rem;margin:0 0 .5rem;width:100%;min-width:0;cursor:pointer}.snippet-history-summary-title{margin:0;font-size:1rem;font-weight:600;color:var(--text)}.snippet-history-summary-spacer{flex:1;min-width:0}.snippet-history-summary-actions{display:flex;align-items:center;gap:.35rem;flex-shrink:0}.snippet-history-summary-actions .btn-secondary{padding:.25rem .6rem;font-size:.8rem;height:1.75rem}.snippet-history-summary-actions .btn-icon-svg{width:.9rem;height:.9rem}.snippet-history-details-body{min-width:0}@media (max-width: 600px){.snippet-history-summary-title{font-size:.95rem}}.section-header-titles h2{margin:0}.section-header-subtitle{margin:.2rem 0 0;font-size:.75rem;font-weight:400;line-height:1.35;color:var(--text-muted)}.section-header-subtitle-below{display:block;width:100%;max-width:100%;box-sizing:border-box;margin:0 0 .4rem;padding:0 0 .05rem;font-size:.72rem;font-weight:400;line-height:1.3;color:var(--text-muted);white-space:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.section-header-subtitle-below::-webkit-scrollbar{height:4px}.section-header-subtitle-below::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.section-header-row h2{margin:0;font-size:1rem;font-weight:600;color:var(--text)}.section-help-btn.btn-icon{flex-shrink:0;padding:.35rem;width:1.75rem;height:1.75rem}.section-help-btn.btn-icon svg{width:1rem;height:1rem}.section-header-row--with-toolbar .section-header-titles{flex:0 1 auto}.section-header-toolbar{display:flex;align-items:center;gap:.35rem;margin-left:auto;flex-shrink:0}.section-header-toolbar .btn-icon{padding:.35rem;width:1.75rem;height:1.75rem}.section-header-toolbar .btn-icon svg{width:1rem;height:1rem}.section-header-toolbar .btn-small{padding:.35rem .65rem;font-size:.8rem}.section-header-before-help{display:flex;align-items:center;flex-shrink:0;gap:.35rem}.section-header-extra{margin-left:auto;flex-shrink:0}.section-header-extra .btn{padding:.25rem .6rem;font-size:.8rem;height:1.75rem}.section-header-extra .btn-icon-svg{width:.9rem;height:.9rem}.section-notes{margin-bottom:1rem}.section-notes p:last-child{margin-bottom:0}section h2{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:var(--text)}@media (max-width: 600px){section h2{margin:0 0 .25rem;font-size:.95rem}}section p{margin:0 0 1rem;font-size:.9rem;color:var(--text-muted)}@media (max-width: 600px){section p{margin:0 0 .4rem;font-size:.85rem;line-height:1.4}.section-header-row{margin:0 0 .25rem}.section-notes{margin-bottom:.75rem}section p.note{margin:-.25rem 0 .5rem;font-size:.8rem}}section p.note{margin:-.5rem 0 1rem;font-size:.875rem}.actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.push .actions .btn{flex:1;min-width:10rem}@media (max-width: 600px){.actions{gap:.4rem;margin-bottom:.25rem}.actions .btn{padding:.55rem 1rem;font-size:.85rem}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.65rem 1.25rem;font:inherit;font-size:.9rem;font-weight:500;border:none;border-radius:8px;cursor:pointer;transition:background .15s,color .15s}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--border);color:var(--text)}.btn-secondary:hover{background:#3a3a45}.btn-success{background:var(--success);color:#fff}.btn-success:hover{background:#4ab87d}.btn-small{padding:.4rem .75rem;font-size:.8rem}.btn-icon{padding:.4rem;width:2.25rem;height:2.25rem}.btn-icon svg{width:1.25rem;height:1.25rem;display:block}.status{font-size:.85rem;min-height:1.2em}.status.success{color:var(--success)}.status.error{color:var(--error)}.snippet-list-panel{min-width:0}.snippet-list-expand-actions{margin:0 0 .5rem}.snippet-list-expand-actions .btn{width:100%}.pull .section-header-row{flex-wrap:nowrap}.snippet-list{list-style:none;margin:0 0 .5rem;padding:0}.snippet-item{display:flex;flex-direction:column;align-items:stretch;gap:.35rem;padding:.75rem;margin-bottom:.5rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;font-size:.9rem}.snippet-item-main{display:flex;align-items:flex-start;gap:.75rem}.snippet-item-main>.content{flex:1;min-width:0}.snippet-item-status{margin:0;padding-top:.1rem}.snippet-item .text{white-space:pre-wrap;word-break:break-word}.snippet-item .meta{font-size:.75rem;color:var(--text-muted);margin-top:.25rem}.snippet-item-main button{flex-shrink:0}.snippet-actions{display:flex;flex-direction:column;gap:.5rem;flex-shrink:0}.snippet-item-image .content{flex:1;min-width:0}.snippet-thumb-wrap{display:block;padding:0;border:none;background:none;cursor:pointer;border-radius:6px;text-align:left;font:inherit}.snippet-thumb-wrap:focus{outline:2px solid var(--accent);outline-offset:2px}.snippet-thumb{display:block;max-width:100%;max-height:200px;width:auto;height:auto;border-radius:6px;object-fit:contain;background:var(--bg);pointer-events:none}.image-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:1rem;background:#000000d9;cursor:pointer}.image-lightbox-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px;cursor:default}.google-signed-in{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-bottom:.5rem;font-size:.9rem;color:var(--text-muted)}.google-signed-in .btn-small{margin-left:.25rem}.pull-title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.pull-title-row h2{margin:0;flex:1;min-width:0}.pull-title-row .btn{flex-shrink:0}.pull>.btn-secondary{margin-bottom:1rem}.share-qr{margin-bottom:1rem;text-align:center}.share-qr img{display:block;margin:0 auto;border-radius:8px;background:#fff}.share-qr.share-qr--dialog{margin-bottom:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.session-row{display:flex;gap:.5rem;align-items:stretch}.session-row--input-only{margin-top:.15rem}.session-slug-input{flex:1;min-width:0;padding:.5rem .75rem;font:inherit;font-size:.85rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text)}.session-slug-input:focus{outline:none;border-color:var(--accent)}.session-slug-input:read-only{cursor:default}.session .section-header-row{margin-bottom:.35rem}@media (max-width: 600px){.session .session-slug-input{min-height:2.25rem;padding:.4rem .6rem;font-size:.85rem}}@media (max-width: 480px){.session-row:not(.session-row--input-only){flex-direction:column;align-items:stretch}.session-slug-input{min-height:2.25rem;padding:.5rem .75rem;font-size:.9rem}}.share-row{display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;align-items:center}.share-row input{flex:1;min-width:0;padding:.5rem .75rem;font:inherit;font-size:.85rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text);overflow-x:auto}.share-row input:focus{outline:none;border-color:var(--accent)}.share-row-buttons{display:flex;gap:.5rem;flex-shrink:0}@media (max-width: 480px){.share-row input{min-height:2.75rem;padding:.75rem 1rem;font-size:.95rem}}.api-loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:var(--overlay-bg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--text);font-family:var(--font);pointer-events:auto}.api-loading-spinner{width:56px;height:56px;border:4px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:api-loading-spin .9s linear infinite}.api-loading-text{font-size:.95rem}@keyframes api-loading-spin{to{transform:rotate(360deg)}}html.extension-shell,html.extension-shell body{height:100%;margin:0;overflow:hidden}html.extension-shell #root{height:100%;min-height:0}.extension-panel-fill{height:100%;min-height:0;display:flex;flex-direction:column}.extension-app{min-width:340px;max-width:100%;flex:1;min-height:0;display:flex;flex-direction:column;box-sizing:border-box}.app.extension-app{padding:.45rem .75rem .35rem}@media (max-width: 600px){.app.extension-app{padding:.4rem .65rem .3rem}}.extension-app header{margin-bottom:.45rem}.extension-app header h1{font-size:1.12rem;font-weight:600;letter-spacing:-.02em;line-height:1.2}.extension-app .header-icon{width:22px;height:22px;object-fit:contain}.extension-app .header-title-row{gap:.35rem}.extension-app-fixed-top{flex-shrink:0}.extension-app-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.extension-app .header-row{flex-direction:row;align-items:flex-start}.extension-app .header-row>div:first-child{text-align:left}.extension-app .header-title-row{justify-content:flex-start;margin-bottom:0}.extension-header-row{align-items:center;gap:.35rem}.extension-header-trailing{flex-shrink:0;display:flex;align-items:flex-start;justify-content:flex-end;max-width:min(100%,19rem)}.extension-drive-link-root{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem;min-width:0}.extension-header-drive-inline{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:.3rem}.extension-header-drive-signin{font-size:.78rem;white-space:nowrap}.extension-app .header-drive-signout{font-size:.78rem}.drive-auth-error--extension-header{margin-top:0;width:100%;max-width:100%;align-self:stretch;text-align:left}.drive-auth-error{margin-top:.5rem;padding:.5rem .75rem;background:var(--surface);border:1px solid var(--error);border-radius:6px;font-size:.78rem;color:var(--error);word-break:break-all}.drive-auth-error p{margin:.15rem 0}.rating-widget{flex-shrink:0;margin-top:0;padding-top:.4rem;padding-bottom:.1rem;border-top:1px solid var(--border);background:var(--bg)}.rating-widget-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.2rem .35rem}.rating-widget-row--with-theme{justify-content:flex-start;width:100%}.rating-widget-main{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.2rem .35rem;flex:1 1 auto;min-width:0}.rating-widget-theme-toggle{flex-shrink:0;margin-left:auto}.rating-widget-icon-btn{padding:.15rem .35rem;margin-bottom:0;min-width:auto}.rating-widget-label{font-size:.78rem;color:var(--text-muted);margin:0 .05rem 0 .15rem}.rating-widget-stars{display:inline-flex;align-items:center;gap:.05rem}.rating-widget-star{background:none;border:none;padding:0 .02rem;font-size:1.02rem;line-height:1;cursor:pointer;transition:transform .15s ease,color .15s ease;-webkit-text-stroke:.06em #ea580c;paint-order:stroke fill}.rating-widget-star-empty{color:#fde68a}.rating-widget-star-active{color:#ea580c;-webkit-text-stroke-color:#c2410c}.rating-widget-star:hover{transform:scale(1.12)}@keyframes rating-widget-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.rating-widget-bounce{animation:rating-widget-bounce .5s ease 2}.section-help-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:19500;display:flex;align-items:center;justify-content:center;padding:1rem;background:var(--overlay-bg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:section-help-dialog-fade .2s ease-out}@keyframes section-help-dialog-fade{0%{opacity:0}to{opacity:1}}.section-help-dialog{width:100%;max-width:min(28rem,100vw - 2rem);max-height:min(70vh,32rem);display:flex;flex-direction:column;border-radius:calc(var(--radius) + 4px);background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:0 20px 50px #00000059;overflow:hidden;animation:section-help-dialog-slide .28s cubic-bezier(.34,1.15,.64,1)}@keyframes section-help-dialog-slide{0%{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}.section-help-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-shrink:0;padding:.85rem 1rem;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 92%,var(--border))}.section-help-dialog-header h2{margin:0;font-size:1rem;font-weight:600;color:var(--text);line-height:1.3}.section-help-dialog-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:none;border-radius:8px;background:var(--border);color:var(--text);font:inherit;font-size:1.25rem;line-height:1;cursor:pointer;transition:background .15s}.section-help-dialog-close:hover{background:color-mix(in srgb,var(--border) 70%,var(--text-muted))}.section-help-dialog-body{padding:1rem 1.1rem 1.15rem;overflow-y:auto;-webkit-overflow-scrolling:touch;font-size:.9rem;line-height:1.55;color:var(--text-muted)}.section-help-dialog-body p{margin:0 0 .85rem}.section-help-dialog-body p:last-child{margin-bottom:0}.section-help-dialog-body .note{font-size:.875rem}.rating-dialog-klipee-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;display:flex;align-items:center;justify-content:center;padding:1rem;background:var(--overlay-bg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:rating-dialog-klipee-fade .25s ease-out}@keyframes rating-dialog-klipee-fade{0%{opacity:0}to{opacity:1}}.rating-dialog-klipee{width:100%;max-width:420px;border-radius:calc(var(--radius) + 8px);padding:1.75rem 1.5rem;background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:0 20px 50px #00000059;position:relative;overflow:hidden;animation:rating-dialog-klipee-slide .35s cubic-bezier(.34,1.2,.64,1)}.rating-dialog-klipee:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 70%,var(--border)) 0%,var(--accent) 25%,var(--accent-hover) 50%,var(--accent) 75%,color-mix(in srgb,var(--accent) 70%,var(--border)) 100%)}@keyframes rating-dialog-klipee-slide{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.rating-dialog-klipee-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.rating-dialog-klipee-text{margin:0;text-align:center;font-size:.95rem;line-height:1.55;color:var(--text-muted)}.rating-dialog-klipee-text-lead{color:var(--text);font-weight:600;font-size:1rem}.rating-dialog-klipee-stars{display:flex;gap:.35rem;justify-content:center;align-items:center;padding:.65rem .85rem;border-radius:var(--radius);background:color-mix(in srgb,var(--accent) 8%,transparent);border:1px solid var(--border)}.rating-dialog-klipee-star{background:none;border:none;font-size:2rem;line-height:1;color:#fde68a;cursor:pointer;padding:.15rem .25rem;transition:transform .15s ease,color .15s ease}.rating-dialog-klipee-star:hover{transform:scale(1.12)}.rating-dialog-klipee-star-filled{color:#f59e0b}body.theme-light .rating-dialog-klipee-star-filled{color:#ea580c}.rating-dialog-klipee-buttons{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;width:100%;margin-top:.25rem}.rating-dialog-klipee-btn{min-width:7.5rem;flex:1 1 auto}
