:root{--ink:#111b39;--muted:#657296;--subtle:#8d99b8;--blue:#2861f6;--blue-2:#4c82ff;--border:rgba(255,255,255,.79);--line:rgba(86,111,178,.12);--shadow:0 17px 42px rgba(67,82,152,.11),0 4px 12px rgba(70,79,136,.025);--font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Inter,Arial,sans-serif}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth}
body{min-width:320px;min-height:100vh;margin:0;color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;background:#eef0ff}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:not-allowed}
button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid rgba(46,102,245,.48);outline-offset:3px}
a{text-decoration:none;color:inherit}
[hidden]{display:none!important}
.page-backdrop{pointer-events:none;position:fixed;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse 46% 44% at 80% 36%,rgba(188,199,247,.47),transparent 75%),radial-gradient(ellipse 37% 34% at 15% 79%,rgba(181,192,238,.36),transparent 75%),linear-gradient(145deg,#f1f3ff 0%,#e8ecfc 51%,#f4f4ff 100%)}
.page-backdrop::before{content:"";position:absolute;width:110vw;height:400px;top:-226px;left:-28vw;background:rgba(255,255,255,.53);transform:rotate(-28deg);border-radius:0 0 50% 50%;filter:blur(1px)}
.page-backdrop::after{content:"";position:absolute;width:100vw;height:370px;bottom:-248px;left:-15vw;border-radius:50%;background:rgba(255,255,255,.27);filter:blur(48px)}
.site-wrap{width:min(100% - 104px,1360px);margin:0 auto;min-height:100vh;display:flex;flex-direction:column}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:74px 28px 52px}
.brand{display:inline-flex;align-items:center;gap:11px;font-size:34px;font-weight:720;letter-spacing:-1.45px;line-height:1;white-space:nowrap}
.brand img{width:70px;height:53px;object-fit:contain}
.header-controls{display:flex;align-items:center;gap:16px}
.connection-pill,.disconnect-btn{height:47px;border-radius:999px;border:1px solid rgba(255,255,255,.76);background:rgba(255,255,255,.24);box-shadow:0 4px 16px rgba(93,108,166,.08);display:inline-flex;align-items:center;justify-content:center;gap:12px;color:#1b284c;font-size:15px;white-space:nowrap}
.connection-pill{padding:0 19px;min-width:160px}
.status-dot{width:11px;height:11px;border-radius:50%;background:#929bb5;box-shadow:0 0 0 2px rgba(102,117,159,.055)}
.status-dot.is-online{background:#0fd56b;box-shadow:0 0 0 3px rgba(15,213,107,.085)}
.status-dot.is-connecting{background:#e1a738}
.disconnect-btn{padding:0 21px;font-weight:580;transition:background .15s,border-color .15s}
.disconnect-btn:hover{background:rgba(255,255,255,.6)}
.disconnect-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.site-main{width:100%;flex:0 0 auto}
.workspace{display:grid;grid-template-columns:minmax(0,2.11fr) minmax(330px,.96fr);align-items:stretch;gap:22px}
.glass-panel{background:linear-gradient(145deg,rgba(255,255,255,.49),rgba(244,246,255,.34) 74%);border:1.3px solid var(--border);border-radius:29px;box-shadow:var(--shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.main-card{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 37px 35px;overflow:hidden;transition:min-height .24s ease}
.side-card{min-width:0;padding:31px 30px;display:flex;flex-direction:column}
.app-shell[data-view="waiting"] .main-card,.app-shell[data-view="waiting"] .side-card,.app-shell[data-view="connecting"] .main-card,.app-shell[data-view="connecting"] .side-card{min-height:685px}
.app-shell[data-view="connected"] .main-card,.app-shell[data-view="connected"] .side-card{min-height:560px}
.device-visual{width:400px;height:205px;max-width:100%;position:relative;flex-shrink:0;margin:1px auto 0}
.device-halo{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none}
.halo-outer{width:222px;height:222px;border:1px solid rgba(255,255,255,.46);background:radial-gradient(circle,rgba(103,141,251,.135) 5%,rgba(148,173,246,.045) 65%,transparent 76%)}
.halo-inner{width:154px;height:154px;border:1px solid rgba(255,255,255,.39);background:radial-gradient(circle,rgba(124,158,255,.13),transparent 75%)}
.device-laptop{position:absolute;width:157px;height:auto;left:27px;top:35px;filter:drop-shadow(0 10px 10px rgba(41,51,87,.18))}
.device-phone{position:absolute;width:66px;height:auto;right:34px;top:45px;filter:drop-shadow(0 7px 9px rgba(41,51,87,.18))}
.device-beam{position:absolute;left:177px;right:104px;height:2px;top:100px;background:linear-gradient(90deg,rgba(98,146,251,.14),#83acff 49%,rgba(113,154,246,.21))}
.beam-dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:16px;height:16px;background:linear-gradient(145deg,#4b95ff,#315ef8);border-radius:50%;box-shadow:0 2px 10px rgba(30,93,245,.28)}
.device-center-mark{position:absolute;left:calc(50% - 29px);top:57px;width:58px;height:58px;border-radius:50%;border:1px solid rgba(255,255,255,.74);background:linear-gradient(145deg,#f0f4ff,#e0e9ff);display:grid;place-items:center;box-shadow:0 7px 16px rgba(65,105,217,.15)}
.device-center-mark svg{width:31px;height:31px;fill:none;stroke:#326aff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.app-shell[data-view="connected"] .device-center-mark{opacity:0}
.app-shell[data-view="connected"] .device-beam{opacity:1}
.app-shell[data-view="waiting"] .device-beam,.app-shell[data-view="connecting"] .device-beam{opacity:.28}
.app-shell[data-view="waiting"] .beam-dot,.app-shell[data-view="connecting"] .beam-dot{opacity:0}
.main-title{font-size:35px;letter-spacing:-1.05px;font-weight:740;line-height:1.2;margin:-7px 0 10px}
.main-subtitle{font-size:19px;line-height:1.4;color:var(--muted);font-weight:420;margin:0}
.waiting-panel{width:100%;display:flex;align-items:center;flex-direction:column;margin-top:20px}
.qr-frame{height:239px;width:239px;display:grid;place-items:center;position:relative;padding:15px;border-radius:23px;border:1px solid rgba(253,253,255,.95);background:rgba(255,255,255,.65);box-shadow:0 7px 18px rgba(48,65,132,.1)}
.qr-frame canvas{width:207px!important;height:207px!important;display:block;image-rendering:pixelated}
.qr-wait{position:absolute;color:var(--muted);font-size:13px}
.qr-frame canvas:not([data-ready]){visibility:hidden}
.invite-link{display:flex;align-items:center;width:min(100%,479px);height:62px;gap:10px;margin-top:17px;border-radius:999px;padding:0 13px 0 24px;border:1px solid rgba(220,227,255,.94);background:rgba(255,255,255,.5);box-shadow:0 5px 15px rgba(92,102,163,.055)}
.invite-link input{border:0;background:none;outline:0;min-width:0;flex:1;color:#1c294b;font-size:19px;letter-spacing:-.27px;overflow:hidden;text-overflow:ellipsis}
.invite-link input:focus-visible{outline:none}
.icon-btn{display:inline-grid;place-items:center;flex-shrink:0;width:43px;height:43px;background:transparent;color:#203669;border:0;border-radius:13px;transition:background .16s}
.icon-btn:hover{background:rgba(46,89,193,.08)}
.icon-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.connection-hint{margin:17px 0 0;color:var(--muted);font-size:16px;line-height:1.4}
.instructions-panel{margin:auto 5px;display:flex;flex-direction:column;gap:24px}
.instruction{display:grid;grid-template-columns:74px 1fr;align-items:center;gap:24px}
.instruction-icon{width:67px;height:67px;border-radius:17px;display:grid;place-items:center;color:#3576ff;background:linear-gradient(145deg,rgba(225,232,255,.93),rgba(226,235,255,.55));box-shadow:inset 0 0 0 1px rgba(238,241,255,.6)}
.instruction-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.instruction p{font-size:23px;letter-spacing:-.5px;font-weight:650;line-height:1.3;margin:0}
.instruction-separator{height:1px;background:var(--line);margin:0 4px}
.composer-panel{width:100%;position:relative;margin-top:26px;text-align:left}
.note-box{width:100%;position:relative}
.note-input-wrap{position:relative}
.note-box textarea{display:block;width:100%;height:131px;resize:vertical;min-height:112px;max-height:300px;border-radius:19px;border:1.5px solid #cbd5f6;background:rgba(255,255,255,.66);padding:20px 23px 35px;color:#182443;font-size:19px;line-height:1.5;outline:0;box-shadow:0 5px 17px rgba(99,123,191,.035)}
.note-box textarea::placeholder{color:#808eae}
.note-box textarea:focus{border-color:#8eaaff;box-shadow:0 0 0 4px rgba(57,111,246,.08)}
.note-counter{position:absolute;right:19px;bottom:17px;color:#68799c;font-size:13px;pointer-events:none}
/* Adjuntos pegados o seleccionados: permanecen en el editor hasta pulsar Enviar. */
.pending-files{display:flex;flex-wrap:wrap;gap:9px;margin-top:11px;max-height:168px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.pending-file{display:flex;align-items:center;gap:9px;min-width:0;max-width:100%;flex:0 1 auto;background:rgba(255,255,255,.54);border:1px solid rgba(173,190,233,.59);padding:7px 9px 7px 7px;border-radius:13px;color:#24345b}
.pending-thumb{height:36px;width:36px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;overflow:hidden;background:rgba(210,224,253,.6);color:#356ce8}
.pending-thumb img{height:100%;width:100%;object-fit:cover}
.pending-thumb svg{height:19px;width:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pending-detail{display:flex;flex-direction:column;min-width:0;gap:2px;max-width:190px}
.pending-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;font-weight:590}
.pending-size{font-size:11px;color:#7582a2}
.pending-remove{width:27px;height:27px;display:grid;place-items:center;flex-shrink:0;border:0;border-radius:50%;background:rgba(194,206,237,.28);color:#405274;font-size:21px;line-height:1;padding:0}
.pending-remove:hover{background:rgba(181,199,243,.53);color:#183e9b}
.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:21px}
.upload-actions{display:flex;align-items:center;gap:20px;min-width:0}
.text-action{padding:11px 5px;display:inline-flex;align-items:center;gap:15px;color:#182757;border:0;background:transparent;font-size:17px;white-space:nowrap;border-radius:9px}
.text-action:hover{color:#2861f6}
.text-action svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.action-divider{width:1px;height:35px;background:rgba(69,96,163,.16)}
.send-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;height:61px;min-width:166px;border-radius:999px;border:1px solid rgba(84,132,255,.58);color:white;font-size:18px;font-weight:550;background:linear-gradient(140deg,#3b79ff,#2556f7);box-shadow:0 10px 19px rgba(31,92,231,.22);transition:transform .13s,box-shadow .13s}
.send-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 13px 22px rgba(31,92,231,.29)}
.send-button:disabled{opacity:.67}
.send-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.drop-overlay{position:absolute;inset:0;background:rgba(233,241,255,.96);border:2px dashed #4c85ff;border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#2451cb;pointer-events:none;opacity:0;transition:opacity .12s}
.drop-overlay svg{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.main-card.is-dragging .drop-overlay{opacity:1}
.elements-panel{width:100%;display:flex;flex-direction:column;min-height:0}
.elements-header{display:flex;align-items:center;justify-content:space-between;padding:0 0 21px;border-bottom:1px solid var(--line)}
.elements-heading{display:flex;align-items:center;gap:11px}
.elements-heading svg{width:25px;height:25px;stroke:#132654;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.elements-heading h2{margin:0;font-size:21px;font-weight:680;letter-spacing:-.5px}
.count-badge{min-width:29px;height:28px;padding:2px 8px;border-radius:99px;background:rgba(188,199,235,.25);font-size:15px;color:#25345e;text-align:center;line-height:24px}
.elements-list{width:100%;min-height:120px;max-height:490px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c3cbe2 transparent}
.empty-elements{text-align:center;color:var(--muted);font-size:15px;line-height:1.6;padding:40px 15px}
.element-row{display:flex;align-items:center;gap:15px;min-height:95px;padding:16px 1px;border-bottom:1px solid var(--line);animation:item-in .18s ease-out}
.element-icon{display:grid;place-items:center;width:62px;height:62px;flex-shrink:0;border-radius:13px;background:linear-gradient(140deg,rgba(226,235,255,.96),rgba(215,226,253,.48));color:#3572ef;overflow:hidden}
.element-icon svg{width:31px;height:31px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.element-icon img{width:100%;height:100%;object-fit:cover}
.element-file-extension{font-size:14px;font-weight:740;color:#d73247}
.element-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.element-name{display:block;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-weight:580;font-size:15px;color:#18223e}
.element-meta{font-size:13px;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}
.element-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}
.element-primary{border:1px solid rgba(255,255,255,.8);border-radius:999px;background:rgba(255,255,255,.4);height:39px;padding:0 15px;color:#172545;font-size:14px;white-space:nowrap}
.element-primary:hover{background:rgba(255,255,255,.84)}
.element-icon-button{width:39px;height:39px;border:1px solid rgba(255,255,255,.75);border-radius:12px;background:rgba(255,255,255,.31);display:grid;place-items:center;color:#162854}
.element-icon-button:hover{background:rgba(255,255,255,.82)}
.element-icon-button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.element-more{width:25px;height:37px;background:none;border:0;color:#1c2b56;font-size:20px;letter-spacing:1px}
.element-more:hover{color:#2861f6}
.element-row[data-status="sending"] .element-meta{color:#3468d7}
.element-row[data-status="failed"] .element-meta{color:#b3494c}
.progress-track{height:3px;background:#dbe4f9;margin:3px 1px 0;border-radius:99px;overflow:hidden}
.progress-fill{height:100%;width:0;background:#336cf4;border-radius:99px;transition:width .12s}
.site-footer{display:flex;align-items:center;justify-content:center;gap:31px;max-width:830px;margin:27px auto 26px;padding:0 10px;flex-shrink:0}
.footer-line{height:1px;flex:1;min-width:20px;max-width:162px;background:linear-gradient(90deg,transparent,rgba(105,118,178,.23))}
.footer-line:last-child{transform:scaleX(-1)}
.footer-capsule{padding:14px 43px 15px;min-width:360px;border:1px solid rgba(255,255,255,.57);border-radius:70px;background:rgba(255,255,255,.17);display:flex;align-items:center;flex-direction:column;gap:6px;color:#667396;line-height:1.35;white-space:nowrap}
.copyright{font-size:17px;letter-spacing:.1px;font-weight:440}
.footer-link{color:#2d60de;font-size:16px;transition:color .14s}
.footer-link:hover{text-decoration:underline;text-underline-offset:3px;color:#1c4bad}
/* Donación discreta: visualmente equivalente a los enlaces del pie. */
.footer-donate{min-height:32px;min-width:98px;display:flex;align-items:center;justify-content:center;position:relative}
.footer-donate-button:empty{display:none}
.footer-donate-button{display:flex;align-items:center;justify-content:center;line-height:0}
.footer-donate-button img,.footer-donate-button input[type="image"]{display:block;width:98px;max-width:98px;height:32px;object-fit:contain;cursor:pointer;border:0;transition:filter .14s,opacity .14s}
.footer-donate-button img:hover,.footer-donate-button input[type="image"]:hover{filter:brightness(.83)}
.footer-donate-button img:focus-visible,.footer-donate-button input[type="image"]:focus-visible{outline:2px solid #2d60de;outline-offset:3px;border-radius:5px}
.footer-donate-fallback{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px}
.footer-donate.is-paypal-ready .footer-donate-fallback{display:none}
.toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);z-index:50;border:1px solid rgba(225,231,250,.9);border-radius:999px;background:rgba(255,255,255,.97);box-shadow:0 10px 30px rgba(25,41,99,.19);color:#1b2b52;padding:13px 20px;font-size:14px;max-width:min(95vw,540px);text-align:center}
.modal-backdrop{position:fixed;z-index:60;inset:0;background:rgba(21,30,64,.36);display:grid;place-items:center;padding:20px;backdrop-filter:blur(8px)}
.note-modal{width:min(100%,520px);background:rgba(249,251,255,.97);padding:26px;max-height:88vh;display:flex;flex-direction:column}
.modal-header{display:flex;align-items:center;justify-content:space-between}.modal-header h2{margin:0;font-size:23px}
.modal-note{font-family:var(--font);font-size:16px;line-height:1.6;white-space:pre-wrap;word-break:break-word;max-height:55vh;overflow:auto;margin:20px 0;background:rgba(234,240,255,.6);padding:19px;border-radius:14px}
.modal-copy{align-self:flex-end;border:0;background:#3169f4;color:white;padding:11px 17px;border-radius:999px}
.info-page{max-width:860px;margin:0 auto;padding:38px 43px;border-radius:27px;border:1px solid rgba(255,255,255,.85);background:rgba(255,255,255,.47);line-height:1.75;font-size:16px;box-shadow:var(--shadow)}
.info-page h1{font-size:33px;line-height:1.3}.info-page h2{margin:25px 0 8px}.info-page a{color:var(--blue);text-decoration:underline}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes item-in{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:1120px){.site-wrap{width:min(100% - 56px,1360px)}.site-header{padding:42px 12px 25px}.workspace{grid-template-columns:minmax(0,1.75fr) minmax(315px,.95fr);gap:16px}.main-card{padding:17px 23px 27px}.side-card{padding:26px 22px}.instruction{gap:13px;grid-template-columns:58px 1fr}.instruction-icon{width:55px;height:55px}.instruction p{font-size:20px}.main-title{font-size:30px}.main-subtitle{font-size:17px}.upload-actions{gap:8px}.text-action{gap:8px;font-size:14px}.text-action svg{width:23px;height:23px}.send-button{min-width:122px;height:52px}.device-visual{height:185px}.composer-panel{margin-top:23px}}
@media (max-width:780px){.site-wrap{width:min(100% - 30px,620px)}.site-header{padding:24px 4px 22px}.brand{font-size:28px;gap:7px}.brand img{height:46px;width:57px}.header-controls{gap:7px}.connection-pill{min-width:0;height:39px;padding:0 12px;font-size:12px;gap:7px}.disconnect-btn{height:39px;padding:0 12px;font-size:12px;gap:6px}.disconnect-btn svg{width:16px;height:16px}.status-dot{width:9px;height:9px}.workspace{display:flex;flex-direction:column;gap:17px}.glass-panel{border-radius:24px}.app-shell[data-view="waiting"] .main-card,.app-shell[data-view="connecting"] .main-card{min-height:0}.app-shell[data-view="waiting"] .side-card,.app-shell[data-view="connecting"] .side-card{min-height:0}.app-shell[data-view="connected"] .main-card,.app-shell[data-view="connected"] .side-card{min-height:0}.main-card{padding:20px 18px 29px}.device-visual{height:170px;margin-top:0}.device-laptop{top:26px}.device-phone{top:36px}.device-beam{top:91px}.device-center-mark{top:49px}.main-title{font-size:29px;margin:0 0 9px}.main-subtitle{font-size:15px;max-width:460px}.waiting-panel{margin-top:23px}.qr-frame{height:220px;width:220px}.qr-frame canvas{width:188px!important;height:188px!important}.invite-link{height:56px;margin-top:19px}.invite-link input{font-size:16px}.connection-hint{font-size:14px}.side-card{padding:27px 23px}.instructions-panel{width:100%;gap:15px;margin:0}.instruction{grid-template-columns:50px 1fr;gap:19px}.instruction-icon{width:49px;height:49px;border-radius:13px}.instruction-icon svg{width:26px;height:26px}.instruction p{font-size:18px}.composer-panel{margin-top:25px}.note-box textarea{font-size:16px}.composer-actions{margin-top:18px}.site-footer{margin:22px auto 19px;gap:12px}.footer-capsule{padding:13px 28px;min-width:0}.copyright{font-size:14px}.footer-link{font-size:14px}.elements-list{max-height:400px}.info-page{padding:26px 25px}}
@media (max-width:470px){.site-wrap{width:calc(100% - 24px)}.site-header{gap:7px}.brand{font-size:25px}.brand img{width:49px;height:39px}.connection-pill{padding:0 10px;font-size:11px}.disconnect-btn{padding:0 9px;font-size:11px}.header-controls{gap:5px}.main-title{font-size:26px}.main-subtitle{font-size:14px}.device-visual{transform:scale(.82);transform-origin:center;max-width:none;width:360px;height:143px;margin-top:-6px;margin-bottom:0}.device-laptop{left:17px}.device-phone{right:17px}.device-beam{left:164px;right:92px}.device-center-mark{left:calc(50% - 29px)}.main-card{padding:23px 16px 26px}.qr-frame{width:208px;height:208px;padding:12px}.qr-frame canvas{width:184px!important;height:184px!important}.invite-link{padding-left:15px}.invite-link input{font-size:14px}.text-action{font-size:12px;gap:5px;padding:8px 1px}.text-action svg{width:20px;height:20px}.upload-actions{gap:5px}.action-divider{height:23px}.send-button{height:44px;min-width:95px;font-size:14px;gap:6px}.send-button svg{height:18px;width:18px}.note-box textarea{font-size:15px;padding:17px 14px 34px}.element-row{gap:9px;padding:14px 0;min-height:80px}.element-icon{width:49px;height:49px}.element-name{font-size:13px}.element-meta{font-size:11px}.element-primary{font-size:12px;padding:0 10px;height:32px}.element-icon-button{width:33px;height:33px}.element-more{width:19px;font-size:18px}.side-card{padding:23px 17px}.footer-line{display:none}.footer-capsule{padding:12px 22px;width:auto}.site-footer{margin:18px 0 18px}.info-page h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* El pie se sitúa cerca del contenido, como en las referencias visuales. */
body:has(.app-shell[data-view="connected"]) .site-footer{margin-top:86px}
@media (max-width:470px){
  .composer-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .upload-actions{width:100%;justify-content:space-between;gap:10px}
  .text-action{font-size:13px;gap:7px}
  .send-button{width:100%;height:47px;font-size:15px}
  .note-box textarea{resize:none}
  body:has(.app-shell[data-view="connected"]) .site-footer{margin-top:25px}
}

@media(max-width:470px){.pending-files{max-height:155px}.pending-file{flex:1 1 135px}.pending-detail{max-width:none;flex:1}}

/* HilltopAds: solo una zona visible según formato. Dimensiones fijas para evitar saltos. */
.ad-placement{width:100%;max-width:310px;display:flex;flex-direction:column;align-items:center;gap:11px;margin:24px auto 0;flex-shrink:0}
.ad-placement-label{font-size:11px;line-height:1.2;font-weight:550;letter-spacing:.12em;text-transform:uppercase;color:#8d99b8}
.ad-placement-frame{width:300px;max-width:100%;position:relative;flex-shrink:0;border-radius:14px;background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.48);box-shadow:inset 0 0 0 1px rgba(196,206,246,.07)}
.ad-placement--desktop .ad-placement-frame{height:250px}
.ad-placement--mobile .ad-placement-frame{height:100px}
.ad-placement-frame iframe{max-width:100%}
.app-shell[data-view="waiting"] .instructions-panel:has(~ .ad-placement:not([hidden])){margin:0 5px}
@media (min-width:781px) and (max-width:1120px){
  .app-shell:has(.ad-placement) .workspace{grid-template-columns:minmax(0,1fr) minmax(350px,.85fr)}
  .app-shell:has(.ad-placement) .side-card{padding-inline:21px}
}
@media (max-width:780px){
  .ad-placement{margin:27px auto 0}
}

/* FallDip 1.0.6: dos anuncios en escritorio, con los pasos centrados entre ambos.
   El diseño móvil conserva su único banner debajo de las instrucciones. */
.ad-placement[hidden]{display:none!important}
@media (min-width:781px){
  .app-shell[data-view="waiting"] .side-card:has(.ad-placement--desktop-top:not([hidden])){
    min-height:890px;
    justify-content:space-between;
  }
  .app-shell[data-view="waiting"] .main-card:has(~ .side-card .ad-placement--desktop-top:not([hidden])){
    min-height:890px;
    justify-content:center;
  }
  .app-shell[data-view="waiting"] .side-card:has(.ad-placement--desktop-top:not([hidden])) .instructions-panel{
    margin:12px 5px;
    width:calc(100% - 10px);
  }
  .app-shell[data-view="waiting"] .side-card:has(.ad-placement--desktop-top:not([hidden])) .ad-placement{
    margin:0 auto;
  }
}
