/* Shared arrangement and touch sizing from the SendToQR SwiftUI screens. */
html:has(body.qr-app-shell){scrollbar-width:none}html:has(body.qr-app-shell)::-webkit-scrollbar{display:none;width:0}
body.qr-app-shell{--qr-accent:#7950f2;--qr-muted:#74717d;--qr-panel:#fff;--qr-canvas:#f2f2f7;--qr-line:#e5e3ea;background:var(--qr-canvas);color:#19191d;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.4}
.qr-app-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.qr-app-shell [hidden]{display:none!important}
html body.qr-app-shell .qrsendme-main{width:100%;max-width:680px;margin:0 auto;padding:0 20px calc(116px + env(safe-area-inset-bottom))!important}
html body.qr-app-shell .qr-app-page{padding:68px 0 0;margin:0}
.qr-app-shell .qr-app-page>h1{font-size:34px;line-height:1.15;letter-spacing:-.8px;font-weight:700;margin:0 0 24px}
.qr-app-shell .command-icon{display:block;width:22px;height:22px;flex:none;object-fit:contain}
.qr-app-shell :is(a,button,summary,input):focus-visible{outline:none!important;box-shadow:inset 0 0 0 2px var(--qr-accent)!important}
.qr-app-shell a:focus-visible{text-decoration:underline}
html body.qr-app-shell .qr-editor-nav{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom));left:0;right:0;width:calc(100% - 40px);max-width:500px;border:1px solid #d9d7df;border-radius:40px;background:#fffffff0;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);padding:3px;margin:0 auto;display:flex;gap:3px;z-index:20;box-shadow:0 2px 12px #2420370b!important}
html body.qr-app-shell .qr-editor-nav a{width:auto;flex:1;min-width:0;min-height:58px;border-radius:34px;padding:7px 2px;gap:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;line-height:1.2;color:#1c1c21;font-weight:500;text-decoration:none}
html body.qr-app-shell .qr-editor-nav a span{width:auto;padding:0;font:inherit;color:inherit;display:block}
html body.qr-app-shell .qr-editor-nav img{width:25px;height:25px;opacity:1;filter:none}
html body.qr-app-shell .qr-editor-nav [aria-current=page]{background:#e9e8ee;color:var(--qr-accent)}
html body.qr-app-shell .qr-editor-nav [aria-current=page] img,.qr-app-shell .qr-feature-icon img,.qr-app-shell .qr-folder-symbol>.command-icon,.qr-app-shell .qr-folder-summary>.command-icon,.qr-app-shell .qr-message-heading>.command-icon,.qr-app-shell .drive-download img,.qr-app-shell .qr-file-menu summary img{filter:invert(35%) sepia(90%) saturate(3000%) hue-rotate(240deg)}
html body.qr-app-shell .qr-library-brand{margin:20px 0 16px;gap:15px}.qr-app-shell .qr-library-brand img{width:38px;height:38px}.qr-app-shell .qr-library-brand p{font-size:16px;font-weight:500}
html body.qr-app-shell .qr-app-search{position:relative;display:flex;align-items:center;gap:0;width:100%;max-width:none;margin:0 0 34px;padding:0;background:#fff;border:1px solid #dedce4;border-radius:28px;min-height:40px}
html body.qr-app-shell .qr-app-search input{flex:1;min-width:0;width:100%;height:40px;min-height:40px;padding:7px 14px 7px 0!important;font-size:17px!important;font-weight:400;line-height:1.3;border:0!important;border-radius:0 28px 28px 0!important;background:transparent!important;color:#19191d!important;box-shadow:none}
html body.qr-app-shell .qr-app-search input::placeholder{color:#89858e;opacity:1}
html body.qr-app-shell .qr-app-search button{position:static;order:0;flex:none;width:36px!important;min-width:36px;min-height:38px;height:38px;display:grid;place-items:center;padding:0!important;margin:0;background:none!important;color:#19191d!important;border:0;border-radius:50%!important}
.qr-app-shell .qr-app-search button img{width:19px;height:19px}
html body.qr-app-shell .qr-library-heading{display:flex;align-items:center;gap:8px}.qr-app-shell .qr-library-heading h1{font-size:15px!important;line-height:1.3;letter-spacing:0;margin:0 0 4px}.qr-app-shell .qr-library-heading p{font-size:13px;margin:0;color:var(--qr-muted)}
html body.qr-app-shell .qr-library-heading #new-event{font-size:16px;min-height:34px;padding:5px 13px;border-radius:24px!important;gap:5px}.qr-app-shell #new-event img{width:17px;height:17px}
html body.qr-app-shell .qr-library-filter{margin:20px 0 16px;padding:2px;border-radius:24px;background:#e5e4eb}.qr-app-shell .qr-library-filter a{min-height:29px;padding:4px;font-size:14px;line-height:1.3;border-radius:20px}.qr-app-shell .qr-shown{font-size:12px;color:var(--qr-muted);margin:0 0 18px}.qr-app-shell #links-status:empty{display:none}
html body.qr-app-shell .cpgeeupload-link-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
html body.qr-app-shell .cpgeeupload-link-card{position:relative;border-radius:18px!important;padding:12px!important;min-width:0;background:var(--qr-panel)!important}
html body.qr-app-shell .cpgeeupload-link-card__content{display:block;min-width:0}
html body.qr-app-shell .qr-tile-art{width:100%;aspect-ratio:1;height:auto;padding:19%;border-radius:12px;min-height:0;margin:0}
html body.qr-app-shell .cpgeeupload-link-card__heading{display:block;margin:10px 0 0!important}.qr-app-shell .cpgeeupload-link-card__heading h3{font-size:17px!important;line-height:1.3;font-weight:600;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.qr-app-shell .cpgeeupload-link-card .badge{font-size:12px;line-height:1.3;color:var(--qr-muted);padding:0;background:none}
.qr-app-shell .qr-card-date{font-size:12px;color:var(--qr-muted);margin:6px 0}.qr-app-shell .qr-card-menu{position:absolute;right:8px;top:8px;z-index:2}.qr-app-shell .qr-card-menu[open]{z-index:5}
.qr-app-shell :is(.qr-card-menu,.qr-file-menu)>summary{display:grid;place-items:center;list-style:none;width:34px;height:34px;padding:6px;border-radius:50%;background:#fff;color:var(--qr-accent);cursor:pointer}
.qr-app-shell summary::-webkit-details-marker{display:none}.qr-app-shell .qr-card-menu summary img{width:22px;height:22px}
html body.qr-app-shell .qr-card-menu .qr-card-actions,.qr-app-shell .qr-file-menu>div{display:flex;flex-direction:column;position:absolute;right:0;top:39px;width:184px;max-width:calc(100vw - 42px);padding:6px;margin:0;background:#fff;border:1px solid var(--qr-line);border-radius:14px;box-shadow:0 8px 24px #20153020;gap:2px}
html body.qr-app-shell .qr-card-menu .qr-card-actions>*{flex:none;display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:42px;padding:10px 12px;font-size:14px;border:0!important;background:#fff!important;color:#19191d!important;border-radius:8px!important;text-align:left;text-decoration:none}
html body.qr-app-shell .qr-card-menu .qr-card-actions>[data-delete-qr]{color:#b42318!important}
html body.qr-app-shell .qr-card-menu .qr-card-actions>*:hover{background:#f2edff!important}
html body.qr-app-shell.qr-native-files main{width:100%;max-width:680px;margin:0 auto;padding:68px 16px calc(116px + env(safe-area-inset-bottom))}
.qr-app-shell .qr-section-label{margin:28px 0 14px;font-size:13px;font-weight:600;line-height:1.4;color:var(--qr-muted)}
html body.qr-app-shell .folder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html body.qr-app-shell .folder{display:block;min-width:0;min-height:150px;padding:14px;border:1px solid #e5e3e9;border-radius:16px;background:var(--qr-panel);color:#19191d;text-decoration:none}
.qr-app-shell .qr-folder-symbol{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.qr-app-shell .qr-folder-symbol>.command-icon{width:34px;height:30px}.qr-app-shell .qr-folder-live img{width:16px;height:16px;filter:invert(54%) sepia(99%) saturate(1732%) hue-rotate(90deg)}
html body.qr-app-shell .folder h2{font-size:17px;line-height:1.3;margin:0 0 10px;font-weight:600;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body.qr-app-shell .folder p{font-size:12px;color:var(--qr-muted);margin:8px 0 0}.qr-app-shell progress{display:block;width:100%;height:4px;border:0;appearance:none;-webkit-appearance:none;border-radius:4px;margin:10px 0;background:#dedbe5;overflow:hidden}.qr-app-shell progress::-webkit-progress-bar{background:#dedbe5}.qr-app-shell progress::-webkit-progress-value{background:var(--qr-accent);border-radius:4px}.qr-app-shell progress::-moz-progress-bar{background:var(--qr-accent);border-radius:4px}
html body.qr-app-shell .qr-retention{color:#a85d00!important}.qr-app-shell .qr-folder-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;align-items:center;margin:0 0 12px}.qr-app-shell .qr-folder-heading>a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--qr-line)}.qr-app-shell .qr-folder-heading img{width:21px;height:21px}.qr-app-shell .qr-folder-heading h1{font-size:19px;line-height:1.3;text-align:center;font-weight:600;letter-spacing:0;margin:0;overflow-wrap:anywhere}
html body.qr-app-shell main.qr-folder-detail{padding-top:20px}.qr-app-shell .qr-folder-detail .qr-app-search{margin-bottom:50px}
html body.qr-app-shell .qr-account-card{border:0;border-radius:26px;padding:18px 16px;background:var(--qr-panel);color:#19191d;margin:0}
.qr-app-shell .qr-folder-summary{display:flex;align-items:flex-start;gap:18px}.qr-app-shell .qr-folder-summary>.command-icon{width:25px;height:25px;margin:9px 4px 0}.qr-app-shell .qr-folder-summary>div{flex:1;min-width:0}.qr-app-shell .qr-folder-summary h2{font-size:17px;font-weight:600;margin:0 0 6px;line-height:1.4;overflow-wrap:anywhere}.qr-app-shell .qr-folder-summary p{margin:6px 0;font-size:13px;color:var(--qr-muted)}
html body.qr-app-shell .qr-bulk-actions{margin-top:14px;padding:16px}.qr-app-shell .qr-bulk-actions>div{display:flex;gap:10px}.qr-app-shell .qr-bulk-actions :is(.qr-download-all,.qr-drive-all){display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;min-height:52px;border:0;border-radius:12px;font-size:13px;font-weight:600;line-height:1.3;padding:10px 8px;text-align:center;text-decoration:none}.qr-app-shell .qr-download-all{background:var(--qr-accent);color:#fff}.qr-app-shell .qr-download-all img{filter:invert(1)}.qr-app-shell .qr-drive-all{background:#eee8ff;color:var(--qr-accent)}.qr-app-shell .qr-drive-all img{filter:invert(35%) sepia(90%) saturate(3000%) hue-rotate(240deg)}.qr-app-shell .qr-bulk-actions .command-icon{width:18px;height:18px}.qr-app-shell .qr-bulk-note{font-size:13px;line-height:1.4;margin:10px 16px 18px;color:var(--qr-muted)}.qr-app-shell .qr-bulk-actions [role=status]{font-size:13px;margin:12px 0 0;color:var(--qr-muted)}.qr-app-shell button:disabled{opacity:.55;cursor:default}
.qr-app-shell .drive-list{margin:0 0 20px;border:0;border-radius:26px;overflow:visible;padding:0 16px;background:#fff}.qr-app-shell .drive-row{position:relative;gap:12px;min-height:78px;padding:16px 0;border-bottom:1px solid var(--qr-line);background:transparent}.qr-app-shell .drive-row:last-child{border:0}.qr-app-shell .drive-icon{width:42px;height:42px;border-radius:9px;background:#e9e5ed;color:#79717e}.qr-app-shell .drive-icon img{width:21px;height:21px}.qr-app-shell .drive-icon--image{background:#fff0e0}.qr-app-shell .drive-icon--image img{filter:invert(61%) sepia(88%) saturate(1803%) hue-rotate(346deg)}.qr-app-shell .drive-icon--video{background:#ffeaec}.qr-app-shell .drive-icon--video img{filter:invert(34%) sepia(88%) saturate(2281%) hue-rotate(333deg)}.qr-app-shell .drive-name strong{font-size:16px;font-weight:400}.qr-app-shell .drive-name small{font-size:12px;color:var(--qr-muted)}
.qr-app-shell .drive-download{border:0;background:none!important;padding:8px;min-width:36px;min-height:44px;display:grid;place-items:center}.qr-app-shell .drive-download img{width:23px;height:23px}.qr-app-shell .qr-file-menu{flex:none;position:relative}.qr-app-shell .qr-file-menu summary{width:30px;height:44px;padding:6px;background:none}.qr-app-shell .qr-file-menu summary img{width:18px;height:18px}.qr-app-shell .qr-file-menu[open]{z-index:5}.qr-app-shell .qr-file-menu>div{top:44px}.qr-app-shell .qr-file-menu a{display:block;padding:12px;font-size:14px;color:#19191d;text-decoration:none}
.qr-app-shell .qr-native-account>h2{margin:28px 16px 12px;font-size:14px;font-weight:600;color:var(--qr-muted)}.qr-app-shell .qr-account-person{gap:16px;padding:6px 0 18px;display:flex;align-items:center}.qr-app-shell .qr-account-person img{width:88px;height:88px}.qr-app-shell .qr-account-person strong{font-size:17px;line-height:1.3;font-weight:600}.qr-app-shell .qr-account-person p{font-size:14px;margin:4px 0 0;color:#19191d}.qr-app-shell .qr-account-details{margin:0}.qr-app-shell .qr-account-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-height:49px;border-top:1px solid var(--qr-line);padding:13px 0;font-size:16px}.qr-app-shell .qr-account-details dd{margin:0;text-align:right;color:var(--qr-muted);min-width:0;overflow-wrap:anywhere}.qr-app-shell .qr-account-details dt{flex:none}
html body.qr-app-shell .qr-account-card>.qr-account-row,html body.qr-app-shell .qr-account-card>form{display:block;margin:0;border-top:1px solid var(--qr-line);padding:13px 0;color:var(--qr-accent);font-size:16px;text-decoration:none}.qr-app-shell .qr-account-card>:last-child{padding-bottom:0!important}.qr-app-shell .qr-account-card>:first-child.qr-account-row{border-top:0;padding-top:0}.qr-app-shell .qr-account-card>form button{display:block;min-height:32px;width:100%;margin:0;padding:0;background:none;border:0;color:#b42318;font-size:16px;text-align:left}.qr-app-shell .qr-drive-person{display:flex;align-items:center;gap:12px;padding:4px 0 18px}.qr-app-shell .qr-feature-icon{width:42px;height:42px;border-radius:12px;background:#eee8ff;display:grid;place-items:center;flex:none}.qr-app-shell .qr-feature-icon img{width:23px;height:23px}.qr-app-shell .qr-drive-person strong{font-size:17px}.qr-app-shell .qr-drive-person p{font-size:13px;color:var(--qr-muted);margin:4px 0 0;overflow-wrap:anywhere}.qr-app-shell .qr-drive-person>div{min-width:0}.qr-app-shell .qr-row-chevron{display:flex!important;align-items:center;justify-content:space-between;gap:12px;color:#19191d!important}.qr-app-shell .qr-row-chevron img{width:14px;height:14px}
.qr-app-shell .qr-message{margin-bottom:16px!important}.qr-app-shell .qr-message-heading{display:flex;align-items:flex-start;gap:12px}.qr-app-shell .qr-message-heading>.command-icon{width:20px;height:20px;margin-top:3px}.qr-app-shell .qr-message-heading>div{flex:1;min-width:0}.qr-app-shell .qr-message-heading h2{font-size:16px;line-height:1.4;letter-spacing:0;font-weight:500;margin:0}.qr-app-shell .qr-message-heading time{font-size:12px;color:var(--qr-muted)}.qr-app-shell .qr-message>p{font-size:14px;line-height:1.5;color:var(--qr-muted);margin:10px 0 0;overflow-wrap:anywhere}.qr-app-shell .qr-unread{width:8px;height:8px;border-radius:50%;background:var(--qr-accent);margin-top:7px;flex:none}.qr-app-shell .qr-message-code{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f1eaff;padding:10px;border-radius:10px;margin-top:12px}.qr-app-shell .qr-message-code button,.qr-app-shell .qr-text-button{color:var(--qr-accent);background:none;border:0;min-height:36px;padding:4px 0;font:inherit;font-size:13px;cursor:pointer}.qr-app-shell .qr-message>form{border:0!important;padding-top:10px!important}.qr-app-shell .qr-message>form button{font-size:13px!important;color:var(--qr-accent)!important}
@media(min-width:760px){html body.qr-app-shell .cpgeeupload-link-cards{grid-template-columns:repeat(3,minmax(0,1fr))}html body.qr-app-shell .folder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){html body.qr-app-shell .qrsendme-main{padding-inline:14px!important}.qr-app-shell .qr-library-heading h1{font-size:14px!important}.qr-app-shell .qr-library-heading p{font-size:12px}.qr-app-shell .qr-library-heading #new-event{font-size:14px;padding-inline:10px}.qr-app-shell .drive-row{gap:7px}.qr-app-shell .drive-icon{width:34px;height:38px}.qr-app-shell .drive-name strong{font-size:14px}.qr-app-shell .qr-bulk-actions>div{flex-direction:column}}
html body.qr-app-shell .qr-editor-nav a{border-radius:34px!important}
html body.qr-app-shell #organiser>.qr-editor-nav{width:calc(100% - 40px);max-width:500px;border:1px solid #d9d7df;border-radius:40px;background:#fffffff0;padding:3px}
html body.qr-app-shell #organiser>.qr-editor-nav a{min-height:58px;padding:7px 2px;gap:3px;font-size:11px;line-height:1.2}
html body.qr-app-shell #organiser>.qr-editor-nav img{width:25px;height:25px}
html body.qr-app-shell{background:var(--qr-canvas)!important;min-height:100dvh}
html body.qr-app-shell .cpgeeupload-link-card .badge{display:block;min-height:0;height:auto;border:0;line-height:1.3;text-align:left}
html body.qr-app-shell .qr-card-menu .qr-card-actions{width:160px}
@media(max-width:759px){html body.qr-app-shell .qrsendme-main:has(#organiser){padding-inline:20px!important}html body.qr-app-shell .qr-tile-art{aspect-ratio:1.04}}
@media(prefers-reduced-motion:reduce){.qr-app-shell *{scroll-behavior:auto!important;transition:none!important}}

/* Private photos keep their own colours; icon tint filters must not affect them. */
.qr-app-shell .drive-icon img.qr-private-thumbnail{width:100%;height:100%;object-fit:cover;border-radius:9px;filter:none}
