@font-face{font-family:Arial;src:url('/arial.ttf');font-display:swap}@font-face{font-family:Arial;src:url('/arialbd.ttf');font-weight:700;font-display:swap}*{box-sizing:border-box} :root{--bg:#fbfaf7;--panel:#fff;--ink:#243c34;--muted:#737a73;--line:#e6e7df;--soft:#f1f2eb;--green:#294c3e;--accent:#d5e0bf;--workspace:#eeeee7;--shadow:0 16px 35px #26342b18}body{margin:0;background:var(--bg);color:var(--ink);font:14px Arial,sans-serif}body.dark{--bg:#19241f;--panel:#202d26;--ink:#edf0e6;--muted:#b0bcaf;--line:#3b4b40;--soft:#2d3b31;--green:#b3cfb1;--accent:#475f43;--workspace:#25322b;--shadow:0 16px 35px #0004}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit;background:none;border:0;min-height:44px}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5ad73;outline-offset:3px}a{color:inherit}.header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;border-bottom:1px solid var(--line);background:var(--panel)}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:27px;font-weight:700;letter-spacing:-1.2px}.brandmark{width:40px;height:40px;border-radius:11px;background:var(--ink);color:var(--panel);display:grid;place-content:center;position:relative;font-size:28px;letter-spacing:-4px;padding-right:5px}.brandmark span{color:#bfd18d;position:absolute;font-size:20px;right:7px;top:-6px}.brand-note{font-size:9px;letter-spacing:1.7px;border-left:1px solid var(--line);padding:8px 15px;margin-left:10px;font-weight:400}.header-actions{display:flex;align-items:center;gap:20px}#save-status{font-size:12px;color:var(--muted)}.quiet{border:1px solid var(--line);border-radius:8px;padding:0 17px}.icon{width:44px;border:1px solid var(--line);border-radius:8px;font-size:23px}.steps{display:flex;justify-content:center;align-items:center;gap:24px;height:85px;background:var(--panel);border-bottom:1px solid var(--line)}.steps button{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.steps button span{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:11px}.steps button.active{color:var(--ink);font-weight:700}.steps button.active span{background:var(--ink);color:var(--panel);border-color:var(--ink)}.steps i{height:1px;width:65px;background:var(--line)}main{display:grid;grid-template-columns:370px 1fr;max-width:1600px;margin:auto;min-height:calc(100dvh - 270px);padding-bottom:104px}aside{padding:32px 30px;background:var(--panel);border-right:1px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:700}.intro h1{font-size:29px;letter-spacing:-1.1px;line-height:1.15;margin:12px 0}.intro p{line-height:1.6;color:var(--muted);font-size:13px;margin-bottom:26px}label,.label{display:block;font-weight:700;font-size:12px;margin-bottom:10px}.segmented{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:var(--soft);border-radius:10px;gap:4px}.segmented button{border-radius:7px;font-size:12px}.segmented button.selected{background:var(--panel);box-shadow:0 2px 6px #0001;color:var(--ink);font-weight:700}.field{margin-bottom:23px}.year-row{display:flex;justify-content:space-between;align-items:center;margin:22px 0}.year-row label{margin:0}.year-row select{width:100px}input,select{min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);padding:10px 12px;width:100%}.templates{display:grid;gap:11px}.template{display:flex;align-items:center;gap:15px;text-align:left;padding:11px;border:1px solid var(--line);border-radius:11px;position:relative;width:100%}.template.selected{border:1.5px solid var(--ink);background:var(--soft)}.template img{height:66px;width:54px;object-fit:cover;border:6px solid #fff;box-shadow:0 2px 3px #0001}.template:nth-child(2) img{border-color:#dcd9ca}.template:nth-child(3) img{border-color:#f3d9c2}.template strong{font-size:13px}.template small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin:6px 22px 0 0}.check{margin-left:auto;font-size:16px}.swatches{display:flex;gap:10px;margin:12px 0 24px}.swatch{width:44px;height:44px;border-radius:50%;border:6px solid var(--panel);outline:1px solid var(--line)}.swatch.selected{outline:2px solid var(--ink)}.tip{border-top:1px solid var(--line);padding-top:19px;color:var(--muted);font-size:12px;line-height:1.7}.workspace{padding:27px 6% 10px;min-width:0;background:var(--workspace)}.workspace-head{display:flex;justify-content:space-between;align-items:center}.workspace h2{font-size:21px;font-weight:400;letter-spacing:-.6px;margin:9px 0}.history{display:flex;gap:6px}.history .icon{border:none;background:var(--panel);font-size:21px}.preview-surround{padding-top:21px;text-align:center}.preview-tag{font-size:8px;letter-spacing:1.8px;color:var(--muted)}.calendar-wrap{position:relative;margin:25px auto 14px;width:min(300px,72%);box-shadow:var(--shadow);background:#fff;transform:rotate(-1deg)}#calendar{padding:0;width:100%;min-height:0;display:block;line-height:0}#calendar svg{width:100%;height:auto;display:block}.binding{position:absolute;z-index:1;top:-6px;left:5%;right:5%;height:12px;background:repeating-linear-gradient(90deg,transparent 0 6px,#787c72 6px 8px,transparent 8px 12px);filter:drop-shadow(1px 2px 1px #0004);pointer-events:none}.preview-caption{font-size:10px;color:var(--muted);display:flex;justify-content:center;gap:13px;align-items:center;flex-wrap:wrap}.link{padding:0;color:var(--green);font-size:11px;text-decoration:underline;text-underline-offset:3px}.month-strip{display:flex;gap:7px;overflow-x:auto;padding:17px 0 3px;scrollbar-width:thin}.month{flex:0 0 51px;padding:3px;min-height:68px;border-radius:6px;border:1px solid transparent}.month.selected{background:var(--panel);border-color:var(--green)}.month svg{height:43px;display:block;margin:auto;max-width:100%}.month span{font-size:9px;display:block;margin-top:6px;white-space:nowrap}.month.missing span:after{content:' •';color:#b56a46}.workspace-note{text-align:center;color:var(--muted);font-size:11px;margin:17px 0}.bottom{position:fixed;bottom:0;left:0;right:0;z-index:5;background:var(--panel);border-top:1px solid var(--line);padding:18px 4% calc(18px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:center;gap:20px}.bottom small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.bottom-action{display:flex;align-items:center;gap:25px}#price{font-size:22px}#price small{font-size:10px;display:inline}.primary{background:var(--ink);color:var(--panel);border-radius:8px;padding:0 22px;min-height:48px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:space-between;gap:28px}.primary span{font-size:20px;font-weight:400}.secondary{border:1px solid var(--line);border-radius:8px;padding:0 14px;font-size:12px}.upload{border:1px dashed #a5b59b;border-radius:12px;background:var(--soft);width:100%;padding:25px 12px;margin:12px 0;text-align:center}.upload b{display:block;font-size:28px;margin-bottom:10px;font-weight:400}.upload small{display:block;margin-top:9px;color:var(--muted);font-size:11px}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0}.photo-tile{padding:0;border:2px solid transparent;position:relative;aspect-ratio:1;overflow:hidden;border-radius:6px}.photo-tile.selected{border-color:var(--green)}.photo-tile img{width:100%;height:100%;object-fit:cover}.photo-tile span{position:absolute;bottom:0;left:0;right:0;background:#0008;color:white;font-size:9px;padding:4px}.notice{background:var(--soft);border-radius:8px;padding:13px;font-size:12px;line-height:1.6;margin:14px 0}.notice.warning{background:#fcf1df;color:#775125}.notice.error{background:#fde9e5;color:#9b3e2c}.notice.success{background:#e5eddf;color:#3b5735}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.full{width:100%}details{margin-top:20px}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:12px;color:var(--muted)}.text-count{font-size:10px;color:var(--muted);display:block;text-align:right;margin-top:6px}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--panel);box-shadow:var(--shadow);padding:14px 20px;border-radius:10px;z-index:40;max-width:90%;font-size:13px}dialog{border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--ink);padding:26px;width:min(680px,94vw);max-height:90dvh;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#18291fc0;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-head h2{font-size:22px;letter-spacing:-.7px}.dialog-head button{font-size:25px}.dialog-note{color:var(--muted);font-size:12px;line-height:1.7}.crop-preview{max-width:260px;margin:15px auto;box-shadow:var(--shadow)}.crop-preview svg{display:block;width:100%}.slider-label{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:15px;margin:5px 0;font-size:12px}.slider-label input{accent-color:#496a46;padding:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;position:sticky;bottom:-26px;padding:12px 0;background:var(--panel)}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:10px 0}.review-page svg{width:100%;box-shadow:0 3px 8px #0001}.review-page strong{display:block;margin:7px 0;font-size:11px}.checkbox{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;font-weight:400;line-height:1.6}.checkbox input{width:20px;min-height:20px;height:20px;accent-color:#3d5d48}.project-row{border-bottom:1px solid var(--line);padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.project-row small{display:block;margin-top:5px;color:var(--muted)}.progress-row{margin:8px 0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.progress-row progress{width:100%;accent-color:#4a6d4b;height:5px}.upload-status{max-height:140px;overflow:auto}h3{font-size:14px;margin-top:25px}.download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}.empty{color:var(--muted);font-size:12px;line-height:1.6}
@media(min-width:1500px){.calendar-wrap{width:340px}.workspace{padding-left:12%;padding-right:12%}}@media(max-width:1000px){main{grid-template-columns:325px 1fr}aside{padding:25px 20px}.workspace{padding:25px 5%}.brand-note{display:none}.header{padding:0 24px}.calendar-wrap{width:min(290px,90%)}.bottom{padding-left:24px;padding-right:24px}}@media(max-width:700px){.header{height:65px;padding:0 17px}.brand{font-size:23px}.brandmark{width:32px;height:32px;font-size:25px}.header-actions{gap:8px}.header-actions .quiet{font-size:0;padding:0;width:44px}.header-actions .quiet:after{content:'▤';font-size:20px}#save-status{max-width:102px;font-size:10px;line-height:1.4}.header-actions .icon{border:none}.steps{height:65px;gap:8px;padding:0 10px;justify-content:space-between}.steps i{width:12px}.steps button{font-size:10px;gap:5px;padding:0;white-space:nowrap}.steps button span{height:22px;width:22px}.steps button:last-of-type{white-space:normal;text-align:left;max-width:112px}main{display:flex;flex-direction:column;padding-bottom:132px}.workspace{order:0;padding:17px 20px 8px}.workspace-head .eyebrow{display:none}.workspace h2{font-size:17px;margin:0}.history .icon{width:38px;min-height:38px}.preview-surround{padding-top:5px}.preview-tag{font-size:7px}.calendar-wrap{width:175px;margin:16px auto 8px;transform:rotate(-1deg)}.preview-caption{font-size:9px;gap:8px}.preview-caption button{min-height:35px}.month-strip{padding-top:5px}.month{flex-basis:43px;min-height:54px}.month svg{height:30px}.workspace-note{display:none}aside{order:1;border-right:0;border-top:1px solid var(--line);padding:23px 20px 24px;border-radius:22px 22px 0 0}.intro h1{font-size:25px;margin:8px 0}.intro p{font-size:12px;margin:10px 0 20px}.templates{grid-template-columns:repeat(3,1fr);gap:8px}.template{display:flex;flex-direction:column;padding:9px 6px;gap:9px;text-align:center}.template img{width:47px;height:57px;border-width:5px}.template strong{font-size:10px}.template small{display:none}.template .check{position:absolute;right:7px;top:3px;font-size:11px}.template.selected .check{color:var(--green)}.field{margin-bottom:15px}.year-row{margin:15px 0}.tip{font-size:11px;padding-top:12px}.swatches{margin-bottom:15px}.bottom{padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:block}.bottom>div:first-child{display:none}.bottom-action{width:100%;gap:15px;justify-content:space-between}.bottom-action #primary{flex:1;max-width:320px;padding:0 17px;font-size:12px}#price{font-size:19px;white-space:nowrap}#price small{display:block;font-size:9px;margin:2px 0}.review-grid{grid-template-columns:repeat(2,1fr)}dialog{width:100%;max-width:100%;max-height:94dvh;margin:auto 0 0;border-radius:20px 20px 0 0;padding:20px}.dialog-actions{bottom:-20px}#toast{bottom:93px}.upload{padding:18px 10px}.photo-grid{grid-template-columns:repeat(5,1fr)}body:has(dialog[open]){overflow:hidden}}@media(prefers-reduced-motion:no-preference){button{transition:background .12s,border-color .12s}button:hover{filter:brightness(.97)}}
@media(max-width:700px){.history .icon{width:44px;min-height:44px}.month{min-width:44px}}
.dialog-head button{min-width:44px}
button.review-page{padding:0;text-align:left}.page-zoom-viewport{overflow:auto;max-height:60dvh;background:var(--soft)}#enlarged-page{width:100%;line-height:0}#enlarged-page svg{width:100%;display:block}
