@charset "UTF-8";
:root{--paper:#f8f6f0;--surface:#fffdf9;--ink:#424b43;--muted:#96988b;--line:#e8e6db;--coral:#d7947c;--coral-dark:#ac6a54;--sage:#7f927c;--soft:#f1e4d9;--serif:"Noto Serif CJK SC","Source Han Serif SC","Songti SC","SimSun",serif;--sans:"Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}button:focus-visible,a:focus-visible{outline:2px solid var(--sage);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #c4cdbb;outline-offset:0;border-color:transparent}a{color:inherit}[hidden]{display:none!important}.app-shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:40px 23px 24px;background:#efefe6;border-right:1px solid #e6e7dc;display:flex;flex-direction:column}.brand{display:flex;align-items:center;text-decoration:none;gap:11px}.brand-symbol{color:var(--coral);font-size:43px;font-family:Georgia,serif;line-height:1}.brand-name{font-family:var(--serif);font-size:24px;font-weight:bold;letter-spacing:3px;white-space:nowrap}.brand-en{display:block;font-family:Georgia,serif;font-size:7px;letter-spacing:1.8px;font-weight:normal;margin-top:9px;color:#8c9484}.sidebar-rule{height:1px;background:#dcded0;margin:34px 1px 30px}.nav-caption{font-size:10px;letter-spacing:2px;color:#8c9484;margin:0 13px 17px}.nav-item{display:flex;gap:13px;align-items:center;width:100%;height:49px;border:0;background:none;color:#788170;padding:0 13px;border-radius:7px;margin:5px 0;text-align:left;font-size:13px;transition:background .18s}.nav-item:hover{background:#e8eadf}.nav-item.active{background:#fffdf7;color:#4b5b46;box-shadow:0 2px 5px #626a4b04}.nav-symbol{font-size:22px;width:22px;text-align:center;font-family:Georgia,serif}.nav-arrow{margin-left:auto;color:var(--coral)}.nav-count{font-size:10px;margin-left:auto;background:#e4e6da;padding:2px 6px;border-radius:4px;color:#89917c}.sidebar-poem{margin:auto 11px;color:#8c9680;padding-top:30px}.sidebar-poem>span{display:block;color:#c2b19a;font:38px Georgia,serif;transform:rotate(8deg);margin:0 0 14px 9px}.sidebar-poem p{font-family:var(--serif);font-size:16px;line-height:2.1;letter-spacing:1px;margin:0}.sidebar-poem small{font-size:9px;letter-spacing:1px;display:block;margin-top:14px;color:#a1a794}.sidebar-footer{margin-top:50px;border-top:1px solid #dcded0;padding-top:19px}.settings-link{border:0;background:none;color:#79826f;padding:4px 9px;font-size:12px;display:flex;align-items:center;gap:12px}.settings-link>span{font-size:20px}.local-status{font-size:10px;letter-spacing:.5px;color:#8b9582;margin:22px 10px 0;display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;background:#94a58c;border-radius:100%}.main-area{padding:36px 48px 0;min-width:0;max-width:1680px;width:100%;margin:auto}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.eyebrow{font-family:Georgia,serif;font-size:9px;letter-spacing:2.1px;color:#9eaa93;margin:0 0 13px}.page-header h1{font-family:var(--serif);font-size:29px;line-height:1.4;font-weight:500;letter-spacing:1.4px;margin:0;color:#424f40}.heading-star{font-family:Georgia,serif;display:inline-block;color:#c99a7b;margin-left:15px;font-size:28px;vertical-align:top}.page-subtitle{color:#929787;font-size:11px;letter-spacing:.5px;line-height:1.8;margin:12px 0 0}.date-stamp{width:57px;border:1px solid #dddfd1;border-radius:2px;text-align:center;align-self:flex-start;margin-top:2px;transform:rotate(4deg);padding:7px 5px;color:#8e987e}.date-stamp span{font:8px Georgia,serif;letter-spacing:2px;display:block}.date-stamp strong{font:27px Georgia,serif;display:block;margin:4px 0}.date-stamp small{display:block;border-top:1px solid #e4e4d9;padding-top:4px;font:8px Georgia,serif;letter-spacing:2px}.create-layout{display:grid;grid-template-columns:minmax(330px,1fr) minmax(310px,.94fr);align-items:start;gap:38px}.composer{background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 4px 20px #454f3a02;overflow:hidden}.compose-section{padding:24px 26px;border-top:1px solid #efeee7}.first-section{border:0}.section-heading{display:flex;gap:10px;align-items:center;margin-bottom:21px}.step-number{font:italic 16px Georgia,serif;color:#cfa68f}.section-heading h2{font-size:13px;font-weight:500;letter-spacing:.5px;margin:0}.section-hint{font:7px Georgia,serif;letter-spacing:1.1px;color:#adaf9f;margin-left:auto;white-space:nowrap}.field-label{font-size:11px;display:block;color:#747e6b;margin:15px 0 9px;letter-spacing:.3px}.optional{font-size:10px;color:#aaa99b;font-weight:normal}input:not([type=checkbox]):not([type=file]),textarea,select{width:100%;background:#fbfaf6;border:1px solid #e4e6da;color:#4c5746;border-radius:5px;padding:11px 12px;font-size:12px;line-height:1.7}input::placeholder,textarea::placeholder{color:#a4a797}textarea{resize:vertical;min-height:85px}input.date-input{width:190px;font-size:11px;padding:8px 11px;letter-spacing:.5px}input[type=date]{color-scheme:light}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.char-count{font:9px Georgia,serif;color:#b0b1a6;padding-top:9px}.field-note{font-size:9px;line-height:1.8;color:#9da38f;margin:8px 0 0}.match-actions{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:8px}.button{border:1px solid transparent;border-radius:5px;min-height:37px;padding:9px 16px;font-size:11px;letter-spacing:.5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button-soft{background:#f2e6dd;color:#aa745f;border-color:#eddfd4}.button-soft:hover{background:#eddfd2}.button-outline{background:transparent;border-color:#d8ddce;color:#6c7a60}.button-outline:hover{background:#f0f1e8}.button-primary{background:#879879;color:#fffef9;border-color:#879879;box-shadow:0 3px 8px #70835c15}.button-primary:hover{background:#75886a;border-color:#75886a}.text-button{border:0;padding:5px 0;background:none;color:#8d987e;font-size:10px;line-height:1.6}.text-button:hover{text-decoration:underline;text-underline-offset:4px}#event-picker-wrap{margin-top:13px}select{font-size:11px!important}.matched-event{margin-top:15px;background:#f4f5ed;border:1px solid #e4e7d7;border-radius:5px;padding:12px;display:flex;gap:10px;align-items:flex-start}.match-icon{font-size:17px;color:#b7bd97}.mini-label{font-size:8px;color:#9ca589;letter-spacing:1px}.matched-event h3{font-size:11px;font-weight:500;line-height:1.6;margin:4px 0;color:#6b7b5b}.matched-event p{font-size:9px;line-height:1.8;color:#98a087;margin:0}.icon-button{border:0;background:none;font-size:22px;color:#9da48e;padding:0 3px;line-height:1;flex-shrink:0}.matched-event .icon-button{margin-left:auto;font-size:18px}.photo-upload{display:flex;gap:12px;align-items:center;min-height:76px;border:1px dashed #d9dfce;border-radius:5px;background:#f8f9f3;padding:14px;cursor:pointer}.photo-upload:hover{background:#f0f3e8}.photo-upload strong{font-size:11px;font-weight:normal;color:#768568;display:block}.photo-upload small{display:block;font-size:8px;color:#a0aa92;margin-top:7px;line-height:1.6}.upload-symbol{font-size:22px;color:#9eac8f}.upload-arrow{color:#a7b499;margin-left:auto;font-size:17px}.photo-list{display:flex;gap:10px}.photo-list:not(:empty){margin-bottom:12px}.photo-item{position:relative;width:calc((100% - 20px)/3);height:86px;border:1px solid var(--line);background:#fff;padding:4px;border-radius:3px}.photo-item img{width:100%;height:100%;object-fit:cover}.photo-remove{position:absolute;top:-7px;right:-6px;width:19px;height:19px;border-radius:50%;background:#fffdf8;box-shadow:0 1px 5px #0002;border:1px solid #deded2;color:#8d8878;font-size:14px;line-height:1}.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.template-option{padding:7px 5px 10px;background:#fffdf9;border:1px solid #e6e5dc;border-radius:6px;text-align:center;color:#859078;min-width:0}.template-option.selected{background:#f4f5ec;border-color:#a9b59b;box-shadow:0 0 0 1px #a9b59b30}.template-option:hover{border-color:#a9b59b}.template-option strong{font-size:9px;font-weight:500;display:block;margin-top:10px}.template-option small{font-size:7px;display:block;color:#abb09e;margin-top:5px;white-space:nowrap}.template-art{display:block;height:58px;width:45px;background:#f7f1e7;margin:auto;box-shadow:0 1px 3px #5e5e4c10;position:relative;overflow:hidden}.template-art:before{content:"";position:absolute;height:2px;width:23px;top:8px;left:11px;background:#d6b99a}.template-art:after{content:"";position:absolute;height:2px;width:16px;bottom:8px;left:14px;background:#c8cdb7}.template-art i,.template-art b,.template-art em{display:block;position:absolute}.art-memory i{background:#d9decb;width:25px;height:22px;left:10px;top:19px;transform:rotate(-5deg);border:2px solid #fffdf7}.art-memory b{background:#d7bda0;width:11px;height:4px;left:17px;top:17px;transform:rotate(-5deg)}.art-timeline i{height:30px;width:1px;background:#d0b392;left:15px;top:17px}.art-timeline b{width:4px;height:4px;background:#c9a480;border-radius:50%;left:13px;top:19px;box-shadow:0 10px #c9a480,0 20px #c9a480}.art-timeline em{height:2px;width:15px;background:#d9d2bc;left:20px;top:20px;box-shadow:0 10px #d9d2bc,0 20px #d9d2bc}.art-reply i{background:#e3d5bd;left:6px;top:18px;width:28px;height:11px;transform:rotate(-4deg)}.art-reply b{background:#dfe3d0;left:11px;top:32px;width:28px;height:11px;transform:rotate(4deg)}.art-collage i{background:#dce0cd;left:5px;top:17px;width:22px;height:26px;border:2px solid #fffef8;transform:rotate(-10deg)}.art-collage b{background:#e8d1b8;left:22px;top:24px;width:19px;height:24px;border:2px solid #fffef8;transform:rotate(12deg)}.art-collage em{background:#dec79f;left:13px;top:15px;width:12px;height:4px;transform:rotate(-10deg)}.format-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.format-row .field-label{margin:0}.segmented{display:flex;border:1px solid #e3e5d9;border-radius:5px;overflow:hidden}.segmented button{border:0;background:#fbfbf7;font:10px Georgia,serif;color:#9aa38d;padding:7px 14px;border-right:1px solid #e3e5d9}.segmented button:last-child{border:0}.segmented button.selected{background:#e9eedf;color:#6d7f5c}.response-section textarea{font-family:var(--serif);color:#7d806b;font-size:12px;line-height:1.9;min-height:80px}.source-badge{font-size:8px;color:#a5a58f;background:#f2f2e9;border-radius:3px;padding:3px 6px;margin-left:auto}.source-badge.is-ai{color:#a27a61;background:#f5e8dd}.response-actions{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;margin-top:8px}.response-actions .field-note{margin:0}.ai-button{white-space:nowrap;padding:0;color:#a67d65}.ai-button span{font-size:14px}.ai-note{font-size:8px;color:#aaa996;margin:9px 0 0}.preview-panel{position:sticky;top:26px;background:#efefe5;border:1px solid #e6e7da;border-radius:10px;padding:22px 24px 18px;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7e8a70;letter-spacing:1px}.preview-heading>div{display:flex;gap:7px;align-items:center}.preview-dot{width:5px;height:5px;border-radius:50%;background:#abb89b}.preview-format{font:10px Georgia,serif;color:#9fa88e}.preview-stage{position:relative;padding:29px 18px 9px;min-height:290px;display:flex;align-items:center;justify-content:center}.canvas-wrap{position:relative;width:100%;max-width:385px;box-shadow:0 12px 28px #55604416,0 2px 4px #55604409;transform:rotate(-1.3deg);background:#fffaf0;line-height:0;transition:transform .3s}.canvas-wrap:hover{transform:rotate(0)}canvas#card-preview{width:100%;height:auto;display:block}.stage-star{position:absolute;color:#c6b791;font-family:Georgia,serif;pointer-events:none}.star-one{top:15px;right:3px;font-size:24px;z-index:1}.star-two{bottom:0;left:1px;font-size:18px}.preview-caption{text-align:center;font-family:var(--serif);font-size:11px;letter-spacing:.5px;color:#9b9e87;margin:22px 0 25px}.preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-actions .button{padding-left:6px;padding-right:6px;min-height:41px;font-size:11px}.preview-actions .button>span{font-size:18px}.export-note{text-align:center;font-size:8px;color:#a6ad98;letter-spacing:.6px;margin:12px 0 0}.preview-error{font-size:11px;color:#a26750;line-height:1.8}.main-footer{display:flex;justify-content:space-between;border-top:1px solid #e8e8dc;padding:20px 0 23px;margin-top:34px;font-size:9px;color:#acb09e;letter-spacing:1px}.main-footer>span:first-child{font-family:var(--serif)}.collection-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:3px 0 17px;font-size:11px;color:#8c977f;gap:12px}.collection-toolbar>div{display:flex;gap:18px}.empty-state{text-align:center;padding:90px 10px 120px}.empty-state>span{font:60px Georgia,serif;color:#c9baa4}.empty-state h2{font:22px var(--serif);color:#728267;letter-spacing:1px;margin:19px 0 15px}.empty-state p{font-size:12px;color:#a2a792;margin-bottom:28px;line-height:1.8}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding-top:28px}.saved-card{background:#fffdf8;border:1px solid var(--line);border-radius:6px;padding:11px 11px 14px;min-width:0}.saved-card-preview{width:100%;aspect-ratio:3/4;background:#f3f0e7;border:0;padding:0;border-radius:2px;overflow:hidden;display:flex;align-items:center;justify-content:center}.saved-card-preview img{width:100%;height:100%;object-fit:contain}.saved-card-preview:hover img{transform:scale(1.02)}.saved-card h3{font-size:12px;font-weight:500;margin:13px 1px 6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.saved-card-date{font-size:9px;color:#a3aa96;margin:0 1px}.saved-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.delete-button{color:#b09a88;font-size:9px}.materials-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:29px}.search-field{display:flex;align-items:center;width:340px;max-width:100%;background:#fffdf8;border:1px solid var(--line);border-radius:6px;padding:0 12px;gap:8px}.search-field span{font-size:24px;color:#a2ab91}.search-field input{border:0!important;background:none!important;font-size:11px!important}.search-field input:focus{outline:0}#materials-count{font-size:10px;color:#a0aa91;white-space:nowrap}.materials-list{border-left:1px solid #dadfce;margin:0 0 15px 8px;padding-left:30px}.material-year{font:26px Georgia,serif;color:#899b7a;margin:30px 0 20px;position:relative}.material-year:first-child{margin-top:0}.material-year:before{content:"";position:absolute;width:9px;height:9px;background:#a5b397;border:3px solid var(--paper);box-shadow:0 0 0 1px #cbd4bf;left:-35px;top:10px;border-radius:100%}.material-item{padding:17px 19px;background:#fffdf8;border:1px solid var(--line);border-radius:6px;margin:0 0 12px;display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:15px;align-items:start}.material-date{font-size:10px;color:#a39b83;padding-top:3px;line-height:1.8}.material-item h3{font-size:13px;font-weight:500;color:#697c5b;margin:0 0 8px;line-height:1.6}.material-item p{font-size:11px;color:#929b84;line-height:1.9;margin:0;white-space:pre-wrap}.material-source{display:inline-block;font-size:9px;color:#a29177;margin-top:9px;text-underline-offset:3px}.material-item .text-button{white-space:nowrap;font-size:10px}dialog{border:1px solid #e1e3d6;border-radius:12px;max-width:530px;width:calc(100% - 32px);padding:0;color:var(--ink);background:#fffdf8;box-shadow:0 20px 90px #36442c2a;max-height:90vh}dialog::backdrop{background:#3c473b55;backdrop-filter:blur(3px)}.dialog-body{padding:30px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:17px}.dialog-heading h2{font:24px var(--serif);letter-spacing:1px;margin:0;color:#5c6e51}.dialog-heading .eyebrow{font-size:8px}.dialog-heading .icon-button{font-size:25px;margin-top:8px}.dialog-intro{font-size:11px;line-height:1.9;color:#929a83;margin-bottom:20px}.dialog-body input:not([type=checkbox]){font-size:12px}.dialog-body .field-label{margin-top:18px}.dialog-actions{margin-top:28px;display:flex;justify-content:flex-end;gap:10px}.dialog-error,.alert.error{font-size:12px;line-height:1.8;color:#a56854;background:#faeee6;border:1px solid #eddbcd;padding:10px 12px;border-radius:5px}.check-label{display:flex;align-items:center;gap:7px;color:#a08975;font-size:10px;margin-top:12px}.check-label input{accent-color:var(--sage)}.storage-details{font-size:10px;color:#a3aa96;margin-top:20px;line-height:1.8}.storage-details summary{cursor:pointer}.storage-details p{overflow-wrap:anywhere;margin:8px 0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#56674e;color:#fffef9;border:1px solid #839176;border-radius:7px;box-shadow:0 8px 30px #2e3d2625;font-size:12px;padding:13px 22px;line-height:1.7;max-width:calc(100% - 32px)}.toast.error{background:#956b56;border-color:#b89b82}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alert.error{margin-bottom:24px}
@media(min-width:1500px){.main-area{padding-left:60px;padding-right:60px}.create-layout{gap:48px;grid-template-columns:minmax(400px,1fr) minmax(360px,.94fr)}.compose-section{padding:27px 32px}.preview-panel{padding:26px 35px 22px}.preview-stage{padding:34px 25px 10px}.page-header{margin-bottom:36px}.page-header h1{font-size:32px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:34px 17px 22px}.brand-symbol{font-size:33px}.brand-name{font-size:20px;letter-spacing:2px}.brand-en{font-size:6px;letter-spacing:1.3px}.main-area{padding:30px 28px 0}.create-layout{gap:24px;grid-template-columns:minmax(300px,1fr) minmax(280px,.9fr)}.compose-section{padding:22px 20px}.section-hint{display:none}.template-grid{gap:6px}.template-option small{font-size:6px}.preview-panel{padding:20px 17px 17px}.preview-stage{padding:26px 12px 6px}.page-header h1{font-size:25px}.collection-grid{gap:16px}.material-item{grid-template-columns:80px minmax(0,1fr);gap:12px}.material-item>.text-button{grid-column:2;justify-self:start}}
@media(max-width:920px){.app-shell{grid-template-columns:165px minmax(0,1fr)}.sidebar{padding:30px 12px 20px}.brand{gap:6px}.brand-symbol{font-size:29px}.brand-name{font-size:18px;letter-spacing:1px}.brand-en{font-size:5px}.nav-caption{font-size:9px;letter-spacing:1px}.nav-item{font-size:11px;gap:9px;padding:0 10px}.sidebar-poem{margin-left:10px}.sidebar-poem p{font-size:13px}.sidebar-poem small{font-size:8px}.settings-link{font-size:10px;gap:7px}.local-status{font-size:8px;margin-left:9px}.main-area{padding:26px 25px 0}.create-layout{grid-template-columns:minmax(0,1fr);gap:26px}.preview-panel{position:static;max-width:100%;padding:23px 30px}.preview-stage{padding:25px 20px 5px}.canvas-wrap{max-width:390px}.preview-actions{max-width:440px;margin:auto}.composer{display:grid;grid-template-columns:1fr 1fr;align-items:start}.first-section{grid-column:1/-1}.response-section{grid-column:1/-1}.compose-section:nth-child(3){border-left:1px solid #efeee7}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-option small{font-size:7px}.template-art{height:48px}.format-row{align-items:flex-start;gap:7px;flex-direction:column}.format-row .field-label{font-size:10px}.photo-list{flex-wrap:wrap}.photo-item{width:calc((100% - 10px)/2);height:75px}.photo-upload{padding:10px;gap:7px}.photo-upload strong{font-size:10px}.photo-upload small{font-size:8px}.upload-arrow{display:none}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header h1{font-size:23px}.heading-star{margin-left:9px;font-size:23px}.date-stamp{width:46px}.date-stamp strong{font-size:23px}.page-header .button{font-size:10px;padding:8px 11px;white-space:nowrap}.materials-list{padding-left:23px}.material-year:before{left:-28px}}
@media(max-width:650px){.app-shell{display:block}.sidebar{height:auto;position:relative;padding:19px 20px 0;border-right:0;border-bottom:1px solid #dfe3d4;background:#efefe6;display:block}.brand-symbol{font-size:35px}.brand-name{font-size:22px;letter-spacing:3px}.brand-en{font-size:6px;letter-spacing:1.5px;margin-top:6px}.brand{gap:10px;display:inline-flex}.sidebar-rule,.nav-caption,.sidebar-poem,.local-status{display:none}.sidebar nav{display:flex;gap:3px;margin-top:21px}.nav-item{flex:1;height:42px;justify-content:center;margin:0;border-radius:6px 6px 0 0;padding:0 5px;font-size:11px;gap:7px}.nav-item.active{background:var(--paper);box-shadow:none}.nav-symbol{font-size:19px;width:17px}.nav-arrow{display:none}.nav-count{margin-left:0;font-size:8px;padding:1px 4px}.sidebar-footer{margin:0;padding:0;border:0;position:absolute;right:21px;top:27px}.settings-link{font-size:0;padding:0;gap:0}.settings-link>span{font-size:23px;color:#87987b}.main-area{padding:27px 19px 0}.page-header{gap:10px;margin-bottom:23px}.eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:10px}.page-header h1{font-size:23px;letter-spacing:.4px}.page-subtitle{font-size:10px;letter-spacing:0;margin-top:10px}.heading-star{font-size:21px;margin-left:7px}.date-stamp{display:none}.composer{display:block}.compose-section{padding:23px 20px}.compose-section:nth-child(3){border-left:0}.section-hint{display:block;font-size:7px}.section-heading h2{font-size:13px}.field-label{font-size:11px}.template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.template-art{height:58px}.template-option small{font-size:6px}.format-row{flex-direction:row;align-items:center}.photo-list{flex-wrap:nowrap}.photo-item{width:calc((100% - 20px)/3);height:92px}.photo-upload{padding:14px;gap:12px}.photo-upload strong{font-size:11px}.photo-upload small{font-size:8px}.upload-arrow{display:block}.preview-panel{padding:22px 20px 18px}.preview-stage{padding:28px 16px 8px}.preview-caption{font-size:10px}.preview-actions .button{font-size:11px}.collection-grid{gap:12px}.saved-card{padding:7px 7px 11px}.saved-card h3{font-size:10px}.saved-card-date{font-size:8px}.saved-card-actions .text-button{font-size:9px}.collection-toolbar{font-size:10px}.collection-toolbar>div{gap:12px}.collection-toolbar .text-button{font-size:9px}#view-collection .page-header,#view-materials .page-header{align-items:flex-start;flex-direction:column;gap:18px}.materials-toolbar{gap:10px}.materials-list{margin-left:5px;padding-left:19px}.material-year:before{left:-24px}.material-item{grid-template-columns:1fr;gap:7px;padding:14px}.material-item>.text-button{grid-column:1}.material-date{font-size:9px}.material-item h3{font-size:12px}.material-item p{font-size:10px}.material-year{font-size:24px}.dialog-body{padding:23px}.dialog-heading h2{font-size:22px}.dialog-intro{font-size:10px}.dialog-actions .button{font-size:11px}.main-footer{font-size:8px;padding-top:18px;margin-top:28px}.toast{bottom:18px;font-size:11px;padding:11px 16px}.empty-state{padding:65px 5px 90px}.empty-state h2{font-size:20px}.empty-state p{font-size:10px}}
.save-notice{margin-top:16px;padding:12px 14px;border:1px solid #dce3d0;border-radius:5px;background:#f7f9f0;line-height:1.8;color:#7b8c6b}.save-notice strong{font-size:10px;font-weight:500}.saved-file-path{font-size:9px;color:#96a186;overflow-wrap:anywhere;word-break:break-word;margin:5px 0}.saved-file-link{font-size:10px;color:#6d845b;text-underline-offset:3px}.backup-notice{margin-top:20px;max-width:760px}.compose-section:has(#photo-input:focus-visible) .photo-upload{outline:2px solid var(--sage);outline-offset:4px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.photo-search-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}.photo-search-action .text-button{display:inline-flex;gap:6px;align-items:center;color:#8d795e;font-size:11px;white-space:nowrap}.photo-search-action .text-button>span{font-size:20px;line-height:1}.photo-search-action>span{font-size:8px;color:#a3aa96;text-align:right;line-height:1.7}.search-settings-section{border-top:1px solid var(--line);margin-top:24px;padding-top:21px}.search-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.search-settings-heading h3{font-size:13px;font-weight:500;color:#6d7e60;margin:0}.search-settings-heading a{font-size:10px;color:#a18b6e;text-underline-offset:3px;white-space:nowrap}.search-settings-section>.field-note{margin-top:10px}#image-search-dialog{max-width:850px}.image-search-form{display:flex;align-items:stretch;gap:10px}.image-search-form input{min-width:0}.image-search-form .button{white-space:nowrap;min-width:98px}.image-search-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 18px;min-height:26px}.image-search-meta>span{font-size:10px;line-height:1.8;color:#9aa18d}.image-search-meta .text-button{white-space:nowrap}.image-search-empty{padding:42px 15px 48px;text-align:center;border:1px dashed #dce1d0;background:#f7f8f0;border-radius:7px;color:#9ca88e}.image-search-empty>span{font-size:45px;color:#bac3a8}.image-search-empty p{font:18px var(--serif);letter-spacing:1px;color:#819270;margin:8px 0 12px}.image-search-empty small{font-size:11px;line-height:1.8}.image-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.image-search-result{min-width:0;border:1px solid #e1e4d6;border-radius:7px;overflow:hidden;background:#fffefa}.image-result-media{aspect-ratio:4/3;background:#eeefe4;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-result-media img{width:100%;height:100%;object-fit:cover}.image-result-fallback{font-size:11px;color:#9da38c}.image-result-content{padding:12px}.image-result-content h3{font-size:11px;line-height:1.8;font-weight:500;color:#758167;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:39px}.image-result-host{display:block;font-size:8px;color:#a5ac96;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-result-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px}.image-result-source{font-size:9px;color:#9e9278;text-underline-offset:3px;white-space:nowrap}.image-result-actions .button{font-size:9px;padding:6px 8px;min-height:30px;letter-spacing:0}.image-result-error{font-size:9px;color:#a56854;line-height:1.8;margin:10px 0 0;overflow-wrap:anywhere}.image-search-rights{font-size:10px;color:#a3a68f;line-height:1.8;margin:19px 0 0}.image-search-photo-count{margin-right:auto;align-self:center;font-size:11px;color:#96a284}#image-search-dialog .dialog-actions{margin-top:19px;padding-top:18px;border-top:1px solid var(--line)}
@media(max-width:650px){#image-search-dialog .dialog-body{padding:22px 18px}.image-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.image-result-content{padding:10px}.image-result-actions{flex-wrap:wrap;gap:9px}.image-result-actions .button{margin-left:auto}.image-search-meta>span{font-size:9px}.image-search-form{gap:8px}.image-search-form .button{min-width:80px;padding:8px 10px;font-size:10px}.search-settings-heading h3{font-size:12px}.search-settings-heading a{font-size:9px}.image-search-empty{padding:35px 10px}.image-search-empty p{font-size:17px}.photo-search-action>span{font-size:8px}}
.material-item{cursor:pointer;transition:border-color .18s,background .18s}.material-item:hover{border-color:#cbd5bd;background:#fffffa}.material-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.material-actions .text-button{white-space:nowrap;font-size:10px}.material-detail-link{color:#a18b6b}#event-detail-dialog{max-width:850px}.event-detail-date{font-size:11px;color:#a18b6e;letter-spacing:.6px;line-height:1.7;margin:10px 0}#event-detail-title{font-size:27px;line-height:1.6;overflow-wrap:anywhere}.event-detail-provenance{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:3px 0 23px}.event-detail-provenance .source-badge{margin-left:0;font-size:10px;padding:4px 8px}.event-detail-provenance>span:last-child{font-size:9px;color:#a7ad98}.event-detail-section{border-top:1px solid #e7e9dd;padding-top:22px;margin-top:22px}.event-detail-section h3{font-size:13px;color:#6b7d5b;font-weight:500;margin:0 0 14px;letter-spacing:.5px}.event-detail-description{font-size:13px;line-height:2.1;white-space:pre-wrap;color:#7e8971;margin:0;overflow-wrap:anywhere}.event-detail-resource-bar{display:flex;gap:17px;align-items:center;justify-content:space-between;background:#f3f5eb;border:1px solid #e4e8d9;border-radius:6px;padding:14px 16px;margin-top:23px}.event-detail-resource-bar p{font-size:10px;line-height:1.9;color:#94a082;margin:0}.event-detail-resource-bar .button{flex-shrink:0;font-size:10px}.event-detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.event-detail-section-heading h3{margin:0}.event-detail-section-heading>span{font-size:9px;color:#a3aa94}.event-detail-empty{font-size:11px;line-height:1.9;color:#a4ab96;margin:12px 0}.event-source-card{border:1px solid #e5e8db;border-radius:6px;padding:16px 18px;margin-top:12px;background:#fcfcf6}.event-source-title{font-size:13px;line-height:1.8;color:#75865f;font-weight:500;text-decoration:none;overflow-wrap:anywhere}.event-source-title:hover{text-decoration:underline;text-underline-offset:4px}.event-source-host{display:block;color:#a4ab95;font-size:9px;margin-top:7px;overflow-wrap:anywhere}.event-source-card p{font-size:11px;line-height:2;color:#8b957b;margin:11px 0 4px;white-space:pre-wrap;overflow-wrap:anywhere}.event-detail-actions{padding-top:22px;border-top:1px solid var(--line)}
@media(max-width:1150px){.material-actions{grid-column:2;flex-direction:row;gap:20px;align-items:center}}
@media(max-width:650px){.material-actions{grid-column:1}.material-actions .text-button{font-size:10px}#event-detail-dialog .dialog-body{padding:22px 18px}#event-detail-title{font-size:22px}.event-detail-description{font-size:12px}.event-detail-resource-bar{align-items:flex-start;flex-direction:column;gap:11px;padding:13px}.event-detail-resource-bar .button{align-self:flex-start}.event-detail-provenance{gap:8px}.event-detail-provenance>span:last-child{font-size:8px}.event-source-card{padding:14px}.event-source-title{font-size:12px}.event-source-card p{font-size:10px}.event-detail-section{margin-top:19px;padding-top:19px}.event-detail-actions{gap:8px}.event-detail-actions .button{font-size:10px;padding:9px 10px}}
#edit-detail-event{margin-left:auto;white-space:nowrap;color:#9e8669}.event-source-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px}.event-source-actions .material-source{margin:0}.event-source-actions .button{font-size:9px;min-height:30px;padding:6px 10px}.source-saved-badge{font-size:9px;color:#97a485;background:#edf1e5;border-radius:3px;padding:5px 8px}.image-result-collect{width:100%;margin-top:11px;min-height:31px;font-size:10px;padding:6px 10px}.event-ai-section{padding:19px 20px;background:#f1f3e8;border:1px solid #e0e6d3;border-radius:7px;margin-top:20px}.event-ai-section h3{font-size:13px;color:#72835f;font-weight:500}.event-ai-section .button{font-size:10px;min-height:33px;padding:7px 12px}.event-ai-section textarea{font-size:12px;line-height:1.9;background:#fffef8}.event-ai-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px;margin-top:14px}#node-edit-dialog{max-width:730px}.node-edit-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 13px;border-top:1px solid var(--line);padding-top:20px}.node-edit-section-heading h3{font-size:13px;color:#71825f;font-weight:500;margin:0}.node-edit-section-heading>span{font-size:10px;color:#9ca98b}.node-edit-link-row{border:1px solid #e3e7d8;border-radius:6px;padding:12px;background:#f7f8f0;margin-bottom:12px;display:grid;gap:9px}.node-edit-link-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#98a088}.node-edit-link-heading .text-button{padding:0}.node-edit-link-row input{font-size:11px!important;padding:8px 10px!important}.node-edit-link-row textarea{font-size:11px;padding:8px 10px;min-height:65px}.node-edit-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.node-edit-photos:not(:empty){margin-bottom:15px}.node-edit-photos .photo-item{width:100%;height:125px}#node-edit-description{line-height:2;font-size:12px}#node-edit-form:has(#node-edit-photo-input:focus-visible) #node-edit-photo-upload{outline:2px solid var(--sage);outline-offset:3px}
@media(max-width:650px){.event-ai-section{padding:15px}.event-ai-section .event-detail-section-heading{gap:10px;align-items:center}.event-ai-section h3{font-size:11px}.event-ai-section .button{font-size:9px;padding:7px 10px}.event-source-actions{gap:8px}.event-source-actions .button{font-size:9px;padding:6px 8px}.node-edit-photos .photo-item{height:90px}.node-edit-photos{gap:10px}#node-edit-dialog .dialog-body{padding:22px 18px}.event-detail-provenance>span:last-of-type{font-size:9px;line-height:1.7}}
#event-detail-updated{font-size:9px;color:#a7ad98;line-height:1.8}.event-ai-draft-sources{padding:12px 0 2px;display:grid;gap:7px}.event-ai-draft-sources p{font-size:10px;color:#97a486;margin:0 0 2px}.event-ai-draft-sources a{font-size:10px;line-height:1.8;color:#84956d;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:400px){.two-fields{grid-template-columns:1fr}.two-fields>div{min-width:0}.dialog-heading>div{min-width:0}.dialog-heading .eyebrow{overflow-wrap:anywhere}}

/* Node guidance and full-size viewing reuse the site's orange-pink surfaces. */
.home-thank-you{margin:16px 0 8px;text-align:center;font:400 18px/1.8 var(--serif);letter-spacing:3px;color:var(--dye-surface-ink,#fff3e7);text-shadow:0 0 22px #f3a7bd36}
#node-guidance-dialog{max-width:560px}
#node-guidance-title{font:400 27px/1.5 var(--serif);margin:12px 0 20px;color:inherit}
#node-guidance-copy{font-size:14px;line-height:2.1}
.node-photo-preview{width:100%;padding:0;border:0;cursor:zoom-in;position:relative}
.node-photo-preview::after{content:'点击看大图';position:absolute;right:9px;bottom:9px;padding:5px 9px;background:#24132dc9;border:1px solid #ffd2b561;border-radius:5px;color:#fff1df;font-size:10px;pointer-events:none}
.node-photo-preview:focus-visible,.node-edit-photo-preview:focus-visible{outline:2px solid #ffcfaf;outline-offset:3px}
.node-edit-photo-preview{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:inherit;overflow:hidden}
.node-edit-photo-preview img{width:100%;height:100%;object-fit:cover}
#node-lightbox{width:min(1100px,96vw);max-width:none;max-height:94dvh;padding:0;overflow:hidden}
.lightbox-body{height:min(850px,90dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:13px;padding:20px}
.lightbox-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
#node-lightbox-title{font:400 18px/1.5 var(--serif);margin:0;overflow-wrap:anywhere;color:inherit}
.lightbox-stage{position:relative;min-height:0;overflow:auto;display:grid;place-items:center;background:#160d21c9;border:1px solid #ffd3b535;border-radius:10px;overscroll-behavior:contain}
#node-lightbox-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.lightbox-stage:not(.is-original-size){touch-action:pan-y;user-select:none;cursor:grab}
.lightbox-stage.is-original-size{display:block;touch-action:auto}
.lightbox-stage.is-original-size #node-lightbox-image{position:static;width:auto;height:auto;max-width:none;max-height:none;margin:auto}
#node-lightbox-error{padding:24px;color:#fff1e4;text-align:center;line-height:1.8}
.lightbox-toolbar{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}
#node-lightbox-count{font-variant-numeric:tabular-nums;min-width:45px;text-align:center;color:var(--dye-surface-ink,#fff3e7)}
.lightbox-toolbar .button{padding:10px 16px;min-height:42px}
.lightbox-hint{margin:0;text-align:center;font-size:10px;line-height:1.7;color:var(--dye-surface-muted,#e9cdd7)}
@media(max-width:650px){.home-thank-you{font-size:16px;letter-spacing:2px;margin-top:24px}#node-guidance-copy{font-size:13px}#node-lightbox{width:calc(100vw - 16px)}.lightbox-body{height:90dvh;padding:12px;gap:10px}.lightbox-toolbar{gap:9px}.lightbox-toolbar .button{font-size:11px;padding:9px 12px}#node-lightbox-zoom{flex-basis:100%;text-align:center}#node-lightbox-title{font-size:15px}.lightbox-hint{font-size:9px}}
.sidebar .sound-switch{min-height:36px;border-radius:7px;transition:background .2s,box-shadow .2s}
.sidebar .sound-switch #sound-label{font-size:12px}
.sidebar .sound-switch[aria-pressed=true]{background:#eeb3a118;box-shadow:inset 0 1px 0 #ffffff2b,0 2px 10px #f3a7bd18}
@media(max-width:650px){.sidebar .sound-switch{min-width:28px;min-height:28px;justify-content:center}.sidebar .sound-switch #sound-label{display:none}}
