:root{--bg:#f6f8fc;--surface:#fff;--text:#1d2a3c;--muted:#8b98a9;--secondary:#5e6e81;--border:#e7ecf3;--blue:#5665e9;--blue-dark:#3e4ccc;--blue-pale:#f0f2ff;--shadow:0 12px 42px rgba(28,43,75,.055);--radius:16px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #98a3ff;outline-offset:2px}.hidden{display:none!important}
.app-shell{min-height:100vh;display:flex}.sidebar{width:258px;min-height:100vh;display:flex;flex-direction:column;flex-shrink:0;background:#fff;border-right:1px solid #e8edf5;padding:28px 16px 18px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:2px 9px 34px}.brand-mark{width:43px;height:43px;background:linear-gradient(142deg,#697aff,#4556cf);color:#fff;border-radius:14px;display:grid;place-items:center;font-size:21px;font-weight:760;box-shadow:0 8px 18px #5665e933}.brand-copy strong{font-size:22px;letter-spacing:.3px}.brand-dot{color:var(--blue)}.brand-copy small{display:block;font-size:9px;letter-spacing:2px;color:#9aa5b7;margin-top:1px}.workspace{display:flex;align-items:center;gap:11px;background:#f8f9fd;border:1px solid #edf0f6;border-radius:11px;padding:11px;margin:0 5px 30px}.workspace-avatar{display:grid;place-items:center;width:32px;height:32px;background:#e4eafa;color:#4b67af;border-radius:9px;font-weight:650}.workspace strong{display:block;font-size:12px}.workspace small{display:block;font-size:10px;color:#9ca8b9;margin-top:5px}.workspace-chevron{margin-left:auto;color:#a5afbf}.nav-caption{font-size:11px;color:#aab3c2;padding:0 17px;margin:0 0 13px;letter-spacing:.5px}.nav-second{margin-top:30px}.nav{display:grid;gap:4px}.nav-item{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:13px;text-align:left;color:#6c7a8d;font-size:13px;font-weight:570;min-height:43px;padding:9px 16px;border-radius:10px}.nav-item:hover{background:#f6f7fc}.nav-item.active{color:#4c5ade;background:#eff1fe;font-weight:690}.nav-icon{width:19px;font-size:20px;line-height:1;text-align:center;font-weight:400}.nav-count{margin-left:auto;background:#edf0f7;border-radius:7px;padding:3px 7px;font-size:10px;color:#7a86a0}.sidebar-bottom{margin-top:auto}.tip-box{position:relative;overflow:hidden;background:linear-gradient(150deg,#edf0ff,#f8f9ff);border-radius:13px;margin:0 5px 20px;padding:22px 17px 17px}.tip-symbol{color:#5b64e4;font-size:22px;margin-bottom:9px}.tip-box strong{font-size:14px;line-height:1.6}.tip-box p{font-size:10px;color:#929bbb;margin:8px 0 0}.profile{display:flex;align-items:center;width:100%;background:transparent;border:0;border-top:1px solid var(--border);padding:17px 8px 0;text-align:left;gap:10px;color:var(--text)}.profile-avatar,.top-avatar{display:grid;place-items:center;border-radius:11px;background:#e7e9fd;color:#525dd1;font-weight:740}.profile-avatar{height:37px;width:37px}.profile-text{flex:1}.profile-text strong,.profile-text small{display:block;font-size:12px}.profile-text small{color:#9ca7b4;font-size:10px;margin-top:3px}.main{flex:1;min-width:0}.topbar{height:72px;display:flex;justify-content:space-between;align-items:center;padding:0 38px;background:#fff;border-bottom:1px solid #edf0f5}.breadcrumb{font-size:12px;color:#a0aabb}.breadcrumb span{margin:0 12px;color:#ced5df}.breadcrumb strong{font-weight:650;color:#516073}.topbar-actions{display:flex;align-items:center;gap:17px}.live{font-size:11px;color:#8998aa}.live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#33c9a0;margin-right:7px}.icon-btn{height:33px;width:33px;background:#fff;border:1px solid #e8edf4;border-radius:9px;color:#77869a;font-size:20px}.top-avatar{height:32px;width:32px;font-size:12px}.content-wrap{max-width:1530px;margin:0 auto;padding:34px 39px 60px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.eyebrow{font-size:11px;color:#9aa6b5;margin-bottom:11px;font-weight:650;letter-spacing:1.5px;text-transform:uppercase}.page-head h1{font-size:27px;letter-spacing:-.6px;line-height:1.3;margin:0;font-weight:740}.page-subtitle{color:#8998aa;font-size:12px;margin:10px 0 0}.primary-btn,.ghost-btn,.subtle-btn,.danger-btn{border:1px solid transparent;display:inline-flex;gap:8px;justify-content:center;align-items:center;white-space:nowrap;border-radius:9px;padding:11px 17px;font-size:12px;font-weight:700;transition:.15s}.primary-btn{background:var(--blue);color:#fff;box-shadow:0 5px 13px #5665e926}.primary-btn:hover{background:var(--blue-dark)}.ghost-btn{background:#fff;border-color:#e7ecf4;color:#53647b}.ghost-btn:hover,.subtle-btn:hover{background:#f6f8fb}.subtle-btn{background:#f4f6fb;color:#55647b}.danger-btn{color:#d95062;background:#fff4f5}.mini-btn{padding:8px 10px;font-size:11px}.flex-btns{display:flex;gap:9px;align-items:center}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat-card{min-height:133px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:15px;padding:22px;position:relative}.stat-label{font-size:12px;color:#8997aa;font-weight:560}.stat-value{font-weight:760;font-size:29px;margin-top:15px;letter-spacing:-1px}.stat-hint{font-size:10px;color:#a1adbc;margin-top:5px}.stat-icon{position:absolute;top:19px;right:18px;width:37px;height:37px;border-radius:11px;background:#eff1ff;color:#6672dd;display:grid;place-items:center;font-size:19px}.stat-card:nth-child(2) .stat-icon{background:#ebfaf5;color:#31bb94}.stat-card:nth-child(3) .stat-icon{background:#fff5e8;color:#e5ac51}.stat-card:nth-child(4) .stat-icon{background:#f0f3ff;color:#8293dc}.feature-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(112deg,#ebefff,#f8f9ff 72%);border:1px solid #e7eaff;min-height:171px;border-radius:16px;padding:26px 33px;margin-bottom:27px;overflow:hidden;position:relative}.feature-hero h2{font-size:20px;line-height:1.4;margin:0 0 8px;letter-spacing:-.3px}.feature-hero p{color:#7888a6;font-size:12px;line-height:1.7;margin:0 0 19px}.hero-art{font-size:115px;line-height:1;opacity:.24;color:#6573ed;transform:rotate(-17deg);padding-right:22px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-head h2{font-size:16px;margin:0;letter-spacing:-.2px}.section-head .section-link{background:none;border:0;color:#6975e3;font-size:12px;font-weight:680}.two-panel{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(250px,1fr);gap:21px}.panel{background:#fff;border:1px solid var(--border);border-radius:15px;padding:22px;box-shadow:var(--shadow)}.panel-tight{padding:7px 22px}.entry-row{padding:17px 0;border-bottom:1px solid #f0f2f6;display:flex;align-items:flex-start;gap:14px;cursor:pointer}.entry-row:last-child{border:0}.entry-row:hover h3{color:var(--blue)}.entry-square{width:40px;height:40px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;font-size:18px;background:#f0f3ff;color:#6879dd}.entry-square.green{background:#eaf9f2;color:#36ba92}.entry-square.amber{background:#fff6e9;color:#dda34f}.entry-square.rose{background:#fff0f1;color:#d87991}.entry-body{flex:1;min-width:0}.entry-body h3{font-size:13px;font-weight:690;margin:1px 0 7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.entry-summary{font-size:11px;color:#98a4b4;margin:0 0 10px;line-height:1.65;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.entry-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:10px;color:#a1acb9}.tag{display:inline-flex;align-items:center;border-radius:6px;background:#f1f3fa;color:#737f94;padding:4px 8px;font-size:10px;font-weight:620;white-space:nowrap}.tag.blue{background:#f0f1ff;color:#6572d8}.tag.green{background:#eaf9f2;color:#2fae88}.tag.orange{background:#fff4e8;color:#c59146}.tag.red{background:#fff1f1;color:#d47679}.tag-large{padding:7px 10px;font-size:11px;cursor:pointer;border:0}.tag-large:hover{color:#4150cc;background:#e9edff}.entry-meta .dot{color:#c7cfda}.entry-arrow{font-size:20px;color:#c6cdda;margin:10px 2px}.tag-cloud{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.tag-pill{border:1px solid #e8ecf4;border-radius:8px;background:#fbfcfe;padding:9px 11px;cursor:pointer;display:flex;align-items:center;gap:9px;color:#5c6b80;font-size:11px}.tag-pill:hover{background:#f0f2ff;color:#5c66d5}.tag-count{color:#adb7c5;font-size:10px}.small-help{font-size:11px;color:#95a1b1;line-height:1.75}.quick-help{background:#f9fbfe;padding:15px;border-radius:10px;margin-top:24px;color:#8493a6;font-size:11px;line-height:1.8}.search-toolbar{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--border);border-radius:13px;padding:12px 14px;margin-bottom:16px;box-shadow:var(--shadow)}.search-icon{font-size:20px;color:#a4afbf}.search-field{border:0;outline:none;width:100%;min-width:60px;color:#25354a;padding:7px 0;font-size:13px}.search-field:focus-visible{outline:0}.filter-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:17px}.filter-select{padding:10px 31px 10px 12px;border-radius:9px;border:1px solid var(--border);background:#fff;color:#607084;min-width:130px;font-size:12px;max-width:210px}.filter-info{font-size:11px;color:#95a0b0;margin-left:auto}.record-list{border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow);padding:3px 22px}.record-list .entry-row{padding:20px 0}.record-list .entry-summary{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px}.record-list .entry-body h3{font-size:14px}.empty{padding:60px 20px;text-align:center;background:#fff;border-radius:14px;border:1px dashed #e4e9f1}.empty-icon{width:62px;height:62px;border-radius:18px;background:#f2f4ff;color:#6974da;font-size:29px;display:grid;place-items:center;margin:0 auto 17px}.empty h3{margin:0 0 9px;font-size:16px}.empty p{color:#94a0b2;font-size:12px;line-height:1.8}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px;cursor:pointer;transition:transform .15s,box-shadow .15s;box-shadow:var(--shadow)}.product-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px #3c4b7612}.product-cover{width:46px;height:46px;background:#eef2ff;border-radius:13px;display:grid;place-items:center;color:#6674dd;font-size:22px;margin-bottom:20px}.product-card h3{font-size:15px;margin:0 0 8px}.product-code{font-size:11px;color:#99a5b5}.product-desc{font-size:11px;color:#8593a5;min-height:36px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:13px}.product-footer{border-top:1px solid #f0f2f7;display:flex;align-items:center;justify-content:space-between;padding-top:13px;margin-top:15px;color:#95a1b2;font-size:11px}.product-footer strong{color:#6170dc}.big-tags{display:flex;gap:12px;flex-wrap:wrap}.big-tag{border:1px solid #e7ebf4;background:#fff;border-radius:13px;min-width:150px;padding:18px 20px;text-align:left;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:22px}.big-tag:hover{border-color:#acb6fe;background:#fafbff}.big-tag strong{font-size:13px}.big-tag span{font-size:11px;color:#9da8b8}.members-table{background:white;border:1px solid var(--border);border-radius:14px;overflow:hidden;width:100%;border-collapse:collapse}.members-table th,.members-table td{text-align:left;padding:17px 22px;border-bottom:1px solid #f0f2f6;font-size:12px}.members-table th{color:#95a1b2;background:#fbfcfe;font-size:11px;font-weight:600}.members-table tr:last-child td{border-bottom:0}.member-cell{display:flex;align-items:center;gap:11px}.member-avatar{background:#eef0ff;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:#626dd2;font-weight:700}.table-action{color:#6170df;border:0;background:none;font-size:11px}.loader{padding:55px;text-align:center;color:#97a4b5}.loading-spinner{width:25px;height:25px;border-radius:100%;border:3px solid #e4e9fe;border-top-color:#6673e6;animation:spin .7s linear infinite;margin:30px auto}@keyframes spin{to{transform:rotate(360deg)}}
.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,#eef1ff,#f8f9fe 45%,#eff7fc);position:relative;overflow:hidden}.auth-glow{position:absolute;left:-200px;bottom:-230px;width:600px;height:600px;border-radius:50%;background:#cad3ff66;filter:blur(65px)}.auth-panel{position:relative;width:min(440px,calc(100% - 36px));background:#fff;border:1px solid #e9ecf4;border-radius:22px;padding:38px 39px 27px;box-shadow:0 24px 95px #54629f20}.auth-logo{display:flex;align-items:center;gap:13px;margin-bottom:36px}.auth-logo>span{background:var(--blue);color:#fff;width:49px;height:49px;display:grid;place-items:center;border-radius:15px;font-size:24px;font-weight:740}.auth-logo strong{display:block;font-size:23px}.auth-logo small{display:block;color:#a3acba;margin-top:4px}.auth-panel h2{font-size:22px;margin:0 0 8px}.auth-panel .sub{color:#92a0b0;font-size:12px;line-height:1.7;margin:0 0 28px}.auth-foot{text-align:center;color:#a7b1be;font-size:10px;margin:30px 0 0}.form-stack{display:grid;gap:16px}.form-group{display:grid;gap:7px}.form-label{font-size:12px;color:#546277;font-weight:620}.form-input{width:100%;padding:12px 13px;border:1px solid #e3e9f0;border-radius:9px;outline:none;background:#fff;color:#25364b}.form-input:focus{border-color:#95a1f4;box-shadow:0 0 0 3px #818cf718}.form-textarea{min-height:170px;resize:vertical;line-height:1.75}.form-hint{font-size:10px;color:#9da9b9;line-height:1.6}.auth-panel .primary-btn{width:100%;margin-top:10px;padding:14px}.error-text{font-size:11px;color:#d45169;margin:0;min-height:16px}
.layer,.drawer-overlay{position:fixed;inset:0;z-index:100;background:#1a263e80;display:grid;place-items:center;padding:20px;animation:fade .15s}.modal{background:#fff;border-radius:19px;box-shadow:0 25px 90px #16213f33;width:min(715px,100%);max-height:calc(100vh - 45px);display:flex;flex-direction:column;overflow:hidden}.modal-small{width:min(510px,100%)}.modal-head{padding:23px 28px 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef1f5}.modal-head h2{font-size:18px;margin:0}.close-x{border:0;background:#f4f6f9;color:#7a879a;border-radius:9px;width:33px;height:33px;font-size:19px}.modal-body{padding:23px 28px;overflow:auto}.modal-footer{padding:18px 28px;border-top:1px solid #edf1f5;display:flex;justify-content:flex-end;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span-2{grid-column:span 2}.checkline{display:flex;align-items:center;gap:8px;font-size:12px;color:#67778b}.drawer-overlay{justify-items:end;padding:0}.drawer{height:100vh;width:min(640px,100vw);background:#fff;box-shadow:-20px 0 80px #1b284a3d;display:flex;flex-direction:column;animation:slide .22s}.drawer-head{padding:26px 31px 17px;border-bottom:1px solid #e9edf5;display:flex;justify-content:space-between;align-items:center}.drawer-content{overflow:auto;padding:26px 31px 50px;flex:1}.drawer-title{font-size:23px;line-height:1.45;margin:17px 0 14px}.drawer-sub{font-size:11px;color:#9aa5b4}.drawer-group{margin-top:28px;padding-top:23px;border-top:1px solid #eef1f5}.drawer-group h3{font-size:13px;margin:0 0 16px}.rich-body{line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#4b5a6d;background:#fbfcfe;padding:18px 20px;border-radius:11px;border:1px solid #f0f2f6}.metadata-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:19px}.metadata-label{font-size:10px;color:#9aa6b6;margin-bottom:6px}.metadata-value{font-size:12px;color:#4b5b6f}.related-item{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f1f3f7;cursor:pointer}.related-item:last-child{border:0}.related-item .related-title{flex:1;font-size:12px;line-height:1.45}.related-item small{font-size:10px;color:#a5b0be}.file-list{display:flex;flex-direction:column;gap:9px}.file-item{display:flex;align-items:center;gap:9px;background:#f8fafd;border-radius:9px;padding:11px;color:#58677b;font-size:11px}.file-item span{flex:1;word-break:break-all}.file-item a{color:#626fde;text-decoration:none}.thumbs{display:flex;gap:9px;flex-wrap:wrap}.thumbs img{height:93px;width:93px;object-fit:cover;border:1px solid #e8edf4;border-radius:10px}.timeline{position:relative;display:grid;gap:15px}.timeline-item{padding-left:21px;border-left:2px solid #e7eaf6;position:relative}.timeline-item:before{content:"";position:absolute;height:9px;width:9px;top:1px;left:-5px;border-radius:50%;background:#828ce8}.timeline-item .moment{font-size:10px;color:#9aa7b8}.timeline-item h4{font-size:12px;margin:7px 0}.timeline-item p{font-size:11px;color:#7a899a;line-height:1.7;margin:0}.toast{background:#26344b;color:#fff;border-radius:10px;padding:13px 18px;box-shadow:0 15px 35px #17233e30;min-width:180px;font-size:12px;margin-top:8px}.toast.error{background:#bd485a}#toastLayer{position:fixed;bottom:24px;right:27px;z-index:400;pointer-events:none}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes slide{from{transform:translateX(20px);opacity:.7}to{transform:translateX(0);opacity:1}}
@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-wrap{padding:28px 24px}.topbar{padding:0 25px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.sidebar{width:70px;padding:20px 9px}.brand{padding:2px 5px 25px}.brand-copy,.workspace,.nav-caption,.nav-item:not(.active) .nav-count,.tip-box,.profile-text,.profile>span:last-child{display:none}.nav{gap:7px}.nav-item{font-size:0;justify-content:center;padding:9px}.nav-icon{font-size:22px}.profile{justify-content:center}.two-panel{grid-template-columns:1fr}.live{display:none}}@media(max-width:570px){.sidebar{display:none}.topbar{height:58px;padding:0 16px}.content-wrap{padding:24px 15px}.page-head h1{font-size:23px}.stat-grid{gap:10px}.stat-card{padding:15px;min-height:108px}.stat-value{font-size:24px}.stat-icon{width:30px;height:30px;top:13px;right:12px}.feature-hero{padding:22px}.hero-art{display:none}.product-grid{grid-template-columns:1fr}.modal-body,.modal-head,.modal-footer{padding-left:18px;padding-right:18px}.drawer-content,.drawer-head{padding-left:19px;padding-right:19px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.panel{padding:15px}.page-head{align-items:flex-start}.primary-btn{padding:10px 12px}.filter-info{margin:0}.record-list{padding:3px 13px}}

.mobile-nav{display:none}
@media(max-width:570px){
 .app-shell{padding-bottom:68px}.mobile-nav:not(.hidden){position:fixed;display:flex;align-items:center;justify-content:space-around;gap:1px;z-index:20;bottom:0;left:0;right:0;height:65px;background:#fff;border-top:1px solid #e8ecf4;padding:6px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -5px 25px #1c2e4d0a}
 .mobile-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#9da8b8;font-size:10px;flex:1;padding:4px 0}
 .mobile-nav button span{font-size:19px;line-height:1.1}
 .mobile-nav button.active{color:#5665e9;font-weight:700}
 .topbar-actions{gap:9px}.feature-hero h2{font-size:17px}
 .filter-select{max-width:none;min-width:0;flex:1}
 .content-wrap{padding-bottom:85px}
}
/* Prevent long Chinese record text from forcing horizontal page overflow. */
.two-panel>section,.panel,.record-list,.entry-row,.entry-body{min-width:0;max-width:100%}
@media(max-width:850px){.two-panel{grid-template-columns:minmax(0,1fr)}}
#mobileLogout { display: none; }
.timeline-item summary { cursor: pointer; color: var(--text); }
.timeline-item .rich-body { overflow-wrap: anywhere; }
.entry-photo {
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #f5f7fa;
  cursor: zoom-in;
}
.entry-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.record-list .entry-body h3 { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }
.entry-title { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
.entry-prices { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 12px; }
.entry-prices div { display: flex; align-items: baseline; gap: 6px; }
.entry-prices dt { font-size: 12px; color: #596776; }
.entry-prices dd { margin: 0; color: #294f43; font-weight: 700; font-variant-numeric: tabular-nums; }
.record-list .entry-meta { color: #657181; }
.search-toolbar:focus-within { outline: 2px solid #557d6d; outline-offset: 2px; }
.entry-options summary { color: var(--text); cursor: pointer; padding: 10px 0; }
.entry-supplier { margin: 8px 0; color: #475b55; font-size: 13px; overflow-wrap: anywhere; }
.photo-drop {
  position: relative; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 5px 12px; padding: 15px 12px; cursor: pointer;
  background: #f7faf8; border: 1px dashed #96afa2; border-radius: 10px;
}
.photo-drop strong { color: #245844; font-size: 14px; }
.photo-drop span, .photo-drop small, .photo-feedback { font-size: 12px; color: #58685f; }
.photo-drop small { width: 100%; text-align: center; }
.photo-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-drop:focus-within, .photo-drop.dragging { outline: 2px solid #528366; background: #edf5ee; }
.photo-tray { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-tray:empty, .photo-feedback:empty { display: none; }
.pending-photo { width: 78px; height: 78px; position: relative; }
.pending-photo img { width: 100%; height: 100%; object-fit: contain; background: #f3f5f3; border-radius: 7px; }
.pending-photo button {
  position: absolute; top: 2px; right: 2px; width: 25px; height: 25px; border-radius: 50%;
  border: 1px solid #ced8ce; background: #fff; color: #26392e; font: 18px/1 system-ui;
}
@media (hover: none) and (pointer: coarse) { .photo-drop .drop-hint { display: none; } }
.entry-options .form-grid { margin-top: 10px; }
.modal > form { display: flex; flex-direction: column; min-height: 0; }
.modal-footer { flex-shrink: 0; }
#imageViewer { width: min(92vw, 860px); max-height: 92dvh; border: 0; padding: 16px; border-radius: 14px; }
#imageViewer::backdrop { background: #152231bb; }
.image-viewer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
#imageViewer img { display: block; width: 100%; max-height: 72dvh; object-fit: contain; }
@media (max-width: 570px) {
  .entry-photo { width: 78px; height: 78px; }
  .record-list .entry-row { gap: 9px; }
  .record-list .entry-arrow { display: none; }
  .price-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #entryForm .form-input { font-size: 16px; }
}
.brand-mark { background: linear-gradient(140deg, #467664, #1e3933); box-shadow: 0 8px 18px #1e39332b; }
.auth-wrap { background: linear-gradient(130deg, #edf1e9, #f9f8f4 56%, #e7eee8); }
.auth-glow { background: #9cb6a64d; }
.auth-logo > span, .auth-panel .primary-btn { background: #1e3933; }
.auth-panel .primary-btn:hover { background: #31564b; }
.filing-footer { padding: 12px; text-align: center; font-size: 12px; }
.filing-footer a { color: #50635c; }
@media (max-width: 570px) {
  .topbar-actions { gap: 8px; }
  #topAvatar { display: none; }
  #mobileLogout { display: inline-flex; }
  .filter-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-select { width: 100%; padding-right: 14px; }
  .filter-row .tag { justify-self: start; max-width: 100%; overflow-wrap: anywhere; }
}
