/* Diseño oscuro aprobado: fondo de contraste y superficies claras. */
:root{--ric:#0f5e42;--forest:#088745;--lime:#98ef36;--sea:#126b80;--aqua:#12b0a0;--ink:#18342a;--muted:#526b5d;--line:#dce9e1;--soft-line:#dce9e1;--white:#fff;--radius:20px;--backdrop:#082b24}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--backdrop);color:white;font:15px/1.5 Haskoy,Arial,sans-serif}button,input,select{font:inherit}button,a,input,summary,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--aqua);outline-offset:4px}button{cursor:pointer;border-radius:100px;min-height:42px;padding:10px 18px;font-weight:700;line-height:1.3}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--ric)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(5%,24px);background:var(--ric);border-bottom:1px solid #4d8e71}.brand-lockup{display:flex;align-items:center;gap:28px}.brand{font:800 27px/1 Arial,sans-serif;letter-spacing:-1px;text-decoration:none;color:white}.brand span{font-weight:400}.brand-caption{font-size:12px;color:#deeee4}.pilot{border:1px solid #a6d3b6;border-radius:50px;padding:5px 12px;font-size:11px;color:white}.pilot:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--lime);margin-right:7px}main{max-width:1200px;margin:0 auto;padding:38px 25px 60px;display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center}footer{max-width:1150px;margin:auto;padding:22px 0;border-top:1px solid #ffffff22;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#c4ddd0}
h1,h2,h3{line-height:1.15;letter-spacing:-.6px}h1{font-size:44px;letter-spacing:-1.6px;margin:8px 0 16px}h2{font-size:28px;margin:0 0 10px;color:var(--ric)}h3{font-size:18px;color:var(--ric);margin:0 0 8px}.eyebrow{font:700 11px/1.4 Georgia,serif;letter-spacing:.12em;text-transform:uppercase;color:var(--ric);margin:0 0 9px}.intro .eyebrow{color:#a6edba}.lead{font-size:19px;color:#deeee4;max-width:400px}.steps{margin:30px 0}.steps strong{font-size:12px;border-bottom:2px solid var(--lime);padding-bottom:4px;margin-right:12px}.preparation{font-size:13px;color:#c4ddd0;border-left:2px solid #81d8d0;padding-left:15px;max-width:410px}.access,.card,.result-card{background:white;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:0 18px 42px #00150c55;min-width:0}.access p{color:var(--muted)}.access{margin:25px 0}#identity{font-size:13px;overflow-wrap:anywhere}.primary{background:var(--ric);color:white;border:1px solid var(--ric);width:100%;margin-top:20px;min-height:46px}.primary:not(:disabled):hover{background:#07432f}.secondary,.button-link{background:white;color:var(--ric);border:1px solid #a3c5b0}.secondary:not(:disabled):hover,.button-link:hover{background:#edf7f0}.text-button{background:transparent;border:0;color:var(--ric);font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:8px 4px;min-height:36px}.small{font-size:12px;padding:8px 13px;min-height:38px}.actions,.history-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.note,.card-description{font-size:12px;color:var(--muted)}.card-description{font-size:14px;margin:0 0 16px}.button-link{display:inline-block;text-decoration:none;border-radius:100px;padding:10px 16px;font-size:13px;font-weight:700}.blocked{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.blocked .actions{display:none}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ric);margin-right:8px}.sharepoint{grid-column:1/-1}.sharepoint-file{padding:12px;border-bottom:1px solid var(--line)}.sharepoint-file span{display:block}.label-state[data-state=blocked],[data-error=true]{color:#8a2e19!important}
#workspace{grid-column:1/-1;min-width:0}.workspace-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.workspace-top .eyebrow{display:none}.workspace-top h1{margin:0 0 9px}.workspace-top p{margin:0;color:#c4ddd0}.workspace-user{display:grid;grid-template-columns:36px minmax(0,230px);gap:0 10px;font-size:11px;color:#deeee4;overflow-wrap:anywhere}.account-mark{grid-row:1/3;display:grid;place-items:center;border:1px solid #ffffff55;border-radius:50%;width:36px;height:36px;font-size:10px;font-weight:700}.workspace-user button{justify-self:start;color:#deeee4;padding:0;min-height:25px;font-size:11px}.workspace-nav{display:flex;align-items:center;gap:8px;margin:0 0 28px;flex-wrap:wrap}.workspace-nav a{display:inline-block;text-decoration:none;border:1px solid #64947a;background:#174737;color:white;border-radius:100px;font-size:13px;font-weight:700;padding:11px 20px}.workspace-nav a.active{color:var(--ric);background:white;border-color:white}.workspace-nav>span{display:none}.workspace-nav small{font-size:10px}
.send-grid{display:flex;justify-content:center}.source-card{width:min(100%,510px);padding:30px}.source-card h2{font-size:29px;letter-spacing:-1px}.desktop-upload{border:1.5px dashed #87b79b;background:#f7fcf8;border-radius:16px;text-align:center;padding:22px 15px;margin:20px 0 14px}.upload-symbol{width:46px;height:46px;margin:0 auto 10px;border-radius:50%;background:#e2f3e7;color:var(--ric);display:grid;place-items:center;font-size:30px}.desktop-upload>strong{font-size:16px;display:block;color:var(--ric)}.upload-caption{font-size:12px;color:var(--muted);margin:5px 0 14px}.desktop-upload .actions{justify-content:center}.desktop-upload .actions button:first-child{background:var(--ric);color:white;border-color:var(--ric)}.desktop-upload .note{font-size:11px;margin:12px 0 0}.compose-card{position:static}.card-heading{display:flex;justify-content:space-between;align-items:start;gap:15px}.step-mark{display:none}
label:not(.file-option){display:block;font-weight:700;font-size:12px;margin:14px 0 6px}input:not([type=checkbox]):not([type=file]),select{display:block;width:100%;border:1px solid #cbded1;border-radius:10px;padding:11px 12px;background:white;color:var(--ink);min-height:44px}input[readonly]{background:#f5faf6!important}.sharepoint-browser{margin:8px 0 18px;border-bottom:1px solid var(--line)}.sharepoint-browser>summary{cursor:pointer;list-style:none;color:var(--ric);display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;padding:10px 0}.sharepoint-browser>summary::-webkit-details-marker{display:none}.source-count{font-size:10px;font-weight:400;margin-left:auto}.details-arrow{font-size:18px}.sharepoint-browser[open] .details-arrow{transform:rotate(180deg)}.sharepoint-content{padding-bottom:15px}.source-connection,.source-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.source-path{font-size:10px;overflow-wrap:anywhere}.file-picker{max-height:270px;overflow:auto;border-top:1px solid var(--line)}.file-option{display:flex;align-items:center;gap:9px;padding:12px 4px;border-bottom:1px solid var(--line);cursor:pointer;font-size:12px}.file-option input{accent-color:var(--ric);width:17px;height:17px;flex-shrink:0}.file-description{min-width:0;flex:1;overflow-wrap:anywhere}.file-description strong,.file-description small{display:block}.file-description small{font-size:10px;color:var(--muted)}.file-icon{color:var(--ric);font-size:20px}.file-size{font-size:10px;color:var(--muted);max-width:85px}.source-help{font-size:11px;color:var(--muted);margin-top:12px}.source-help p{margin:6px 0}.source-help a{font-weight:700}.selection-summary{margin:15px 0 10px}.selection-summary>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.selection-summary ul{padding-left:16px;font-size:11px;color:var(--muted);max-height:95px;overflow:auto;overflow-wrap:anywhere}.selection-summary:has(#selected-files:empty){margin-bottom:0}progress{width:100%;height:6px;accent-color:var(--ric);border:0;border-radius:10px;margin:10px 0}.protection-note{border-top:1px solid var(--line);padding-top:14px;margin-top:16px;color:var(--ric);font-size:12px}.protection-note summary{font-weight:700;cursor:pointer}.protection-note p{font-size:12px;color:var(--muted);line-height:1.6}.compose-card>.eyebrow{display:none}#pilot-status,#requests-status{font-size:13px;overflow-wrap:anywhere}#pilot-status:empty{display:none}.result-card{max-width:650px;margin:24px auto}.result-card .primary{width:auto;margin:0}.result-card .actions{margin-top:15px}#result-expiry{font-size:13px;color:var(--muted)}
#workspace:not([data-view=new-send]) .send-grid,#workspace:not([data-view=new-send]) .result-card,#workspace:not([data-view=history]) #history,#workspace:not([data-view=requests]) #requests-panel{display:none}.history-card{max-width:900px;margin:auto}.history-card h2{margin-bottom:6px}.history-metrics{display:flex;gap:25px;flex-wrap:wrap;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);padding:16px 0}.history-tools{display:flex;gap:15px;flex-wrap:wrap;margin:10px 0 20px}.history-tools label{flex:1;min-width:150px}.history-tools input,.history-tools select{margin-top:6px}.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-top:1px solid var(--line);padding:20px 0;overflow-wrap:anywhere}.history-row h3{font-size:16px;line-height:1.4;letter-spacing:0}.history-row p{font-size:12px;color:var(--muted);margin:5px 0}.history-row small{font-size:11px;color:var(--muted)}.history-controls{align-self:start;justify-content:flex-end}.status-badge{display:inline-block;background:#e9f8ed;color:var(--ric);border-radius:50px;padding:5px 10px;font-size:11px;font-weight:700}.status-badge.revoked,.status-badge.expired{background:#edf0ed;color:#52635b}.history-details,.history-manage{grid-column:1/-1;background:#f5faf6;border-radius:12px;padding:16px;font-size:12px;color:#264536}.history-manage{display:grid;grid-template-columns:1fr 1fr;gap:18px}.manage-column+ .manage-column{border-left:1px solid var(--line);padding-left:18px}.history-details p,.history-manage p{font-size:12px}.history-feedback{grid-column:1/-1;overflow-wrap:anywhere}.empty-state{font-size:13px;color:var(--muted);padding:15px 0}
#requests-panel{display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);gap:22px;align-items:start;max-width:1080px;margin:auto;padding:0;background:none;border:0;box-shadow:none}.requests-card h2{font-size:28px}.requests-card p{font-size:13px;color:var(--muted)}#request-form{margin:23px 0}#request-result{padding:16px;background:#f5faf6;border-radius:12px;margin:20px 0}#copy-request{margin-top:10px}.request-history>.card-heading h3{font-size:24px}.requests-card .history-row{grid-template-columns:1fr}.requests-card .history-controls{justify-content:flex-start}.requests-card .history-controls a{font-size:12px}.received-files{grid-column:1/-1;min-width:0;border-top:1px solid var(--line);padding-top:10px}.received-files p{overflow-wrap:anywhere;font-size:12px}
#receiver{grid-column:1/-1;width:min(100%,510px);margin:6vh auto 4vh;padding:32px}.external-brand{font-size:22px;color:var(--ric);margin-bottom:28px;letter-spacing:-1px}.external-brand span{float:right;font-size:11px;color:var(--muted);letter-spacing:0}.external-mode header,.external-mode footer{display:none}.external-mode main{display:block;padding-top:12px}#receiver h2{font-size:29px}#receiver>p{font-size:13px}#receiver-code{font-size:26px;letter-spacing:8px;text-align:center}#code-form{border-top:1px solid var(--line);margin-top:20px;padding-top:6px}#receiver-files{list-style:none;padding:0;margin:20px 0}#receiver-files li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}#receiver-files li span{min-width:0}#receiver-files button{font-size:12px;flex-shrink:0}#receiver-status{font-size:13px}
@media(max-width:800px){header{padding:18px 22px}.brand-caption{display:none}main{padding:28px 20px 45px;gap:25px;grid-template-columns:1fr}.intro h1{font-size:36px}.intro .steps{display:none}.access{margin:0}.workspace-top{align-items:start}.workspace-top h1{font-size:34px}.workspace-user{max-width:200px;grid-template-columns:1fr}.account-mark{display:none}.workspace-nav a{font-size:12px;padding:10px 15px}#requests-panel{grid-template-columns:1fr;max-width:600px}.request-compose{max-width:none}.history-manage{grid-template-columns:1fr}.manage-column+.manage-column{border-left:0;border-top:1px solid var(--line);padding:15px 0 0}footer{margin:0 20px;padding:20px 0}.card,.source-card{padding:25px}.history-row{grid-template-columns:1fr}.history-controls{justify-content:flex-start}}
@media(max-width:500px){.workspace-top{display:block}.workspace-user{max-width:none;margin-top:17px}.workspace-top h1{font-size:32px}.workspace-nav{gap:6px}.workspace-nav a{font-size:11px;padding:10px 13px}.card,.source-card,#receiver{padding:23px}.brand{font-size:24px}.pilot{font-size:10px}.source-count{font-size:9px}.desktop-upload{padding:20px 10px}.desktop-upload .actions button{font-size:11px;padding:9px 12px}#receiver-files li{align-items:flex-start;flex-direction:column}#receiver-files button{width:100%}.card-heading{flex-wrap:wrap}.history-metrics{gap:12px}.result-card .actions{align-items:stretch;flex-direction:column}.history-tools{gap:5px}footer{font-size:10px}.external-brand span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
