:root{--paper:#faf9f6;--ink:#302c28;--muted:#7c7269;--line:#e7e1da;--accent:#b54f1f;--design-dock-height:112px}
*{box-sizing:border-box}html{min-width:320px;scroll-padding-bottom:calc(var(--design-dock-height) + 40px)}body{margin:0;padding-bottom:calc(var(--design-dock-height) + 48px);background:var(--paper);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;background:#eee8e2!important;color:#978c83!important;border-color:#d8cec5!important;box-shadow:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a24f2a;outline-offset:4px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}svg{flex:none}.brand-mark svg{width:21px;height:21px}.dock-icon svg{width:23px;height:23px}p{color:var(--muted)}
.site-header{background:#fff;border-bottom:1px solid var(--line)}.site-header-inner{width:min(1320px,calc(100% - 64px));min-height:76px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:14px 0}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap;font-size:17px;font-weight:650;letter-spacing:.04em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d8b59b;border-radius:9px;color:var(--accent);background:#fff9f2;font-size:24px;font-weight:400}.site-header .entry-nav{gap:24px;font-size:13px;color:#6d635b;justify-content:flex-end}.entry-nav a{white-space:nowrap}
main{width:min(1320px,calc(100% - 64px));margin:auto;padding-top:32px}.back-link{display:inline-block;font-size:12px;color:#8e7f73}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin:22px 0 28px}h1{font-size:32px;line-height:1.25;font-weight:650;letter-spacing:-.03em;margin:0 0 10px}.page-heading p{font-size:15px;margin:0}
.steps{display:flex;align-items:center;gap:12px;flex:none;font-size:12px;color:#94887b;padding-bottom:3px}.steps>strong,.steps>span{display:flex;align-items:center;gap:8px;white-space:nowrap}.steps>strong{color:var(--accent);font-weight:600}.steps>strong>span,.steps>span>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #ddd5cd;border-radius:50%;font-size:11px;font-variant-numeric:tabular-nums}.steps>strong>span{background:var(--accent);border-color:var(--accent);color:#fff}.steps>i{width:34px;height:1px;background:#dfd6cd}
.notice{margin-bottom:22px;padding:13px 17px;border:1px solid #ead8c4;border-radius:10px;background:#fff8ef;font-size:12px;color:#81664f}.notice details{margin-top:9px}.notice summary{cursor:pointer;font-size:12px;color:#926a4c}.notice details p{font-size:12px;line-height:1.8;margin:8px 0 0;color:#846f5e}.notice #temporaryWorkNotice{margin:0;padding:0;border:0;border-radius:0;background:transparent;font-size:13px;line-height:1.7;font-weight:400;color:#8e7964}.notice #temporaryWorkNotice .temporary-work-remaining{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:#bc4f1c}.notice #temporaryWorkNotice .temporary-work-remaining svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notice #temporaryWorkNotice .temporary-work-detail{font-size:12px;color:#846f5e;margin-top:3px}.notice:has([data-level=urgent]),.notice:has([data-level=expired]){border-color:#d88e71;background:#fff0e9}.notice #temporaryWorkNotice[data-level=expired]{color:#a23b20;font-weight:600}
.layout{width:100%}.editor-section,.collapsed-panel{padding:28px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:22px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.section-heading h2{display:flex;align-items:center;gap:12px;font-size:20px;line-height:1.5;font-weight:600;margin:0}.section-number{font-size:12px;color:#b58563;font-weight:400;letter-spacing:.05em;font-variant-numeric:tabular-nums}.section-heading p{font-size:13px;color:var(--muted);margin:6px 0 0;padding-left:32px}#photoCount{padding:5px 11px;border:1px solid #eee5dc;border-radius:7px;background:#fbf8f4;color:#7b6756;font-size:12px;white-space:nowrap;flex:none}
.photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:start}.photos[data-photo-count="1"],.photos[data-photo-count="0"]{grid-template-columns:1fr}.photos[data-photo-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.photos[data-photo-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.photo-note-card{min-width:0;border:1px solid #e7e1da;border-radius:12px;overflow:hidden;background:#fff}.photo-image{position:relative;padding:10px;background:#f7f5f1;border-bottom:1px solid #ede7df}.photo-image img{display:block;width:100%;height:180px;object-fit:contain;border-radius:6px}.photo-image strong{position:absolute;left:17px;top:17px;padding:3px 7px;border-radius:5px;background:#fffefae8;box-shadow:0 1px 5px #382a1620;font-size:10px;font-weight:500;color:#70604e}.photo-body{padding:14px}.photo-note-card label{display:block;min-width:0}.photo-caption-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:14px;color:#4f4740;margin-bottom:9px}.photo-caption-label small{font-size:11px;color:#93867a;white-space:nowrap}.photo-note-card textarea{display:block;width:100%;min-height:70px;resize:vertical;margin:0;border:1px solid #e7dfd6;border-radius:7px;background:#fff;font-size:14px;line-height:1.6;padding:9px 10px;color:#51473e}.photo-note-card textarea::placeholder{color:#9c938a}.photo-caption-count{display:block;text-align:right;margin-top:3px;font-size:10px;color:#97897b;font-variant-numeric:tabular-nums}.photo-note-card details{margin-top:8px}.photo-note-card summary{cursor:pointer;color:#916346;font-size:13px}.photo-note-card details label{font-size:12px;color:#8c7969;margin-top:8px}.photo-note-card details textarea{font-size:13px;margin-top:6px}.photo-empty{padding:35px 18px;text-align:center;color:#8a796b;border:1px dashed #ded0c3;border-radius:10px;font-size:13px}
.photo-import-actions{margin-top:24px;padding:18px 20px;border:1px solid #ecd1ba;border-radius:11px;background:#fff8f1;display:flex;align-items:center;justify-content:space-between;gap:20px}.photo-import-heading{min-width:0}.photo-import-heading strong{display:block;font-size:14px;font-weight:600;color:#694531}.photo-import-heading>span{display:block;font-size:12px;color:#977b67;margin-top:3px}.photo-import-options{display:flex;gap:10px;flex:none}.photo-import-option{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;min-height:46px;border:1px solid #c26b3c;border-radius:8px;background:#fff;color:#a64d20;text-align:left;line-height:1.5}.photo-import-option>svg{width:21px;height:21px}.photo-import-option strong{display:block;font-size:13px;font-weight:550}.photo-import-option small{display:block;font-size:10px;color:inherit}.photo-import-gallery{background:var(--accent);border-color:var(--accent);color:#fff}.photo-import-option:hover:not(:disabled){filter:brightness(.96)}.note{font-size:12px;color:#8b7d70;margin:13px 0 0}#photoImportStatus{font-size:13px;color:#93502a;overflow-wrap:anywhere;margin:10px 0 0}#photoImportStatus:empty{display:none}
.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 24px}.fields>label{display:block;min-width:0;font-size:14px;font-weight:550;color:#64574c}.field-wide{grid-column:span 2}.field-full{grid-column:1/-1}.optional{font-weight:400;font-size:11px;color:#938273;margin-left:5px}.fields input,.fields select,.fields textarea{display:block;width:100%;min-width:0;padding:11px 13px;margin-top:8px;border:1px solid #ddd4ca;border-radius:8px;background:#fff;color:#51463b;font-size:14px;font-weight:400;min-height:46px;line-height:1.6}.fields textarea{resize:vertical;min-height:112px}.fields input::placeholder,.fields textarea::placeholder{color:#9c938a}.next-process{margin-top:26px;padding-top:21px;border-top:1px solid #eee8e1;display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#8e7f71;font-size:12px}.next-process strong{font-size:12px;color:#736052;font-weight:550}.next-process i{font-style:normal;color:#a88a71}.order-boundary{font-size:11px;line-height:1.8}
.collapsed-heading{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center}.collapsed-heading h2{font-size:22px;margin:0;overflow-wrap:anywhere}.collapsed-heading p{font-size:12px;margin:6px 0 0}.collapsed-heading>span{font-size:12px;color:#9a7557}.collapsed-photos{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;margin-top:26px}.collapsed-photos:empty{display:none}.collapsed-photos img{width:100%;height:120px;object-fit:contain;background:#f4f1eb;border-radius:9px}.collapsed-requirements{display:flex;gap:18px 32px;flex-wrap:wrap;margin-top:22px;padding-top:22px;border-top:1px solid #eee8e1;font-size:12px}.collapsed-requirements:empty{display:none}.collapsed-requirements span{color:#998979}.collapsed-requirements b{font-weight:500;color:#625144;padding-left:8px}
.design-dock{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:30;width:min(1320px,calc(100% - 48px));padding:16px 22px;border:1px solid #e5d9cf;border-radius:15px;background:#fffffff5;box-shadow:0 12px 42px #5b3c2324;backdrop-filter:blur(18px)}.dock-main{display:flex;align-items:center;justify-content:space-between;gap:24px}.dock-summary{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.dock-cover,.dock-icon{width:44px;height:44px;border-radius:8px;flex:none;border:1px solid #ead7c8;background:#fff6ec}.dock-cover{object-fit:cover}.dock-icon{display:grid;place-items:center;color:#ae784e;font-size:25px}.dock-copy{min-width:0;flex:1}.dock-line{display:flex;align-items:baseline;gap:11px;min-width:0}.dock-line strong{font-size:15px;font-weight:600;white-space:nowrap;color:#574536}.dock-line>span{font-size:14px;color:#786b5e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#saveStatus{font-size:12px;color:#637863;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;line-height:1.7}#saveStatus:empty{display:none}.design-dock[data-state=dirty] #saveStatus,.design-dock[data-state=busy] #saveStatus{color:#a65e30}.design-dock[data-state=error],.design-dock[data-state=expired]{border-color:#dca389}.design-dock[data-state=error] #saveStatus,.design-dock[data-state=expired] #saveStatus{white-space:normal;color:#a33e25;overflow:auto;max-height:min(110px,25dvh);overscroll-behavior:contain;overflow-wrap:anywhere}
.dock-actions{display:flex;align-items:center;gap:10px;flex:none}.dock-actions button,.dock-recovery button{min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-size:15px;font-weight:550;line-height:1.4;white-space:nowrap;padding:11px 18px}.edit-toggle{border:0;background:transparent;color:#857364}.edit-toggle svg{width:16px;height:16px}.edit-toggle[aria-expanded=false] svg{transform:rotate(180deg)}.save-button,.secondary{border:1px solid #d9c6b5;background:#fff;color:#725438}.next-button{background:var(--accent);border:1px solid var(--accent);color:#fff;box-shadow:0 2px 6px #9d431819}.next-button svg{width:17px;height:17px}.dock-actions button:hover:not(:disabled){filter:brightness(.96)}.dock-recovery{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px;margin-top:12px;border-top:1px solid #f0ddd0}.dock-recovery button{min-height:38px;font-size:12px;padding:8px 12px}
#galleryImportDialog{width:min(760px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border:1px solid #e7dbcf;border-radius:16px;background:#fffdf9}#galleryImportDialog[open]{display:flex;flex-direction:column}#galleryImportDialog::backdrop{background:#21191166}.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid var(--line);flex:none}.gallery-heading h2{font-size:19px;margin:0}.gallery-dismiss{border:0;background:#f2ece5;color:#836b56;width:34px;height:34px;border-radius:50%;font-size:25px;line-height:1;padding:0}.gallery-body{overflow:auto;min-height:0;padding:22px;overscroll-behavior:contain}.gallery-import-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.gallery-import-list label{display:flex;align-items:center;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--line);border-radius:9px;font-size:12px}.gallery-import-list label:has(input:checked){border-color:#be6b3c;background:#fff6ee}.gallery-import-list img{width:100%;height:120px;object-fit:contain;background:#f5f0ea;border-radius:6px}.gallery-import-list input{width:17px;height:17px;accent-color:var(--accent)}#galleryImportStatus{font-size:12px;overflow-wrap:anywhere}.gallery-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid var(--line);flex:none}.gallery-footer button{min-height:44px;padding:10px 16px;border-radius:8px;border:1px solid #d9c6b5}.gallery-footer #confirmGalleryImport{background:var(--accent);color:#fff;border-color:var(--accent)}body:has(#galleryImportDialog[open]){overflow:hidden}
@media(min-width:801px){.photos[data-photo-count="1"] .photo-note-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.photos[data-photo-count="1"] .photo-image{border-bottom:0;border-right:1px solid #ede7df}.photos[data-photo-count="1"] .photo-image img{height:260px}.photos[data-photo-count="1"] .photo-body{padding:24px;align-self:center}}
@media(max-width:1100px){.site-header-inner{gap:18px;flex-wrap:wrap}.site-header .entry-nav{gap:16px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.photos{grid-template-columns:repeat(3,minmax(0,1fr))}.design-dock{padding:14px 18px}.dock-main{gap:12px}.dock-actions{gap:7px}.dock-actions button{padding:11px 13px;font-size:14px}.collapsed-photos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){main,.site-header-inner{width:calc(100% - 36px)}.site-header-inner{padding:14px 0;gap:12px}.site-header .entry-nav{flex:1;gap:8px 14px;font-size:12px}.brand{font-size:16px}.page-heading{margin:20px 0 24px}h1{font-size:28px}.photos,.photos[data-photo-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.editor-section,.collapsed-panel{padding:22px}.fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.photo-import-actions{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.photo-import-options{flex:none}.photo-import-option{flex:1}.design-dock{bottom:max(12px,env(safe-area-inset-bottom));padding:14px 16px;width:calc(100% - 24px)}.dock-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.dock-summary{grid-column:1;grid-row:1}.dock-actions{display:contents}.edit-toggle{grid-column:2;grid-row:1}.save-button{grid-column:1;grid-row:2}.next-button{grid-column:2;grid-row:2;min-width:230px}.dock-actions .edit-toggle{min-height:40px;padding:7px 4px;font-size:12px}.collapsed-photos{gap:9px}.collapsed-photos img{height:105px}}
@media(max-width:520px){:root{--design-dock-height:150px}main{padding-top:24px}.site-header-inner{align-items:flex-start}.site-header .entry-nav{flex-basis:100%;justify-content:flex-start;gap:6px 13px}.brand{gap:9px;font-size:15px}.brand-mark{width:30px;height:30px}.page-heading h1{font-size:26px}.page-heading p{font-size:13px;line-height:1.8}.steps{gap:9px;font-size:11px}.steps>i{width:22px}.steps>strong>span,.steps>span>span{width:20px;height:20px}.notice{padding:12px 14px}.notice #temporaryWorkNotice{font-size:12px}.notice #temporaryWorkNotice .temporary-work-remaining{font-size:13px}.notice #temporaryWorkNotice .temporary-work-detail{font-size:11px}.editor-section,.collapsed-panel{padding:18px;border-radius:13px;margin-bottom:18px}.section-heading{gap:10px;margin-bottom:18px}.section-heading h2{font-size:18px;gap:8px}.section-heading p{font-size:12px;padding-left:0}.section-heading #photoCount{font-size:11px;padding:4px 8px}.photos,.photos[data-photo-count="2"],.photos[data-photo-count="3"]{grid-template-columns:1fr;gap:16px}.photo-image img{height:215px}.photo-body{padding:15px}.photo-caption-label{font-size:14px}.photo-note-card textarea{font-size:14px}.photo-import-actions{padding:13px}.photo-import-options{flex-direction:column;gap:8px}.photo-import-option{justify-content:flex-start;padding:11px 14px}.photo-import-option strong{font-size:14px}.photo-import-option small{font-size:11px}.fields{grid-template-columns:1fr;gap:18px}.field-wide,.field-full{grid-column:auto}.next-process{gap:7px;font-size:11px}.next-process strong{flex-basis:100%}.dock-main{grid-template-columns:minmax(0,1fr) 1.45fr;gap:10px}.design-dock{padding:12px}.dock-summary{grid-column:1/-1;padding-right:87px;gap:10px}.dock-cover,.dock-icon{width:37px;height:37px}.dock-line{gap:8px;flex-wrap:nowrap}.dock-line strong{font-size:13px}.dock-line>span{font-size:12px;max-width:100%;flex-basis:auto}.dock-copy #saveStatus{font-size:11px}.dock-actions .edit-toggle{position:absolute;right:14px;top:11px;min-height:38px;font-size:11px;gap:4px}.dock-actions .edit-toggle svg{width:13px;height:13px}.dock-actions .save-button,.dock-actions .next-button{min-width:0;min-height:44px;padding:10px 8px;font-size:14px;gap:5px}.dock-actions .next-button svg{width:15px;height:15px}.dock-recovery{gap:6px}.dock-recovery button{font-size:11px;min-height:38px;padding:8px}.design-dock[data-state=error] .dock-summary{padding-right:0;padding-top:31px;align-items:flex-start}.design-dock[data-state=error] #saveStatus{font-size:12px;max-height:min(110px,25dvh)}.collapsed-heading h2{font-size:20px}.collapsed-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.collapsed-requirements{gap:14px}.gallery-heading,.gallery-footer{padding:14px}.gallery-heading h2{font-size:17px}.gallery-body{padding:14px}}
@media(max-width:360px){.next-detail{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
