:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#253d37;background:#f5f4ef;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #c79a49;outline-offset:4px}main{max-width:1000px;margin:auto;padding:0 36px 150px}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dcded5}.brand{font-size:18px;font-weight:700;display:flex;align-items:center;gap:12px}.brand-mark{width:35px;height:35px;background:#264e40;color:#fff;display:grid;place-items:center;border-radius:10px;font-size:23px}.local-badge{font-size:12px;color:#527960;background:#e9eee3;padding:7px 11px;border-radius:20px}.intro{padding:48px 0 32px}.eyebrow{font-size:12px;letter-spacing:3px;color:#7a826d}h1{font-size:36px;letter-spacing:-1px;line-height:1.45;margin:12px 0}.intro p{color:#737c71;font-size:15px;line-height:1.8}.mobile-break{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}h2{font-size:17px;margin:0}.section-heading>span{font-size:12px;color:#7c8379}em{font-style:normal;color:#2f735b}.workspace{padding:25px;border:1px solid #d9ded2;border-radius:18px;background:#fffefb}.import-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.import-button{min-height:98px;border-radius:12px;display:flex;align-items:center;gap:16px;text-align:left;padding:18px 22px}.import-button>span:last-child{margin-left:auto;font-size:22px}.import-button strong{display:block;font-size:18px}.import-button small{display:block;font-size:12px;margin-top:6px;opacity:.75}.camera{background:#2b5947;color:#fff;border:1px solid #2b5947}.album{background:#f4f6ef;color:#345342;border:1px solid #d7dfd0}.button-icon{font-size:31px}.hint{font-size:12px;color:#828779;margin:15px 0 0;line-height:1.8}.hidden-input{display:none}.collection{margin-top:32px}.empty-state{border:1px dashed #cdd4c6;border-radius:16px;text-align:center;padding:38px 15px 30px;background:#f9f9f4}.empty-state h3{font-size:16px;margin:15px 0 8px}.empty-state p{font-size:13px;line-height:1.9;color:#7b8476;margin:0}.paper-stack{height:62px;width:62px;position:relative;margin:auto}.paper-stack i{position:absolute;width:43px;height:54px;background:#fff;border:1px solid #b8c4ae;border-radius:4px;left:10px;top:2px;transform:rotate(-12deg)}.paper-stack i:nth-child(2){transform:rotate(9deg);left:15px}.paper-stack i:last-child{transform:rotate(0);background:repeating-linear-gradient(#fff 0 10px,#dce3d6 11px 12px);border:9px solid #fff;outline:1px solid #b8c4ae}.steps{margin-top:25px;font-size:11px;color:#8a9282}.steps b{margin:0 14px;font-weight:400}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.photo-card{overflow:hidden;border-radius:12px;border:1px solid #dde1d7;background:#fff}.photo-image{height:175px;background:#eceee7;position:relative;padding:12px}.photo-image img{width:100%;height:100%;object-fit:contain}.number{position:absolute;left:9px;top:9px;background:#284f40;color:#fff;padding:4px 7px;border-radius:5px;font-size:11px}.photo-caption{padding:12px;display:flex;flex-direction:column;gap:4px}.photo-caption strong{font-size:13px}.photo-caption span{font-size:11px;color:#95998f}.status{font-size:13px;color:#426853;line-height:1.8}.errors{background:#fff1e8;border:1px solid #edcfb8;padding:10px 16px;color:#86441f;font-size:13px;overflow-wrap:anywhere}.privacy{color:#8c9286;font-size:11px;line-height:1.8;text-align:center;margin-top:24px}@media(max-width:650px){main{padding:0 20px 150px}.topbar{height:76px}.brand{font-size:16px;gap:8px}.local-badge{font-size:10px}.intro{padding:30px 0 22px}h1{font-size:29px}.mobile-break{display:block}.intro p{font-size:13px}.workspace{padding:18px}.import-actions{grid-template-columns:1fr;gap:10px}.import-button{min-height:82px;padding:14px 18px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-image{height:165px}.section-heading>span{font-size:11px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,opacity .15s}}.bottom-bar{position:fixed;bottom:0;left:0;right:0;background:#fffefbf5;border-top:1px solid #d9ded2;padding:18px 36px calc(18px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10}.bottom-inner{max-width:928px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:15px}.bottom-inner strong{font-size:14px;display:block}.bottom-inner>div>span{font-size:12px;color:#858d7f;display:block;margin-top:6px}.bottom-inner small{margin-left:16px}.bottom-inner button{border:0;background:#2b5947;color:#fff;padding:16px 30px;border-radius:10px;min-width:180px;font-weight:600}.bottom-inner button span{padding-left:26px}.bottom-inner button:disabled{cursor:default}.pdf-result{margin-top:24px;padding:22px;background:#edf3e8;border:1px solid #c7d8bb;border-radius:14px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.pdf-result p{font-size:12px;color:#6f8164}.pdf-result small{font-size:11px;color:#78886e;overflow-wrap:anywhere}.pdf-symbol{background:#fff;border:1px solid #c7d8bb;padding:18px 9px;font-weight:700;font-size:12px;border-radius:5px;color:#587344}.download-link{color:#fff;text-decoration:none;background:#2b5947;padding:14px 22px;border-radius:8px;margin-left:auto;font-size:14px}.pdf-result .download-hint{width:100%;margin:0;line-height:1.7}@media(max-width:650px){.bottom-bar{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}.bottom-inner small{display:none}.bottom-inner button{min-width:145px;padding:15px 20px;font-size:14px}.bottom-inner button span{padding-left:12px}.bottom-inner strong{font-size:12px}.bottom-inner>div>span{font-size:11px}.pdf-result{padding:16px;gap:12px}.download-link{width:100%;text-align:center}}.photo-edit-button{display:block;width:100%;border:0;cursor:pointer}.edit-label{position:absolute;bottom:8px;right:8px;background:#ffffffed;color:#345342;border-radius:5px;padding:4px 7px;font-size:11px}.photo-editor{padding:0;border:0;border-radius:18px;width:min(760px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);color:#253d37;background:#fffefb;overflow:auto;box-shadow:0 24px 80px #0005}.photo-editor::backdrop{background:#15281fcc}.editor-header{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-header h2{font-size:19px}.editor-header p{margin:7px 0 0;font-size:12px;color:#74806f}.editor-header button{border:0;background:#edf0e8;border-radius:50%;width:44px;height:44px;flex-shrink:0;font-size:25px;color:#345342}.crop-viewport{height:48vh;height:48dvh;min-height:160px;overflow:auto;background:#29352f;overscroll-behavior:contain}.crop-scroll-area{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:24px}.crop-surface{position:relative;flex-shrink:0;touch-action:none;user-select:none;-webkit-user-select:none}.crop-surface>img{display:block;width:100%;height:100%;pointer-events:none}.crop-selection{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px #0007;cursor:move}.crop-viewport{isolation:isolate}.crop-scroll-area{overflow:hidden}.crop-thirds{display:block;position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent 33%,#fff6 33%,#fff6 33.4%,transparent 33.4%,transparent 66.3%,#fff6 66.3%,#fff6 66.7%,transparent 66.7%),linear-gradient(to bottom,transparent 33%,#fff6 33%,#fff6 33.4%,transparent 33.4%,transparent 66.3%,#fff6 66.3%,#fff6 66.7%,transparent 66.7%)}.crop-handle{position:absolute;background:transparent;border:0;padding:0;touch-action:none;width:44px;height:44px;z-index:2}.crop-handle:after{content:"";position:absolute;width:12px;height:12px;left:16px;top:16px;border-radius:3px;background:#fff;box-shadow:0 1px 4px #0008}.handle-n{left:50%;top:0;transform:translate(-50%,-50%);cursor:ns-resize}.handle-s{left:50%;bottom:0;transform:translate(-50%,50%);cursor:ns-resize}.handle-w{left:0;top:50%;transform:translate(-50%,-50%);cursor:ew-resize}.handle-e{right:0;top:50%;transform:translate(50%,-50%);cursor:ew-resize}.handle-n:after,.handle-s:after{width:28px;height:6px;left:8px;top:19px}.handle-w:after,.handle-e:after{width:6px;height:28px;left:19px;top:8px}.handle-nw{left:0;top:0;transform:translate(-50%,-50%);cursor:nwse-resize}.handle-ne{right:0;top:0;transform:translate(50%,-50%);cursor:nesw-resize}.handle-sw{left:0;bottom:0;transform:translate(-50%,50%);cursor:nesw-resize}.handle-se{right:0;bottom:0;transform:translate(50%,50%);cursor:nwse-resize}.editor-controls{padding:14px 22px 8px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 16px}.editor-controls label{font-size:13px}.editor-controls strong{display:inline-block;min-width:40px;margin-left:4px}.editor-controls input{width:100%;height:32px;accent-color:#2b5947}.editor-controls p{grid-column:1/-1;font-size:12px;color:#75816e;margin:0;line-height:1.6}.editor-controls>span{font-size:12px;color:#75816e}.pan-toggle{border:1px solid #cad6c3;background:#f2f6ee;color:#345342;border-radius:7px;min-height:40px;font-size:12px;padding:6px 12px}.pan-toggle[aria-pressed=true]{background:#d8e8ce}.editor-footer{display:flex;gap:10px;justify-content:flex-end;padding:14px 22px max(16px,env(safe-area-inset-bottom))}.editor-footer button{border:1px solid #d4dccd;background:#f1f4eb;color:#345342;padding:12px 16px;border-radius:8px;font-size:14px;min-height:44px}.editor-footer button:first-child{margin-right:auto}.editor-footer .save-crop{background:#2b5947;color:#fff;border-color:#2b5947}.editor-error{color:#9a4828;padding:0 22px;font-size:13px}@media(max-width:650px){.photo-editor{width:100%;max-height:100dvh;border-radius:0;margin:auto 0}.editor-header{padding:14px 16px}.editor-controls{padding:10px 16px}.editor-footer{padding-left:16px;padding-right:16px}.editor-footer button{padding:12px}}@media(max-height:500px){.crop-viewport{height:55vh}}.handle-n,.handle-s{width:calc(100% - 44px);min-width:44px}.handle-n:after,.handle-s:after{left:calc(50% - 14px)}.handle-e,.handle-w{height:calc(100% - 44px);min-height:44px}.handle-e:after,.handle-w:after{top:calc(50% - 14px)}.handle-nw,.handle-ne,.handle-sw,.handle-se{z-index:3}
