:root{--ink:#20382c;--accent:#204d39;--soft:#eef2e7;--muted:#768273;--border:#dfe3d8}.header{height:100px}.back-link{font-size:13px;color:#6c7d67}.preview-note{display:inline-flex;align-items:center;gap:8px;color:#79856f;font-size:11px;margin:24px 0 0}.status-dot{width:6px;height:6px;border-radius:50%;background:#91a47e}.page-heading{display:flex;justify-content:space-between;align-items:center;padding:38px 0 28px}.page-heading .eyebrow{margin-bottom:13px}.page-heading h1{font-size:48px;letter-spacing:-1.8px;margin-bottom:12px}.page-heading .lead{margin:0;font-size:15px}.retention-pill{background:#eaf0e2;color:#5c7551;border-radius:24px;padding:12px 18px;font-size:12px}.upload-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:62px;align-items:center}.panel{border:1px solid var(--border);background:#fff;border-radius:16px;padding:27px}.panel-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.panel h2{font-size:22px;letter-spacing:-.5px}.quiet{font-size:12px;color:var(--muted)}.dropzone{border:1px dashed #b9c8ad;background:#fafbf7;border-radius:11px;min-height:234px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:22px;text-align:center;transition:background .15s,border-color .15s}.dropzone.dragging{background:#edf4e6;border-color:var(--accent)}.upload-icon{width:46px;height:46px;stroke:#6f8a62;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-bottom:5px}.dropzone strong{font-size:15px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.dropzone>span{font-size:12px;color:#8a9483}.choose-button{display:inline-block;border:1px solid #cfdac6;padding:9px 16px;border-radius:7px;font-size:12px;color:#46663b;background:#fff;cursor:pointer;margin-top:4px}.choose-button:hover{background:#edf3e8}.size-note{font-size:10px!important;margin-top:4px}.button{font:inherit;font-size:13px;font-weight:500;border:0;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:43px;padding:11px 18px;transition:background .15s,transform .1s,opacity .15s}.button:active,.choose-button:active{transform:scale(.98)}.button:focus-visible,.choose-button:focus-visible,input:focus-visible{outline:3px solid #87a27a;outline-offset:3px}.primary-button{background:var(--accent);color:#fff}.primary-button:hover{background:#153d2b}.primary-button:disabled{background:#a5b5a8;cursor:default}.secondary-button{background:#eef1e9;color:#54704c}.upload-panel>#upload{width:100%;justify-content:space-between;margin-top:20px}.explanation{padding:3px 20px 3px 0}.small-cloud{font-size:34px;color:#869e78;display:block;margin-bottom:16px}.explanation>h2{font-size:30px;line-height:1.25;letter-spacing:-.8px;font-weight:500;margin-bottom:25px}.explanation ol{list-style:none;padding:0;margin:0;display:grid;gap:19px}.explanation li{display:flex;gap:17px}.explanation li>span{font-size:10px;color:#8c9b7d;padding-top:3px}.explanation strong{font-size:13px;font-weight:600}.explanation li p{font-size:12px;color:#85907b;margin:5px 0 0;line-height:1.5}.deletion-note{font-size:11px;line-height:1.7;color:#75866b;border-top:1px solid var(--border);padding-top:18px;margin-top:22px;max-width:345px}.files-section{padding-top:43px;margin-top:35px;border-top:1px solid var(--border)}.files-heading{display:flex;align-items:center;justify-content:space-between}.files-heading .eyebrow{margin-bottom:12px}.files-heading h2{font-size:29px;display:flex;align-items:center;gap:11px}.file-count{border-radius:20px;background:#e9eddf;color:#738667;padding:4px 9px;font-size:12px;letter-spacing:0}.refresh-button{background:transparent;border:1px solid #d8dfcf;color:#5d7551;min-height:38px;font-size:12px}.refresh-button>span{font-size:19px}.refresh-button:disabled{opacity:.5}.list-description{font-size:12px;color:#7c8874;margin:15px 0 22px;line-height:1.6}.file-table{border:1px solid var(--border);border-radius:13px;overflow:hidden;background:#fff}.file-table-head,.file-row{display:grid;grid-template-columns:minmax(180px,2.5fr) .65fr .85fr .85fr 105px;gap:18px;align-items:center;padding:17px 23px}.file-table-head{background:#f0f3e9;font-size:10px;color:#839176}.file-row{border-top:1px solid #e9ede2;font-size:12px;min-height:82px}.file-name{display:flex;align-items:center;gap:13px;min-width:0}.file-icon{background:#f0f3e9;color:#6f8661;border:1px solid #dce5d3;border-radius:7px;width:36px;height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:600;letter-spacing:.4px}.file-name-text{overflow-wrap:anywhere;font-size:13px;line-height:1.45;display:block}.file-name small{display:block;font-size:10px;color:#9aa38f;margin-top:5px}.file-size,.file-time{font-variant-numeric:tabular-nums;color:#77856d}.access-tag{font-size:10px;color:#718269;display:inline-flex;gap:5px;align-items:center}.access-tag.protected{color:#47643d}.access-tag svg{width:13px;height:14px;stroke:currentColor;fill:none;stroke-width:1.4}.download-button{font-size:11px;padding:9px 13px;min-height:35px;background:#edf2e7;color:#49673d;gap:8px}.download-button:hover{background:#dfe9d6}.download-button:disabled{opacity:.45}.file-time.soon{color:#9d653d}.empty-state{border:1px dashed #d8e0ce;border-radius:13px;text-align:center;padding:39px 20px 35px;background:#f9faf4}.empty-state svg{width:51px;height:45px;stroke:#a0b291;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;fill:none}.empty-state h3{font-size:15px;font-weight:500;margin:12px 0 7px}.empty-state p{font-size:12px;color:#919b86;margin:0}.local-footnote{font-size:11px;color:#88927e;line-height:1.7;margin:23px 0 38px}.upload-progress{margin-top:20px}.progress-head,.progress-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#637b57}.progress-head strong{font-size:12px}.progress-foot{font-size:10px;color:#8a9680;margin-top:7px}progress{width:100%;height:7px;accent-color:var(--accent);margin:10px 0 0;border:0;border-radius:8px;overflow:hidden}progress::-webkit-progress-bar{background:#edf1e5}progress::-webkit-progress-value{background:#547c44;border-radius:8px}.text-button{border:0;background:transparent;color:#7f8c73;text-decoration:underline;font:inherit;cursor:pointer}.error{font-size:12px;color:#a44b3c;line-height:1.6;margin:12px 0 0}.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}[hidden]{display:none!important}dialog{border:1px solid #d8e0cf;border-radius:17px;max-width:440px;width:calc(100% - 36px);padding:30px;color:var(--ink);box-shadow:0 18px 100px #1f352333}dialog::backdrop{background:#1a30294a;backdrop-filter:blur(3px)}dialog h2{font-size:26px;padding-right:18px}.close-dialog{position:absolute;right:14px;top:10px;background:transparent;border:0;font-size:26px;color:#8a977f;cursor:pointer;width:32px;height:32px}.dialog-file{font-size:12px;color:#7d8973;overflow-wrap:anywhere;margin:15px 0 20px}.password-options{display:grid;gap:9px;margin-bottom:20px}.password-options>label{display:flex;align-items:flex-start;gap:12px;border:1px solid #dfe5d7;border-radius:9px;padding:13px;cursor:pointer}.password-options input{accent-color:var(--accent);margin:3px 0 0}.password-options strong{font-weight:500;font-size:13px}.password-options small{display:block;color:#87937b;font-size:11px;margin-top:4px;line-height:1.5}.password-options>label:has(input:checked){background:#f1f5eb;border-color:#a9bf98}.field-label{display:block;font-size:12px;margin:16px 0 8px}input[type=password]{width:100%;border:1px solid #ccd8c3;border-radius:7px;padding:12px;background:#fff;font:inherit;font-size:14px;min-height:43px;color:var(--ink)}.password-help{font-size:10px;line-height:1.6;margin:8px 0 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 36px);width:max-content;background:#204d39;color:#fff;padding:14px 20px;border-radius:10px;font-size:12px;box-shadow:0 8px 25px #1d302726;z-index:5;line-height:1.6}.library{border-top:0}.cloud-library-card{margin-top:16px}.local-library-note{font-size:12px;color:#7b896e;margin:25px 0 0}
@media(max-width:850px){.upload-layout{gap:30px;grid-template-columns:1.2fr 1fr}.explanation{padding-right:0}.explanation>h2{font-size:26px}.file-table-head,.file-row{grid-template-columns:minmax(150px,2fr) .6fr .9fr .9fr 90px;gap:12px;padding:15px}.download-button{padding:8px 10px}}
@media(max-width:640px){.page-heading{padding:30px 0 24px;align-items:flex-start}.page-heading h1{font-size:39px}.page-heading .lead{font-size:13px;max-width:220px}.retention-pill{font-size:10px;padding:8px 11px;margin-top:27px}.upload-layout{grid-template-columns:1fr;gap:26px}.panel{padding:22px}.explanation{background:#eef2e7;padding:23px;border-radius:13px}.small-cloud,.explanation>h2{display:none}.explanation ol{gap:16px}.deletion-note{max-width:none;margin-bottom:0}.files-section{margin-top:30px;padding-top:29px}.file-table-head{display:none}.file-row{grid-template-columns:1fr auto;gap:12px 8px;padding:18px}.file-name{grid-column:1/-1}.file-size{padding-left:49px;font-size:11px}.file-time{grid-column:1;padding-left:49px;font-size:11px}.access-tag{justify-self:end;font-size:10px}.download-button{grid-column:2;grid-row:3}.file-row:first-child{border-top:0}.preview-note{font-size:10px;line-height:1.5}.back-link{font-size:11px}.header{height:86px}dialog{padding:25px}dialog h2{font-size:24px}.files-heading h2{font-size:25px}.files-heading .eyebrow{font-size:9px}.refresh-button{font-size:11px;padding:8px 11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.file-table-head,.file-row{grid-template-columns:minmax(165px,2.3fr) .65fr .85fr .85fr 174px}.file-actions{display:flex;justify-content:flex-end;gap:7px}.delete-button{border:1px solid #e5dcd2;background:#fff;color:#9b6a55;font-size:11px;padding:8px 10px;min-height:35px}.delete-button:hover{background:#fcf1e9}.danger-button{background:#9d5141;color:#fff}.danger-button:hover{background:#873f31}.danger-button:disabled{opacity:.5}@media(max-width:850px){.file-table-head,.file-row{grid-template-columns:minmax(130px,1.8fr) .6fr .8fr .8fr 170px;gap:10px}}@media(max-width:640px){.file-row{grid-template-columns:1fr auto}.file-actions{grid-column:2;grid-row:3}.file-actions .download-button{grid-column:auto;grid-row:auto}.file-time{padding-left:0}.file-size{padding-left:49px}}

.selected-files{margin:12px 0;padding-left:22px;max-height:160px;overflow:auto;overflow-wrap:anywhere;font-size:14px;color:#52645a}.selected-files li{margin:6px 0}

.selection-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.selected-files li{display:flex;align-items:center;justify-content:space-between;gap:16px}.selected-files li>span{min-width:0;overflow-wrap:anywhere}.selected-files li>button{flex-shrink:0}

/* Keep the help panel readable in the narrow embedded browser. */
.upload-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;align-items:start}
.upload-layout>*{min-width:0}
.cloud-main .explanation{padding:26px;border:1px solid var(--border);border-radius:16px;background:#f4f6ef}
.explanation li>div{min-width:0;overflow-wrap:anywhere}
.explanation .small-cloud{margin-bottom:12px}
.explanation .deletion-note{max-width:none;margin-bottom:0}
html[data-theme=dark] .cloud-main .explanation{background:var(--theme-panel);border-color:var(--theme-line)}
@media(max-width:960px){
 .upload-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .cloud-main .explanation{padding:22px}
 .explanation>.small-cloud,.explanation>h2{display:none}
 .explanation ol{gap:16px}
 .panel-top{gap:16px;flex-wrap:wrap}
 .page-heading{gap:18px;flex-wrap:wrap}
 .retention-pill{flex-shrink:0;margin-top:0}
}
