.ksq-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}.ksq-actions button,.ksq-dialog-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:8px 12px;border:1px solid #b18a37;border-radius:10px;background:#fffdf8;color:#947025;font:700 12px/1.65 Tahoma,Arial,sans-serif;cursor:pointer}.ksq-actions svg,.ksq-dialog svg{width:19px;height:19px;flex:none}.ksq-actions button:focus-visible,.ksq-dialog button:focus-visible{outline:2px solid #a47d29;outline-offset:3px}.ksq-status{margin:4px 0 10px;min-height:0;color:#806526;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ksq-status:empty{display:none}
.ksq-dialog{width:min(440px,calc(100% - 24px));max-width:440px;max-height:calc(100dvh - 28px);margin:auto;padding:17px;border:1px solid #e5dcc9;border-radius:18px;background:#fffefb;color:#272923;box-shadow:0 16px 60px #0003;overflow-y:auto;overscroll-behavior:contain;font-family:Tahoma,Arial,sans-serif}.ksq-dialog:not([open]){display:none}.ksq-dialog::backdrop{background:#17150f80}.ksq-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ksq-dialog-head h2{font-size:17px;margin:0;line-height:1.6}.ksq-dialog .ksq-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:9px;background:transparent;color:#77746a;font:30px/1 Arial,sans-serif;cursor:pointer;flex:none}.ksq-card{text-align:center;padding:2px 0 12px}.ksq-brand{margin:0 0 8px;font-weight:700;font-size:14px}.ksq-card h3{margin:0 0 5px;font-size:18px;line-height:1.7;overflow-wrap:anywhere}.ksq-card h3 bdi{font-weight:700}.ksq-card #searchQrHint{font-size:12px;line-height:1.7;color:#7e7c73;margin:0 0 10px}.ksq-card canvas{display:block;width:min(100%,260px);height:auto;aspect-ratio:1;margin:0 auto 8px;background:#fff;border:1px solid #eee6d7;border-radius:10px}.ksq-card canvas[hidden]{display:none}.ksq-domain{font-size:14px;color:#36352f}.ksq-loading{font-size:13px;line-height:1.8;padding:18px 10px;color:#7d7666}.ksq-loading[hidden]{display:none}.ksq-dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ksq-dialog-actions #searchQrDownload{background:#a7812e;color:#fff}.ksq-dialog-actions .ksq-share{grid-column:1/-1;border-color:transparent;background:transparent;min-height:40px}.ksq-dialog-actions button:disabled{opacity:.45;cursor:default}.ksq-copy-fallback{width:100%;margin-top:8px;padding:10px;border:1px solid #d8caa9;border-radius:8px;font:13px/1.6 Arial,sans-serif;direction:ltr}.ksq-dialog.ksq-fallback[open]{position:fixed;inset:0;z-index:1000}.ksq-dialog.ksq-fallback{outline:100vmax solid #17150f80}
@media(max-width:350px){.ksq-dialog{padding:12px}.ksq-dialog-actions button{font-size:11px;padding-inline:6px}.ksq-card h3{font-size:16px}}

.ksq-support{display:flex;align-items:center;justify-content:center;gap:6px;margin:8px 0 3px;color:#806526;font-size:12px;line-height:1.7}.ksq-support img{display:block;width:28px;height:28px;object-fit:contain}.ksq-domain{display:block}

/* Style 3: ivory card with gold corner ribbons and a wrapping title. */
.ksq-card-editorial{position:relative;isolation:isolate;overflow:hidden;padding:20px 14px 17px;margin:8px 0 14px;border:1px solid #e8dfcd;border-radius:15px;background:#faf6ed}
.ksq-card-editorial:before,.ksq-card-editorial:after{content:"";position:absolute;width:65px;height:65px;z-index:-1;pointer-events:none;background:linear-gradient(135deg,#b38a2c,#e2c778);clip-path:polygon(0 0,100% 0,0 100%)}
.ksq-card-editorial:before{top:0;left:0}.ksq-card-editorial:after{bottom:0;right:0;transform:rotate(180deg)}
.ksq-editorial-heading{display:flex;align-items:flex-start;gap:10px;text-align:start;padding-inline-start:4px;margin-bottom:16px;position:relative}
.ksq-card-search{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;background:#f1dfaa;color:#91691e;border-radius:50%;margin-top:3px}
.ksq-card-search svg{width:22px;height:22px}.ksq-editorial-heading>div{min-width:0;flex:1;border-inline-start:1px solid #c9a552;padding-inline-start:10px}
.ksq-editorial-heading p{font-size:12px;margin:0 0 5px;color:#4c4536;line-height:1.7}.ksq-editorial-heading h3{font-size:clamp(22px,6vw,32px);font-weight:700;line-height:1.7;margin:0;overflow-wrap:anywhere}
.ksq-card-editorial #searchQrHint{margin:11px 0 12px;color:#37352e;font-size:12px}.ksq-card-editorial canvas{border-color:#d5b362;border-radius:10px}.ksq-card-editorial .ksq-support{position:relative;padding-top:13px;margin-top:11px}.ksq-card-editorial .ksq-support:before{content:"";position:absolute;top:0;width:32px;height:1px;background:#b7923e}

.ksq-card-editorial .ksq-support img{mix-blend-mode:multiply}

/* Compact sharing tools alongside the results heading. */
.ksq-results-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px;row-gap:6px;margin-bottom:14px}.ksq-results-copy{min-width:0}.ksq-results-copy .search-title{overflow-wrap:anywhere}.ksq-results-copy .search-summary{margin-bottom:0}.ksq-results-heading .ksq-actions{display:flex;flex-wrap:nowrap;gap:5px;margin:0;padding-top:1px}.ksq-results-heading .ksq-actions button{width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:12px;background:#f5f2eb;color:#8b6a28;box-shadow:none}.ksq-results-heading .ksq-actions button:hover{background:#ece4d4}.ksq-results-heading .ksq-actions button svg{width:21px;height:21px}.ksq-results-heading>#searchShareStatus{grid-column:1/-1;margin:0}.ksq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:380px){.ksq-results-heading{column-gap:8px}.ksq-results-heading .search-title{font-size:18px}}
