/* MallowShare – public launch: first-use explanation and action-first layout */
.mallow-welcome{position:fixed;inset:0;z-index:99990;overflow:auto;background:linear-gradient(145deg,#f5faff 5%,#f9fcff 55%,#f5ffff);color:#1f2e41;isolation:isolate;padding:28px clamp(16px,4vw,55px);display:grid;place-items:center}
.mallow-welcome[hidden]{display:none!important}body.welcome-open{overflow:hidden}
.welcome-aurora{position:absolute;pointer-events:none;border-radius:50%;filter:blur(40px);z-index:-1}.welcome-aurora-a{background:#cce2fe75;width:500px;height:500px;left:-190px;top:-140px}.welcome-aurora-b{background:#d6fefe6b;width:470px;height:470px;right:-145px;bottom:-140px}
.welcome-shell{width:min(1110px,100%);margin:auto;background:#ffffffdf;box-shadow:0 34px 105px #23487624;border:1px solid #dfebf9;border-radius:32px;padding:clamp(22px,4vw,48px);backdrop-filter:blur(15px)}
.welcome-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.welcome-brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:23px;letter-spacing:-.05em}.welcome-brand img{border-radius:10px}.welcome-brand span{color:#64a1eb}.welcome-counter{letter-spacing:.13em;font-size:11px;font-weight:850;color:#4c7db9;background:#eff6ff;border:1px solid #dfecfb;border-radius:30px;padding:11px 15px}
.welcome-copy{text-align:center;margin:42px 0 32px}.welcome-kicker{font-size:11px;font-weight:900;letter-spacing:.2em;color:#508cd6}.welcome-copy h2{font-size:clamp(34px,5vw,62px);letter-spacing:-.06em;line-height:1.08;margin:14px auto;max-width:780px}.welcome-copy h2 em{font-style:normal;background:linear-gradient(95deg,#519af4,#6de3e5);background-clip:text;-webkit-background-clip:text;color:transparent}.welcome-copy p{font-size:clamp(14px,2vw,17px);line-height:1.6;color:#6d7a8a;margin:0 auto;max-width:630px}
.welcome-journey{display:flex;align-items:stretch;gap:0}.journey-card{background:white;border:1px solid #dceafa;box-shadow:0 12px 30px #3054800d;border-radius:22px;padding:21px 17px;flex:1;min-width:0;transition:transform .18s}.journey-card:hover{transform:translateY(-4px)}.journey-icon{width:56px;height:56px;border-radius:17px;display:grid;place-items:center;font-size:26px;margin-bottom:17px}.journey-a{background:#e6f1ff}.journey-b{background:#fff0e0}.journey-c{background:#e4f8ff}.journey-d{background:#e6faf2}.journey-number{display:block;color:#548ed6;letter-spacing:.13em;font-size:10px;font-weight:900}.journey-card h3{font-size:17px;letter-spacing:-.025em;margin:9px 0}.journey-card p{font-size:12px;line-height:1.7;color:#697685;margin:0}.journey-connector{align-self:center;flex:0 0 28px;display:grid;place-items:center;color:#69a3ea;font-weight:900;font-size:20px}
.welcome-footer{text-align:center;margin-top:31px}.welcome-features{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin-bottom:24px}.welcome-features span{color:#647386;font-size:12px;font-weight:700;background:#f0f7ff;padding:9px 12px;border-radius:20px}.welcome-continue{border:0;border-radius:16px;padding:17px 30px;min-height:58px;color:white;background:linear-gradient(105deg,#4892ec,#6ea6ea,#7de2e4);font-weight:850;font-size:15px;box-shadow:0 12px 32px #5598ea55;cursor:pointer}.welcome-continue:hover{filter:brightness(1.05)}.welcome-continue span{margin-left:19px}.welcome-footer p{font-size:11px;color:#7b8897;margin:14px 0 0}.welcome-replay{display:inline-flex;align-items:center;gap:9px;background:#ebf4ff;color:#4080cf;border:1px solid #d1e5fe;border-radius:14px;font-weight:800;padding:11px 16px;margin:0 0 20px;cursor:pointer}.welcome-replay span{font-size:11px;color:#728baa}
/* More memorable guide cards: visual accent, hierarchy, consistent sizes */
.explore-grid{gap:16px}.explore-card{position:relative;flex-direction:column;align-items:flex-start;min-height:172px;padding:20px 21px;gap:12px;overflow:hidden;border-radius:22px;background:linear-gradient(145deg,#fff,#fafcff);border-color:#e0ecfb;box-shadow:0 16px 38px #35557c0d}.explore-card:before{content:'';position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#5ca1f6,#88b3e8)}.explore-card:nth-child(2):before{background:linear-gradient(90deg,#fa9197,#f7bd75)}.explore-card:nth-child(3):before{background:linear-gradient(90deg,#4cbac7,#66a3ed)}.explore-card:nth-child(4):before{background:linear-gradient(90deg,#43c6a6,#7edab0)}.explore-card:nth-child(5):before{background:linear-gradient(90deg,#7f9df4,#9cc8fd)}.explore-card:nth-child(6):before{background:linear-gradient(90deg,#a5e9ea,#81afe8)}.explore-icon{width:50px;height:50px;border-radius:16px;font-size:26px;background:#e9f3ff}.explore-card:nth-child(2) .explore-icon{background:#edfeff}.explore-card:nth-child(3) .explore-icon{background:#e7faff}.explore-card:nth-child(4) .explore-icon{background:#ebfff7}.explore-card:nth-child(5) .explore-icon{background:#e9efff}.explore-card:nth-child(6) .explore-icon{background:#fff1e5}.explore-card strong{font-size:16px}.explore-card small{font-size:12px;line-height:1.6;max-width:240px}.explore-arrow{position:absolute;right:18px;top:20px;width:30px;height:30px;border-radius:50%;background:#eff6ff;display:grid;place-items:center}.explore-mini-grid a{min-height:46px;border:1px solid #e8f1fb}.explore-mini-grid a:focus-visible{outline:3px solid #5098ef}
/* Three large pictorial instructions below search-facing helpful text */
.seo-steps{margin:24px 0 38px}.seo-steps article{border-radius:22px;padding:25px;min-height:222px;box-shadow:0 18px 38px #3150770e}.seo-steps article span{letter-spacing:.12em;font-size:11px}.seo-step-emoji{margin:15px 0 10px;font-size:28px;height:38px}.seo-steps article h3{font-size:20px;margin:10px 0}.seo-steps article p{font-size:13px;color:#6a7787;line-height:1.7}
/* The first view after selecting files is the actual list, not a wall of tools. */
#panel-files>.file-list{margin-top:8px;scroll-margin-top:40px}#panel-files>.selection-bar{margin-bottom:24px}#panel-files>.file-tools{margin-top:9px}.file-item{border-radius:16px}
.handoff-bar{margin:16px 0 21px;border:1px solid #b8e6d9;border-radius:21px;padding:20px;display:flex;align-items:center;gap:15px;background:linear-gradient(118deg,#edfff8,#f2f7ff 55%,#f3f8ff);box-shadow:0 12px 30px #19876e12}.handoff-bar[hidden]{display:none!important}.handoff-symbol{flex:0 0 43px;height:43px;border-radius:14px;display:grid;place-items:center;color:#047d60;background:#cdf6e7;font-size:23px;font-weight:950}.handoff-copy{flex:1;min-width:0}.handoff-copy strong{font-size:16px;letter-spacing:-.02em;color:#20483f}.handoff-copy p{font-size:12px;color:#607873;line-height:1.45;margin:5px 0 10px}.handoff-recent{display:flex;gap:6px;flex-wrap:wrap}.handoff-file,.handoff-more{background:#ffffffd9;border:1px solid #d5e8e6;border-radius:9px;color:#536c68;font-size:11px;font-weight:750;padding:6px 9px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.handoff-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.handoff-actions button{border:0;border-radius:11px;min-height:44px;padding:11px 13px;font-size:12px;font-weight:850;white-space:nowrap}.handoff-primary{color:white;background:linear-gradient(100deg,#4c93e9,#67a8f8)}.handoff-secondary{color:#4974a8;background:white;border:1px solid #d3e5fa!important}
body.dark .welcome-replay{background:#253850;color:#d1e5fe;border-color:#526d8d}body.dark .explore-card{background:linear-gradient(145deg,#273240,#223042)}body.dark .explore-arrow{background:#3b5069;color:#d4e7fe}body.dark .handoff-bar{background:linear-gradient(110deg,#183f41,#283b52);border-color:#427a77}body.dark .handoff-copy strong{color:#e6fff8}body.dark .handoff-copy p{color:#c0d9d4}body.dark .handoff-file,body.dark .handoff-more{background:#293b4e;color:#dbf5f3;border-color:#446379}body.dark .handoff-secondary{background:#2b3b4f;color:#d6e8fe;border-color:#4c6079!important}
@media(max-width:920px){.handoff-bar{flex-wrap:wrap}.handoff-actions{width:100%;padding-left:58px}}@media(max-width:800px){.welcome-journey{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journey-connector{display:none}.welcome-copy{margin:28px 0}.welcome-shell{border-radius:24px}.journey-card{padding:16px}.journey-card h3{font-size:15px}.welcome-features{gap:6px}}@media(max-width:560px){.mallow-welcome{padding:12px}.welcome-shell{padding:18px}.welcome-brand{font-size:18px}.welcome-counter{font-size:9px;letter-spacing:.06em;padding:8px}.welcome-copy{margin:20px 0}.welcome-copy h2{font-size:32px}.welcome-copy p{font-size:12px}.journey-card{padding:12px;border-radius:13px}.journey-icon{width:38px;height:38px;font-size:18px;margin-bottom:6px;border-radius:11px}.journey-card h3{font-size:13px;margin:4px 0}.journey-card p{font-size:11px;line-height:1.43}.journey-number{font-size:9px}.welcome-footer{margin-top:17px}.welcome-features{margin-bottom:12px}.welcome-features span{font-size:10px;padding:6px 8px}.welcome-continue{padding:12px 20px;min-height:48px}.handoff-bar{padding:13px}.handoff-symbol{flex-basis:34px;height:34px}.handoff-copy strong{font-size:14px}.handoff-actions{padding-left:0}.handoff-actions button{flex:1;white-space:normal}.explore-card{min-height:128px}}
@media(prefers-reduced-motion:reduce){.explore-card,.journey-card{transition:none!important}}

@keyframes new-share-arrival{0%{box-shadow:0 0 0 0 #6aa9f65e;background:#eff6ff}70%{box-shadow:0 0 0 10px #6aa9f600}100%{box-shadow:none}}.file-item.new-share-pulse{animation:new-share-arrival 1.6s ease-out}body.dark .file-item.new-share-pulse{animation:none;outline:2px solid #8fc0fd}@media(prefers-reduced-motion:reduce){.file-item.new-share-pulse{animation:none;outline:2px solid #5fa0f0}}
/* File actions: no cramped or overlapping buttons on a 320–600px phone. */
@media(max-width:600px){
 .file-buttons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%;justify-content:stretch!important;align-items:stretch;min-width:0}
 .file-buttons button{min-width:0!important;width:100%;height:39px;min-height:39px;border-radius:11px!important;display:flex;align-items:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px!important;box-sizing:border-box}
 .file-buttons button[data-action="convert"]{grid-column:span 2;min-width:0!important;font-size:12px!important;letter-spacing:-.01em}
 .file-buttons button svg{width:17px;height:17px}
}
