:root{color-scheme:dark;--bg:#181818;--panel:#20201f;--line:#343432;--text:#eeece6;--muted:#a4a39b;--accent:#d3b887;--danger:#efa799;--radius:8px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.65}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.45}button,a,input,textarea,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}fieldset{border:0;padding:0;margin:0;min-width:0}.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}.boot{min-height:100svh;display:grid;place-items:center;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2.4px;color:var(--accent);margin-bottom:10px}.muted,.field-help{color:var(--muted);font-size:12px}.field-help{line-height:1.65;margin:7px 0 16px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:8px 16px;border:1px solid #45443f;background:transparent;color:var(--text);border-radius:5px;font-size:12px;white-space:nowrap;transition:background .18s,border-color .18s}.button:hover:not(:disabled){background:#ffffff0b;border-color:#777368}.button.primary{background:var(--accent);border-color:var(--accent);color:#25231f;font-weight:600}.button.primary:hover:not(:disabled){background:#e1c89f;border-color:#e1c89f}.button.small{min-height:32px;padding:4px 10px;font-size:11px}.text-button,.icon-button{background:transparent;border:0;color:var(--muted);padding:7px 0;font-size:12px}.text-button:hover,.icon-button:hover{color:var(--text)}.icon-button{width:36px;height:36px;padding:0;font-size:25px}.wordmark{font-size:16px;font-weight:600;letter-spacing:3px;white-space:nowrap}.wordmark span{display:block;font-weight:400;color:var(--muted);font-size:9px;letter-spacing:4px;margin-top:5px}input:not([type=checkbox]):not([type=file]),textarea,select{display:block;width:100%;border:1px solid var(--line);border-radius:5px;background:#1b1b1a;color:var(--text);padding:10px 12px;min-height:41px}input::placeholder,textarea::placeholder{color:#72726c}input:not([type=checkbox]):focus,textarea:focus,select:focus{border-color:var(--accent)}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}textarea{resize:vertical;min-height:74px}label{display:block;font-size:12px;color:#d0cec5;margin-bottom:7px}.auth{min-height:100svh;max-width:1160px;margin:auto;display:grid;grid-template-columns:1fr 400px;align-items:center;gap:90px;padding:80px 64px}.auth-intro .wordmark{display:block;margin-bottom:110px}.auth-intro h1{font-size:42px;line-height:1.65;letter-spacing:3px;margin-bottom:20px}.auth-intro>p:last-child{color:var(--muted);font-size:13px}.auth-card{padding:35px 32px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(140deg,#242421,#1b1b1a)}.auth-card h2{font-size:23px;margin-bottom:8px}.auth-card>.muted{margin-bottom:26px}.auth-card>div{margin-top:18px}.auth-card .button{width:100%;margin-top:12px}.quiet-link{display:block;text-align:center;font-size:11px;color:var(--muted);margin-top:22px}.error-text{font-size:12px;color:var(--danger);margin-top:15px;white-space:pre-line}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 32px;background:#181818f5;backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.brand{display:flex;gap:22px;align-items:center}.section-label{font-size:11px;color:var(--muted);padding-left:22px;border-left:1px solid var(--line)}.top-actions{display:flex;align-items:center;gap:10px}.save-state{font-size:11px;color:var(--muted);margin-right:10px}.save-state.dirty{color:var(--accent)}.notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 32px;background:#2d2d25;border-bottom:1px solid #444332;font-size:12px;white-space:pre-line}.notice.error{background:#362723;color:#f0c1b4;border-color:#5a3c31}.notice button{border:0;background:none;color:inherit;font-size:21px}.notice a{display:inline-block;text-decoration:underline;margin-left:12px}.conflict{display:flex;align-items:center;gap:14px;padding:17px 32px;background:#3b2e23;border-bottom:1px solid #806145;font-size:12px}.conflict>div{flex:1}.conflict p{margin-top:5px;color:#dac1a8}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 384px;max-width:1920px;margin:auto;min-height:calc(100svh - 78px)}.collection{padding:36px 32px 20px;min-width:0}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.collection-heading h1{font-size:27px;letter-spacing:1px}.collection-heading h1 span{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:400;vertical-align:middle;margin-left:10px}.collection-heading .muted{margin-top:8px}.upload-button{color:var(--text);cursor:pointer;position:relative}.upload-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.upload-button:focus-within{outline:2px solid var(--accent);outline-offset:3px}.upload-button.disabled{opacity:.45;cursor:not-allowed}.upload-button span{font-size:19px;line-height:1}.collection-tools{display:grid;grid-template-columns:1fr 112px 112px;gap:10px;margin-bottom:13px}.collection-tools label{margin:0}.collection-tools select,.collection-tools input{font-size:12px;background:#1e1e1d;min-height:39px}.gallery-note{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#85857d;margin:17px 0 14px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-card{position:relative;border:1px solid #343431;border-radius:6px;background:#1d1d1c;overflow:hidden;min-width:0;transition:border-color .15s,transform .15s}.photo-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.photo-card.hidden-photo .photo-image{opacity:.6}.photo-select{display:block;border:0;padding:0;background:none;width:100%;text-align:left;color:inherit}.photo-image{height:150px;background:#141414;display:flex;align-items:center;justify-content:center;padding:10px}.photo-image img{width:100%;height:100%;object-fit:contain}.photo-caption{padding:10px 11px 12px}.photo-caption strong{display:block;font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-caption p{display:flex;gap:8px;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:4px}.photo-caption p span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-number{position:absolute;top:7px;left:7px;color:#dedbd2;background:#151515c9;border-radius:3px;font-size:9px;padding:1px 5px;pointer-events:none}.photo-badges{position:absolute;right:7px;top:7px;display:flex;gap:4px;pointer-events:none}.badge{font-size:9px;line-height:1.5;background:#262622ed;border:1px solid #676451;color:#e6dbc0;padding:2px 5px;border-radius:3px}.badge.dim{border-color:#555;background:#222d;color:#ccc}.photo-card[draggable=true]{cursor:grab}.photo-card.dragging{opacity:.4}.photo-card.drop-target{outline:2px dashed var(--accent);outline-offset:4px}.collection-footer{display:flex;justify-content:space-between;margin-top:35px;padding-top:15px;border-top:1px solid var(--line)}.collection-footer>div{display:flex;gap:25px}.empty{padding:90px 20px;text-align:center;color:var(--muted)}.empty>span{font-size:40px;color:var(--accent)}.empty h2{font-size:20px;color:var(--text);margin:10px}.empty p{font-size:12px}.uploads{padding:17px;background:#22221e;border:1px solid #454337;border-radius:6px;margin-top:18px}.upload-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.upload-heading strong{font-size:12px;font-weight:500}.uploads .field-help{margin:5px 0 10px;font-size:10px}.uploads ol{list-style:none;margin:0;padding:0;max-height:155px;overflow:auto}.upload-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 0;font-size:11px;border-top:1px solid #ffffff0a}.upload-row span:first-child{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-row span:last-child{color:var(--muted);font-size:10px}.upload-row.failed span:last-child{color:var(--danger)}.upload-row.complete span:last-child{color:var(--accent)}.editor{border-left:1px solid var(--line);background:#1c1c1b;min-width:0;position:sticky;top:78px;align-self:start;height:calc(100svh - 78px);overflow-y:auto;overscroll-behavior:contain}.editor-empty{padding:80px 33px;text-align:center}.editor-empty h2{font-size:21px;margin-bottom:14px}.editor-empty p:last-child{font-size:12px;color:var(--muted)}.editor-heading{padding:22px 25px 18px;display:flex;justify-content:space-between;align-items:center}.editor-heading .eyebrow{font-size:9px;margin-bottom:5px}.editor-heading h2{font-size:19px}.editor-heading .icon-button{display:none}.editor-preview{position:relative;height:210px;background:#141414;padding:16px}.editor-preview img{width:100%;height:100%;object-fit:contain}.editor-preview>span{position:absolute;bottom:7px;right:10px;color:#a9a79c;font-size:9px;background:#141414bd;padding:1px 4px}.editor-body{padding:20px 25px 35px}.photo-order{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:25px}.photo-order>span{font-size:10px;color:var(--muted)}.photo-order>div{display:flex;gap:5px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-row label{margin:0}.field-row select{margin-top:7px}.opening-option{display:flex;align-items:center;gap:8px;margin-top:20px}.opening-option input{margin:0}.opening-option+.field-help{margin-left:24px;font-size:10px}.language-heading{display:flex;align-items:center;gap:12px;margin:27px 0 17px;border-top:1px solid var(--line);padding-top:21px}.language-heading h3{font-size:15px}.language-heading>span{font-size:10px;color:var(--muted)}#editor-fields>input,#editor-fields>textarea{margin-bottom:17px;font-size:12px}#editor-fields>label{font-size:11px}.required-note{float:right;font-size:9px;color:#9d9787}.alt-details{margin:0 0 12px}.alt-details summary{cursor:pointer;font-size:10px;color:#bcb9ae;list-style-position:inside}.alt-details summary span{font-size:9px;color:#817f76;margin-left:6px}.alt-details textarea{font-size:11px;margin-top:10px}.editor-footnote{color:#827f75;font-size:10px;margin-top:28px;line-height:1.9}.modal{border:1px solid #4b483f;border-radius:9px;padding:30px;background:#22221f;color:var(--text);width:460px;max-width:calc(100% - 36px);box-shadow:0 30px 100px #0008}.modal::backdrop{background:#0009;backdrop-filter:blur(4px)}.modal h2{font-size:24px;margin-bottom:14px}.modal p:not(.eyebrow){font-size:13px;color:#bdb9ad;white-space:pre-line;line-height:1.85}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px}.modal-heading{display:flex;justify-content:space-between;gap:15px}.history-modal{width:570px;max-height:80svh}.history-list{margin-top:22px}.history-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-top:1px solid var(--line)}.history-row strong{font-size:12px;font-weight:500}.history-row p{font-size:10px!important;margin-top:3px}.history-row .button{font-size:10px}.inert-busy{opacity:.65}.editor.open{display:block}@media(min-width:1500px){.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-image{height:175px}.studio-layout{grid-template-columns:minmax(0,1fr) 420px}.collection{padding-left:45px;padding-right:45px}.editor-body{padding-left:32px;padding-right:32px}}@media(max-width:1120px){.topbar{padding:17px 22px}.wordmark{font-size:13px;letter-spacing:2px}.section-label{display:none}.save-state{display:none}.collection{padding:27px 22px 18px}.studio-layout{grid-template-columns:minmax(0,1fr) 345px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-heading{align-items:flex-start}.collection-heading h1{font-size:24px}.collection-heading .muted{font-size:10px}.collection-tools{grid-template-columns:1fr 95px 95px;gap:7px}.collection-tools input,.collection-tools select{padding:8px;font-size:11px}.gallery-note{font-size:9px;flex-direction:column;gap:3px}.upload-button{padding:7px 10px;font-size:10px}.editor-body{padding:20px}.auth{padding:60px 40px;gap:45px;grid-template-columns:1fr 360px}.auth-intro h1{font-size:34px}}@media(max-width:820px){.studio-layout{display:block}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-image{height:155px}.editor{display:none;position:fixed;z-index:20;top:75px;right:0;width:390px;max-width:100%;height:calc(100svh - 75px);box-shadow:-20px 15px 75px #0009;border-top:1px solid var(--line)}.editor-heading .icon-button{display:block}.auth{grid-template-columns:1fr;gap:45px;max-width:460px;padding:45px 25px}.auth-intro .wordmark{margin-bottom:45px}.auth-intro h1{font-size:32px}.auth-intro .eyebrow,.auth-intro>p:last-child{display:none}.auth-card{padding:27px}.conflict{flex-wrap:wrap;padding:16px 22px}.conflict>div{flex-basis:100%}.topbar{height:75px}.collection-heading .muted{font-size:12px}.gallery-note{flex-direction:row;font-size:10px}}@media(max-width:520px){.topbar{padding:12px 15px;gap:8px;height:105px;align-items:flex-start;flex-direction:column}.brand{width:100%;justify-content:space-between}.section-label{display:inline;border:0;padding:0;font-size:10px}.top-actions{width:100%;gap:7px}.top-actions .button{flex:1;min-height:34px;font-size:10px;padding:6px 8px}.save-state{display:none}.collection{padding:27px 16px 16px}.collection-heading{gap:10px;margin-bottom:22px}.collection-heading .eyebrow{font-size:8px;letter-spacing:2px}.collection-heading h1{font-size:23px}.collection-heading .muted{font-size:10px;max-width:205px}.upload-button{font-size:10px;margin-top:22px}.collection-tools{grid-template-columns:1fr 90px 85px;gap:6px}.collection-tools input{min-width:0}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-image{height:145px;padding:7px}.photo-caption{padding:9px}.gallery-note{font-size:9px;flex-direction:column;gap:3px}.editor{top:105px;width:100%;height:calc(100svh - 105px)}.editor-preview{height:225px}.editor-body{padding:20px 25px 35px}.notice{padding:12px 16px;font-size:11px}.conflict{padding:14px 16px}.modal{padding:25px}.modal h2{font-size:22px}.uploads{padding:12px}.upload-row{align-items:flex-start}.upload-row span:last-child{max-width:52%;text-align:right}.upload-row span:first-child{max-width:45%}.collection-footer .text-button{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.delete-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 32px;background:#2a2621;border-bottom:1px solid #514334;color:#d9c9ae;font-size:12px}.delete-notice>span{flex:1}.editor-heading-actions{display:flex;align-items:center;gap:7px}.button.danger{color:#dca99c;border-color:#684940}.button.danger:hover:not(:disabled){background:#442d27;border-color:#916456}.photo-delete{position:absolute;right:8px;bottom:32px;border:1px solid #63473e;border-radius:4px;background:#28211fe8;color:#d8a89b;padding:2px 7px;min-height:25px;font-size:10px;line-height:1.5}.photo-delete:hover:not(:disabled){background:#50322a;color:#f4cabd}.photo-caption strong{padding-right:42px}@media(max-width:520px){.delete-notice{padding:12px 16px;font-size:11px}.photo-delete{right:7px;bottom:31px}.editor-heading-actions .button{font-size:10px}}
.delete-notice{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:30;width:min(760px,calc(100% - 32px));border:1px solid #665340;border-radius:7px;box-shadow:0 12px 45px #0008}
