:root{--ink:#654e3b;--muted:#a18d76;--line:#ddcaae;--paper:#fffdf6;--cream:#fff7e7;--gold:#ffe2a2;--pink:#c68d81;--green:#80916c}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Microsoft YaHei","PingFang SC",sans-serif}button,input,textarea{font:inherit}button,a,label[for]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #c99675;outline-offset:3px}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:1px;margin-bottom:7px}h2{font-size:19px;margin-bottom:14px}h3{font-size:15px;margin-bottom:3px}.manager-header{max-width:1200px;margin:0 auto;padding:22px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.brand{font-weight:700;font-size:19px;white-space:nowrap}.brand span{font-size:10px;font-weight:400;margin-left:9px;color:var(--muted)}.manager-header>div{display:flex;align-items:center;gap:18px}main{max-width:1200px;margin:0 auto;padding:15px 28px 60px}.primary,.small-button,.choose-button{display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #b89872;border-radius:12px;min-height:41px;padding:10px 16px;background:#fff9eb;font-size:12px;cursor:pointer;box-shadow:0 2px 0 #dfc7a1;gap:8px}.primary{font-weight:700;background:var(--gold);border:2px solid #a87d56;box-shadow:0 3px 0 #d1ad77;min-height:45px;font-size:13px}.primary:hover,.choose-button:hover{background:#ffdb91}.primary:active,.small-button:active,.choose-button:active{transform:translateY(2px);box-shadow:none}.compact{padding:9px 16px;min-height:40px;font-size:12px}.text-button{font-size:11px;color:#ad8d72;padding:5px 0}.text-button:hover{text-decoration:underline;text-underline-offset:4px}.login-panel{max-width:420px;background:var(--paper);border:2px solid #c8ad85;border-radius:26px;margin:15px auto 0;padding:24px 30px 28px;box-shadow:6px 7px 0 #e5d4b857;text-align:center}.login-panel img{max-height:150px;width:auto;margin:0 auto 12px;object-fit:contain}.little-label{font-size:10px;letter-spacing:1px;color:#b29876;margin-bottom:7px}.muted{color:var(--muted);font-size:11px;line-height:1.7}.login-panel .muted{margin-bottom:24px}form label,.editor label{display:flex;flex-direction:column;text-align:left;font-size:11px;color:#9a8064;margin-bottom:16px;gap:7px}label>span{font-size:9px;color:#bca98e}input,textarea{width:100%;min-width:0;border:1.5px solid #d4bc98;border-radius:10px;padding:11px 12px;background:#fffaf0;color:#765638;font-size:13px}textarea{resize:vertical;min-height:80px;max-height:250px}.login-panel .primary,#new-form .primary{width:100%}.error{font-size:11px;color:#bb685f;margin:10px 0 0;white-space:pre-wrap}.welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 25px}.welcome .little-label{margin-bottom:6px}.manager-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:24px;align-items:start}.trip-sidebar{border:1.5px solid #dcc9aa;border-radius:19px;background:#fffdf3;padding:19px 14px}.trip-sidebar h2{font-size:14px;padding:0 5px;margin-bottom:15px}.trip-option{display:block;width:100%;text-align:left;padding:11px 10px;border:1.5px solid transparent;border-radius:12px;margin-bottom:6px;background:none}.trip-option[aria-pressed=true]{border-color:#c2b28b;background:#fff0cc}.trip-option strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trip-option small{display:block;color:#b19b7e;font-size:9px;margin-top:4px}.trip-sidebar .muted{font-size:10px;padding:0 6px}.editor,.editor-empty{border:1.5px solid #d7c19f;border-radius:22px;background:var(--paper);padding:26px}.editor-empty{text-align:center;padding:65px 20px}.editor-empty>span{font-size:55px;color:#c8aa7f}.editor-empty h2{margin:18px 0 10px;font-size:20px}.editor-empty p{color:#b09b7d;font-size:12px}.editor-empty .primary{margin-top:15px}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:21px}.editor-heading h2{margin:0;font-size:21px}.status-tag{padding:4px 10px;border:1px solid #d6bd98;background:#fff3d8;border-radius:20px;font-size:9px;white-space:nowrap}.status-tag.published{background:#edf2dc;color:#829564;border-color:#c0cba4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.photo-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px dashed #d6c09c;padding-top:20px;margin-top:19px;margin-bottom:13px}.photo-section-heading p{margin-bottom:0;font-size:10px;max-width:370px}.choose-button{font-size:11px;white-space:nowrap;margin:0!important;background:#eef1da;color:#829069;border-color:#b6c296;min-height:37px;padding:8px 12px;position:relative;overflow:hidden}.choose-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;padding:0}.drop-zone{border:1.5px dashed #c8b38f;border-radius:14px;padding:22px 10px;text-align:center;background:#faf6e9;cursor:pointer}.drop-zone.dragover{background:#f5e6bc;border-color:#ac875a}.drop-zone>span{font-size:27px;color:#c1a174}.drop-zone>p{font-size:12px;color:#a98a68;margin:6px 0 3px}.drop-zone>small{font-size:9px;color:#bba789}.upload-progress{border:1px solid #c9cfab;background:#f1f5df;color:#86916d;font-size:11px;padding:10px 13px;border-radius:10px;margin:14px 0}.photo-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:19px}.photo-tile{border:1px solid #dcc8a7;border-radius:12px;background:#fffaf0;padding:8px;position:relative;min-width:0}.photo-tile img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:#ede0c9}.cover-tag{position:absolute;top:13px;left:13px;background:#fff2c9;border:1px solid #ccb185;padding:2px 7px;border-radius:7px;font-size:8px}.photo-tile label{font-size:9px;margin:9px 0 0;gap:5px}.photo-tile input{font-size:10px;padding:7px 6px;border-width:1px;border-radius:6px}.photo-tools{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}.photo-tools button{font-size:9px;padding:4px;color:#ac8a69}.photo-tools button:hover{color:#845d39}.photo-tools .remove{color:#be8c7c}.photo-tools .move-controls{display:flex;gap:8px}.save-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:17px;border-top:1px dashed #d6bf9c;padding-top:22px;margin-top:26px}.save-bar p{font-size:10px;line-height:1.8;color:#a99071;margin:0;max-width:310px}.save-bar .error{color:#bb685f;margin-top:8px}.save-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.save-actions .small-button{font-size:11px;padding:9px 12px}.save-actions .primary{white-space:nowrap}.secondary-actions{display:flex;justify-content:space-between;gap:20px;margin-top:21px}.danger{color:#bc8d7e;font-size:10px}dialog{width:min(430px,calc(100% - 32px));background:var(--paper);color:var(--ink);border:2px solid #c1a37b;border-radius:21px;padding:29px;box-shadow:5px 6px 0 #5f493922}dialog::backdrop{background:#6a584c70;backdrop-filter:blur(4px)}dialog h2{font-size:22px;margin:7px 0 23px}dialog .close-button{position:absolute;right:9px;top:9px;width:34px;height:34px;font-size:25px;color:#aa8b6b}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:23px}#confirm-copy{font-size:12px;color:#ac9679;line-height:1.9}.notice{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);max-width:calc(100% - 30px);width:max-content;background:#ffedc2;border:1.5px solid #c8a974;border-radius:13px;box-shadow:3px 3px 0 #8d6e5420;padding:12px 20px;color:#976d4a;font-size:12px;z-index:50}[hidden]{display:none!important}
@media(max-width:800px){.manager-header{padding:17px 18px}.brand{font-size:16px}.brand span{display:none}.manager-header>div{gap:10px}.manager-header .small-button{font-size:9px;padding:7px 9px;min-height:32px}.manager-header .text-button{font-size:9px}main{padding:10px 15px 40px}.login-panel{margin-top:10px;padding:22px 25px;max-width:390px}.login-panel img{max-height:140px}.login-panel h1{font-size:25px}.welcome{align-items:flex-start;gap:12px;margin-bottom:20px}.welcome h1{font-size:21px;line-height:1.5}.welcome .little-label{font-size:8px}.welcome .primary{font-size:10px;padding:8px 10px;min-height:36px;white-space:nowrap;margin-top:5px}.manager-layout{grid-template-columns:1fr;gap:15px}.trip-sidebar{padding:13px;border-radius:16px}.trip-sidebar h2{font-size:12px;margin-bottom:9px}.trip-sidebar #trip-list{display:flex;gap:7px;overflow:auto}.trip-option{min-width:130px;width:auto;margin:0;flex-shrink:0;padding:8px 10px}.trip-option strong{font-size:11px}.trip-option small{font-size:8px}.trip-sidebar .muted{font-size:9px;margin:0}.editor,.editor-empty{padding:20px 17px;border-radius:18px}.editor-heading{margin-bottom:19px}.editor-heading h2{font-size:18px}.status-tag{font-size:8px;padding:4px 8px}.form-grid{gap:0 11px}.editor label{font-size:10px;margin-bottom:14px}.editor label>span{font-size:8px}.editor input,.editor textarea{padding:10px;font-size:12px}.photo-section-heading{align-items:flex-start;gap:13px}.photo-section-heading h3{font-size:14px}.photo-section-heading p{font-size:9px}.choose-button{font-size:10px;padding:7px 10px;min-height:34px}.drop-zone{padding:17px 8px}.drop-zone>p{font-size:11px}.drop-zone>small{font-size:8px}.photo-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.photo-tile{padding:7px}.photo-tile label{font-size:8px}.photo-tile input{font-size:10px;padding:7px 5px}.photo-tools button{font-size:8px;padding:3px}.cover-tag{font-size:7px;top:11px;left:11px}.save-bar{flex-direction:column;gap:15px;margin-top:22px;padding-top:18px}.save-bar p{font-size:9px;max-width:none}.save-actions{width:100%;justify-content:flex-end}.save-actions .primary{font-size:11px;flex:1}.save-actions .small-button{font-size:10px}.secondary-actions{gap:12px;margin-top:18px}.secondary-actions button{font-size:9px}.editor-empty{padding:32px 18px}.editor-empty h2{font-size:18px}.editor-empty p{font-size:10px}.notice{font-size:10px;padding:10px 15px}dialog{padding:27px 23px}.form-grid input[type=date]{max-width:100%;font-size:11px}.login-panel input{font-size:13px}}
@media(max-width:350px){.form-grid{grid-template-columns:1fr}.welcome .primary{font-size:9px}.welcome h1{font-size:19px}.photo-list{gap:8px}.photo-tools .move-controls{gap:2px}}
