:root{font-family:Arial,Helvetica,sans-serif;color:#20372c;background:#f3f6f4;font-size:16px;--green:#07613d;--line:#dae3dc}*{box-sizing:border-box}body{margin:0}.top{height:90px;padding:16px 4%;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:48px}.brand{display:flex;align-items:center;gap:13px}.brand img{width:53px;height:53px;object-fit:contain}.brand strong{display:block;font-size:20px;color:var(--green);letter-spacing:1.8px}.brand span{display:block;font-size:12px;letter-spacing:2px;margin-top:6px}.appname{font-size:14px;color:#62756a}.appname span{margin:0 12px;color:#b2bdb5}.appname b{color:#20372c}.private{margin-left:auto;font-size:13px;border:1px solid #d4e4d9;padding:9px 12px;border-radius:20px;color:var(--green)}main{max-width:1480px;margin:auto;padding:40px 4%}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;gap:20px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:bold;color:var(--green)}h1{font-size:36px;letter-spacing:-1.2px;margin:10px 0}p{line-height:1.6}.heading p{margin:0;color:#66786e;font-size:15px}button,.secondary,.text-button{cursor:pointer}button,input,select{font:inherit}button,.secondary{border-radius:6px;font-weight:bold;font-size:14px;padding:12px 18px;transition:background .15s}.primary{border:0;background:var(--green);color:white;box-shadow:0 4px 10px #07613d12}.primary span{font-weight:normal;opacity:.65;margin-left:10px}button:disabled{opacity:.45;cursor:not-allowed}.secondary{border:1px solid #c7d6cc;background:white;color:var(--green);display:inline-block}button:hover:not(:disabled),.secondary:hover{filter:brightness(.95)}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:30px}aside section{padding:23px;background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:18px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:24px}.section-title>span{font-size:12px;background:#edf5ef;color:var(--green);padding:5px 6px;border-radius:4px}h2{font-size:16px;margin:0}label{display:block;font-size:14px;font-weight:bold;margin:18px 0 8px}input:not([type=range]),select{width:100%;padding:11px 12px;border:1px solid #cdd8d0;border-radius:5px;background:white;color:#263e30;font-size:14px}input:focus,select:focus,button:focus-visible,#drop:focus-visible{outline:2px solid #009f59;outline-offset:3px}.hint{font-size:13px;color:#718176;margin-bottom:0}.logo-setting{display:flex;align-items:center;gap:16px;padding:12px;background:#f7f9f7;border-radius:5px}.logo-setting img{width:65px;height:65px;object-fit:contain}.logo-setting strong{font-size:14px}.text-button{color:var(--green);font-size:13px;text-decoration:underline;margin:8px 0 0}output{float:right;color:var(--green);font-weight:normal}input[type=range]{width:100%;accent-color:var(--green)}.position{font-size:21px;display:flex;gap:10px;align-items:center;color:var(--green);margin-top:18px}.position span{font-size:13px}.privacy-note{padding:0 14px;font-size:13px;line-height:1.7;color:#738278}.content{min-width:0}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.toolbar h2{font-size:19px}.toolbar h2 span{display:inline-block;margin-left:7px;padding:3px 8px;background:#e1ebe4;border-radius:5px;font-size:13px}.toolbar p{font-size:13px;color:#718176;margin:6px 0 0}.toolbar label{margin:0}#drop{border:1.5px dashed #a6bfae;background:#eaf2ed;border-radius:8px;text-align:center;padding:28px;cursor:pointer}#drop.drag{background:#d3e8d9;border-color:#008047}.upload-icon{width:44px;height:44px;background:white;color:var(--green);font-size:30px;margin:0 auto 12px;border-radius:10px}#drop h3{font-size:18px;margin:8px}#drop p{font-size:14px;margin:0 0 10px;color:#6e8174}#drop b{color:var(--green)}#drop span{font-size:12px;color:#6f8175}#drop.compact{padding:16px;display:flex;align-items:center;justify-content:center;gap:12px}#drop.compact .upload-icon,#drop.compact p,#drop.compact span{display:none}#drop.compact h3{font-size:14px;margin:0}#status{margin:15px 0;color:#07613d;font-size:14px;line-height:1.5}#status.error{color:#ad3627}#gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:8px}.filename{font-size:12px;color:#6c7b72;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.index{background:#eaf3ed;border-radius:4px;padding:4px 7px;font-size:12px;font-weight:bold}.photo-stage{height:205px;display:flex;align-items:center;justify-content:center;background:#edf0ed;padding:10px}.photo-wrap{position:relative;max-width:100%;display:inline-block;line-height:0}.photo-wrap>.photo{display:block;max-width:100%;max-height:185px;object-fit:contain}.watermark{position:absolute;right:2%;bottom:2%;object-fit:contain}.card-bottom{padding:12px}.card-bottom label{margin:0 0 7px;font-size:12px;color:#6a7c70}.card-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:10px}.card-actions button{background:white;border:1px solid #d9e2db;padding:5px 10px;font-size:13px;color:#52685b}.card-actions .delete{color:#a84b3b;margin-left:auto}.preview-section{margin-top:32px}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.preview-heading span{font-size:12px;color:#718176}#paper{background:white;padding:25px 28px 35px;min-height:500px;box-shadow:0 3px 16px #23492d0b;border:1px solid #e1e6e2;font-family:'Times New Roman',serif;color:black}.doc-header{display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:center;font-size:clamp(8px,.85vw,12px);line-height:1.5}.doc-company{display:flex;align-items:center;gap:8px}.doc-company img{width:40px;height:45px;object-fit:contain}#paper h3{text-align:center;font-size:19px;margin:20px 0 7px}#previewSubtitle{text-align:center;font-weight:bold;font-size:13px;margin:0 0 20px;overflow-wrap:anywhere}#previewGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px 15px}#previewGrid .photo-stage{background:white;height:200px;padding:0}#previewGrid .photo-wrap>.photo{max-height:200px}#previewGrid .caption{text-align:center;font-size:15px;margin:7px 0 0;overflow-wrap:anywhere}#previewEmpty{text-align:center;color:#98a49b;padding-top:80px;font-family:Arial;font-size:14px}#pager{display:flex;justify-content:space-between;align-items:center;margin-top:16px}#pager[hidden]{display:none}#pageCount{font-size:14px;color:#6a7c70}footer{max-width:1360px;margin:15px auto 0;border-top:1px solid var(--line);padding:22px 4%;color:var(--green);font-size:14px;font-weight:bold;display:flex;gap:25px}footer span{font-size:12px;font-weight:normal;color:#839087}@media(min-width:1400px){.photo-stage{height:245px}.photo-wrap>.photo{max-height:225px}}@media(max-width:900px){.workspace{grid-template-columns:260px minmax(0,1fr);gap:18px}.top{gap:20px}.private{display:none}.doc-header{font-size:8px}#gallery{grid-template-columns:1fr}#paper{padding:16px}.preview-heading{align-items:flex-start;flex-direction:column}}@media(max-width:650px){.top{height:76px;padding:12px 5%}.brand strong{font-size:17px}.brand span{font-size:10px}.brand img{width:40px;height:45px}.appname{font-size:12px;margin-left:auto}.appname>span{display:none}.appname{max-width:95px;line-height:1.6}main{padding:28px 5%}.heading{display:block}h1{font-size:30px}.heading button{margin-top:18px;width:100%}.workspace{display:block}aside{margin-bottom:26px}aside section{padding:20px}.privacy-note{margin-bottom:20px}#gallery{grid-template-columns:1fr}.doc-header{font-size:7px;gap:6px}.doc-company img{width:25px}#paper{padding:12px}#previewGrid .photo-stage{height:145px}#previewGrid .photo-wrap>.photo{max-height:145px}#pager button{padding:9px;font-size:12px}footer{margin:20px 5%}}

.photo-stage{--max-photo-height:185px}.photo-wrap{width:100%;max-width:min(100%,calc(var(--max-photo-height) * var(--ratio)))}.photo-wrap>.photo{width:100%;height:auto;max-height:none}#previewGrid .photo-stage{--max-photo-height:200px}#previewGrid .photo-wrap>.photo{max-height:none}@media(min-width:1400px){.photo-stage{--max-photo-height:225px}}@media(max-width:650px){#previewGrid .photo-stage{--max-photo-height:145px}}

[hidden]{display:none!important}.photo-stage.cover .photo-wrap{max-width:100%;width:100%;aspect-ratio:4/3;height:auto;max-height:none}.photo-stage.cover{height:auto!important}.photo-stage.cover .photo{aspect-ratio:4/3;width:100%;height:100%;object-fit:cover;max-height:none}.cover .watermark{width:12%;height:auto;filter:drop-shadow(0 1px 1px #0002)}.logo-setting{background:#66786c}.logo-setting strong,.logo-setting .text-button{color:white}.account-nav{display:flex;align-items:center;gap:16px;margin-left:auto;font-size:13px}.account-nav a{color:var(--green);text-decoration:none;font-weight:bold}.account-nav span{color:#6b7c71}.gate-body{min-height:100vh;display:grid;place-items:center}.gate-card{max-width:540px;background:white;border:1px solid var(--line);border-radius:12px;padding:40px;margin:24px;text-align:center}.gate-card .eyebrow{margin-top:22px;font-size:11px;line-height:1.8}.gate-card h1{margin-top:18px}.login-link{display:inline-block;padding:14px 22px;border-radius:6px;text-decoration:none;margin:14px 0}.admin-main{max-width:1100px}.member-form{display:flex;align-items:end;gap:16px;margin:26px 0 12px}.member-form>div{flex:1}.members-table{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:8px;margin:24px 0}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:17px;border-bottom:1px solid var(--line)}th{background:#eaf2ed;font-weight:bold}.error{color:#a32c22}.success{color:var(--green)}@media(max-width:900px){.account-nav{flex-wrap:wrap;gap:8px;justify-content:flex-end}.account-nav span{display:none}.appname{display:none}}@media(max-width:650px){.member-form{display:block}.member-form button{margin-top:15px}.account-nav{font-size:12px}.brand span{display:none}.top{height:auto;min-height:76px}}

.account-nav .company-display{display:inline-block;max-width:290px;line-height:1.5;color:var(--green);font-weight:600}@media(max-width:650px){.account-nav .company-display{max-width:180px;font-size:12px}}

.brand-name{font-size:17px;font-weight:700;line-height:1.5;color:var(--green);white-space:nowrap}@media(max-width:650px){.brand-name{font-size:13px;white-space:normal}.brand{min-width:0;gap:8px}.account-nav{max-width:45%}}
