:root{--green:#16864b;--green-dark:#106c3c;--green-pale:#edf8f0;--ink:#1f3026;--muted:#748078;--line:#e6ece7;--soft:#f7f9f7;--red:#b23c3c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #89cba4;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.25;letter-spacing:-1px;margin-bottom:10px}h2{font-size:21px;line-height:1.4}h3{font-size:16px}small{font-size:12px}.test-banner{height:32px;padding:0 20px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;background:#f0f7eb;color:#54713f;position:sticky;top:0;z-index:30}.banner-extra{border-left:1px solid #cdddc3;margin-left:6px;padding-left:13px}.status-dot{width:6px;height:6px;border-radius:50%;background:#84a66a}.site-header{max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:space-between;height:90px;padding:0 24px;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;gap:12px;align-items:center;font-size:21px;font-weight:700;line-height:1.4}.brand small{display:block;color:var(--muted);font-size:11px;font-weight:400;letter-spacing:1px}.brand-icon{width:42px;height:42px;display:grid;place-content:center;border-radius:12px;background:var(--green);color:white;font-size:29px;line-height:1}.header-actions{display:flex;gap:20px;align-items:center}.admin-link{font-size:13px;color:var(--muted)}.admin-link:hover{color:var(--green)}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 21px;border:1px solid transparent;border-radius:8px;background:var(--green);color:#fff;font-weight:600;line-height:1.4;white-space:normal;text-align:center}.button:hover{background:var(--green-dark)}.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.button.secondary:hover{background:var(--soft)}.button.subtle{background:var(--green-pale);color:var(--green)}.button.subtle:hover{background:#e0f1e5}.button.compact{min-height:36px;padding:7px 14px;font-size:13px}.button.danger{background:#fff5f5;color:var(--red)}.button.full{width:100%}.page{max-width:1000px;margin:0 auto;padding:40px 24px 130px;min-height:calc(100vh - 122px)}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700;margin-bottom:10px}.muted,.subtitle{color:var(--muted)}.subtitle{font-size:14px;margin:0}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.segmented{display:flex;border:1px solid var(--line);border-radius:9px;padding:4px;gap:4px;flex-shrink:0;background:var(--soft)}.segmented button{min-width:100px;min-height:38px;border:0;border-radius:6px;color:var(--muted);background:transparent;font-weight:600}.segmented button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #193d1910}.search-form{display:flex;gap:8px;flex:1;max-width:440px}.search-form input{min-width:0;flex:1}.search-form .button{min-width:66px;padding:10px 16px}input,select,textarea{width:100%;border:1px solid #dce5de;border-radius:8px;background:#fff;color:var(--ink);padding:11px 13px;line-height:1.4;min-height:44px}input::placeholder,textarea::placeholder{color:#9da69f}input:disabled{background:var(--soft)}textarea{resize:vertical;min-height:110px}.list-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin:16px 0 10px}.listing-list{border-top:1px solid var(--line)}.listing-card{padding:22px 8px;border-bottom:1px solid var(--line)}.listing-main{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.listing-open{border:0;background:none;text-align:left;padding:0;color:var(--ink);font-weight:600;font-size:17px;line-height:1.55;word-break:break-word}.listing-open:hover{color:var(--green)}.listing-name{display:flex;align-items:flex-start;gap:9px;margin-bottom:10px}.tag{display:inline-flex;align-items:center;white-space:nowrap;flex-shrink:0;padding:3px 8px;font-size:11px;line-height:1.5;border-radius:5px;font-weight:500;background:#f0f4f0;color:#748077}.tag.supply,.tag.approved,.tag.paid{background:var(--green-pale);color:var(--green)}.tag.demand{background:#f0f4fc;color:#5a709a}.tag.pending{background:#fff7e8;color:#a17c36}.tag.rejected{background:#fff0ee;color:var(--red)}.listing-meta{display:flex;flex-wrap:wrap;gap:0 14px;color:var(--muted);font-size:13px}.listing-price{white-space:nowrap;flex-shrink:0;font-weight:700;font-size:20px;color:var(--green);line-height:1.35;text-align:right}.listing-price small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:6px}.listing-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px;flex-wrap:wrap}.empty,.loading,.error-state{padding:60px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px;background:#fcfdfc}.empty-symbol{font-size:32px;color:#b7c6bb;display:block;margin-bottom:12px}.empty h3,.error-state h3{color:var(--ink);margin-bottom:8px}.empty p,.error-state p{font-size:14px;margin-bottom:20px}.pager{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:26px;font-size:13px;color:var(--muted)}.bottom-nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:360px;max-width:calc(100% - 28px);height:70px;display:flex;border:1px solid var(--line);border-radius:16px;background:#ffffffed;box-shadow:0 7px 36px #203d2412;backdrop-filter:blur(12px);z-index:25;padding:5px}.bottom-nav a{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;border-radius:11px;color:var(--muted);font-size:14px}.bottom-nav a span{font-size:24px;font-weight:400;line-height:1}.bottom-nav a.active{background:var(--green-pale);color:var(--green);font-weight:600}.form-card{border:1px solid var(--line);border-radius:14px;padding:28px;max-width:760px;margin:auto}.form-card h2{margin:0 0 22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:block;font-size:13px;font-weight:600}.field>input,.field>select,.field>textarea{display:block;margin-top:7px;font-weight:400}.field.wide{grid-column:1/-1}.required{color:var(--green);margin-left:3px}.hint{font-size:12px;color:var(--muted);font-weight:400;display:block;margin-top:7px}.check-label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;margin-top:8px}.check-label input{width:16px;min-height:16px;height:16px;margin:0;accent-color:var(--green)}.form-section{margin:26px 0 18px;border-top:1px solid var(--line);padding-top:23px}.form-section h3{margin-bottom:5px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.notice{background:var(--soft);border-radius:8px;padding:13px 16px;font-size:13px;color:var(--muted);margin:20px 0;line-height:1.8}.notice.warning{background:#fff8e9;color:#9a793e}.image-upload{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.upload-tile{width:100px;height:90px;border:1px dashed #c6d7ca;border-radius:8px;background:var(--soft);color:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font-size:12px}.upload-tile span{font-size:24px;line-height:1.2;margin-bottom:7px}.upload-tile input{display:none}.image-preview{position:relative;width:100px;height:90px}.image-preview img{width:100%;height:100%;object-fit:cover;border-radius:8px;background:var(--soft)}.image-preview button{position:absolute;right:3px;top:3px;width:25px;height:25px;border:0;border-radius:50%;background:#ffffffee;color:var(--red)}.profile{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.profile-main{display:flex;align-items:center;gap:16px}.avatar{width:52px;height:52px;display:grid;place-content:center;border-radius:50%;background:var(--green-pale);font-size:22px;color:var(--green);font-weight:600}.profile h1{font-size:24px;margin:0 0 4px}.profile p{margin:0;color:var(--muted);font-size:12px}.membership-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 30px;border:1px solid #d5e8da;border-radius:12px;background:linear-gradient(100deg,#eef8f0,#fafcf7);margin-bottom:30px}.membership-card h2{font-size:20px;margin:0 0 7px}.membership-card p{margin:4px 0;font-size:13px;color:#68816d}.membership-price{font-size:23px;font-weight:700;color:var(--green);white-space:nowrap;margin-bottom:10px;text-align:right}.membership-price small{font-size:12px;color:#68816d;font-weight:400}.mine-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:18px}.mine-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:12px 0;font-weight:500}.mine-tabs button.active{color:var(--green);border-bottom-color:var(--green)}.order-card{border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:12px}.order-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-top h3{margin:0;font-size:16px}.order-meta{color:var(--muted);font-size:12px;margin:9px 0;overflow-wrap:anywhere}.order-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.order-price{font-size:20px;font-weight:600}.order-actions{display:flex;gap:8px}.login-card{max-width:560px;margin:20px auto;text-align:center;padding:50px 30px;border:1px solid var(--line);border-radius:14px}.login-card .avatar{margin:0 auto 20px}.identity-options{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.identity-option{flex:1;min-width:120px}.login-card p{color:var(--muted);font-size:14px}.panel-dialog,.confirm-dialog{border:1px solid var(--line);padding:0;border-radius:16px;box-shadow:0 20px 100px #0002;color:var(--ink);max-height:90dvh;width:calc(100% - 32px)}.panel-dialog{max-width:630px}.confirm-dialog{max-width:430px;padding:28px}.panel-dialog::backdrop,.confirm-dialog::backdrop{background:#14291f66;backdrop-filter:blur(2px)}.panel-header{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line);padding:18px 24px;display:flex;align-items:center;justify-content:space-between}.panel-header h2{margin:0;font-size:17px}.close-button{border:0;background:var(--soft);color:var(--muted);border-radius:50%;width:32px;height:32px;font-size:23px;line-height:1}.panel-body{padding:26px}.detail-title{font-size:24px;margin:13px 0 20px;line-height:1.5;word-break:break-word}.detail-price{font-size:30px;color:var(--green);font-weight:700;margin-bottom:22px}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:20px 0}.detail-facts dt{font-size:12px;color:var(--muted);margin-bottom:4px}.detail-facts dd{font-size:14px;margin:0;word-break:break-word}.detail-images{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.detail-images img{width:100%;height:125px;object-fit:cover;border-radius:8px;background:var(--soft)}.detail-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.contact-box{margin-top:24px;padding:22px;border:1px solid #dce9df;border-radius:10px;background:#f8fbf8}.contact-box h3{margin:0 0 9px}.contact-box p{font-size:13px;color:var(--muted);margin:7px 0 16px}.contact-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.contact-value{font-weight:600;word-break:break-all}.contact-value small{display:block;font-weight:400;color:var(--muted);margin-bottom:3px}.contact-tools{display:flex;gap:6px;flex-shrink:0}.unlock-actions{display:flex;gap:10px;flex-wrap:wrap}.unlock-actions .button{flex:1}.access-label{font-size:11px;color:var(--green);font-weight:400;margin-left:6px}.confirm-dialog h2{font-size:20px;margin-bottom:12px}.confirm-dialog p{font-size:14px;color:var(--muted);white-space:pre-line}.confirm-summary{padding:15px 0;font-size:27px;font-weight:700;color:var(--green);border-top:1px solid var(--line)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#243b2f;color:white;padding:12px 20px;box-shadow:0 4px 20px #0002;border-radius:10px;font-size:14px;z-index:100;pointer-events:none;text-align:center;white-space:normal}.error-inline{color:var(--red);font-size:13px;margin:10px 0}.status-note{font-size:12px;color:var(--red);margin-top:10px;word-break:break-word}.service-alert{border:1px solid #ebd7b1;border-radius:8px;padding:14px 18px;background:#fffaf0;color:#8c7044;font-size:13px;margin-bottom:22px}.inline-link{border:0;padding:0;background:none;color:var(--green);text-decoration:underline;font-size:inherit}.session-id{font-family:monospace;color:var(--muted);font-size:11px}.form-error{font-size:13px;color:var(--red);margin-top:14px}.panel-error{border-radius:8px;padding:12px 15px;background:#fff2f0;color:var(--red);margin:14px 24px}.identity-current{font-size:13px;background:var(--soft);padding:12px;border-radius:8px;margin:20px 0}.copy-fallback{display:block;margin-top:10px;font-size:13px;color:var(--muted)}
@media(max-width:680px){.site-header{height:77px;padding:0 18px}.brand{font-size:18px;gap:9px}.brand-icon{width:35px;height:35px;font-size:25px;border-radius:9px}.brand small{font-size:10px}.header-actions{gap:10px}.admin-link{font-size:11px}.header-actions .button{font-size:12px;padding:7px 10px;max-width:105px}.banner-extra{display:none}.page{padding:28px 18px 115px}.page-heading{margin-bottom:25px;gap:10px}.page-heading>.button{padding:10px 14px;font-size:13px}h1{font-size:26px}.eyebrow{font-size:10px}.subtitle{font-size:12px}.filterbar{flex-direction:column;align-items:stretch;gap:14px}.segmented{align-self:flex-start}.segmented button{min-width:95px}.search-form{max-width:none;width:100%}.listing-card{padding:20px 0}.listing-main{gap:12px}.listing-name{gap:6px}.listing-open{font-size:15px}.listing-price{font-size:17px}.listing-meta{font-size:12px;gap:0 10px}.listing-name .tag{font-size:10px;padding:3px 6px}.bottom-nav{bottom:0;max-width:none;width:100%;height:calc(65px + env(safe-area-inset-bottom));padding:4px 16px calc(4px + env(safe-area-inset-bottom));border-radius:0;border-left:0;border-right:0;border-bottom:0;box-shadow:0 -4px 20px #203d2408}.bottom-nav a{flex-direction:column;gap:0;font-size:11px;border-radius:10px}.bottom-nav a span{font-size:23px}.form-card{padding:20px 16px}.form-grid{gap:17px 14px}.form-section{margin-top:23px}.profile{align-items:flex-start}.profile-main{gap:11px}.profile h1{font-size:20px}.profile .avatar{height:45px;width:45px;font-size:19px}.profile>.button{font-size:11px;padding:7px 9px;min-height:32px}.membership-card{padding:22px 18px;gap:12px;align-items:flex-start}.membership-card h2{font-size:17px}.membership-card p{font-size:12px}.membership-price{font-size:22px;margin-bottom:12px}.membership-price small{display:block}.membership-card .button{font-size:12px;padding:9px 13px}.mine-tabs{gap:24px}.mine-tabs button{font-size:14px}.order-card{padding:17px 15px}.order-top h3{font-size:14px}.order-actions .button{padding:7px 10px;font-size:12px}.order-price{font-size:18px}.panel-header{padding:16px 20px}.panel-body{padding:22px 20px}.detail-title{font-size:21px}.detail-images img{height:95px}.contact-box{padding:18px 14px}.contact-line{flex-wrap:wrap}.contact-tools .button{min-height:32px;font-size:12px;padding:6px 10px}.unlock-actions{flex-direction:column}.toast{bottom:88px}.login-card{padding:36px 20px}.empty,.loading,.error-state{padding:45px 16px}.confirm-dialog{padding:23px}.form-actions .button{flex:1}.test-banner{font-size:11px;height:30px}.form-grid>.field.mobile-wide{grid-column:1/-1}.panel-error{margin:12px 20px}}
