/* EASHR demo-inspired presentation, no framework. The existing application handles real data. */
:root{--bg:#0a0e1a;--card:rgba(15,23,42,.77);--border:rgba(255,255,255,.12);--cyan:#22d3ee;--text:#f1f5f9;--muted:#a7b6c9;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#0a0e1a;color:var(--text);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,select,input{font:inherit}button{cursor:pointer}a{color:inherit}.hidden,[hidden]{display:none!important}
.hero{position:relative;isolation:isolate;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:40px 22px;background:linear-gradient(110deg,#060e20b8,#07111a50),url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat fixed}
.hero-inner{display:grid;grid-template-columns:380px minmax(0,1fr);align-items:start;gap:clamp(34px,4.5vw,65px);width:min(1230px,100%);margin:auto}
.transfer{grid-column:1;grid-row:1;background:var(--card);backdrop-filter:blur(16px);border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:0 20px 50px #0006;min-width:0;max-height:calc(100svh - 60px);overflow-y:auto;scrollbar-width:thin}
.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-bottom:15px}
.logo{color:#fff;text-decoration:none;font-size:23px;font-weight:750;letter-spacing:.11em}
.logo:before{content:'E';display:inline-grid;place-items:center;width:33px;height:33px;margin-right:10px;color:#10253b;background:linear-gradient(140deg,#67e8f9,#22d3ee);border-radius:6px;letter-spacing:0;font-size:20px;font-weight:800}
.navigation{display:flex;align-items:center;gap:7px}.navigation>a{display:none}.navigation select,.navigation button{border:1px solid var(--border);background:#ffffff0d;color:var(--text);padding:7px 9px;border-radius:7px}.settings{flex-basis:100%;padding:10px;background:#0d1a2a;border:1px solid var(--border)}.settings button{display:block;border:1px solid var(--border);background:transparent;color:white;padding:8px;margin-top:5px}
.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--border);margin-bottom:14px}.tabs button{background:none;color:var(--muted);border:0;border-bottom:2px solid transparent;padding:9px}.tabs button.active{border-bottom-color:var(--cyan);color:#fff;font-weight:700}
.drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:156px;width:100%;border:2px dashed #22d3ee7a;border-radius:12px;padding:19px 12px;text-align:center;background:transparent;color:var(--text)}.drop:hover,.drop.drag{background:#22d3ee12;border-color:var(--cyan)}.drop i{font-size:44px;color:var(--cyan)}.drop strong{font-size:14px}.drop span{font-size:12px;color:var(--muted)}
.zonebar{display:flex;gap:8px;align-items:center;margin:15px 0}.zonebar select{flex:1;min-width:0}.zonebar select,.zonebar button{background:#ffffff0a;border:1px solid var(--border);color:#f1f5f9;padding:9px 11px;border-radius:7px}.zonebar button{font-size:18px}.zonebar option{background:#142136}
.row-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:16px 0 6px}.row-head h2{font-size:14px;font-weight:650;margin:0}.link-btn{border:0;background:transparent;color:var(--cyan);font-size:12px;padding:3px}
.files{padding:0;list-style:none;margin:0 0 15px;max-height:210px;overflow:auto;scrollbar-width:thin}.files li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;padding:9px 0;border-bottom:1px solid #ffffff12}.filename{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meta{font-size:11px;color:var(--muted)}.files li button{color:#c6d9ea;border:0;background:transparent}
.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.actions button{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 5px;border:1px solid var(--border);border-radius:8px;background:#ffffff0d;color:var(--text);font-size:12px}.actions button:first-child{border:0;color:#0c2334;background:linear-gradient(130deg,#22d3ee,#06b6d4);font-weight:700}.actions i{font-size:17px}
.pitch{grid-column:2;grid-row:1;padding-top:35px;min-width:0}.pitch h1{font-size:clamp(40px,5vw,67px);line-height:1.07;letter-spacing:-.04em;font-weight:800;margin:0 0 15px}.pitch p{font-size:clamp(16px,1.6vw,21px);color:#d1d9e7;max-width:670px;margin:0 0 37px}.benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.benefits span{min-height:155px;background:var(--card);border:1px solid var(--border);backdrop-filter:blur(12px);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:18px 11px;font-size:13px}.benefits i{font-size:32px;color:var(--cyan)}.benefits b{font-weight:600}
.zone-info,.status{font-size:11px;color:var(--muted);margin:7px 0}.upload-progress{margin:9px 0}.upload-progress-top{display:flex;justify-content:space-between;gap:8px;font-size:12px}.upload-bar,.meter{height:5px;background:#ffffff31;margin:6px 0}.upload-bar>div,.meter>div{height:100%;width:0;background:var(--cyan)}
.receive{padding:6px 0}.received-alert{padding:10px;border:1px solid var(--border);background:#12253b}.received-alert strong{float:right}.receive h3{font-size:13px}.receive>i,.receive>h2,.receive>p,.receive>.primary{display:none}.zone-notifications button{width:100%;text-align:left;background:#1a293b;color:#fff;border:0;padding:8px}
.subsection{padding:75px 22px;max-width:1100px;margin:auto;text-align:center;color:#1b2b43}.subsection h2{font-size:35px}.subsection>p{color:#64748b}.columns{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:35px;text-align:left}.columns i{font-size:30px;color:#089ab3}.columns h3{font-size:17px}.columns p{font-size:13px;color:#6b7c8f}.extra{background:#ecf2f8;color:#253a51;padding:25px max(20px,calc((100vw - 1100px)/2))}.extra details{padding:12px;border-bottom:1px solid #d3dde7}.extra summary{cursor:pointer}.footer{background:#101a2a;color:#b1bdcd;padding:23px 5vw}
dialog{background:#132239;color:#fff;border:1px solid #61748a;border-radius:10px;padding:24px;max-width:min(94vw,420px)}dialog::backdrop{background:#000b}dialog input{width:100%;padding:10px;color:#142438}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin:12px 0}dialog button{border:1px solid #536b85;background:#182c47;color:white;border-radius:5px;padding:9px}
@media(max-width:1000px){.hero-inner{grid-template-columns:minmax(315px,380px) minmax(0,1fr);gap:28px}.benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hero{padding:24px 15px;background-attachment:scroll}.hero-inner{grid-template-columns:1fr;gap:28px}.transfer{grid-column:1;grid-row:1;width:min(100%,460px);max-height:none;margin:0 auto}.pitch{grid-column:1;grid-row:2;padding-top:0;text-align:center}.pitch p{margin-left:auto;margin-right:auto}.benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.benefits span{min-height:115px}}
@media(max-width:420px){.transfer{padding:18px}.actions button{font-size:11px;flex-direction:column}.pitch h1{font-size:36px}.columns{grid-template-columns:1fr 1fr}}

/* v1.3: compact Inter typography + lighter translucent app glass */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;700&display=swap');
body{font-family:'Inter',system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.48}
.transfer{position:relative;background:rgba(15,23,42,.56);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);border:1px solid rgba(255,255,255,.19)}
.logo{font-size:20px;font-weight:600}.drop strong{font-size:13px}.row-head h2{font-size:13px}.filename{font-size:12px}.zonebar select,.zonebar button{font-size:12px}
.navigation button{font-size:12px}
.header{position:relative;z-index:2}
.app-overlay,.transfer .settings{position:absolute;z-index:12;inset:0;background:rgba(18,24,36,.97);backdrop-filter:blur(20px);padding:23px;overflow-y:auto;min-height:100%;border:0;border-radius:inherit;display:flex;flex-direction:column;gap:15px}
.app-overlay.hidden,.transfer .settings.hidden{display:none!important}
.overlay-head{display:flex;align-items:center;gap:15px;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:15px}
.overlay-head h2{font-size:18px;font-weight:600;margin:0}
.overlay-head button{font-size:16px;background:transparent;border:1px solid rgba(255,255,255,.15);color:#e9f7ff;border-radius:5px;padding:8px 11px}
.app-overlay p,.transfer .settings p{color:#a8b8ca;font-size:12px;margin:0}
.language-list{display:flex;flex-direction:column;gap:5px}
.language-list a{display:block;padding:14px 11px;text-decoration:none;color:#dcebf6;border:1px solid rgba(255,255,255,.1);border-radius:4px;font-size:13px}
.language-list a:hover,.language-list a.selected{border-color:#22d3ee;background:rgba(34,211,238,.09);color:#fff}
.transfer .settings #disconnect{align-self:stretch;padding:13px;text-align:left;font-size:13px}
@media(max-width:760px){.transfer{background:rgba(15,23,42,.62)}}

/* Refinement: compact upload area, more room for files */
.transfer .drop{min-height:108px;padding:12px 10px;gap:3px}
.transfer .drop i{font-size:32px}
.transfer .drop strong{font-size:12px}
.transfer .drop span{font-size:11px}
.transfer .zonebar{margin:11px 0 9px}
.transfer .upload-progress{margin:7px 0 10px}
.navigation #settingsToggle i{font-size:16px}
@media(max-width:760px){.transfer .drop{min-height:112px}}

/* Layout revision: marketing left, compact app right */
@media(min-width:761px){
 .hero-inner{grid-template-columns:minmax(0,1fr) 380px;align-items:center}
 .pitch{grid-column:1;grid-row:1}
 .transfer{grid-column:2;grid-row:1;width:100%}
}
@media(max-width:760px){
 .hero-inner{display:flex;flex-direction:column}
 .transfer{order:1}
 .pitch{order:2}
}
.navigation{display:flex;align-items:center;gap:7px}
.navigation #languageOpen,.navigation #settingsToggle{height:36px;min-height:36px;margin:0;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;line-height:1;border-radius:6px}
.navigation #settingsToggle{width:36px;padding:0}
.zonebar select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ceddec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:36px}
.zonebar #create{width:38px;height:38px;min-width:38px;display:grid;place-items:center;padding:0;font-size:20px;line-height:1}
.zonebar #create i{font-size:20px}
.zone-info{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;color:var(--muted)}
.zone-info i{font-size:14px;color:var(--cyan)}

/* Stable app viewport: only file lists scroll, never the whole app. */
.transfer{height:590px;min-height:590px;max-height:none;overflow:hidden;display:flex;flex-direction:column}
.transfer .header,.transfer .tabs,.transfer #sendPane,.transfer .zonebar,.transfer .upload-progress,.transfer .zone-info,.transfer .status{flex-shrink:0}
.transfer #uploadFilesSection{display:flex;flex-direction:column;min-height:0;flex:1}
.transfer #filesSection{display:flex;flex-direction:column;min-height:0;flex:1}
.transfer #uploadFilesSection.hidden,.transfer #filesSection.hidden{display:none!important}
.transfer #uploadFilesSection .row-head{flex-shrink:0}
.transfer #files{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}
.transfer #zoneFiles{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}
.transfer #uploadFilesSection .actions{flex-shrink:0;margin-top:10px}
.transfer #receiveTab{position:relative}
.files-badge{position:absolute;top:0;right:8px;display:inline-flex;align-items:center;gap:2px;color:#22d3ee;font-size:10px;line-height:1;transform:translateY(-28%)}
.files-badge i{font-size:13px}
.files-badge span{display:inline-block;min-width:12px;font-size:9px;font-weight:700}
@media(max-width:760px){.transfer{height:590px;min-height:590px;max-height:none;overflow:hidden}}

/* Reference capture 7: soft rounded outer window, not the clipped capture 8 edge */
.transfer{border-radius:22px!important;overflow:hidden;isolation:isolate}
.transfer .app-overlay,.transfer .settings{border-radius:inherit}
.file-entry{grid-template-columns:34px minmax(0,1fr) 30px 30px!important;gap:9px!important;min-height:54px;padding:8px 1px!important}
.file-entry .file-symbol{width:30px;height:33px;display:grid;place-items:center;background:#384454;border-radius:6px;color:#e7f6fc;font-size:19px}
.file-entry .file-symbol[data-kind=pdf]{background:#da3e48}
.file-entry .file-symbol[data-kind=image]{background:#24975e}
.file-entry .file-symbol[data-kind=video]{background:#8545c8}
.file-entry .file-symbol[data-kind=archive]{background:#df8331}
.file-entry .file-symbol[data-kind=document]{background:#346cc9}
.file-entry .file-symbol[data-kind=audio]{background:#8d5cbb}
.file-entry .file-details{display:flex;flex-direction:column;min-width:0;gap:1px}
.file-entry .file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550}
.file-entry .file-meta{font-size:11px;color:#a7b6c9}
.file-entry .file-action{border:0;background:transparent;color:#d7e8fb;padding:5px;min-width:28px;display:grid;place-items:center}
.file-entry .file-action i{font-size:17px}
.file-entry .file-action:hover{color:#32d6f4}
.file-entry .file-action:disabled{opacity:.45;cursor:not-allowed}

/* Optional email identity controls, consistent with fullscreen Settings */
.account-settings{display:flex;flex-direction:column;gap:9px;border-top:1px solid rgba(255,255,255,.13);padding-top:15px}
.account-settings h3{margin:0;font-size:14px;font-weight:600}
.account-settings p{font-size:12px;line-height:1.5}
#accountForm{display:flex;flex-direction:column;gap:9px}
#accountForm label{font-size:11px;color:#b9c6d6}
#accountEmail{width:100%;min-width:0;box-sizing:border-box;color:#f4f7ff;background:#ffffff0b;border:1px solid #607085;border-radius:5px;padding:11px}
.account-settings button{color:#f1f7ff;background:#182f45;border:1px solid #506b88;border-radius:5px;padding:10px;text-align:center}
.account-settings button:disabled{opacity:.45}

/* Hero image: optional server-managed WebP takes priority; external fallback remains.
   Keep the overlay gentle so the sunset stays bright. */
.hero{
 background-color:#152136;
 background-image:
  linear-gradient(90deg,rgba(5,12,26,.23),rgba(5,12,26,.08)),
  url('/assets/eashr-background.webp'),
  url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=2000&q=80');
 background-position:center,center,center;
 background-size:cover,cover,cover;
 background-repeat:no-repeat;
}
/* Glass window without an outlined border; subtle shadow for depth. */
.transfer{
 border:0!important;
 border-radius:22px;
 box-shadow:0 18px 50px rgba(0,0,0,.32),0 3px 14px rgba(0,0,0,.16);
}

/* Brand belongs to the marketing hero; app header identifies the visitor. */
.pitch .marketing-logo{display:block;width:min(300px,75%);max-height:95px;object-fit:contain;object-position:left center;margin:0 0 28px;filter:drop-shadow(0 4px 16px rgba(0,0,0,.12))}
.profile-chip{display:flex;align-items:center;gap:7px;min-width:0;color:#e9f2ff;font-size:12px;font-weight:550}
.profile-chip i{font-size:17px;color:#9fdae9}
.profile-chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:135px}
.transfer{border-radius:13px!important}
.transfer .app-overlay,.transfer .settings{border-radius:inherit}
.empty-steps{display:flex;flex-direction:column;gap:10px;padding:13px 4px;color:#c4d3e4}
.empty-steps .empty-title{font-size:12px;font-weight:650;color:#eff8ff}
.empty-step{display:flex;align-items:center;gap:11px;font-size:12px;line-height:1.4}
.empty-step i{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;color:#22d3ee;border:1px solid #22d3ee55;border-radius:5px;font-size:15px}
@media(max-width:760px){.pitch .marketing-logo{margin:0 auto 20px;width:min(260px,75%);object-position:center}}

/* Compact, SEO-readable marketing area — four real benefits, no future promises. */
.pitch .marketing-logo{margin-bottom:19px}
.pitch h1{font-size:clamp(38px,4.7vw,64px);line-height:1.08;margin-bottom:12px}
.pitch > #heroLead{font-size:clamp(15px,1.38vw,18px);line-height:1.55;max-width:590px;margin:0 0 23px;color:#ecf1f9}
.pitch .marketing-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.marketing-benefits article{min-width:0;display:flex;align-items:flex-start;gap:11px;min-height:115px;padding:17px 15px;background:rgba(13,23,41,.79);border:1px solid rgba(255,255,255,.13);border-radius:9px;backdrop-filter:blur(9px)}
.marketing-benefits article>i{font-size:26px;line-height:1;color:#22d3ee;flex:0 0 27px;margin-top:3px}
.marketing-benefits h2{font-size:13px;font-weight:650;line-height:1.3;margin:0 0 6px;color:#f8fbff}
.pitch .marketing-benefits p{font-size:11px;line-height:1.5;color:#bfcddd;margin:0;max-width:none}
.pitch .marketing-tagline{font-size:14px;line-height:1.4;font-weight:650;letter-spacing:.02em;color:#effaff;margin:19px 0 0}
@media(min-width:761px) and (max-height:760px){
 .pitch .marketing-logo{max-height:75px;margin-bottom:12px}
 .pitch h1{font-size:clamp(36px,4.2vw,54px);margin-bottom:9px}
 .pitch > #heroLead{margin-bottom:15px}
 .marketing-benefits article{min-height:92px;padding:12px}
 .pitch .marketing-tagline{margin-top:12px}
}
@media(max-width:760px){
 .pitch .marketing-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pitch .marketing-tagline{text-align:center}
}
@media(max-width:420px){
 .marketing-benefits article{flex-direction:column;gap:8px;padding:13px;min-height:137px}
 .marketing-benefits article>i{font-size:23px}
 .pitch .marketing-benefits h2{font-size:12px}
 .pitch .marketing-benefits p{font-size:11px}
}

/* Hero refinement: smaller brand and glass cards without an outlined border. */
.pitch .marketing-logo{
 width:min(210px,52%);
 max-height:65px;
 margin-bottom:16px;
}
.marketing-benefits article{
 border:0;
 background:rgba(12,20,36,.60);
 border-radius:11px;
 box-shadow:0 10px 26px rgba(0,0,0,.18);
 backdrop-filter:blur(12px);
 -webkit-backdrop-filter:blur(12px);
}
.pitch > #heroLead{font-size:clamp(14px,1.2vw,17px);line-height:1.5}
@media(max-width:760px){
 .pitch .marketing-logo{width:min(195px,55%);max-height:62px;margin:0 auto 16px}
}

/* Experiment: left marketing scrolls independently, right-side app remains fixed. */
@media(min-width:761px){
 html,body{height:100%;overflow:hidden}
 .hero{height:100dvh;min-height:0;overflow:hidden;padding:0 22px}
 .hero-inner{height:100%;min-height:0;max-height:100%;align-items:center;padding-top:20px;padding-bottom:20px}
 .pitch{height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;padding:12px 12px 34px 0;align-self:stretch}
 .pitch::-webkit-scrollbar{display:none}
 .transfer{align-self:center}
 .footer{display:none}
 .pitch .marketing-logo{margin-top:0}
}
.marketing-more{display:flex;flex-direction:column;gap:22px;margin-top:27px;padding-bottom:12px}
.marketing-section{padding:20px 18px;background:rgba(10,19,35,.66);border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.12);backdrop-filter:blur(7px)}
.marketing-section .section-kicker{font-size:11px;letter-spacing:.14em;color:#53e0f5;font-weight:700}
.marketing-section h2{font-size:19px;line-height:1.25;margin:7px 0 10px;color:#fff}
.pitch .marketing-section p{font-size:13px;line-height:1.65;margin:0;color:#d2deeb;max-width:none}
.marketing-section .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
.marketing-section .steps>div{display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;padding:12px 5px;background:rgba(26,39,60,.68);border-radius:6px;font-size:11px}
.marketing-section .steps i{font-size:22px;color:#22d3ee}
@media(max-width:760px){
 html,body{height:auto;overflow-x:hidden;overflow-y:auto}
 .hero{height:auto;min-height:100svh;overflow:visible}
 .pitch{height:auto;max-height:none;overflow:visible;padding:0}
 .marketing-more{text-align:left}
 .footer{display:block}
}

/* Guest first-use panel: no nested card; keep within the transfer viewport. */
#guestQuickStart[hidden],#recentFilesBlock[hidden]{display:none!important}
.eashr-pair-layout{margin:4px 0 0;padding:0;border:0;background:none;min-height:0;max-height:100%;overflow-y:auto;scrollbar-width:thin}
.eashr-pair-heading{display:flex;align-items:center;gap:5px;margin:0 0 6px;font-size:11px;line-height:1.25}
.eashr-pair-heading i{font-size:15px;color:var(--cyan)}
.eashr-pair-heading span{font-weight:650}
.eashr-pair-heading small{font-size:10px;color:var(--muted);margin-left:auto;text-align:right}
.eashr-pair-main{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:stretch;gap:7px;max-width:100%;min-height:0}
.eashr-pair-qr-wrap{min-width:0;display:flex;align-items:flex-start;justify-content:flex-start}
.eashr-pair-qr{display:grid;place-items:center;aspect-ratio:1;width:100%;max-width:190px;min-width:0;background:#fff;padding:8px;border-radius:4px;overflow:hidden}
.eashr-pair-qr img,.eashr-pair-qr canvas{display:block;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain;image-rendering:pixelated}
.eashr-pair-actions{display:grid;grid-template-rows:1fr 1fr;gap:7px;min-width:0;max-height:190px}
.eashr-pair-action{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 3px;text-align:center;white-space:normal;border-radius:4px}
.eashr-pair-action i{font-size:19px;line-height:1}
.eashr-pair-action span{font-size:11px;font-weight:600;line-height:1.15;overflow-wrap:anywhere}
.eashr-pair-action small{font-size:9px;line-height:1.15;opacity:.7}
.eashr-pair-foot{display:flex;flex-wrap:wrap;gap:5px;justify-content:space-between;align-items:center;padding-top:6px}
.eashr-pair-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.eashr-pair-pin,.eashr-pair-timer{margin:0;font-size:10px;line-height:1.2}
.eashr-pair-pin{font-weight:650}
.eashr-pair-timer{opacity:.75}
.eashr-pair-utilities{display:flex;gap:5px}
.eashr-pair-utilities button{padding:4px 7px;font-size:10px;line-height:1.2}
.transfer #uploadFilesSection:has(#guestQuickStart:not([hidden])){overflow:hidden}
.transfer #uploadFilesSection:has(#guestQuickStart:not([hidden])) #guestQuickStart{flex:1;min-height:0}
.transfer #uploadFilesSection:has(#guestQuickStart:not([hidden])) #recentFilesBlock{display:none!important}
.transfer .zone-info{position:relative;z-index:1}
@media(max-width:420px){.eashr-pair-qr{max-width:180px;padding:7px}.eashr-pair-action span{font-size:10px}.eashr-pair-heading small{font-size:9px}}

/* Smaller inline pairing card and flat, dark actions. */
.eashr-pair-layout{overflow:visible;max-height:none;margin:2px 0 0}
.eashr-pair-heading{margin-bottom:4px}
.eashr-pair-main{grid-template-columns:minmax(110px,136px) minmax(0,1fr);gap:8px;align-items:start}
.eashr-pair-qr{width:148px;max-width:100%;padding:6px}
.eashr-pair-actions{display:flex;flex-direction:column;gap:7px;max-height:none}
.eashr-pair-action{flex-direction:row;justify-content:flex-start;align-items:center;gap:7px;padding:8px 9px;min-height:52px;border:0!important;background:rgba(8,11,17,.53)!important;box-shadow:none!important;text-align:left;border-radius:5px}
.eashr-pair-action:hover{background:rgba(8,11,17,.75)!important}
.eashr-pair-action i{font-size:18px;flex-shrink:0}
.eashr-pair-action span{font-size:10px;line-height:1.2}
.eashr-pair-action small{display:none}
.eashr-pair-foot{padding-top:4px;gap:4px}
.transfer .zone-info{margin:2px 0 0!important;font-size:10px;line-height:1.1}
.transfer .status{margin:1px 0 0!important;font-size:10px;line-height:1.1}
@media(max-width:420px){.eashr-pair-qr{width:132px}.eashr-pair-action{min-height:46px;padding:6px}.eashr-pair-action span{font-size:9px}}

#associateDevice{display:none!important}

/* Guest Home: recent files + two low-profile device actions. */
#guestQuickStart[hidden],#regularFileActions[hidden]{display:none!important}
.eashr-home-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:9px;align-items:stretch;flex-shrink:0}
.eashr-home-pair-button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:82px;padding:8px;background:rgba(13,18,29,.58)!important;border:0!important;border-radius:5px;color:inherit;text-align:center;box-shadow:none!important}
.eashr-home-pair-button:hover{background:rgba(12,17,28,.8)!important}
.eashr-home-pair-button>i{font-size:22px;flex-shrink:0}
.eashr-home-pair-button>span:not(.eashr-home-pair-qr){font-size:11px;font-weight:600;line-height:1.25}
.eashr-home-pair-button small{display:block;font-size:9px;opacity:.75;font-weight:400;margin-top:4px}
.eashr-home-pair-qrbutton{justify-content:flex-start;text-align:left}
.eashr-home-pair-qr{display:block;flex-shrink:0;background:#222a36;border-radius:4px;padding:5px;width:98px;height:98px;overflow:hidden}
.eashr-home-pair-qr canvas,.eashr-home-pair-qr img{display:block;width:100%!important;height:100%!important;object-fit:contain;image-rendering:pixelated}
.transfer #uploadFilesSection{min-height:0}
.transfer #recentFilesBlock{display:flex;flex-direction:column;min-height:0;flex:1}
.transfer #recentFilesBlock #files{flex:1;min-height:0;overflow:auto;margin-bottom:0}
.transfer #recentFilesBlock .actions{flex-shrink:0}
@media(max-width:420px){.eashr-home-pair{gap:5px}.eashr-home-pair-button{padding:5px;min-height:80px;gap:4px}.eashr-home-pair-qr{width:72px;height:72px;padding:3px}.eashr-home-pair-button>span:not(.eashr-home-pair-qr){font-size:10px}}

/* Override the retired guest-only layout that hid Recent Files. */
.transfer #uploadFilesSection:has(#guestQuickStart:not([hidden])) #recentFilesBlock{display:flex!important}
.transfer #uploadFilesSection:has(#guestQuickStart:not([hidden])) #guestQuickStart{flex:none;min-height:auto}

/* Device connection lives inside the App Window; no pairing QR in Home. */
.eashr-device-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.eashr-device-home-actions button{font-size:12px;display:flex;flex-direction:row;gap:7px;align-items:center;justify-content:center;padding:10px 6px}
.eashr-device-home-actions button:disabled{opacity:.38;cursor:not-allowed}
.transfer{position:relative}
.eashr-connect-overlay{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;gap:12px;padding:18px 22px;background:rgba(17,22,33,.98);backdrop-filter:blur(20px);overflow-y:auto;scrollbar-width:thin;border-radius:inherit;color:#eaf1ff}
.eashr-connect-overlay.hidden{display:none!important}
.eashr-connect-top{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600}
.eashr-connect-top button{background:transparent;border:0;color:inherit;font-size:18px;padding:4px 6px}
.eashr-connect-intro{text-align:center}
.eashr-connect-intro>i{font-size:36px;color:#8caaff;line-height:1}
.eashr-connect-intro h2{font-size:17px;line-height:1.22;margin:4px 0 3px;font-weight:700}
.eashr-connect-intro p{font-size:11px;line-height:1.4;margin:0;color:#b7c1d1}
.eashr-connect-mobile,.eashr-connect-desktop{border:0;background:rgba(255,255,255,.035);padding:11px 12px;border-radius:6px;display:flex;flex-direction:column;gap:5px}
.eashr-connect-mobile h3,.eashr-connect-desktop h3{margin:0;font-size:13px;font-weight:650}
.eashr-connect-mobile h3 i,.eashr-connect-desktop h3 i{margin-right:5px;color:#a0b9ff}
.eashr-connect-mobile p,.eashr-connect-desktop p{margin:0;font-size:11px;color:#b7c1d1;line-height:1.35}
.eashr-connect-mobile{align-items:center;text-align:center}
.eashr-connect-mobile h3,.eashr-connect-mobile p{align-self:stretch}
#deviceConnectQrButton{background:#202936;border:0;border-radius:5px;padding:7px;cursor:pointer;margin:3px auto 0}
#deviceConnectQr{display:block;width:178px;height:178px;background:#202936}
#deviceConnectQr canvas,#deviceConnectQr img{display:block;width:100%!important;height:100%!important;image-rendering:pixelated}
#deviceConnectQrState{font-size:10px;color:#bec7d7}
.eashr-connect-entry{display:flex;gap:7px}
.eashr-connect-entry input{min-width:0;flex:1;padding:8px;font-size:11px}
.eashr-connect-entry button{flex-shrink:0;padding:8px 11px;font-size:11px}
.eashr-connect-desktop>small{font-size:10px;color:#93a0b6;line-height:1.35}
@media(max-width:420px){.eashr-connect-overlay{padding:14px}.eashr-connect-intro h2{font-size:15px}.eashr-device-home-actions button{font-size:10px}}

/* Two intentional choices on connection screen. */
.eashr-connect-choices{display:flex;flex-direction:column;gap:14px;justify-content:center;flex:1;min-height:0}
.eashr-connect-banner{display:flex;align-items:center;gap:16px;width:100%;min-height:126px;padding:18px 15px;background:rgba(36,45,65,.82);border:1px solid rgba(150,178,225,.15);border-radius:7px;text-align:left;color:#eef4ff}
.eashr-connect-banner:hover{background:rgba(52,64,91,.92)}
.eashr-connect-banner>i:first-child{font-size:42px;color:#b4c8ff}
.eashr-connect-banner>i:last-child{font-size:22px;margin-left:auto;opacity:.6}
.eashr-connect-banner span{display:flex;flex-direction:column;gap:7px}
.eashr-connect-banner strong{font-size:17px;line-height:1.2}
.eashr-connect-banner small{font-size:11px;line-height:1.4;opacity:.72}
.eashr-connect-step{display:flex;flex-direction:column;gap:10px;align-items:stretch;text-align:center;min-height:0;overflow-y:auto}
.eashr-connect-step[hidden],.eashr-connect-choices[hidden]{display:none!important}
.eashr-connect-step-head>i{font-size:44px;color:#b4c8ff}
.eashr-connect-step-head h2{font-size:18px;margin:6px 0}
.eashr-connect-step-head p{color:#bdc7d9;font-size:12px;line-height:1.45;margin:0 0 10px}
.eashr-connect-step label{text-align:left;font-size:11px;font-weight:600}
.eashr-connect-step input{width:100%;padding:11px;font-size:13px}
.eashr-connect-primary{padding:12px;font-size:13px}
#devicePCState{font-size:12px;color:#c2d5fd;line-height:1.5}
#deviceConnectQrButton{align-self:center;padding:10px}
#deviceConnectQr{width:192px;height:192px}
#eashrPcApprovalNotice{position:absolute;z-index:35;inset:auto 12px 12px;background:#1c283b;border:1px solid rgba(159,189,241,.45);box-shadow:0 14px 35px #000b;border-radius:8px;padding:15px;color:#eef4ff;font-size:12px}
#eashrPcApprovalNotice[hidden]{display:none!important}
.eashr-pc-notice-title{font-weight:700;font-size:13px}
.eashr-pc-notice-title i{margin-right:6px}
#eashrPcApprovalNotice p{font-size:12px;line-height:1.45;margin:8px 0}
.eashr-pc-notice-actions{display:flex;gap:8px}
.eashr-pc-notice-actions button{flex:1;padding:10px;font-size:12px}
@media(max-width:420px){.eashr-connect-banner{min-height:110px;padding:12px}.eashr-connect-banner>i:first-child{font-size:34px}}

/* Bring the PC association form in line with the dark translucent App Window. */
#devicePCStep input{
 appearance:none;
 background:rgba(11,17,29,.38)!important;
 color:#e9f1fc!important;
 border:1px solid rgba(184,207,239,.17)!important;
 border-radius:5px;
 box-shadow:none!important;
 outline:none;
 transition:border-color .15s ease,background .15s ease;
}
#devicePCStep input::placeholder{color:rgba(196,210,232,.44)}
#devicePCStep input:focus{
 background:rgba(16,25,41,.68)!important;
 border-color:rgba(148,182,241,.55)!important;
 box-shadow:0 0 0 2px rgba(124,160,221,.08)!important;
}
#devicePCSubmit{
 background:rgba(70,91,124,.42)!important;
 color:#f3f6ff!important;
 border:1px solid rgba(176,200,235,.16)!important;
 border-radius:5px;
 box-shadow:none!important;
}
#devicePCSubmit:hover:not(:disabled){background:rgba(83,112,155,.54)!important}
#devicePCSubmit:disabled{opacity:.53;cursor:wait}
#devicePCStep label{color:rgba(219,230,249,.82)}
/* Separate the action buttons from the storage indicator. */
.transfer .eashr-device-home-actions{margin-bottom:12px!important}
.transfer .zone-info{margin-top:8px!important}
