:root{--bg:#f8f8f4;--surface:#fff;--ink:#253d34;--muted:#626e65;--green:#215e50;--green-hover:#194c40;--green-soft:#ecf3ef;--amber:#f5cb82;--line:#e3e8e1;--red:#a44436;--red-soft:#fcf1ee;--shadow:0 14px 42px rgba(38,63,46,.055);--radius:14px;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:14px;line-height:1.7}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #bb8b35;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.5;letter-spacing:.035em;font-weight:700}h2{font-size:18px;line-height:1.6;letter-spacing:.02em}h3{font-size:15px;line-height:1.6}svg{flex-shrink:0;vertical-align:middle}input,textarea,select{border:1px solid #ccd5cc;border-radius:8px;background:#fff;color:var(--ink);width:100%;padding:12px 13px;font-size:14px;line-height:1.65;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:var(--green)}input::placeholder,textarea::placeholder{color:#88938c}textarea{resize:vertical;min-height:96px}input[readonly],textarea[readonly]{background:#f6f8f4}label:not(.checkbox):not(.dropzone){display:block;font-size:13px;font-weight:650;margin:22px 0 7px}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 19px;border-radius:9px;border:1px solid transparent;font-size:14px;font-weight:650;line-height:1.55;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{color:#fff;background:var(--green)}.primary:hover:not(:disabled){background:var(--green-hover)}.secondary{background:var(--surface);color:var(--green);border-color:#ccd8cc}.secondary:hover:not(:disabled){background:var(--green-soft)}.danger{color:var(--red);background:var(--red-soft);border-color:#efd6d0}.full{width:100%}.text-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--green);border:0;background:none;padding:8px 0;font-size:12px;font-weight:600;line-height:1.6}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.muted,.muted-link{color:var(--muted)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:0;background:none;color:var(--muted);border-radius:9px;flex-shrink:0}.icon-button:hover{background:var(--green-soft);color:var(--green)}.brand{display:inline-flex;align-items:center;gap:11px;font-size:20px;font-weight:750;letter-spacing:.02em;white-space:nowrap}.brand-mark{width:36px;height:36px}.brand.small{font-size:17px;gap:9px}.brand.small .brand-mark{width:31px;height:31px}.brand-link{display:inline-flex}.site-header{max-width:1160px;min-height:96px;margin:auto;padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}.welcome{max-width:1056px;margin:49px auto 82px;display:grid;grid-template-columns:1fr 410px;gap:90px;align-items:start}.welcome-copy{padding-top:21px}.welcome h1{font-size:43px;letter-spacing:.05em;line-height:1.6;font-weight:750}.welcome h1 span{color:var(--green)}.lead{font-size:15px;color:#657267;line-height:2.1;margin:25px 0 23px}.promise-line{display:flex;gap:20px;color:var(--green);font-size:12px;font-weight:600}.promise-line>span{display:inline-flex;align-items:center;gap:5px}.letter-peek{max-width:318px;margin:37px 0 0 17px;padding:22px 27px 21px;background:#fff;border:1px solid #e4e7de;border-radius:3px 3px 16px 16px;transform:rotate(-2deg);box-shadow:7px 9px 0 #eeeadd;position:relative}.letter-peek:before{content:'';height:6px;background:var(--amber);position:absolute;left:-1px;right:-1px;top:-1px;border-radius:3px 3px 0 0}.peek-top{display:flex;align-items:center;gap:9px;color:#667667;font-size:12px}.peek-pdf{margin-left:auto;font-size:9px;letter-spacing:.06em}.peek-rule{height:1px;background:var(--line);margin:16px 0}.letter-peek p{font-size:17px;font-weight:650;line-height:1.9;letter-spacing:.03em}.peek-button{display:flex;align-items:center;justify-content:space-between;color:var(--green);margin-top:16px;font-size:12px;border-top:1px solid var(--line);padding-top:12px}.peek-caption{font-size:9px;color:#899086;display:block;margin-top:11px}.auth-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:27px 32px 24px;box-shadow:var(--shadow)}.auth-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:29px}.auth-tabs button{border:0;background:none;width:50%;padding:7px 0 15px;color:var(--muted);font-size:13px;font-weight:650;position:relative}.auth-tabs button.selected{color:var(--green)}.auth-tabs button.selected:after{content:'';position:absolute;bottom:-1px;left:14px;right:14px;height:3px;background:var(--green);border-radius:5px}.auth-panel h2{font-size:20px;margin-bottom:7px}.auth-panel>.muted{font-size:12px}.field-hint{font-size:11px;line-height:1.7;color:var(--muted);margin-top:6px}.auth-panel .button[type=submit]{margin-top:24px}.auth-note{border-top:1px solid var(--line);padding-top:19px;margin-top:25px;display:flex;align-items:flex-start;gap:8px;color:var(--muted)}.auth-note svg{margin-top:4px}.auth-note p{font-size:11px;line-height:1.8}.local-hint{font-size:10px;color:var(--muted);margin-top:15px}.welcome-footer{max-width:1160px;border-top:1px solid var(--line);margin:0 auto;padding:25px 0;display:flex;justify-content:space-between;font-size:11px;color:#768177;gap:20px}.checkbox{display:flex;gap:9px;font-size:12px;line-height:1.8;align-items:flex-start;margin:19px 0;cursor:pointer}.checkbox input{appearance:auto;width:17px;height:17px;flex-shrink:0;margin:3px 0 0;accent-color:var(--green);padding:0}.checkbox.compact{font-size:11px;margin-top:12px}.form-error{font-size:12px;color:var(--red);background:var(--red-soft);border-radius:8px;padding:10px 12px;margin:13px 0}.form-error[hidden]{display:none}.header-right{display:flex;align-items:center;gap:16px}.org-label{display:flex;gap:8px;align-items:center;font-size:12px;color:#69776d;max-width:330px;overflow-wrap:anywhere}.admin-header{border-bottom:1px solid var(--line)}.dashboard{max-width:1120px;margin:39px auto 60px}.page-heading{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-bottom:34px}.page-heading h1{font-size:28px}.page-heading p{color:var(--muted);font-size:12px;margin-top:8px}.storage{width:229px;flex-shrink:0}.storage>div{display:flex;justify-content:space-between;gap:10px;font-size:10px}.storage>div span:last-child{font-weight:600;color:#586d5d}.storage p{font-size:10px;margin-top:5px}.storage progress{display:block;width:100%;height:5px;border:0;border-radius:4px;margin-top:9px;overflow:hidden;accent-color:var(--green)}progress::-webkit-progress-bar{background:#e4e9e1}progress::-webkit-progress-value{background:var(--green);border-radius:4px}.workspace{display:grid;grid-template-columns:366px minmax(0,1fr);gap:42px;align-items:start}.compose{padding:25px;background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 6px 22px rgba(38,63,46,.025)}.compose h2{font-size:17px;margin-bottom:20px}.dropzone{padding:24px 14px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px dashed #a8bbae;border-radius:10px;background:#fafcf9;cursor:pointer;min-height:175px;transition:background .15s;position:relative}.dropzone:hover,.dropzone.dragging{background:var(--green-soft)}.dropzone input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;padding:0;border:0;opacity:0}.drop-icon{color:var(--green);margin-bottom:11px}.dropzone strong{font-size:13px;font-weight:650;max-width:100%;overflow-wrap:anywhere}.dropzone>span:not(.drop-icon){font-size:10px;color:var(--muted);margin-top:5px}.dropzone .file-limit{font-size:9px!important;margin-top:10px!important}.dropzone.has-file{border-style:solid;background:#f0f6f0}.compose label:not(.dropzone):not(.checkbox){margin-top:19px;font-size:12px}.required,.optional{font-size:9px;font-weight:400;margin-left:6px}.required{color:#926b31}.optional{color:var(--muted)}.compose input:not([type=checkbox]),.compose textarea{font-size:12px;padding:11px 12px}.compose .checkbox{font-size:11px}.compose .button{font-size:13px}.expiry-note{display:flex;align-items:flex-start;gap:9px;color:#65796a;padding:13px 12px;background:#f7f8f3;border-radius:8px;margin-top:16px}.expiry-note svg{margin-top:3px}.expiry-note strong{display:block;font-size:11px;font-weight:600}.expiry-note span{display:block;font-size:10px;margin-top:2px}.compose-footnote{font-size:10px;color:var(--muted);margin-top:13px;line-height:1.8}.distribution{padding-top:9px;min-width:0}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.list-heading h2{font-size:17px}.list-heading h2 span{margin-left:8px;font-size:11px;background:#e9eee7;border-radius:20px;display:inline-block;min-width:23px;line-height:23px;text-align:center;vertical-align:2px}.filter-tabs{display:flex;border-bottom:1px solid var(--line);gap:24px}.filter-tabs button{position:relative;border:0;background:none;padding:12px 0;font-size:12px;font-weight:500;color:var(--muted)}.filter-tabs button.selected{color:var(--green);font-weight:650}.filter-tabs button.selected:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.empty-state{min-height:305px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:38px 18px}.empty-symbol{width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:#eff1e9;border-radius:50%;color:#80967e;margin-bottom:23px}.empty-state h3{font-size:14px;font-weight:600}.empty-state p{font-size:12px;line-height:1.9;color:var(--muted);margin-top:12px}.quiet-note{margin-top:25px;display:flex;align-items:flex-start;gap:10px;padding:20px 18px;border-top:1px solid var(--line);color:#748274;font-size:11px;line-height:1.9}.quiet-note svg{margin-top:3px}.document-list{list-style:none;margin:0;padding:0}.document-row{display:flex;align-items:flex-start;gap:16px;padding:23px 0;border-bottom:1px solid var(--line)}.pdf-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;width:47px;height:60px;background:#f4ece0;color:#987b46;border-radius:9px;flex-shrink:0;margin-top:2px}.pdf-tile small{font-size:8px;font-weight:650;letter-spacing:.07em;margin-top:3px}.document-main{flex:1;min-width:0}.document-title-line{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.document-title-line h3{font-size:14px;font-weight:650;overflow-wrap:anywhere;line-height:1.7}.status{display:inline-flex;align-items:center;font-size:9px;border-radius:4px;padding:3px 7px;background:#eceee9;color:#707a70;white-space:nowrap;margin-top:2px}.status.active{background:#e6f0e7;color:#386746}.status.stopped{color:#95692c;background:#f7eedf}.status.expired,.status.deleted{color:#797b71;background:#ecece6}.document-meta{font-size:10px;color:var(--muted);margin-top:6px}.document-meta span{margin:0 5px}.document-expiry{font-size:10px;color:#758572;display:flex;align-items:center;gap:5px;margin-top:5px}.document-actions{display:flex;gap:22px;margin-top:8px;flex-wrap:wrap}.document-actions .text-link{font-size:10px;padding:5px 0}.document-row>.icon-button{width:30px;height:32px;margin-right:-5px}.report-flag{color:var(--red);font-size:10px;margin-top:10px}.dashboard-footer{max-width:1120px;margin:0 auto;padding:25px 0;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.modal{border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 90px #17302330;width:min(480px,calc(100% - 30px));max-height:calc(100dvh - 38px);overflow:auto;padding:36px 32px 29px;color:var(--ink);background:#fff}.modal::backdrop{background:rgba(31,49,38,.36);backdrop-filter:blur(3px)}.modal-close{position:absolute;right:10px;top:10px}.modal h2{font-size:22px;margin:0 0 9px}.modal>.muted{font-size:12px;line-height:1.9}.success-mark{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--green-soft);color:var(--green);margin-bottom:18px}.share-doc{display:flex;gap:12px;align-items:center;margin-top:25px;border-bottom:1px solid var(--line);padding-bottom:19px;font-size:13px;overflow-wrap:anywhere}.share-doc svg{color:#a48a56}.modal #share-url{font-size:11px}.modal .button.full{margin-top:14px}.share-options{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:15px;gap:10px}.share-options .text-link{font-size:11px}.modal-note{display:flex;align-items:center;gap:7px;color:#657d65;font-size:11px;margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.fine-print{font-size:10px;color:var(--muted);margin-top:13px;line-height:1.9}.manage-title{font-size:14px;margin-top:15px;margin-bottom:9px;overflow-wrap:anywhere}.detail-list{font-size:12px;margin:25px 0;overflow-wrap:anywhere}.detail-list>div{padding:10px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:80px 1fr;gap:10px}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0}.notice{font-size:12px;padding:13px;border-radius:8px;margin-top:20px}.warning{background:#faf0dd;color:#846b38}.key-page{max-width:490px;margin:45px auto 80px}.key-page>p{margin-top:8px;color:var(--muted)}.key-panel{padding:26px 29px;border:1px solid var(--line);border-radius:14px;background:white;margin-top:25px}.key-panel h2{font-size:17px}.key-panel>p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:11px}.key-panel textarea{font-family:ui-monospace,monospace;font-size:13px;word-break:break-all;min-height:92px}.button-row{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.button-row .button{font-size:12px;flex:1}.key-panel .checkbox{font-size:12px}.receive-header{max-width:900px;padding:26px 32px;margin:auto;display:flex;justify-content:space-between;align-items:center}.receive-page{max-width:520px;margin:38px auto 47px}.sender{display:flex;justify-content:center;align-items:center;gap:9px;font-size:14px;line-height:1.8;margin-bottom:23px;text-align:center;overflow-wrap:anywhere}.sender svg{color:#6b806d}.receive-card{padding:34px 39px 27px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.receive-document-icon{margin:0 auto 21px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:70px;height:87px;background:#f5eddf;color:#9b7a3d;border-radius:12px}.receive-document-icon span{font-size:10px;letter-spacing:.08em;font-weight:600;margin-top:4px}.receive-card h1{text-align:center;font-size:24px;font-weight:700;line-height:1.7;letter-spacing:.01em;overflow-wrap:anywhere}.receive-meta{text-align:center;color:var(--muted);font-size:11px;margin-top:9px}.receive-message{font-size:13px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;color:#627064;margin:25px 0 26px;padding:18px 20px;background:#f8f9f5;border-radius:8px}.receive-card>.button{min-height:53px;font-size:15px;margin-top:13px}.receive-card>.receive-primary{min-height:60px;font-size:17px;margin-top:27px;justify-content:space-between;padding-left:calc(50% - 42px);padding-right:20px}.receive-deadline{margin-top:26px;border-top:1px solid var(--line);padding-top:21px;display:flex;gap:10px;align-items:flex-start;color:#6a7d65}.receive-deadline svg{margin-top:4px}.receive-deadline p>span{display:block;font-size:10px;color:var(--muted)}.receive-deadline strong{display:block;font-weight:600;font-size:13px;margin-top:3px;overflow-wrap:anywhere}.receive-deadline small{display:block;font-size:9px;color:var(--muted);margin-top:6px;line-height:1.8}.receive-reassurance{font-size:12px;text-align:center;margin-top:24px;color:#6b7d6d}.receive-help{font-size:11px;text-align:center;margin-top:9px;color:var(--muted)}.report-link{display:block;color:#7f887f;background:none;border:0;text-decoration:underline;text-underline-offset:4px;font-size:10px;margin:22px auto 0;padding:7px}.receive-footer{text-align:center;color:#99a196;font-size:11px;padding:20px 0 30px;letter-spacing:.04em}.sample-label{font-size:10px;color:#8b713d;text-align:center;margin-bottom:18px}.unavailable{text-align:center;max-width:440px;padding-top:30px}.unavailable-icon{background:#eaeee6;color:#829078;width:90px;height:90px;margin:0 auto 26px;border-radius:50%;display:flex;align-items:center;justify-content:center}.unavailable h1{font-size:26px}.unavailable>p{font-size:13px;line-height:2;color:var(--muted);margin-top:23px}.help-box{margin-top:29px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;text-align:left}.help-box strong{font-size:13px}.help-box p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:10px}.demo-notice{padding:9px 20px;background:#f5eacb;color:#735a27;font-size:11px;line-height:1.7;text-align:center}.loading{max-width:600px;padding:80px 20px;margin:auto;text-align:center}.loading h1{font-size:22px}.loading p{margin:20px 0}.copy-fallback{position:fixed;left:-9999px;top:0}.spinner{width:15px;height:15px;border:2px solid #ffffff50;border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}#toast{position:fixed;z-index:99;bottom:25px;left:50%;transform:translate(-50%,14px);max-width:min(460px,calc(100% - 32px));padding:12px 20px;background:#253e32;color:white;border-radius:10px;font-size:12px;box-shadow:0 7px 25px #203b3320;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1400px){.welcome{margin-top:70px;margin-bottom:95px}.dashboard{margin-top:46px}}@media(max-width:1230px){.site-header,.welcome-footer{margin-left:34px;margin-right:34px}.dashboard,.dashboard-footer{margin-left:44px;margin-right:44px}.welcome{margin-left:55px;margin-right:55px;grid-template-columns:minmax(0,1fr) 390px;gap:50px}.workspace{gap:30px;grid-template-columns:350px minmax(0,1fr)}}@media(max-width:970px){.welcome{grid-template-columns:minmax(0,1fr) 360px;gap:30px;margin-left:35px;margin-right:35px}.welcome h1{font-size:33px}.auth-panel{padding:25px}.letter-peek{max-width:280px;margin-left:5px}.dashboard,.dashboard-footer{margin-left:28px;margin-right:28px}.workspace{grid-template-columns:315px minmax(0,1fr);gap:24px}.compose{padding:21px}.document-title-line{display:block}.document-title-line .status{margin-top:7px}.document-row{gap:11px}.document-actions{gap:11px}.document-expiry{font-size:9px}.storage{width:190px}.filter-tabs{gap:20px}}@media(max-width:760px){.site-header{margin-left:22px;margin-right:22px;min-height:82px;padding:22px 0}.brand{font-size:18px}.brand-mark{width:32px;height:32px}.site-header>.text-link{font-size:10px}.welcome{display:flex;flex-direction:column;margin:28px 24px 45px;gap:33px}.welcome-copy{padding-top:0}.welcome h1{font-size:32px;line-height:1.6}.lead{font-size:13px;margin:16px 0}.promise-line{font-size:11px}.letter-peek{display:none}.auth-panel{width:100%;max-width:470px;margin:auto;padding:25px}.welcome-footer{margin:0 24px;font-size:9px;flex-wrap:wrap;padding:20px 0}.dashboard{margin:26px 20px 42px}.page-heading{align-items:flex-start;gap:20px;margin-bottom:26px}.page-heading h1{font-size:24px}.page-heading>div>p{font-size:11px}.page-heading .storage{display:none}.workspace{display:flex;flex-direction:column;gap:31px}.compose,.distribution{width:100%}.compose{padding:23px}.dropzone{min-height:156px;padding:18px}.distribution{padding-top:0}.header-right{gap:7px}.org-label{font-size:10px;max-width:145px;line-height:1.5}.org-label svg{display:none}.admin-header .brand{font-size:16px;gap:7px}.admin-header .brand-mark{width:30px;height:30px}.empty-state{min-height:245px}.document-title-line{display:flex}.document-title-line .status{margin-top:2px}.document-meta,.document-expiry{font-size:10px}.document-row{gap:13px}.document-actions{gap:18px}.document-actions .text-link{font-size:11px}.dashboard-footer{margin:0 20px;font-size:9px;flex-direction:column;gap:7px;padding:19px 0}.receive-header{padding:22px 24px}.receive-page{margin:23px auto 35px;width:calc(100% - 36px);max-width:500px}.receive-card{padding:27px 25px 23px;border-radius:15px}.receive-card h1{font-size:23px}.receive-document-icon{width:63px;height:77px;margin-bottom:18px}.receive-message{font-size:12px;padding:16px;margin:22px 0}.receive-deadline small{font-size:9px}.sender{font-size:13px;margin-bottom:18px}.receive-header .text-link{font-size:10px}.modal{padding:32px 24px 25px}.modal h2{font-size:20px}.share-options{gap:6px}.share-options .text-link{font-size:10px}.key-page{margin:32px 23px 50px}.key-panel{padding:23px}.key-page h1{font-size:27px}.unavailable{padding:20px 10px 0}.unavailable h1{font-size:23px}.unavailable>p{font-size:12px}.demo-notice{font-size:10px;padding:8px 16px}}@media(max-width:380px){.site-header{margin:0 17px}.site-header>.text-link{font-size:9px;gap:3px}.brand{font-size:16px;gap:7px}.page-heading h1{font-size:22px}.org-label{max-width:111px;font-size:9px}.dashboard{margin:25px 15px}.compose{padding:20px}.document-title-line{display:block}.document-title-line .status{margin-top:6px}.receive-card{padding:25px 20px 23px}.receive-card h1{font-size:21px}.receive-page{width:calc(100% - 28px)}.receive-deadline strong{font-size:12px}.filter-tabs{gap:23px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){input,textarea,select,.compose input:not([type=checkbox]),.compose textarea{font-size:16px}.receive-message{font-size:14px}.receive-help{font-size:12px}.document-actions .text-link{min-height:40px}.icon-button{min-width:42px;min-height:44px}}

.receive-message + .receive-primary{margin-top:4px}

/* v0.2: multiple PDFs, optional password, browser reading. */
[hidden]{display:none!important}
.selected-files{list-style:none;margin:10px 0 0;padding:0;max-height:280px;overflow:auto;border-radius:8px}
.selected-files:empty{display:none}
.selected-files li{display:flex;gap:9px;align-items:center;padding:6px 2px;border-bottom:1px solid var(--line)}
.selected-files li>span:first-child{color:var(--muted)}
.selected-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.65}
.selected-name small{display:block;font-size:10px;color:var(--muted)}
.password-choice{border:0;padding:0;margin:22px 0 0;min-width:0}
.password-choice legend{font-size:13px;font-weight:650;margin-bottom:9px}
.password-options{display:flex;gap:8px}
.password-choice .password-options label{display:flex;align-items:center;justify-content:center;flex:1;gap:9px;margin:0;padding:11px;border:1px solid var(--line);border-radius:8px;font-size:14px;cursor:pointer}
.password-options label:has(input:checked){border-color:var(--green);background:var(--green-soft);color:var(--green)}
.password-options input{width:17px;height:17px;padding:0;margin:0;accent-color:var(--green)}
.password-input{display:flex;gap:8px;align-items:center}
.password-input input{min-width:0;flex:1}
.password-input button{min-width:40px;font-size:12px}
#password-fields label{margin-top:14px}
.document-meta{overflow-wrap:anywhere}
.received-files{list-style:none;padding:0;margin:22px 0 19px}
.received-files li{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}
.received-file-info{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere;font-size:14px;line-height:1.65}
.received-file-info small{display:block;color:var(--muted);font-size:11px}
.received-files .read-one{padding:10px 13px;min-height:44px;font-size:13px;white-space:nowrap}
.receive-password{margin-top:23px;padding:17px 18px;background:var(--green-soft);border-radius:10px}
.receive-password .password-intro{display:flex;gap:7px;font-size:13px;font-weight:600;margin-bottom:11px;align-items:center}
.receive-password label:not(.checkbox){font-size:12px;margin:10px 0 6px}
.receive-password .checkbox{font-size:12px;margin:7px 0 13px}
.receive-password input[type=password],.receive-password input[type=text]{font-size:16px}
.receive-password .form-error{font-size:13px}
.unlock-status{font-size:12px;color:var(--green);margin:15px 0 0;text-align:center}
.receive-save-note{font-size:11px;line-height:1.85;color:var(--muted);margin-top:12px;text-align:center}
.receive-page.bundle-page{max-width:620px}
.bundle-page .receive-card{padding:29px 32px 25px}
.bundle-page .receive-document-icon{width:61px;height:72px;margin-bottom:14px}
.bundle-page .receive-card h1{font-size:24px}
.bundle-page .receive-message{margin:20px 0}
.reader-modal{position:fixed;inset:0;width:calc(100vw - 40px);height:calc(100dvh - 40px);max-width:1120px;max-height:none;margin:auto;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink)}
.reader-modal[open]{display:flex;flex-direction:column}
.reader-modal::backdrop{background:rgba(24,39,33,.65)}
.reader-toolbar{display:flex;align-items:center;gap:12px;padding:10px 15px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}
.reader-toolbar h2{font-size:14px;min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.5}
.reader-toolbar .text-link{font-size:11px;white-space:nowrap}
.pdf-frame{width:100%;height:100%;flex:1;border:0;background:#eceee9;min-height:100px}
.reader-caption{font-size:11px;color:var(--muted);padding:8px 16px;background:#fff}
@media(max-width:760px){.bundle-page .receive-card{padding:24px 21px}.bundle-page .receive-card h1{font-size:22px}.received-file-info{font-size:13px}.received-files .read-one{padding:10px 11px}.receive-password{padding:16px}.reader-modal{width:100vw;height:100dvh;border:0;border-radius:0}.reader-toolbar{padding:8px 10px;gap:6px}.reader-toolbar .text-link{font-size:10px}.reader-toolbar h2{font-size:12px}.reader-caption{font-size:10px}.password-options label input{font-size:14px}}

.bundle-page .receive-card h1{text-wrap:balance;line-break:strict;overflow-wrap:anywhere}
.bundle-download{justify-content:center;gap:12px}
.bundle-download>svg{flex-shrink:0}
.bundle-download>span{display:block;text-align:center;line-height:1.5}
.bundle-download small{display:block;font-size:11px;font-weight:400;letter-spacing:.03em;margin-top:2px;opacity:.88}
.public-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:31px 32px 27px;box-shadow:var(--shadow)}.public-panel .eyebrow{font-size:11px;color:var(--green);font-weight:700;letter-spacing:.08em}.public-panel h2{font-size:22px;margin:7px 0 18px}.public-panel ol{margin:0 0 24px;padding-left:1.5em;color:var(--muted)}.public-panel li{padding:4px 0}.public-note{font-size:10px;color:var(--muted);margin-top:12px;text-align:center}.public-details{max-width:1056px;margin:0 auto 64px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.public-details article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.public-details h2{font-size:16px;margin-bottom:8px}.public-details p,.analytics-notice p{font-size:12px;color:var(--muted);line-height:1.9}.analytics-notice{max-width:1056px;margin:0 auto 64px;border-top:1px solid var(--line);padding-top:28px}.analytics-notice h2{font-size:15px;margin-bottom:8px}.analytics-notice a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.public-details{grid-template-columns:1fr;margin:0 24px 48px}.analytics-notice{margin:0 24px 48px}.public-welcome{margin-bottom:52px}.public-panel{padding:25px}}
/* Existing admin-key accounts can opt into email login without interrupting distribution work. */
.email-link-notice{max-width:1180px;margin:0 auto 24px;padding:20px 24px;background:#fff8e8;border:1px solid #ead8ad;border-radius:16px;display:grid;grid-template-columns:1fr minmax(320px,520px);gap:24px;align-items:end}.email-link-notice h2{font-size:18px;margin:0 0 6px}.email-link-notice p{margin:0;color:var(--muted)}.email-link-notice form label{font-size:13px;font-weight:700}.email-link-row{display:flex;gap:8px;margin-top:6px}.email-link-row input{flex:1}.email-link-row button{white-space:nowrap}.email-link-notice .form-error{margin-top:8px}#local-link{margin-top:8px}
@media(max-width:760px){.email-link-notice{grid-template-columns:1fr}.email-link-row{align-items:stretch;flex-direction:column}}
.turnstile-widget{min-height:65px;margin-top:18px}.account-restricted{max-width:1120px;margin:-15px auto 24px}
.footer-action{border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:inherit}.modal #confirm-withdrawal{margin-top:18px}
.qr-share{margin-top:22px;padding:20px 18px;background:#f7f8f3;border:1px solid var(--line);border-radius:12px;text-align:center}.qr-share h3{font-size:13px}.qr-share canvas{display:block;width:min(270px,100%);height:auto;margin:13px auto;background:#fff;border:1px solid var(--line)}.qr-share .button{max-width:270px;margin:0 auto}.qr-share p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:10px}
@media print{body.qr-print-open>*:not(#modal-root){display:none!important}#modal-root .qr-modal{position:static;display:block;border:0;box-shadow:none;max-height:none;overflow:visible}#modal-root .qr-modal .modal-close,#modal-root .qr-modal .share-doc,#modal-root .qr-modal>label,#modal-root .qr-modal>#share-url,#modal-root .qr-modal>#copy-url,#modal-root .qr-modal .share-options,#modal-root .qr-modal .qr-share .button,#modal-root .qr-modal .fine-print{display:none!important}#modal-root .qr-modal .qr-share{border:0;background:#fff}#modal-root .qr-modal .qr-share canvas{width:92mm;max-width:92mm;border:0}#modal-root .qr-modal .modal-note{justify-content:center}}
