/* Live'n Travel partner portal — styled to match visitxingyi.com booking pages
   (palette #202c29 / #1a5c3f, Georgia headings, 4px radius, 700px breakpoint). */
:root{font-family:-apple-system,"PingFang SC","Microsoft YaHei","PingFang TC","Microsoft JhengHei",Arial,sans-serif;color:#202c29;background:#fff;line-height:1.55;font-size:16px}
*{box-sizing:border-box;letter-spacing:0}
body{margin:0}
a{color:#1a5c3f;text-underline-offset:4px}
[hidden]{display:none!important}

header,footer{max-width:1120px;margin:auto;padding:22px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}
header{border-bottom:1px solid #e1e6e2}
.brand{text-decoration:none;font-weight:700;font-size:24px;color:#202c29}
.brand span{color:#1a5c3f}
.head-note{font-size:14px;color:#64746a}
.head-right{display:flex;align-items:center;gap:16px}
.home-btn{font-size:14px;font-weight:600;color:#1a5c3f;text-decoration:none;border:1px solid #b8c6bd;border-radius:4px;padding:9px 16px;background:#fff;white-space:nowrap}
.home-btn:hover{background:#eef5f0}
footer{font-size:13px;color:#64746a;border-top:1px solid #e1e6e2;flex-wrap:wrap}

main{max-width:1120px;margin:auto;padding:36px 32px 64px}
.narrow{max-width:720px}
.eyebrow{font-size:12px;font-weight:700;color:#1a5c3f;margin:0 0 10px;letter-spacing:.08em}
h1{font-family:Georgia,"Songti SC","SimSun",serif;font-size:38px;font-weight:400;line-height:1.2;margin:0 0 16px}
h2{font-size:20px;line-height:1.3;margin:0 0 20px}
h2.section-title{margin-top:34px}
.lede{color:#3d4a44;line-height:1.75;margin:0 0 8px}

.panel{border-top:1px solid #dce3de;margin-top:26px;padding-top:26px}
.panel h2{margin-bottom:6px}

label{display:block;font-size:14px;font-weight:600;margin:0 0 16px}
input,select{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #b8c6bd;border-radius:4px;min-height:46px;font:inherit;font-size:16px;color:#202c29;background:#fff}
input:focus,select:focus,button:focus-visible{outline:2px solid #1a5c3f;outline-offset:2px}
input[type=file]{border:0;padding:6px 0;min-height:0;font-size:14px}
input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.fields>*{min-width:0}
.fields label{margin-bottom:16px}

button{font:inherit;font-size:15px;font-weight:600;cursor:pointer;border:1px solid #b8c6bd;border-radius:4px;padding:12px 18px;background:#fff;color:#1a5c3f;min-height:46px}
button:hover{background:#eef5f0}
button:disabled{cursor:wait;opacity:.6}
button.primary{background:#1a5c3f;color:#fff;border-color:#1a5c3f}
button.primary:hover{background:#164e36}
button.small{padding:7px 13px;min-height:38px;font-size:14px}
button.grow{flex:1}
#my-listings button[data-act="submit"]{background:#1a5c3f;color:#fff;border-color:#1a5c3f}
#my-listings button[data-act="submit"]:hover{background:#164e36}
#a-submit,#add-listing{width:100%}

.row{display:flex;gap:12px;align-items:center;margin:4px 0 14px;flex-wrap:wrap}
.row.between{justify-content:space-between}
.me-line{margin:0}
.msg{font-size:14px;font-weight:600}
.msg.ok{color:#1a5c3f}
.msg.err{color:#8b2525}
p.msg.err{background:#fff0ef;border-left:4px solid #a83838;padding:10px 14px}
.note{color:#64746a;font-size:13px;line-height:1.6}

.card{border:1px solid #dce3de;border-radius:4px;padding:16px 18px;margin:12px 0;background:#fff}
.card .title{font-weight:700;font-size:16px}
.card .row{margin:12px 0 0}
.chip{display:inline-block;border-radius:999px;padding:2px 11px;font-size:12.5px;font-weight:600;background:#eef1ee;color:#3d4a44;margin-left:8px;vertical-align:2px}
.chip.live{background:#1a5c3f;color:#fff}
.chip.pending{background:#b8860b;color:#fff}
.chip.rejected{background:#a83838;color:#fff}
.fileline{font-size:14px;color:#3d4a44;margin:6px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}

@media(max-width:700px){
  header,footer{padding:16px 20px}
  .brand{font-size:21px}
  .head-note{display:none}
  main{padding:26px 20px 50px}
  h1{font-size:30px}
  .fields{grid-template-columns:1fr;gap:0}
  footer{flex-direction:column;align-items:flex-start;gap:4px}
  .row>button{flex:1 1 auto}
}
