:root{color:#17251f;font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;background:radial-gradient(circle at 14% 8%,rgb(239 213 162 / 50%),transparent 28rem),radial-gradient(circle at 90% 8%,rgb(120 176 146 / 24%),transparent 28rem),linear-gradient(135deg,#fbf5e8,#f4efe3 48%,#edf5ef);font-synthesis:none;text-rendering:optimizeLegibility;--ink: #14231d;--muted: #66746c;--green: #12684f;--green-deep: #0b4c3a;--gold: #c9833f;--paper: #fffdf8;--paper-soft: #f7f1e6;--line: #e1d7c5;--shadow: 0 24px 70px rgb(54 48 34 / 10%)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,textarea,input{font:inherit}.page{width:min(1100px,calc(100% - 40px));margin:0 auto;padding:34px 0 52px}.hero{width:100%;padding:clamp(18px,2.4vw,26px) clamp(22px,3vw,34px);border:1px solid rgb(255 255 255 / 65%);border-radius:24px;background:linear-gradient(135deg,#fffdf8eb,#f8f1e2cc),radial-gradient(circle at 92% 12%,rgb(18 104 79 / 14%),transparent 16rem);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand-bar{display:flex;justify-content:space-between;gap:20px;align-items:center}.brand-lockup{display:flex;align-items:center;gap:14px;min-width:0}.brand-logo{width:clamp(44px,5vw,62px);height:clamp(44px,5vw,62px);flex:0 0 auto}.eyebrow{margin:0 0 8px;color:var(--gold);font-size:.8rem;font-weight:700;letter-spacing:.2em}h1{margin:0;color:var(--ink);font-size:clamp(2.35rem,4.5vw,4.2rem);font-weight:760;letter-spacing:-.07em;line-height:1.04}.brand-note{max-width:260px;margin:0;padding:10px 14px;border:1px solid #e2d5bf;border-radius:999px;color:var(--green-deep);background:#fffdf8b8;font-size:.88rem;font-weight:700;line-height:1.5;text-align:center}.lead{max-width:720px;margin:14px 0 0;color:#435249;font-size:clamp(.96rem,1.4vw,1.08rem);line-height:1.65}.switcher{display:none;gap:6px;margin:18px 0 16px;padding:6px;border:1px solid rgb(222 216 201 / 72%);border-radius:18px;background:#ece7d9b8;box-shadow:inset 0 1px #fff9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.access-page{display:grid;min-height:100vh;place-items:center}.access-card{display:flex;flex-direction:column;gap:18px;width:min(520px,100%);padding:clamp(26px,5vw,42px);border:1px solid rgb(227 221 208 / 90%);border-radius:28px;background:#fffdf8eb;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.access-brand{align-items:flex-start}.access-form,.admin-access-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.access-form input,.admin-access-form input{flex:1 1 220px;min-width:0;padding:13px 14px;border:1px solid #dbd5c8;border-radius:12px;color:#39483f;background:#fbfaf5}.admin-access-panel{max-width:680px;padding:13px 15px;border:1px dashed #d4cbbd;border-radius:14px;color:#64716a;background:#fbfaf5}.admin-access-panel summary{color:#17674f;cursor:pointer;font-weight:700}.admin-access-panel[open]{display:flex;flex-direction:column;gap:12px}.switcher button{padding:13px 30px;border:0;border-radius:13px;color:var(--muted);background:transparent;cursor:pointer;font-weight:700}.switcher .active{color:var(--ink);background:var(--paper);box-shadow:0 8px 20px #20231d1a}.panel{display:flex;flex-direction:column;gap:18px;width:100%;max-width:100%;min-height:420px;padding:clamp(22px,4vw,38px);border:1px solid rgb(227 221 208 / 90%);border-radius:28px;background:#fffdf8e0;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.panel-title{display:flex;align-items:center;gap:14px}.panel h2,.rules h2{margin:0;font-size:1.55rem;letter-spacing:-.04em}.badge{padding:7px 13px;border-radius:999px;color:#fffdf8;background:linear-gradient(135deg,var(--green),#1a7e61);font-size:.82rem;font-weight:800;box-shadow:0 9px 18px #12684f2e}.badge.accent{background:linear-gradient(135deg,#c86836,#d99148);box-shadow:0 9px 18px #c868362e}.muted{max-width:680px;margin:0;color:var(--muted);font-size:.94rem;line-height:1.7}.dropzone{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;padding:28px 24px;border:1px dashed #b7c8bb;border-radius:20px;color:#43554c;cursor:pointer;background:linear-gradient(180deg,#fffdf8,#f8f3e9);box-shadow:inset 0 1px #fffc;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.dropzone:hover{transform:translateY(-1px);border-color:var(--green);box-shadow:0 16px 32px #12684f1a}.dropzone strong{color:var(--ink);font-size:1.05rem}.dropzone span{color:#717d76;font-size:.9rem}.dropzone input{min-width:0;max-width:100%;margin-top:10px;color:#56655d}.source-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:680px;min-width:0}.folder-picker{border-color:#d7bd94}button.primary,button.secondary{align-self:flex-start;padding:13px 24px;border-radius:14px;border:1px solid transparent;font-weight:800;cursor:pointer;transition:opacity .15s ease,transform .15s ease,box-shadow .15s ease}button.primary{color:#fff;background:linear-gradient(135deg,var(--green),var(--green-deep));box-shadow:0 14px 28px #12684f38}button.secondary{color:var(--green);border-color:#bdcbbd;background:#fffdf8db}button.primary:not(:disabled):hover,button.secondary:not(:disabled):hover{transform:translateY(-1px)}button.primary:not(:disabled):hover{box-shadow:0 18px 34px #12684f42}button:disabled{cursor:not-allowed;opacity:.48}button.speed-toggle{padding-inline:16px}.progress-card,.stage-note{max-width:680px;padding:16px 18px;border-radius:18px;color:#55645c;background:#f0efe6;box-shadow:inset 0 1px #ffffffa8}.mode-note{max-width:680px;padding:16px 18px;border-left:3px solid #17674f;border-radius:0 12px 12px 0;color:#506058;background:#edf3ed}.mode-note strong{color:#17674f}.mode-note p{margin:7px 0 0;line-height:1.6}.progress-line{display:flex;justify-content:space-between;margin-bottom:11px}.diagnostics-panel{margin-top:10px;padding:10px 12px;border:1px dashed #d4cbbd;border-radius:11px;background:#faf8ef}.diagnostics-panel summary{cursor:pointer;color:#17674f;font-weight:700}.diagnostics-content{display:flex;flex-direction:column;gap:7px;margin-top:10px}.diagnostic-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}progress{width:100%;height:9px;margin-bottom:8px;accent-color:#17674f}.share-result{display:flex;flex-direction:column;gap:12px;max-width:680px}.share-actions,.save-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.toast-inline{padding:8px 12px;border-radius:999px;color:#17674f;background:#edf3ed;font-weight:700}.toast-popup{position:fixed;left:50%;top:50%;z-index:20;transform:translate(-50%,-50%);padding:16px 24px;border-radius:16px;color:#fffdf8;background:#17674f;box-shadow:0 18px 40px #17674f47;font-weight:700}.primary-share-actions{margin-top:-2px}.share-link-details{padding:12px 14px;border:1px dashed #d4cbbd;border-radius:16px;color:#64716a;background:#fbfaf5}.share-link-details summary{color:#17674f;cursor:pointer;font-weight:700}.save-card{display:flex;flex-direction:column;gap:10px;max-width:680px;padding:16px 18px;border:1px solid #c9d7c7;border-radius:18px;color:#33483f;background:#edf3ed}.save-card p{margin:0;color:#56655d}.secondary-link{color:#17674f;border:1px solid #bdcbbd;background:#fffdf8}.connection-box{display:flex;flex-direction:column;gap:12px;max-width:680px;margin-top:8px;padding:20px;border:1px solid #ded8ca;border-radius:20px;background:linear-gradient(180deg,#fbfaf5,#f5f0e6);box-shadow:inset 0 1px #ffffffb3}.supply-hub{display:flex;flex-direction:column;gap:14px;max-width:680px}.supply-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-top:10px}.supply-heading h3{margin:0 0 5px;color:#26372e;font-size:1.06rem}.connection-box h3{margin:0;color:#26372e;font-size:1rem}.transfer-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.connection-box textarea{min-height:86px;margin:0;font-family:Consolas,Courier New,monospace;font-size:.78rem}.manual-fallback{max-width:680px;margin-top:8px;padding:13px 15px;border:1px dashed #d4cbbd;border-radius:14px;color:#64716a;background:#fbfaf5}.manual-fallback summary{color:#68736d;cursor:pointer;font-weight:700}.manual-fallback[open]{display:flex;flex-direction:column;gap:12px}.connection-state{margin:4px 0 0;color:#17674f;font-size:.9rem;font-weight:600}.download-link{align-self:flex-start;padding:12px 22px;border-radius:11px;color:#fff;background:#17674f;font-weight:600;text-decoration:none}.success{margin:0 0 10px;color:var(--green);font-weight:700}.mono-detail{overflow-wrap:anywhere;margin:6px 0;color:#5a685f;font-family:Consolas,Courier New,monospace;font-size:.81rem}textarea{width:100%;min-height:74px;margin:13px 0;padding:12px;resize:vertical;border:1px solid #dbd5c8;border-radius:10px;color:#39483f;background:#fbfaf5}.notice{margin:0;color:#17674f}.notice.error{color:#ad422c}.file-summary{display:flex;justify-content:space-between;align-items:center;max-width:680px;padding:16px 18px;border:1px solid #e2dbc9;border-radius:18px;color:#33483f;background:linear-gradient(135deg,#f0efe6,#f8f4ea)}.file-summary strong{overflow-wrap:anywhere}.file-summary span{white-space:nowrap;color:#627168}.file-list{display:flex;flex-direction:column;gap:9px;max-width:680px}.file-card{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(110px,auto) auto;align-items:center;gap:12px;padding:14px;border:1px solid #e4ded1;border-radius:18px;color:#56665d;background:#fffdf8d1;box-shadow:0 8px 22px #3630220d}.file-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;color:#fffdf8;background:linear-gradient(135deg,var(--green),#23906f);font-size:.72rem;font-weight:800;letter-spacing:.04em}.file-card strong,.file-card small{display:block;overflow-wrap:anywhere}.file-card strong{color:#26372e}.file-card small{margin-top:3px;color:#7a857f}.file-card>span:not(.file-icon){color:#64716a;font-size:.86rem}.receive-ready dd{margin:0;font-family:Consolas,Courier New,monospace;font-size:.86rem}.info-corner{position:fixed;right:20px;bottom:20px;z-index:10;max-width:min(520px,calc(100vw - 40px));padding:12px 15px;border-radius:20px;color:#536159;border:1px solid rgb(225 215 197 / 80%);background:#fffdf8e0;box-shadow:0 18px 42px #242d2524;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.info-corner summary{color:var(--green);font-weight:700;cursor:pointer}.info-corner h2{margin-top:14px}.rule-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 22px;margin-top:16px}.rule-grid p{margin:0;line-height:1.55}@media(max-width:700px){.page{width:min(100% - 20px,1100px);padding-top:18px;overflow-x:hidden}.hero{padding:18px 20px;border-radius:20px}.brand-bar{flex-direction:column;align-items:flex-start;gap:12px}.brand-lockup{gap:10px}.brand-logo{width:42px;height:42px}.brand-note{max-width:none;text-align:left}h1{letter-spacing:-.06em}.switcher{width:100%}.switcher button{flex:1;padding-inline:16px}.panel{gap:16px;min-height:0;padding:22px 18px;border-radius:24px;overflow:hidden}.panel-title{align-items:flex-start;gap:10px}.panel h2,.rules h2{font-size:clamp(1.28rem,7vw,1.55rem);line-height:1.18}.badge{flex:0 0 auto;padding:6px 11px}.rule-grid{grid-template-columns:1fr}.info-corner{position:static;margin-top:22px}.supply-heading{flex-direction:column}.source-picker{grid-template-columns:1fr;max-width:100%;gap:12px}.dropzone{padding:20px 18px;border-radius:17px}.dropzone strong,.dropzone span{overflow-wrap:anywhere}.dropzone input{width:100%;font-size:.9rem}.dropzone input::file-selector-button{max-width:100%;margin:0 8px 6px 0}button.primary,button.secondary{max-width:100%;white-space:normal}.file-card{grid-template-columns:44px minmax(0,1fr)}.file-card>span:not(.file-icon){grid-column:2}}
