:root{--orange:#ff6d2d;--gray:#7d7773;--ink:#302c29;--paper:#f8f7f4}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif;font-weight:400}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}header{padding:38px 5vw;display:flex;justify-content:space-between;align-items:center}header img{width:104px;height:45px;object-fit:contain}header>span{font-size:12px;letter-spacing:2px}header i{font-size:9px;font-style:normal;color:var(--gray);display:block;margin-top:7px;text-align:right}main{max-width:1220px;margin:50px auto 100px;padding:0 45px;display:grid;grid-template-columns:1fr 440px;gap:80px;align-items:start}.intro{padding-top:100px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--gray);margin-bottom:28px}h1{font-size:clamp(42px,5vw,68px);line-height:1.08;font-weight:400;letter-spacing:-3px;margin:0 0 30px}.lede{color:var(--gray);font-size:17px;line-height:1.7}.steps{display:flex;flex-direction:column;gap:17px;margin-top:80px;color:var(--gray);font-size:12px}.panel{background:#fff;border:1px solid #ebe8e3;border-radius:5px;padding:28px 34px 24px;box-shadow:0 15px 60px #302c2905}.panel-head{display:flex;align-items:center;justify-content:space-between;font-size:12px}.orb{--fill:0%;width:190px;height:190px;border-radius:50%;overflow:hidden;background:#f1eee8;position:relative;margin:25px auto 28px;isolation:isolate}.water{position:absolute;bottom:0;left:0;right:0;height:var(--fill);background:var(--orange);transition:height .45s ease}.wave{position:absolute;width:400px;height:400px;border-radius:44%;background:var(--orange);top:-13px;left:50%;transform:translateX(-50%);animation:swell 7s linear infinite}.second{opacity:.3;top:-18px;animation-duration:11s;animation-direction:reverse}.orb-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2}#percent{font-weight:400;font-size:48px;letter-spacing:-2px}#percent span{font-size:23px;letter-spacing:0}#orb-caption{font-size:8px;letter-spacing:1.1px;margin-top:10px}.orb:not(.active) .wave{animation-play-state:paused}.orb.complete{--fill:110%!important}h2{font-size:19px;font-weight:400;margin:0 0 10px}.muted{font-size:12px;line-height:1.55;color:var(--gray)}form label{display:block;font-size:11px;margin:17px 0 0}input:not([type=file]){display:block;width:100%;border:1px solid #ddd8d2;border-radius:3px;margin-top:7px;padding:12px;color:var(--ink);background:#fff}input:focus-visible,button:focus-visible,.drop:focus-within{outline:2px solid var(--orange);outline-offset:3px}.primary{display:flex;justify-content:space-between;width:100%;border:0;background:var(--orange);color:var(--ink);padding:16px 18px;margin-top:22px;border-radius:3px;font-size:13px}.text-button{background:none;border:0;color:var(--gray);font-size:11px;text-decoration:underline;padding:8px}.cancel{display:block;margin:12px auto}.drop{position:relative;display:flex;align-items:center;flex-direction:column;border:1px dashed #c9c3bc;padding:20px 12px;border-radius:3px;gap:6px;cursor:pointer}.drop.drag{background:#fff1e9;border-color:var(--orange)}.drop .plus{font-size:28px;color:var(--orange)}.drop strong{font-size:13px;font-weight:400}.drop span,.drop small{font-size:11px;color:var(--gray)}.drop small{margin-top:12px;font-size:10px}.drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.note{font-size:10px;color:var(--gray);line-height:1.6;margin:20px 0 0}#file-list{list-style:none;padding:0;margin:15px 0 0;max-height:140px;overflow:auto}#file-list li{display:flex;justify-content:space-between;gap:12px;font-size:11px;padding:9px 0;border-bottom:1px solid #eee}#file-list li span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#file-list li span:last-child{flex-shrink:0;color:var(--gray)}#message{font-size:12px;line-height:1.6;margin:18px 0 0}#message:empty{display:none}#message.error{color:#9e3826}footer{padding:25px 5vw;border-top:1px solid #e8e4de;display:flex;justify-content:space-between;color:var(--gray);font-size:10px}@keyframes swell{to{transform:translateX(-50%) rotate(360deg)}}@media(prefers-reduced-motion:reduce){.wave{animation:none}.water{transition:none}}@media(max-width:850px){main{grid-template-columns:1fr;max-width:540px;gap:35px;margin:15px auto 50px;padding:0 24px}.intro{padding:15px 0 0}h1{font-size:43px;letter-spacing:-2px}.steps{display:none}.lede{font-size:14px}.eyebrow{font-size:9px}header{padding:25px}.panel{padding:24px}footer{gap:20px;line-height:1.6}.orb{width:165px;height:165px}}
.orb[aria-valuenow="0"] .water{opacity:0}

/* Desktop: upload on the left, introduction on the right. */
@media(min-width:851px){main{grid-template-columns:440px 1fr}.panel{grid-column:1;grid-row:1}.intro{grid-column:2;grid-row:1}}
.lede{min-height:3.4em}

/* Full-screen brand film and compact transfer panel. */
body{isolation:isolate;min-height:100vh}
.background-video,.background-shade{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}
.background-video{object-fit:cover;z-index:-2;background:#f8f7f4}
.background-shade{z-index:-1;background:linear-gradient(90deg,rgba(248,247,244,.12),rgba(248,247,244,.6))}
header{padding:26px 32px}header>span{background:rgba(248,247,244,.8);padding:10px 12px;border-radius:8px}
main{max-width:none;margin:22px 0 60px;padding:0 32px;gap:clamp(40px,7vw,130px)}
.panel{border-radius:15px;padding:23px 26px;background:rgba(255,255,255,.97);box-shadow:0 16px 50px #302c2914}
.orb{width:155px;height:155px;margin:20px auto}#percent{font-size:42px}
.intro{max-width:560px;padding-top:95px;text-shadow:0 1px 14px rgba(248,247,244,.8)}
.intro .lede,.intro .eyebrow,.intro .steps{color:#57514d}.steps{margin-top:48px}
footer{padding:20px 32px;background:rgba(248,247,244,.85);padding-right:170px}
.background-toggle{position:fixed;right:20px;bottom:14px;z-index:5;border:1px solid #ddd8d2;border-radius:20px;padding:9px 13px;background:rgba(255,255,255,.9);color:var(--ink);font-size:10px}
@media(min-width:851px){main{grid-template-columns:360px 1fr}}
@media(max-width:850px){main{margin:12px auto 40px;padding:0 20px;max-width:540px;gap:25px}.intro{padding-top:5px}.panel{padding:22px}.background-shade{background:rgba(248,247,244,.65)}header{padding:22px 20px}footer{padding-left:20px}}

/* Persistent rail and expanding account drawer. */
body{display:flex;flex-direction:column;padding-left:80px;min-height:100vh;min-height:100dvh}
body>header>a{visibility:hidden}body>header{padding-top:20px;padding-bottom:14px}
main{flex:1;margin-top:12px;margin-bottom:32px;padding-left:24px}
footer{margin-top:auto;background:rgba(248,247,244,.7);border:0}
.side-rail{position:fixed;inset:0 auto 0 0;width:80px;background:#fff;z-index:30;display:flex;flex-direction:column;align-items:center;border-right:1px solid #eee;padding:26px 8px 20px;gap:18px}
.rail-logo{margin:2px 0 22px}.rail-logo img{width:52px;height:38px;object-fit:contain}
.rail-button{border:0;background:transparent;color:var(--gray);display:flex;align-items:center;flex-direction:column;gap:8px;padding:10px 0;width:64px;border-radius:12px}.rail-button>span{font-size:26px;line-height:30px}.rail-button small{font-size:10px}.rail-button:hover,.rail-button.selected{color:var(--orange);background:#fff4ee}.rail-profile{margin-top:auto}
.avatar{width:34px;height:34px;border-radius:50%;background:#f0ede7;display:inline-flex;align-items:center;justify-content:center;font-size:13px!important;color:var(--ink)}
.side-drawer{position:fixed;top:0;bottom:0;left:80px;width:min(400px,calc(100vw - 80px));overflow-y:auto;background:#fff;z-index:25;padding:28px;box-shadow:12px 0 35px #302c291a;border-right:1px solid #eee}
.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.drawer-heading h2{font-size:23px;margin:0}.profile-identity{display:flex;gap:14px;align-items:center;margin:20px 0 30px}.profile-identity .avatar{width:48px;height:48px;font-size:19px!important}.profile-identity strong{font-size:18px;font-weight:400}
.password-details{margin:28px 0;border-top:1px solid #eee;padding-top:20px}.password-details summary{cursor:pointer;font-size:13px}.side-drawer #drawer-message{font-size:12px;line-height:1.6}.transfer-card{border:1px solid #e8e4de;border-radius:12px;padding:15px;margin-top:12px}.transfer-card h3{font-size:13px;font-weight:400;overflow-wrap:anywhere;margin:0 0 9px}.transfer-card p{font-size:11px;line-height:1.6;color:var(--gray);margin:5px 0}.transfer-card a{display:inline-block;margin-top:12px;color:var(--ink);font-size:12px}.transfer-state{font-size:10px;display:inline-block;background:#f5f2ed;padding:5px 8px;border-radius:8px}.side-drawer:focus{outline:none}
@media(max-width:850px){body{padding-left:64px}.side-rail{width:64px;padding:20px 4px}.rail-button{width:54px}.rail-logo img{width:42px}.side-drawer{left:64px;width:calc(100vw - 64px);padding:24px}main{padding:0 16px;width:100%}body>header{padding:16px}.background-toggle{bottom:10px;right:10px}footer{padding-bottom:56px;padding-right:20px}.intro{max-width:100%}h1{font-size:36px}}

/* Compact transfer area, centered against the viewport. */
.panel{padding:20px 23px;border-radius:15px}
.panel .orb{width:130px;height:130px;margin:16px auto}
.panel #percent{font-size:36px}.panel #orb-caption{font-size:7px}
.panel form label{margin-top:13px}.panel input:not([type=file]){padding:10px}
.panel .primary{padding:13px 16px;margin-top:17px}
.panel .drop{padding:15px 10px}.panel .note{margin-top:15px}
.intro{padding-top:0}.intro .lede{min-height:0;margin-bottom:0}
@media(min-width:851px){
 body{position:relative}
 body>header{position:absolute;top:0;right:0;left:80px;z-index:2;pointer-events:none}
 body>header>span{pointer-events:auto}
 main{flex:none;grid-template-columns:340px minmax(0,1fr);align-items:center;min-height:100vh;min-height:100dvh;margin:0;padding:90px 32px 90px 50px}
 .panel,.intro{align-self:center}
 body>footer{position:absolute;bottom:0;left:80px;right:0;padding-right:32px}
}
@media(max-width:850px){main{align-items:center}.intro{padding-top:0}footer{padding-bottom:20px}}

/* Rounded line icons: color and soft glow, without a button background. */
.rail-button,.rail-button:hover,.rail-button.selected{background:transparent;color:var(--ink)}
.rail-button{gap:7px;transition:color .18s ease}
.rail-button>.rail-icon{display:block;width:36px;height:36px;line-height:0;transform-origin:center;transition:transform .18s ease,color .18s ease,filter .18s ease}
.rail-icon svg{display:block;width:100%;height:100%;overflow:visible}
.rail-icon .icon-clock{fill:white}
.rail-button small{color:var(--ink);transition:color .18s ease}
.rail-button.selected .rail-icon{color:var(--orange);filter:drop-shadow(0 3px 5px rgba(0,0,0,.25))}
.rail-button.selected small{color:var(--orange)}
@media(hover:hover) and (pointer:fine){
 .rail-button:hover .rail-icon{transform:translateY(-1px) scale(1.06)}
 .rail-button:not(.selected):hover .rail-icon{color:var(--orange);filter:drop-shadow(0 2px 4px rgba(255,109,45,.12))}
}
.rail-button:active .rail-icon{transform:scale(.98)}
.rail-button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.rail-button,.rail-button>.rail-icon,.rail-button small{transition:none}.rail-button:hover .rail-icon,.rail-button:active .rail-icon{transform:none}}
/* Smaller rail icons and restrained interaction. */
.rail-button>.rail-icon{width:28px;height:28px;transition:transform .18s ease,color .18s ease,filter .18s ease}
.rail-button{gap:6px}
body>footer{background:transparent;color:#fff;border:0;text-shadow:0 1px 3px rgba(0,0,0,.18)}
@media(hover:hover) and (pointer:fine){.rail-button:hover .rail-icon{transform:scale(1.025)}}
.rail-button:active .rail-icon{transform:scale(.99)}
@media(prefers-reduced-motion:reduce){.rail-button>.rail-icon{transition:none}.rail-button:hover .rail-icon,.rail-button:active .rail-icon{transform:none}}
/* Subtle upward growth, anchored at the bottom edge. */
.rail-button>.rail-icon{transform-origin:center bottom}
@media(hover:hover) and (pointer:fine){.rail-button:hover .rail-icon{transform:scale(1.015)}}
.rail-button:active .rail-icon{transform:scale(.99)}
@media(prefers-reduced-motion:reduce){.rail-button:hover .rail-icon,.rail-button:active .rail-icon{transform:none}}
/* Softer upload card and vertically balanced action buttons. */
.panel{border-radius:20px}
.panel .primary{border-radius:11px;min-height:46px;padding:12px 16px;align-items:center;line-height:1.35;gap:12px;box-shadow:0 3px 9px rgba(255,109,45,.12);transition:background-color .18s ease,box-shadow .18s ease}
.panel .primary>span{display:inline-flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0}
@media(hover:hover) and (pointer:fine){.panel .primary:not(:disabled):hover{background-color:#fa6424;box-shadow:0 4px 12px rgba(255,109,45,.2)}}
@media(prefers-reduced-motion:reduce){.panel .primary{transition:none}}
/* Hover lifts icons without changing their size. */
@media(hover:hover) and (pointer:fine){.rail-button:hover .rail-icon{transform:translateY(-1px)}}
.rail-button:active .rail-icon{transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){.rail-button:hover .rail-icon,.rail-button:active .rail-icon{transform:none}}
/* Selected icons stay still and own the shadow; other icons lift on hover. */
.rail-button .rail-icon{filter:none;transform:none}
.rail-button.selected .rail-icon{filter:drop-shadow(0 3px 5px rgba(0,0,0,.25));transform:none}
.rail-button:not(.selected):hover .rail-icon{filter:none}
@media(hover:hover) and (pointer:fine){
 .rail-button:not(.selected):hover .rail-icon{transform:translateY(-1px)}
 .rail-button.selected:hover .rail-icon{transform:none}
}
.rail-button.selected:active .rail-icon{transform:none}
@media(prefers-reduced-motion:reduce){.rail-button:not(.selected):hover .rail-icon,.rail-button:active .rail-icon{transform:none}}

/* Reference-sized transfer card with text-only centered actions. */
@media(min-width:851px){main{grid-template-columns:290px minmax(0,1fr)}}
.panel{padding:18px;border-radius:20px;width:100%;max-width:290px}
.panel .orb{width:108px;height:108px;margin:12px auto 14px}
.panel #percent{font-size:32px}.panel #percent span{font-size:18px}
.panel #orb-caption{font-size:6.5px;letter-spacing:.65px;margin-top:7px}
.panel h2{font-size:17px;margin-bottom:8px}
.panel .muted{font-size:11px;line-height:1.45}
.panel form label{margin-top:11px}
.panel input:not([type=file]){padding:9px 10px;margin-top:6px}
.panel .primary{justify-content:center;align-items:center;text-align:center;min-height:44px;padding:11px 14px;margin-top:15px}
.panel .drop{padding:12px 8px;gap:5px}.panel .drop small{margin-top:8px}
.panel .note{font-size:9px;line-height:1.5;margin-top:12px}
@media(max-width:850px){.panel{justify-self:center}}

/* Minimal underline fields, shared by sign-in and account forms. */
.panel input:not([type=file]),.side-drawer input:not([type=file]){border:0;border-bottom:1px solid #d7d1ca;border-radius:0;background:transparent;box-shadow:none;padding:10px 0 9px;transition:border-color .18s ease}
.panel input:not([type=file]):focus-visible,.side-drawer input:not([type=file]):focus-visible{outline:none;border-bottom:2px solid var(--orange);padding-bottom:8px}
/* The hand is clipped at the opening so it disappears inside it. */
.login-mascot.peace-mascot{width:160px;height:171px;margin:2px auto 10px}
.login-mascot svg{display:block;width:100%;height:100%;overflow:hidden}
.peace-pop{animation:foy-pop 7s cubic-bezier(.42,0,.2,1) infinite;transform-origin:110px 200px}
@keyframes foy-pop{
 0%,12%,100%{transform:translateY(210px)}
 30%{transform:translateY(-3px)}
 36%,65%{transform:translateY(0)}
 76%,94%{transform:translateY(210px)}
}
@media(prefers-reduced-motion:reduce){.peace-pop{animation:none;transform:none}.panel input:not([type=file]),.side-drawer input:not([type=file]){transition:none}}

/* Refined mascot proportions and a gentle, bounce-free reveal. */
.login-mascot.peace-mascot{width:150px;height:160px;margin:4px auto 14px}
.peace-pop{animation:foy-pop 8s cubic-bezier(.4,0,.2,1) infinite}
@keyframes foy-pop{0%,9%,100%{transform:translateY(210px)}29%,66%{transform:translateY(0)}87%,99%{transform:translateY(210px)}}
@media(prefers-reduced-motion:reduce){.peace-pop{animation:none;transform:none}}
/* A tight ground shadow beneath the selected icon, without an outline halo. */
.rail-button>.rail-icon{position:relative}
.rail-button.selected .rail-icon{filter:none}
.rail-button.selected .rail-icon::after{content:"";position:absolute;left:50%;bottom:-4px;width:17px;height:3px;transform:translateX(-50%);border-radius:50%;background:rgba(0,0,0,.15);filter:blur(1px);pointer-events:none}
/* Login action: two points larger than the existing 13px label. */
.panel #login .primary{font-size:calc(13px + 2pt);color:#fff}

/* Floating sign-in labels: focus, typed values and password-manager autofill. */
.panel #login .floating-field{position:relative;display:block;margin-top:8px;cursor:text}
.panel #login .floating-field input{height:54px;margin:0;padding:22px 0 8px;font-size:14px;line-height:22px}
.panel #login .floating-field input:focus-visible{padding-bottom:7px}
.floating-field .floating-label{position:absolute;left:0;top:23px;font-size:14px;line-height:20px;color:var(--gray);pointer-events:none;transform-origin:left top;transform:translateY(0) scale(1);transition:transform 280ms cubic-bezier(.42,0,.58,1),color 280ms cubic-bezier(.42,0,.58,1)}
.floating-field input:focus + .floating-label,
.floating-field input:not(:placeholder-shown) + .floating-label{transform:translateY(-20px) scale(.78)}
.floating-field input:-webkit-autofill + .floating-label{transform:translateY(-20px) scale(.78)}
.floating-field input:focus + .floating-label{color:var(--orange)}
@media(prefers-reduced-motion:reduce){.floating-field .floating-label{transition:none}}

/* Welcoming, centered upload card with a warm-grey drop surface. */
.panel{text-align:center}
.panel #account{font-size:13px;color:var(--ink);text-align:center;margin:6px 0 16px}
.panel .drop{border:0;background:rgba(125,119,115,.10);border-radius:12px;padding:20px 12px;gap:7px;text-align:center;transition:background-color .18s ease}
.panel .drop.drag{border:0;background:rgba(125,119,115,.18)}
.panel .drop .plus{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#7d7773;color:#fff;margin-bottom:6px}
.panel .drop .plus svg{display:block;width:22px;height:22px}
.panel .drop>span:not(.plus),.panel .drop small{color:#57514d}
.panel #transfer-detail,.panel .note,.panel #message{text-align:center}
.panel #file-list li{flex-direction:column;align-items:center;gap:3px;text-align:center}
.panel #file-list li span:first-child{max-width:100%}
.panel .floating-field{text-align:left}
.profile-menu-item{display:block;width:100%;padding:15px 0;margin-top:20px;border:0;border-top:1px solid #e8e4de;background:transparent;text-align:left;color:var(--ink);font-size:13px;cursor:pointer}
.profile-menu-item:hover{color:var(--orange)}
.profile-menu-item:disabled{opacity:.45;cursor:default}
@media(prefers-reduced-motion:reduce){.panel .drop{transition:none}}

/* Individually removable queued files. */
.panel #file-list{display:flex;flex-direction:column;gap:8px;max-height:210px;margin-top:12px}
.panel #file-list:empty{display:none}
.panel #file-list li.queued-file{display:flex;flex-direction:row;align-items:center;gap:10px;text-align:left;border:1px solid rgba(125,119,115,.25);border-radius:10px;padding:10px 9px 10px 12px;background:#fff}
.queued-file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.panel #file-list .queued-file-name{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--ink)}
.panel #file-list .queued-file-size{display:block;font-size:10px;color:var(--gray)}
.remove-file{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--gray);font-size:21px;line-height:1;padding:0}
.remove-file:not(:disabled):hover{background:rgba(125,119,115,.1);color:var(--ink)}
.remove-file:disabled{opacity:.3;cursor:default}

/* A file-carrying hand waits until Send files is pressed. */
.login-mascot .mascot-delivery{display:none}
.login-mascot.is-client .mascot-hello{display:none}
.login-mascot.is-client .mascot-delivery{display:block}
/* Idle: floating file only. Send: emerge, grasp, then descend together. */
.delivery-hand{transform:translateY(210px);transform-origin:110px 204px}
.held-file{animation:foy-file-float 4s ease-in-out infinite;transform-origin:115px 80px}
.is-delivering .delivery-hand{animation:foy-grab-file 2200ms cubic-bezier(.42,0,.58,1) forwards}
.is-delivering .held-file{animation:foy-file-descend 2200ms cubic-bezier(.42,0,.58,1) forwards}
@keyframes foy-file-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes foy-grab-file{0%{transform:translateY(210px)}35%,48%{transform:translateY(0)}100%{transform:translateY(210px)}}
@keyframes foy-file-descend{0%,48%{transform:translateY(0)}100%{transform:translateY(210px)}}
@media(prefers-reduced-motion:reduce){.held-file,.delivery-hand,.is-delivering .delivery-hand,.is-delivering .held-file{animation:none}}

/* Floating folder, with the reaching hand completely hidden while idle. */
.mascot-delivery .held-file{animation:none}
.login-mascot:not(.is-delivering) .delivery-hand{visibility:hidden}
.login-mascot.is-delivering .delivery-hand{visibility:visible}
.folder-float{animation:foy-folder-hover 6.5s ease-in-out infinite;transform-origin:111px 90px}
.folder-shadow{opacity:.18;filter:blur(1.5px);transform-origin:111px 172px;animation:foy-folder-shadow 6.5s ease-in-out infinite;transition:opacity 180ms ease-out}
.is-delivering .folder-shadow{animation:none;opacity:0}
.is-delivering .folder-float{animation:none}
.is-delivering .mascot-delivery .held-file{animation:foy-file-descend 2200ms cubic-bezier(.42,0,.58,1) forwards}
@keyframes foy-folder-hover{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@keyframes foy-folder-shadow{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.85)}}
@media(prefers-reduced-motion:reduce){.folder-float,.folder-shadow,.is-delivering .mascot-delivery .held-file{animation:none}.folder-shadow{transition:none}}

/* Full-page drop target; never intercepts the drag hit-testing itself. */
.page-drop-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(248,247,244,.93);pointer-events:none;text-align:center;outline:2px solid #7d7773;outline-offset:-18px}
.page-drop-overlay strong{font-size:clamp(24px,4vw,42px);font-weight:400;color:var(--ink);letter-spacing:-1px}
.page-drop-overlay p{font-size:14px;line-height:1.6;color:var(--gray)}

/* Full orange drag invitation. */
.page-drop-overlay{background:#ff6d2d;outline:none;color:#fff}
.page-drop-overlay strong{display:block;max-width:1000px;font-size:clamp(21px,3.75vw,54px);line-height:1.05;letter-spacing:-.045em;color:#fff;font-weight:400}
.page-drop-overlay p{color:#fff;font-size:clamp(14px,1.5vw,19px);margin-top:24px;opacity:.9}

/* Spacious transfer archive with an independent date navigation. */
.side-drawer.history-open{width:min(860px,calc(100vw - 80px));padding:32px}
.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}
.history-toolbar p{margin:0;font-size:14px}.history-layout{display:grid;grid-template-columns:140px minmax(0,1fr);gap:30px;align-items:start}
#history-dates{position:sticky;top:0;padding-right:18px;border-right:1px solid #7d777326;font-size:13px}
#history-dates button{display:block;background:transparent;border:0;text-align:left;color:#7d7773;font:inherit;padding:10px 0;width:100%;cursor:pointer}
#history-dates button.active{color:#ff6d2d;font-weight:600}#history-dates summary{cursor:pointer;padding:16px 0 8px;font-size:15px}#history-dates details button{padding-left:14px}
.month-heading{font-size:20px;font-weight:400;margin:0 0 18px}.transfer-month+.transfer-month{margin-top:32px}
.history-open .transfer-card{margin:0 0 12px;padding:18px 20px;border-color:#7d777326;border-radius:14px}
.history-open .transfer-card h4{font-size:15px;font-weight:400;line-height:1.5;overflow-wrap:anywhere;margin:6px 0 12px}.history-open .transfer-card .transfer-meta{margin:0;font-size:11px}
.history-open .transfer-card a{display:block;width:fit-content;color:#ff6d2d;text-decoration:none;margin-top:14px}.state-done{background:#edf4ed;color:#386345}.state-queued{background:#f3f0ea}.state-blocked,.state-error{background:#fff0ec;color:#983a27}
@media(max-width:850px){.side-drawer.history-open{width:calc(100vw - 64px);padding:24px}.history-layout{grid-template-columns:105px minmax(0,1fr);gap:16px}}
@media(max-width:480px){.side-drawer.history-open{padding:18px 12px}.history-layout{grid-template-columns:80px minmax(0,1fr);gap:10px}#history-dates{padding-right:8px;font-size:11px}.history-open .transfer-card{padding:12px}.month-heading{font-size:17px}}

/* Keep transfer status and download action on a shared, wrapping row. */
.history-open .transfer-card{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.history-open .transfer-card>p,.history-open .transfer-card>h4{flex-basis:100%;min-width:0}
.history-open .transfer-card h4{margin:0 0 4px}
.history-open .transfer-card a{display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0 0 0 auto;padding:5px 8px;border-radius:8px;background:#ff6d2d;color:#fff;font-size:10px;line-height:normal;text-decoration:none;transition:background-color .18s ease}
.history-open .transfer-card a:hover{background:#ed5c1d}
.history-open .transfer-card a:focus-visible{outline:2px solid #ff6d2d;outline-offset:3px}

/* Quiet year disclosure marker. */
#history-dates summary{list-style:none;display:flex;align-items:center;gap:8px}
#history-dates summary::-webkit-details-marker{display:none}
#history-dates summary::marker{content:""}
#history-dates summary::before{content:"—";color:#7d7773;transition:color .18s ease}
#history-dates details[open]>summary::before{color:#ff6d2d}

#history-dates summary::before{display:inline-block;flex:0 0 15px;width:15px;text-align:center}
#history-dates details button{padding-left:23px}

/* Drawer actions share the rail's rounded stroke language. */
#drawer-close,#history-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--ink);background:none;border:0;text-decoration:none;padding:8px;border-radius:10px}
#drawer-close svg{width:28px;height:28px}#history-refresh svg{width:22px;height:22px}
#drawer-close svg,#history-refresh svg{flex-shrink:0;transition:transform .18s ease,color .18s ease}
#history-refresh{font-size:12px}#drawer-close:focus-visible,#history-refresh:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
@media(hover:hover) and (pointer:fine){#drawer-close:hover svg,#history-refresh:not(:disabled):hover svg{color:var(--orange);transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){#drawer-close svg,#history-refresh svg{transition:none}#drawer-close:hover svg,#history-refresh:not(:disabled):hover svg{transform:none}}

#history-refresh svg{transition:color .18s ease}
#history-refresh:not(:disabled):hover svg{transform:none}
@media(prefers-reduced-motion:reduce){#history-refresh svg{transition:none}}

/* Match the close action icon column. */
#history-refresh svg{width:28px;height:28px}

#history-refresh .refresh-check{display:none}
#history-refresh[data-state="loading"]{opacity:1}
#history-refresh[data-state="loading"] svg{animation:refresh-spin .9s linear infinite;color:var(--orange)}
#history-refresh[data-state="success"] .refresh-arrows{display:none}
#history-refresh[data-state="success"] .refresh-check{display:inline}
#history-refresh[data-state="success"] svg{color:var(--orange)}
@keyframes refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#history-refresh[data-state="loading"] svg{animation:none}}

/* A small Föy welcome, with one quiet wink and no avatar upload. */
.side-drawer.profile-open{width:min(440px,calc(100vw - 80px));padding:28px 32px}
.profile-welcome{text-align:center;padding:0 0 24px}
.profile-mascot{width:210px;max-width:100%;margin:-6px auto 0}.profile-mascot svg{display:block;width:100%;height:auto}
.profile-wink-eye{transform-box:fill-box;transform-origin:center;animation:profile-wink 6s ease-in-out infinite}
@keyframes profile-wink{0%,65%,73%,100%{transform:scaleY(1)}68%,70%{transform:scaleY(.12)}}
.profile-hello{font-size:12px;color:var(--gray);margin:0 0 5px}#profile-name{font-size:24px;line-height:1.3;font-weight:400;margin:0;overflow-wrap:anywhere}
.profile-tagline{font-size:12px;color:var(--gray);margin:10px 0 0}
.profile-section{padding:22px 0 0;border-top:1px solid #7d777326}.profile-section h4{font-size:14px;font-weight:400;margin:0 0 6px}
#profile-view .floating-field{position:relative;display:block;margin:8px 0;cursor:text}
#profile-view .floating-field input{width:100%;height:54px;margin:0;padding:22px 0 8px;font-size:14px;line-height:22px}
#profile-view .floating-field input:focus-visible{padding-bottom:7px}
#profile-view .note{font-size:11px;line-height:1.65;color:var(--gray);text-align:left;margin:12px 0 20px}
#profile-view .primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:12px 18px;border-radius:11px;font-size:14px;color:#fff;line-height:20px}
#profile-view .password-details{border-top:1px solid #7d777326;margin:26px 0 0;padding:0}
#profile-view .password-details summary{display:flex;justify-content:space-between;align-items:center;list-style:none;padding:20px 0;font-size:14px;cursor:pointer}
#profile-view .password-details summary::-webkit-details-marker{display:none}#profile-view .password-details summary::marker{content:""}
#profile-view .password-details[open] .profile-disclosure{color:var(--orange)}
#profile-view .profile-menu-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:20px 0;margin:0;border:0;border-top:1px solid #7d777326;background:transparent;color:var(--gray);font-size:14px;text-align:left}
#profile-view .profile-menu-item svg{width:20px;height:20px}#profile-view .profile-menu-item:hover{color:var(--orange)}
@media(max-width:850px){.side-drawer.profile-open{width:calc(100vw - 64px);padding:24px}}
@media(prefers-reduced-motion:reduce){.profile-wink-eye{animation:none}}

.profile-mascot{width:220px;margin:-4px auto 6px}

.profile-character{position:relative;width:300px;max-width:100%;aspect-ratio:3/2;margin:0 auto 16px}
.profile-character img{display:block;width:100%;height:100%;object-fit:contain}
.profile-character[data-character="default"]{height:130px;aspect-ratio:auto}.profile-character[data-character="default"] img{width:100px;margin:auto}
.profile-character .character-wink{position:absolute;inset:0;clip-path:polygon(49% 33%,56% 33%,56% 49%,49% 50%);opacity:0;animation:character-wink 6s linear infinite}
@keyframes character-wink{0%,65%,74%,100%{opacity:0}67%,72%{opacity:1}}
@media(prefers-reduced-motion:reduce){.profile-character .character-wink{animation:none;opacity:0}}

.share-result{margin-top:22px;padding:20px;border-radius:20px;background:rgba(125,119,115,.10);text-align:center}.share-result h2{margin:0 0 8px;font-size:22px}.share-result input{width:100%;min-width:0;border:1px solid #ddd6d1;background:white;border-radius:10px;padding:12px;font-size:13px;box-sizing:border-box}.share-actions{display:grid;gap:10px;margin-top:14px}.share-actions .primary,.share-actions .secondary{display:flex;align-items:center;justify-content:center;min-height:46px;text-decoration:none;border-radius:12px;margin:0}.share-actions .secondary{color:#302d2a;border:1px solid #cfc9c4;background:transparent}.share-options{margin:16px 0;text-align:left;color:#7d7773;font-size:13px}.share-options summary{cursor:pointer}.share-options label{display:block;margin-top:12px}.share-options input{box-sizing:border-box;width:100%;padding:10px 0;border:0;border-bottom:1px solid #ccc;background:transparent}.share-result[hidden]{display:none}
