/* QIENET shared UI system — aligned with homepage visual language */
:root{
  --qn-ui-primary:#087cf0;
  --qn-ui-primary-2:#1d8cff;
  --qn-ui-primary-soft:#eaf5ff;
  --qn-ui-ink:#14223c;
  --qn-ui-text:#33445f;
  --qn-ui-muted:#718099;
  --qn-ui-line:#e4edf6;
  --qn-ui-line-strong:#d4e1ee;
  --qn-ui-canvas:#f7f9fc;
  --qn-ui-surface:#ffffff;
  --qn-ui-surface-soft:#f7fbff;
  --qn-ui-success:#15966b;
  --qn-ui-success-soft:#e9f9f2;
  --qn-ui-warning:#b87417;
  --qn-ui-warning-soft:#fff4df;
  --qn-ui-danger:#c23d3d;
  --qn-ui-danger-soft:#fff0f0;
  --qn-ui-radius-sm:10px;
  --qn-ui-radius:14px;
  --qn-ui-radius-lg:18px;
  --qn-ui-shadow:0 8px 28px rgba(40,83,124,.06);
  --qn-ui-shadow-hover:0 14px 34px rgba(35,80,125,.10);
  --qn-ui-focus:0 0 0 3px rgba(8,124,240,.14);
}
html[data-theme="dark"]{
  --qn-ui-primary:#72aefc;
  --qn-ui-primary-2:#4f9cf8;
  --qn-ui-primary-soft:#172c43;
  --qn-ui-ink:#eef4fb;
  --qn-ui-text:#d7e0ea;
  --qn-ui-muted:#9facba;
  --qn-ui-line:#303b48;
  --qn-ui-line-strong:#3d4957;
  --qn-ui-canvas:#0f141b;
  --qn-ui-surface:#171e27;
  --qn-ui-surface-soft:#1c2530;
  --qn-ui-success:#64c89e;
  --qn-ui-success-soft:#153128;
  --qn-ui-warning:#e7b765;
  --qn-ui-warning-soft:#372a15;
  --qn-ui-danger:#ff9393;
  --qn-ui-danger-soft:#3a2023;
  --qn-ui-shadow:none;
  --qn-ui-shadow-hover:none;
  --qn-ui-focus:0 0 0 3px rgba(114,174,252,.18);
}

body:not(.qn-home-body){
  background:var(--qn-ui-canvas);
  color:var(--qn-ui-text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body:not(.qn-home-body) :where(h1,h2,h3,h4,h5,h6){color:var(--qn-ui-ink)}
body:not(.qn-home-body) :where(p,small,.text-muted,.muted){color:var(--qn-ui-muted)}
body:not(.qn-home-body) a{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
body:not(.qn-home-body) a:not(.qn-brand):not(.qn-nav-link):not(.navbar-menu a):not(.btn):not(.btn-publish):not(.active):not(.selected):not(.on){color:var(--qn-ui-primary)}
body:not(.qn-home-body) a:hover{text-decoration:none}

body:not(.qn-home-body) :where(
  .card,.panel,.content-section,.profile-container,.profile-info-card,.password-container,
  .group-card,.module,.ad-section,.right-sidebar,.post-item,.custom-modal,.modal-content,
  .table-container,.form-card,.auth-card,.career-card,.settings-card,.dashboard-card
){
  background:var(--qn-ui-surface);
  border-color:var(--qn-ui-line);
  border-radius:var(--qn-ui-radius);
  box-shadow:var(--qn-ui-shadow);
}
body:not(.qn-home-body) :where(.card,.group-card,.module,.post-item,.career-card){
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background-color .18s ease;
}
body:not(.qn-home-body) :where(.card,.group-card,.module,.post-item,.career-card):hover{
  border-color:#c7def4;
  box-shadow:var(--qn-ui-shadow-hover);
}
html[data-theme="dark"] body:not(.qn-home-body) :where(.card,.group-card,.module,.post-item,.career-card):hover{
  border-color:#455362;
}

body:not(.qn-home-body) :where(
  input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],
  input[type="number"],input[type="search"],input[type="date"],input[type="time"],select,textarea,.form-control
){
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface);
  border:1px solid var(--qn-ui-line-strong);
  border-radius:var(--qn-ui-radius-sm);
  box-shadow:none;
  font:inherit;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
body:not(.qn-home-body) :where(
  input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],
  input[type="number"],input[type="search"],input[type="date"],input[type="time"],select,.form-control
){min-height:44px;padding:9px 12px}
body:not(.qn-home-body) textarea{padding:11px 12px;line-height:1.55}
body:not(.qn-home-body) :where(
  input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="url"],
  input[type="number"],input[type="search"],input[type="date"],input[type="time"],select,textarea,.form-control
):focus{
  outline:0;
  border-color:#91c5f5;
  box-shadow:var(--qn-ui-focus);
}
body:not(.qn-home-body) ::placeholder{color:#98a5b5;opacity:1}
html[data-theme="dark"] body:not(.qn-home-body) ::placeholder{color:#788696}

body:not(.qn-home-body) :where(.btn,.btn-submit,input[type="submit"],input[type="button"],button[type="submit"]){
  min-height:42px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:var(--qn-ui-radius-sm);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font:inherit;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  text-decoration:none;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease;
}
body:not(.qn-home-body) :where(.btn-primary,.btn-submit,input[type="submit"],button[type="submit"]){
  color:#fff;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee);
  border-color:#0879ee;
  box-shadow:0 7px 16px rgba(8,124,240,.16);
}
body:not(.qn-home-body) :where(.btn-primary,.btn-submit,input[type="submit"],button[type="submit"]):hover{
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(8,124,240,.20);
  filter:saturate(1.04);
}
body:not(.qn-home-body) :where(.btn-secondary,.btn-light,.btn-outline-secondary){
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface);
  border-color:var(--qn-ui-line-strong);
  box-shadow:none;
}
body:not(.qn-home-body) :where(.btn-secondary,.btn-light,.btn-outline-secondary):hover{
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
  border-color:#bddbf6;
}
body:not(.qn-home-body) :where(.btn-danger,.btn-outline-danger){
  color:var(--qn-ui-danger);
  background:var(--qn-ui-danger-soft);
  border-color:#f0c6c6;
}
body:not(.qn-home-body) :where(.btn-success,.btn-outline-success){
  color:var(--qn-ui-success);
  background:var(--qn-ui-success-soft);
  border-color:#bfe7d5;
}
body:not(.qn-home-body) :where(.btn-sm,.btn-small){
  min-height:34px;
  padding:0 12px;
  border-radius:9px;
  font-size:13px;
}
body:not(.qn-home-body) :where(button,input,.btn):disabled,
body:not(.qn-home-body) :where(button,input,.btn).disabled{
  opacity:.52;
  cursor:not-allowed;
  transform:none!important;
  box-shadow:none!important;
}

body:not(.qn-home-body) :where(.alert,.message,.error-message,.success-message,.notice,.flash-message){
  border:1px solid var(--qn-ui-line);
  border-radius:var(--qn-ui-radius-sm);
  padding:11px 13px;
  box-shadow:none;
}
body:not(.qn-home-body) :where(.alert-success,.success,.success-message){color:var(--qn-ui-success);background:var(--qn-ui-success-soft);border-color:#bfe7d5}
body:not(.qn-home-body) :where(.alert-danger,.alert-error,.error,.error-message){color:var(--qn-ui-danger);background:var(--qn-ui-danger-soft);border-color:#efc9c9}
body:not(.qn-home-body) :where(.alert-warning,.warning){color:var(--qn-ui-warning);background:var(--qn-ui-warning-soft);border-color:#efd5a6}
body:not(.qn-home-body) :where(.badge,.tag,.status-badge,.pill){
  border-radius:999px;
  padding:.34em .68em;
  font-weight:700;
  line-height:1.1;
}

body:not(.qn-home-body) :where(.table,.post-table,table){
  color:var(--qn-ui-text);
  border-color:var(--qn-ui-line);
}
body:not(.qn-home-body) :where(.table,.post-table,table) th{
  color:var(--qn-ui-ink);
  background:var(--qn-ui-surface-soft);
  border-color:var(--qn-ui-line);
  font-weight:750;
}
body:not(.qn-home-body) :where(.table,.post-table,table) td{border-color:var(--qn-ui-line)}
body:not(.qn-home-body) :where(.table,.post-table,table) tbody tr{transition:background-color .14s ease}
body:not(.qn-home-body) :where(.table,.post-table,table) tbody tr:hover{background:var(--qn-ui-surface-soft)}

body:not(.qn-home-body) .pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
}
body:not(.qn-home-body) .pagination :where(a,span,.page-link){
  min-width:36px;
  height:36px;
  padding:0 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--qn-ui-line);
  border-radius:10px!important;
  background:var(--qn-ui-surface);
  color:var(--qn-ui-text);
  text-decoration:none;
  box-shadow:none;
}
body:not(.qn-home-body) .pagination :where(a,.page-link):hover{
  color:var(--qn-ui-primary);
  border-color:#b8dafa;
  background:var(--qn-ui-primary-soft);
}
body:not(.qn-home-body) .pagination :where(.active,.active .page-link){
  color:#fff!important;
  border-color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary)!important;
}

body:not(.qn-home-body) .module{border-radius:16px;box-shadow:var(--qn-ui-shadow)}
body:not(.qn-home-body) .module h3{color:var(--qn-ui-ink);border-bottom-color:var(--qn-ui-line)}
body:not(.qn-home-body) .module ul li a{color:var(--qn-ui-primary);padding:7px 0}
body:not(.qn-home-body) .profile-container{max-width:1040px;width:calc(100% - 32px);padding:28px}
body:not(.qn-home-body) .profile-info-card{background:var(--qn-ui-surface-soft)}
body:not(.qn-home-body) .user-avatar{border-color:#8ec9fb;box-shadow:0 8px 22px rgba(46,116,214,.10)}
body:not(.qn-home-body) .password-container{border-color:var(--qn-ui-line);border-radius:16px;padding:24px}
body:not(.qn-home-body) .city-state-buttons button{
  min-height:40px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee);
  box-shadow:0 6px 14px rgba(8,124,240,.14);
}

body:not(.qn-home-body) .modal-content{
  border:1px solid var(--qn-ui-line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(23,53,83,.18);
}
body:not(.qn-home-body) .modal-header,
body:not(.qn-home-body) .modal-footer{border-color:var(--qn-ui-line)}
html[data-theme="dark"] body:not(.qn-home-body) .modal-content{box-shadow:none}

body:not(.qn-home-body) :where(a,button,input,select,textarea,.btn):focus-visible{
  outline:0;
  box-shadow:var(--qn-ui-focus);
}
@media(max-width:768px){
  body:not(.qn-home-body) .profile-container{width:calc(100% - 20px);padding:18px}
  body:not(.qn-home-body) :where(.btn,.btn-submit,input[type="submit"],button[type="submit"]){min-height:42px}
  body:not(.qn-home-body) .modal-content{border-radius:14px}
}


/* High-frequency module harmonization */
body:not(.qn-home-body) .groups-page :where(.groups-hero,.filter-bar,.group-card){
  background:var(--qn-ui-surface);
  border-color:var(--qn-ui-line);
  border-radius:var(--qn-ui-radius-lg);
  box-shadow:var(--qn-ui-shadow);
}
body:not(.qn-home-body) .groups-page .groups-summary{
  color:var(--qn-ui-ink);
  background:var(--qn-ui-primary-soft);
  border-radius:12px;
}
body:not(.qn-home-body) .groups-page :where(.filter-bar .btn,.group-actions .btn,.groups-empty .btn){
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface);
  border-color:var(--qn-ui-line-strong);
  border-radius:10px;
  box-shadow:none;
}
body:not(.qn-home-body) .groups-page :where(.filter-bar .btn:hover,.filter-bar .btn:focus,.filter-bar .btn.active,.filter-bar .btn-primary,.group-actions .btn-primary,.btn-create-group){
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border-color:#0879ee!important;
  box-shadow:0 7px 16px rgba(8,124,240,.16)!important;
}
body:not(.qn-home-body) .groups-page :where(.group-actions .btn-outline-primary,.groups-empty .btn){
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-surface)!important;
  border-color:#b9d9f5!important;
}
body:not(.qn-home-body) .groups-page .group-actions .btn-outline-secondary{
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border-color:var(--qn-ui-line-strong)!important;
}
body:not(.qn-home-body) .groups-page .badge-hot{
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
}
body:not(.qn-home-body) .groups-page .pagination .page-link{
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface);
  border-color:var(--qn-ui-line);
}
body:not(.qn-home-body) .groups-page .pagination .active .page-link{
  color:#fff;
  background:var(--qn-ui-primary);
  border-color:var(--qn-ui-primary);
}

/* Recruitment V2 keeps its layout, but shares homepage color/button language */
body:not(.qn-home-body) .wrap :where(.btn.primary,.btn-primary),
body:not(.qn-home-body) :where(.pub-actions,.workspace-actions,.search-grid,.login-card) .btn.primary{
  color:#fff;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee);
  border-color:#0879ee;
  box-shadow:0 7px 16px rgba(8,124,240,.16);
}
body:not(.qn-home-body) .wrap :where(.btn.primary,.btn-primary):hover,
body:not(.qn-home-body) :where(.pub-actions,.workspace-actions,.search-grid,.login-card) .btn.primary:hover{
  color:#fff;
  background:linear-gradient(135deg,#248ff5,#0874df);
  border-color:#0874df;
}
body:not(.qn-home-body) .wrap .btn.danger{color:var(--qn-ui-danger);border-color:#efc9c9;background:var(--qn-ui-danger-soft)}
body:not(.qn-home-body) :where(.action-link,.hero-point,.pub-stat){
  border-color:var(--qn-ui-line);
  border-radius:12px;
  background:var(--qn-ui-surface-soft);
}
body:not(.qn-home-body) .action-link:hover{
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
  border-color:#bddbf6;
}
body:not(.qn-home-body) :where(.workspace-kicker,.pub-badge.blue){
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
}

/* Personal center */
body:not(.qn-home-body) .profile-page :where(.profile-header,.profile-career-primary,.content-section,.post-item,.custom-modal){
  background:var(--qn-ui-surface);
  border-color:var(--qn-ui-line);
  border-radius:var(--qn-ui-radius-lg);
  box-shadow:var(--qn-ui-shadow);
}
body:not(.qn-home-body) .profile-page :where(.profile-actions .btn,.profile-actions button,.profile-actions a,.upload-btn,.profile-tab,.profile-toggle){
  min-height:40px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface);
  border:1px solid var(--qn-ui-line-strong);
  border-radius:10px;
  box-shadow:none;
  font-weight:700;
  text-decoration:none;
  transition:.16s ease;
}
body:not(.qn-home-body) .profile-page :where(.profile-actions .btn,.profile-actions button,.profile-actions a,.upload-btn,.profile-tab,.profile-toggle):hover{
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
  border-color:#bddbf6;
  transform:translateY(-1px);
}
body:not(.qn-home-body) .profile-page :where(.profile-actions .btn-primary,.profile-tab.active,.profile-toggle[aria-expanded="true"]){
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border-color:#0879ee!important;
  box-shadow:0 6px 14px rgba(8,124,240,.14)!important;
}
body:not(.qn-home-body) .profile-page .coin-actions button{
  min-height:30px;
  padding:0 9px;
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface-soft);
  border:1px solid var(--qn-ui-line);
  border-radius:8px;
  font-weight:700;
}
body:not(.qn-home-body) .profile-page .post-summary{
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface);
  border-radius:12px;
}
body:not(.qn-home-body) .profile-page .post-summary:hover{background:var(--qn-ui-surface-soft)}
body:not(.qn-home-body) .profile-page .post-status{
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
  border-radius:999px;
}
body:not(.qn-home-body) .profile-page .coin-rule-section{
  background:var(--qn-ui-surface-soft);
  border-color:var(--qn-ui-line);
  border-radius:12px;
}
html[data-theme="dark"] body:not(.qn-home-body) .profile-page :where(.profile-actions .btn,.profile-actions button,.profile-actions a,.upload-btn,.profile-tab,.profile-toggle){
  color:var(--qn-ui-text);
  background:var(--qn-ui-surface-soft);
  border-color:var(--qn-ui-line-strong);
}

body:not(.qn-home-body) .groups-page .btn-create-group{
  align-self:center!important;
  min-height:50px!important;
  height:50px!important;
  padding:0 20px!important;
  border-radius:12px!important;
}


/* QIENET public information pages */
body:not(.qn-home-body) .qn-info-page{
  width:calc(100% - 36px);
  max-width:1080px;
  margin:28px auto 54px;
  box-sizing:border-box;
}
body:not(.qn-home-body) .qn-info-shell{
  position:relative;
  overflow:hidden;
  padding:46px 52px 50px;
  background:
    radial-gradient(circle at 100% 0,rgba(29,140,255,.09),transparent 34%),
    var(--qn-ui-surface);
  border:1px solid var(--qn-ui-line);
  border-radius:22px;
  box-shadow:0 16px 48px rgba(35,80,125,.07);
}
body:not(.qn-home-body) .qn-info-shell:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:96px;
  height:4px;
  background:linear-gradient(90deg,var(--qn-ui-primary),var(--qn-ui-primary-2));
  border-radius:0 0 999px 0;
}
body:not(.qn-home-body) .qn-info-eyebrow{
  margin-bottom:10px;
  color:var(--qn-ui-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body:not(.qn-home-body) .qn-info-title{
  max-width:780px;
  margin:0;
  color:var(--qn-ui-ink);
  font-size:clamp(30px,3vw,42px);
  line-height:1.15;
  letter-spacing:-.03em;
  font-weight:820;
}
body:not(.qn-home-body) .qn-info-divider{
  width:62px;
  height:4px;
  margin:20px 0 28px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--qn-ui-primary),#7ec5ff);
}
body:not(.qn-home-body) .qn-info-content{
  max-width:880px;
  color:var(--qn-ui-text);
  font-size:16px;
  line-height:1.82;
}
body:not(.qn-home-body) .qn-info-content :where(p,ul,ol,blockquote,table){
  margin-top:0;
  margin-bottom:18px;
}
body:not(.qn-home-body) .qn-info-content :where(h1,h2,h3,h4){
  color:var(--qn-ui-ink);
  line-height:1.28;
  letter-spacing:-.012em;
}
body:not(.qn-home-body) .qn-info-content h1{font-size:26px;margin:34px 0 14px}
body:not(.qn-home-body) .qn-info-content h2{font-size:22px;margin:32px 0 12px}
body:not(.qn-home-body) .qn-info-content h3{font-size:18px;margin:26px 0 10px}
body:not(.qn-home-body) .qn-info-content ul,
body:not(.qn-home-body) .qn-info-content ol{padding-left:1.35em}
body:not(.qn-home-body) .qn-info-content li{margin:7px 0}
body:not(.qn-home-body) .qn-info-content a{
  color:var(--qn-ui-primary);
  text-decoration:none;
  border-bottom:1px solid rgba(8,124,240,.22);
}
body:not(.qn-home-body) .qn-info-content a:hover{border-bottom-color:var(--qn-ui-primary)}
body:not(.qn-home-body) .qn-info-content blockquote{
  padding:14px 18px;
  color:var(--qn-ui-text);
  background:var(--qn-ui-primary-soft);
  border-left:4px solid var(--qn-ui-primary);
  border-radius:0 12px 12px 0;
}
body:not(.qn-home-body) .qn-info-content :where(img,video){
  max-width:100%;
  height:auto;
  border-radius:14px;
}
body:not(.qn-home-body) .qn-info-content table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--qn-ui-line);
  border-radius:12px;
}
body:not(.qn-home-body) .qn-info-content th,
body:not(.qn-home-body) .qn-info-content td{
  padding:11px 13px;
  border-bottom:1px solid var(--qn-ui-line);
}
body:not(.qn-home-body) .qn-info-content tr:last-child td{border-bottom:0}
body:not(.qn-home-body) .qn-info-legacy-content :where(.container,.content){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body:not(.qn-home-body) .qn-info-contact-card{
  max-width:880px;
  margin-top:30px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--qn-ui-surface-soft);
  border:1px solid var(--qn-ui-line);
  border-radius:14px;
}
body:not(.qn-home-body) .qn-info-contact-icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
  border-radius:12px;
  font-size:18px;
}
body:not(.qn-home-body) .qn-info-contact-card small{
  display:block;
  margin-bottom:2px;
  color:var(--qn-ui-muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
}
body:not(.qn-home-body) .qn-info-contact-card strong{
  display:block;
  font-size:16px;
}
html[data-theme="dark"] body:not(.qn-home-body) .qn-info-shell{
  box-shadow:none;
}
@media(max-width:720px){
  body:not(.qn-home-body) .qn-info-page{
    width:calc(100% - 20px);
    margin:16px auto 34px;
  }
  body:not(.qn-home-body) .qn-info-shell{
    padding:28px 20px 32px;
    border-radius:16px;
  }
  body:not(.qn-home-body) .qn-info-title{font-size:30px}
  body:not(.qn-home-body) .qn-info-content{font-size:15px;line-height:1.74}
}

/* Lock public information page canvas against legacy HTML/CSS stored in database content. */
body.qn-info-body{
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  background:var(--qn-ui-canvas)!important;
}
body.qn-info-body > .qn-site-header,
body.qn-info-body > footer{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.qn-info-body .qn-info-content > h1:first-child{
  display:none!important;
}


/* Legacy classified list pages — unified with QIENET homepage language */
body.qn-legacy-list-body{
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  background:var(--qn-ui-canvas)!important;
}
body.qn-legacy-list-body .qn-legacy-list-page{
  width:100%;
  box-sizing:border-box;
}
body.qn-legacy-list-body .qn-legacy-list-page > .container{
  width:calc(100% - 36px)!important;
  max-width:1180px!important;
  margin:26px auto 54px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.qn-legacy-list-body .top-bar{
  min-height:56px;
  margin:0 0 18px!important;
  display:flex;
  align-items:center!important;
  justify-content:space-between;
  gap:18px;
}
body.qn-legacy-list-body .top-bar h1{
  margin:0!important;
  color:var(--qn-ui-ink)!important;
  font-size:30px!important;
  line-height:1.18;
  letter-spacing:-.025em;
  font-weight:820;
}
body.qn-legacy-list-body .btn-publish{
  min-height:44px;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border:1px solid #0879ee!important;
  border-radius:12px!important;
  box-shadow:0 7px 16px rgba(8,124,240,.16)!important;
  font-weight:750;
  text-decoration:none!important;
  white-space:nowrap;
}
body.qn-legacy-list-body .btn-publish:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(8,124,240,.20)!important;
}
body.qn-legacy-list-body .nav-group{
  margin:0 0 18px!important;
  padding:0!important;
  overflow-x:auto;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.qn-legacy-list-body .nav-group ul{
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.qn-legacy-list-body .nav-group a{
  min-height:36px;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
  border-radius:999px!important;
  font-size:13px;
  font-weight:650;
  line-height:1;
  text-decoration:none!important;
  white-space:nowrap;
  cursor:pointer;
}
body.qn-legacy-list-body .nav-group a:hover{
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border-color:#b9d9f5!important;
}
body.qn-legacy-list-body .nav-group a.active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border-color:#0879ee!important;
  box-shadow:0 5px 12px rgba(8,124,240,.12);
}
body.qn-legacy-list-body .filter-toggle{
  min-height:38px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center;
  gap:7px;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #bddbf6!important;
  border-radius:999px!important;
  box-shadow:none!important;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
body.qn-legacy-list-body .filter-toggle:hover,
body.qn-legacy-list-body .filter-toggle:focus-visible,
body.qn-legacy-list-body .filter-toggle[aria-expanded="true"]{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
  box-shadow:var(--qn-ui-focus)!important;
}
body.qn-legacy-list-body #category-options{
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px solid var(--qn-ui-line)!important;
}
body.qn-legacy-list-body .post-table{
  width:100%!important;
  margin-top:16px;
  overflow:visible;
  border-collapse:collapse!important;
  border-spacing:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.qn-legacy-list-body .post-table th,
body.qn-legacy-list-body .post-table td{
  padding:14px 16px!important;
  color:var(--qn-ui-text)!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid var(--qn-ui-line)!important;
  vertical-align:middle;
}
body.qn-legacy-list-body .post-table th{
  color:var(--qn-ui-muted)!important;
  background:transparent!important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}
body.qn-legacy-list-body .post-table tbody tr:last-child td{
  border-bottom:0!important;
}
body.qn-legacy-list-body .post-row{
  transition:background-color .15s ease;
}
body.qn-legacy-list-body .post-row:hover{
  background:var(--qn-ui-primary-soft)!important;
  cursor:pointer;
}
body.qn-legacy-list-body .post-row.visited td{
  color:var(--qn-ui-muted)!important;
}
body.qn-legacy-list-body .pinned-label{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  color:#c94d57!important;
  background:#fff0f1;
  border-radius:999px;
  font-size:11px;
  font-weight:750;
}
html[data-theme="dark"] body.qn-legacy-list-body .pinned-label{
  color:#ff9ba3!important;
  background:#3a2025;
}
body.qn-legacy-list-body .pagination{
  margin:22px 0 0!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  text-align:center;
}
body.qn-legacy-list-body .pagination a,
body.qn-legacy-list-body .pagination span{
  min-width:36px;
  height:36px;
  margin:0!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:10px!important;
  text-decoration:none!important;
}
body.qn-legacy-list-body .pagination a:hover{
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border-color:#b8dafa!important;
}
body.qn-legacy-list-body .pagination span{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
}
html[data-theme="dark"] body.qn-legacy-list-body .nav-group,
html[data-theme="dark"] body.qn-legacy-list-body .post-table{
  box-shadow:none!important;
}
@media(max-width:760px){
  body.qn-legacy-list-body .qn-legacy-list-page > .container{
    width:calc(100% - 20px)!important;
    margin:16px auto 36px!important;
  }
  body.qn-legacy-list-body .top-bar{
    align-items:flex-start!important;
    flex-direction:column;
    gap:10px;
  }
  body.qn-legacy-list-body .top-bar h1{font-size:25px!important}
  body.qn-legacy-list-body .btn-publish{min-height:42px}
  body.qn-legacy-list-body .post-table th,
  body.qn-legacy-list-body .post-table td{padding:11px 10px!important;font-size:13px}
}


/* QIENET publish forms */
body.qn-publish-body{
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  background:var(--qn-ui-canvas)!important;
}
body.qn-publish-body .qn-publish-page{
  width:100%;
  box-sizing:border-box;
}
body.qn-publish-body .qn-publish-page > .container{
  width:calc(100% - 32px)!important;
  max-width:760px!important;
  margin:30px auto 56px!important;
  padding:34px 38px 38px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at 100% 0,rgba(29,140,255,.07),transparent 28%),
    var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:20px!important;
  box-shadow:0 16px 44px rgba(35,80,125,.07)!important;
}
body.qn-publish-body .header-bar{
  margin:0 0 28px!important;
  padding-bottom:20px;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px;
  border-bottom:1px solid var(--qn-ui-line);
}
body.qn-publish-body .header-bar h1{
  margin:0!important;
  color:var(--qn-ui-ink)!important;
  font-size:30px!important;
  line-height:1.2;
  letter-spacing:-.025em;
  font-weight:820!important;
}
body.qn-publish-body .btn-return{
  min-height:40px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #bddbf6!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:13px;
  font-weight:750;
  text-decoration:none!important;
  white-space:nowrap;
}
body.qn-publish-body .btn-return:hover{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
  transform:translateY(-1px);
}
body.qn-publish-body .form-group{
  margin:0 0 20px!important;
}
body.qn-publish-body .form-group > label,
body.qn-publish-body form > label{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--qn-ui-ink)!important;
  font-size:14px!important;
  font-weight:750!important;
}
body.qn-publish-body .form-group :where(
  input[type="text"],input[type="email"],input[type="password"],input[type="tel"],
  input[type="url"],input[type="number"],select,textarea
){
  width:100%!important;
  min-height:46px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.qn-publish-body .form-group textarea{
  min-height:150px!important;
  resize:vertical;
  line-height:1.65;
}
body.qn-publish-body .form-group :where(input,select,textarea):focus{
  outline:0!important;
  border-color:#91c5f5!important;
  box-shadow:var(--qn-ui-focus)!important;
}
body.qn-publish-body input[type="file"]{
  width:100%;
  min-height:46px;
  padding:8px 10px;
  box-sizing:border-box;
  color:var(--qn-ui-muted);
  background:var(--qn-ui-surface-soft);
  border:1px dashed var(--qn-ui-line-strong);
  border-radius:10px;
}
body.qn-publish-body input[type="checkbox"],
body.qn-publish-body input[type="radio"]{
  width:auto!important;
  min-height:auto!important;
  padding:0!important;
}
body.qn-publish-body .phone-container{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
body.qn-publish-body .phone-container input[type="text"]{
  min-width:0;
  flex:1 1 auto!important;
}
body.qn-publish-body .phone-container label{
  flex:0 0 auto;
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  margin:0!important;
  color:var(--qn-ui-muted)!important;
  font-size:13px!important;
  font-weight:650!important;
  white-space:nowrap;
}
body.qn-publish-body .btn-submit,
body.qn-publish-body button[type="submit"],
body.qn-publish-body input[type="submit"]{
  width:100%!important;
  min-height:48px!important;
  padding:0 20px!important;
  margin-top:4px;
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border:1px solid #0879ee!important;
  border-radius:11px!important;
  box-shadow:0 8px 18px rgba(8,124,240,.17)!important;
  font-size:15px!important;
  font-weight:800!important;
}
body.qn-publish-body .btn-submit:hover,
body.qn-publish-body button[type="submit"]:hover,
body.qn-publish-body input[type="submit"]:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 22px rgba(8,124,240,.21)!important;
}
body.qn-publish-body .notice{
  margin:20px 0 0!important;
  padding:13px 15px!important;
  color:var(--qn-ui-warning)!important;
  background:var(--qn-ui-warning-soft)!important;
  border:1px solid #efd5a6!important;
  border-radius:11px!important;
  font-size:13px!important;
  line-height:1.6;
}
body.qn-publish-body .notice a{
  color:inherit!important;
  font-weight:750;
  text-decoration:underline!important;
}
html[data-theme="dark"] body.qn-publish-body .qn-publish-page > .container{
  box-shadow:none!important;
}
@media(max-width:720px){
  body.qn-publish-body .qn-publish-page > .container{
    width:calc(100% - 20px)!important;
    margin:16px auto 36px!important;
    padding:24px 18px 28px!important;
    border-radius:16px!important;
  }
  body.qn-publish-body .header-bar{
    align-items:flex-start!important;
  }
  body.qn-publish-body .header-bar h1{font-size:25px!important}
  body.qn-publish-body .phone-container{
    align-items:stretch!important;
    flex-direction:column;
  }
}


/* QIENET classified detail page */
body.qn-detail-body{
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  background:var(--qn-ui-canvas)!important;
}
body.qn-detail-body > .container{
  width:calc(100% - 32px)!important;
  max-width:980px!important;
  margin:30px auto 56px!important;
  padding:34px 38px 38px!important;
  box-sizing:border-box!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:20px!important;
  box-shadow:0 16px 44px rgba(35,80,125,.07)!important;
}
body.qn-detail-body .post-header{
  margin:0 0 24px!important;
  padding:0 0 20px!important;
  border:0!important;
  border-bottom:1px solid var(--qn-ui-line)!important;
}
body.qn-detail-body .post-header h2{
  margin:0!important;
  color:var(--qn-ui-ink)!important;
  font-size:clamp(28px,3vw,38px)!important;
  line-height:1.22!important;
  letter-spacing:-.025em;
  font-weight:820!important;
}
body.qn-detail-body .post-meta{
  margin-top:14px!important;
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  gap:8px!important;
  color:var(--qn-ui-muted)!important;
  font-size:13px!important;
}
body.qn-detail-body .post-meta > span:not(#favorite-msg),
body.qn-detail-body .post-meta > a.icon-btn,
body.qn-detail-body .post-meta > button.icon-btn{
  margin:0!important;
}
body.qn-detail-body .post-meta > span:not(#favorite-msg){
  min-height:30px;
  padding:0 9px;
  display:inline-flex!important;
  align-items:center;
  gap:5px;
  background:var(--qn-ui-surface-soft);
  border:1px solid var(--qn-ui-line);
  border-radius:999px;
}
body.qn-detail-body .post-meta i{
  margin:0!important;
  color:var(--qn-ui-primary);
}
body.qn-detail-body .icon-btn{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #c8e0f7!important;
  border-radius:10px!important;
  box-shadow:none!important;
  cursor:pointer;
  text-decoration:none!important;
}
body.qn-detail-body .icon-btn:hover{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
  transform:translateY(-1px);
}
body.qn-detail-body .icon-btn.disabled{
  color:var(--qn-ui-muted)!important;
  background:var(--qn-ui-surface-soft)!important;
  border-color:var(--qn-ui-line)!important;
  opacity:.55;
}
body.qn-detail-body #favorite-msg{
  margin:0!important;
  color:var(--qn-ui-success)!important;
  font-size:12px!important;
  font-weight:700;
}
body.qn-detail-body .post-content{
  margin:0!important;
  color:var(--qn-ui-text)!important;
  font-size:16px!important;
  line-height:1.82!important;
  overflow-wrap:anywhere;
}
body.qn-detail-body .post-content strong{
  color:var(--qn-ui-ink);
  font-weight:780;
}
body.qn-detail-body .post-images{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
body.qn-detail-body .post-images img{
  width:100%;
  max-width:100%!important;
  margin:0!important;
  display:block;
  object-fit:cover;
  border:1px solid var(--qn-ui-line);
  border-radius:14px!important;
}
body.qn-detail-body .post-footer{
  margin:28px 0 0!important;
  padding:20px!important;
  background:var(--qn-ui-surface-soft);
  border:1px solid var(--qn-ui-line)!important;
  border-radius:14px;
}
body.qn-detail-body .contact-info p{
  margin:0 0 12px!important;
  color:var(--qn-ui-text)!important;
  font-size:14px!important;
  line-height:1.65;
}
body.qn-detail-body .contact-info p:last-child{margin-bottom:0!important}
body.qn-detail-body .contact-info strong{color:var(--qn-ui-ink)}
body.qn-detail-body .contact-info a:not(.btn){
  color:var(--qn-ui-primary)!important;
  font-weight:700;
  text-decoration:none!important;
}
body.qn-detail-body .apply-link{
  display:inline-flex!important;
  align-items:center;
  min-height:34px;
  padding:0 10px;
  margin-left:4px;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft);
  border:1px solid #bddbf6;
  border-radius:9px;
  font-weight:750!important;
  text-decoration:none!important;
}
body.qn-detail-body .apply-link:hover{
  color:#fff!important;
  background:var(--qn-ui-primary);
  border-color:var(--qn-ui-primary);
}
body.qn-detail-body #show-phone-btn{
  width:auto!important;
  min-width:auto!important;
  min-height:32px!important;
  height:32px!important;
  margin-left:8px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #bddbf6!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:750!important;
  text-decoration:none!important;
}
body.qn-detail-body #show-phone-btn:hover{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
}
body.qn-detail-body #phone-placeholder{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 10px;
  color:var(--qn-ui-muted);
  background:var(--qn-ui-surface);
  border:1px solid var(--qn-ui-line);
  border-radius:8px;
  letter-spacing:.08em;
}
body.qn-detail-body .btn-back{
  min-height:42px!important;
  margin-top:20px!important;
  padding:0 16px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #bddbf6!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-weight:750;
  text-decoration:none!important;
}
body.qn-detail-body .btn-back:hover{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
}
html[data-theme="dark"] body.qn-detail-body > .container{
  box-shadow:none!important;
}
@media(max-width:720px){
  body.qn-detail-body > .container{
    width:calc(100% - 20px)!important;
    margin:16px auto 36px!important;
    padding:24px 18px 28px!important;
    border-radius:16px!important;
  }
  body.qn-detail-body .post-header h2{font-size:27px!important}
  body.qn-detail-body .post-footer{padding:16px!important}
}


/* Recruitment publish extras */
body.qn-recruit-publish-body .recruitment-publish-card{
  width:calc(100% - 32px)!important;
  max-width:820px!important;
  margin:30px auto 56px!important;
  padding:34px 38px 38px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(29,140,255,.08),transparent 28%),
    var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:20px!important;
  box-shadow:0 16px 44px rgba(35,80,125,.07)!important;
}
body.qn-recruit-publish-body .header-copy{
  min-width:0;
}
body.qn-recruit-publish-body .publish-intro{
  margin:8px 0 0!important;
  color:var(--qn-ui-muted)!important;
  font-size:14px!important;
  line-height:1.6;
}
body.qn-recruit-publish-body .fee-note{
  display:inline-flex!important;
  align-items:center;
  min-height:28px;
  margin-top:10px;
  padding:0 10px;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #bddbf6;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
}
body.qn-recruit-publish-body .location-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.qn-recruit-publish-body .location-row > div{
  min-width:0!important;
}
body.qn-recruit-publish-body .balance-alert{
  margin:0 0 24px!important;
  padding:24px!important;
  text-align:left!important;
  background:var(--qn-ui-surface-soft)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
body.qn-recruit-publish-body .balance-alert-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  color:var(--qn-ui-primary);
  background:var(--qn-ui-primary-soft);
  border-radius:11px;
  font-weight:800;
}
body.qn-recruit-publish-body .balance-alert h2{
  margin:0 0 8px!important;
  color:var(--qn-ui-ink)!important;
  font-size:21px!important;
}
body.qn-recruit-publish-body .balance-alert p{
  margin:0 0 12px!important;
  color:var(--qn-ui-muted)!important;
  line-height:1.6;
}
body.qn-recruit-publish-body .balance-numbers{
  margin:0 0 16px!important;
  color:var(--qn-ui-text)!important;
  font-size:14px;
}
body.qn-recruit-publish-body .balance-actions{
  display:flex!important;
  flex-wrap:wrap;
  gap:10px!important;
}
body.qn-recruit-publish-body .btn-recharge,
body.qn-recruit-publish-body .btn-secondary-link{
  min-height:40px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  border-radius:10px!important;
  font-size:13px;
  font-weight:750!important;
  text-decoration:none!important;
}
body.qn-recruit-publish-body .btn-recharge{
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border:1px solid #0879ee!important;
}
body.qn-recruit-publish-body .btn-secondary-link{
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
}
html[data-theme="dark"] body.qn-recruit-publish-body .recruitment-publish-card{
  box-shadow:none!important;
}
@media(max-width:720px){
  body.qn-recruit-publish-body .recruitment-publish-card{
    width:calc(100% - 20px)!important;
    margin:16px auto 36px!important;
    padding:24px 18px 28px!important;
  }
  body.qn-recruit-publish-body .location-row{
    grid-template-columns:1fr!important;
  }
  body.qn-recruit-publish-body .balance-actions{
    flex-direction:column;
  }
}

/* Legacy detail sharing */
body.qn-legacy-detail-body .share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body.qn-legacy-detail-body .share-buttons a{
  min-height:38px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft);
  border:1px solid #bddbf6;
  border-radius:9px;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
}
body.qn-legacy-detail-body .share-buttons a:hover{
  color:#fff!important;
  background:var(--qn-ui-primary);
  border-color:var(--qn-ui-primary);
}


/* Universal publish page */
body.qn-universal-publish-body{
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
  background:var(--qn-ui-canvas)!important;
}
body.qn-universal-publish-body .publish-page{
  width:100%!important;
  padding:30px 16px 56px!important;
  box-sizing:border-box!important;
  background:transparent!important;
}
body.qn-universal-publish-body .publish-container{
  width:100%!important;
  max-width:860px!important;
  margin:0 auto!important;
  padding:34px 38px 38px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at 100% 0,rgba(29,140,255,.08),transparent 28%),
    var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:20px!important;
  box-shadow:0 16px 44px rgba(35,80,125,.07)!important;
}
body.qn-universal-publish-body .publish-top-bar{
  margin:0 0 28px!important;
  padding-bottom:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px;
  border-bottom:1px solid var(--qn-ui-line)!important;
}
body.qn-universal-publish-body .publish-top-bar h1{
  margin:0!important;
  color:var(--qn-ui-ink)!important;
  font-size:30px!important;
  line-height:1.2;
  letter-spacing:-.025em;
  font-weight:820!important;
}
body.qn-universal-publish-body .btn-return{
  min-height:40px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid #bddbf6!important;
  border-radius:10px!important;
  font-size:13px!important;
  font-weight:750!important;
  text-decoration:none!important;
}
body.qn-universal-publish-body .btn-return:hover{
  color:#fff!important;
  background:var(--qn-ui-primary)!important;
  border-color:var(--qn-ui-primary)!important;
}
body.qn-universal-publish-body .form-group{
  margin-bottom:20px!important;
}
body.qn-universal-publish-body .form-grid--two{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
body.qn-universal-publish-body .location-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.qn-universal-publish-body .form-group label,
body.qn-universal-publish-body .form-grid label{
  margin:0 0 7px!important;
  display:block!important;
  color:var(--qn-ui-ink)!important;
  font-size:14px!important;
  font-weight:750!important;
}
body.qn-universal-publish-body :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],select,textarea){
  width:100%!important;
  min-height:46px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
body.qn-universal-publish-body textarea{
  min-height:150px!important;
  resize:vertical;
  line-height:1.65;
}
body.qn-universal-publish-body :where(input,select,textarea):focus{
  outline:0!important;
  border-color:#91c5f5!important;
  box-shadow:var(--qn-ui-focus)!important;
}
body.qn-universal-publish-body input[type="file"]{
  width:100%;
  min-height:46px;
  padding:8px 10px;
  box-sizing:border-box;
  color:var(--qn-ui-muted);
  background:var(--qn-ui-surface-soft);
  border:1px dashed var(--qn-ui-line-strong);
  border-radius:10px;
}
body.qn-universal-publish-body .btn-submit{
  width:100%!important;
  min-height:48px!important;
  margin-top:4px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border:1px solid #0879ee!important;
  border-radius:11px!important;
  box-shadow:0 8px 18px rgba(8,124,240,.17)!important;
  font-size:15px!important;
  font-weight:800!important;
}
body.qn-universal-publish-body .notice{
  margin:20px 0 0!important;
  padding:13px 15px!important;
  color:var(--qn-ui-warning)!important;
  background:var(--qn-ui-warning-soft)!important;
  border:1px solid #efd5a6!important;
  border-radius:11px!important;
  font-size:13px!important;
  line-height:1.6;
}
body.qn-universal-publish-body .balance-alert{
  margin:0 0 24px!important;
  padding:24px!important;
  background:var(--qn-ui-surface-soft)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
body.qn-universal-publish-body .balance-alert-icon{
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
}
body.qn-universal-publish-body .balance-alert h2{color:var(--qn-ui-ink)!important}
body.qn-universal-publish-body .balance-alert p,
body.qn-universal-publish-body .balance-summary{color:var(--qn-ui-muted)!important}
body.qn-universal-publish-body .balance-summary strong{color:var(--qn-ui-primary)!important}
body.qn-universal-publish-body .balance-actions .recharge-link{
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border-radius:10px!important;
}
body.qn-universal-publish-body .balance-actions .back-link{
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
  border-radius:10px!important;
}
html[data-theme="dark"] body.qn-universal-publish-body .publish-container{
  box-shadow:none!important;
}
@media(max-width:720px){
  body.qn-universal-publish-body .publish-page{
    padding:16px 10px 36px!important;
  }
  body.qn-universal-publish-body .publish-container{
    padding:24px 18px 28px!important;
    border-radius:16px!important;
  }
  body.qn-universal-publish-body .form-grid--two,
  body.qn-universal-publish-body .location-grid{
    grid-template-columns:1fr!important;
    gap:0!important;
  }
}


/* Sub-directory legacy publish form compatibility */
body.qn-subpublish-body .qn-subpublish-page > .container{
  width:calc(100% - 32px)!important;
  max-width:780px!important;
  margin:30px auto 56px!important;
  padding:34px 38px 38px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at 100% 0,rgba(29,140,255,.07),transparent 28%),
    var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:20px!important;
  box-shadow:0 16px 44px rgba(35,80,125,.07)!important;
}
body.qn-subpublish-body .qn-subpublish-page > .container > h1,
body.qn-subpublish-body .qn-subpublish-page > .container > h2{
  margin:0 0 26px!important;
  padding-bottom:18px;
  color:var(--qn-ui-ink)!important;
  border-bottom:1px solid var(--qn-ui-line);
  text-align:left!important;
  font-size:30px!important;
  line-height:1.2;
  letter-spacing:-.025em;
  font-weight:820!important;
}
body.qn-subpublish-body .row,
body.qn-subpublish-body .form-group{
  margin:0 0 20px!important;
}
body.qn-subpublish-body .row > label,
body.qn-subpublish-body .form-group > label{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--qn-ui-ink)!important;
  font-size:14px!important;
  font-weight:750!important;
}
body.qn-subpublish-body .row :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],select,textarea),
body.qn-subpublish-body .form-group :where(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],select,textarea){
  width:100%!important;
  min-height:46px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.qn-subpublish-body :where(.row,.form-group) textarea{
  min-height:150px!important;
  resize:vertical;
  line-height:1.65;
}
body.qn-subpublish-body :where(.row,.form-group) :where(input,select,textarea):focus{
  outline:0!important;
  border-color:#91c5f5!important;
  box-shadow:var(--qn-ui-focus)!important;
}
body.qn-subpublish-body :where(.error,.success){
  margin:0 0 18px!important;
  padding:12px 14px!important;
  border-radius:10px!important;
  font-size:13px;
  line-height:1.55;
}
body.qn-subpublish-body .error{
  color:var(--qn-ui-danger)!important;
  background:var(--qn-ui-danger-soft)!important;
  border:1px solid #efc9c9!important;
}
body.qn-subpublish-body .success{
  color:var(--qn-ui-success)!important;
  background:var(--qn-ui-success-soft)!important;
  border:1px solid #bfe7d5!important;
}
body.qn-subpublish-body input[type="submit"],
body.qn-subpublish-body button[type="submit"]{
  width:100%!important;
  min-height:48px!important;
  padding:0 20px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--qn-ui-primary-2),#0879ee)!important;
  border:1px solid #0879ee!important;
  border-radius:11px!important;
  box-shadow:0 8px 18px rgba(8,124,240,.17)!important;
  font-size:15px!important;
  font-weight:800!important;
}
html[data-theme="dark"] body.qn-subpublish-body .qn-subpublish-page > .container{
  box-shadow:none!important;
}
@media(max-width:720px){
  body.qn-subpublish-body .qn-subpublish-page > .container{
    width:calc(100% - 20px)!important;
    margin:16px auto 36px!important;
    padding:24px 18px 28px!important;
    border-radius:16px!important;
  }
  body.qn-subpublish-body .qn-subpublish-page > .container > h1,
  body.qn-subpublish-body .qn-subpublish-page > .container > h2{
    font-size:25px!important;
  }
}


/* ===== QIENET user center unified shell · 2026-09-19 ===== */
.qn-user-center-body{
  background:
    radial-gradient(circle at 18% 0%,rgba(23,136,246,.055),transparent 30%),
    var(--qn-ui-canvas);
}
.qn-user-center-body .qn-user-center-page,
.qn-user-center-body .profile-page,
.qn-user-center-body .pin-page,
.qn-user-center-body .qn-legacy-page{
  width:min(1180px,calc(100% - 32px));
  margin:34px auto 56px;
  padding:0;
  box-sizing:border-box;
}
.qn-user-center-body.qn-user-edit-body .qn-user-center-page,
.qn-user-center-body.qn-user-password-body .qn-user-center-page,
.qn-user-center-body.qn-user-coin-body .qn-user-center-page{
  width:min(780px,calc(100% - 32px));
}
.qn-user-center-body :where(.profile-header,.content-section,.edit-profile-container,.recharge-card,.log-container>.card,.pin-card,.qn-legacy-page>.container,.qn-user-message-body>.container,.chat-container){
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:var(--qn-ui-radius-lg)!important;
  box-shadow:var(--qn-ui-shadow)!important;
}
.qn-user-center-body :where(.profile-header,.content-section,.edit-profile-container,.recharge-card,.pin-card,.qn-legacy-page>.container,.qn-user-message-body>.container,.chat-container){
  padding:26px!important;
}
.qn-user-center-body :where(h1,h2,h3){
  color:var(--qn-ui-ink)!important;
  letter-spacing:-.02em;
}
.qn-user-center-body :where(h1){font-size:clamp(1.65rem,2.5vw,2.15rem)!important;font-weight:780!important}
.qn-user-center-body :where(h2){font-size:1.3rem!important;font-weight:740!important}
.qn-user-center-body :where(label){color:var(--qn-ui-text)!important;font-weight:650!important}
.qn-user-center-body :where(input[type="text"],input[type="email"],input[type="password"],input[type="number"],textarea,select,.form-control){
  min-height:46px;
  padding:10px 13px;
  color:var(--qn-ui-ink)!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line-strong)!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
.qn-user-center-body :where(textarea.form-control){min-height:96px}
.qn-user-center-body :where(input,textarea,select,.form-control):focus{
  border-color:var(--qn-ui-primary)!important;
  box-shadow:var(--qn-ui-focus)!important;
  outline:0!important;
}
.qn-user-center-body :where(.btn,button,input[type="submit"],.pay-btn){
  min-height:42px;
  border-radius:11px!important;
  font-weight:700!important;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease!important;
}
.qn-user-center-body :where(.btn-primary,input[type="submit"],.pay-btn){
  color:#fff!important;
  background:linear-gradient(135deg,#1788f6,#0879ee)!important;
  border-color:#087cf0!important;
  box-shadow:0 8px 18px rgba(8,124,240,.16)!important;
}
.qn-user-center-body :where(.btn-primary,input[type="submit"],.pay-btn):hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(8,124,240,.20)!important;
}
.qn-user-center-body :where(.btn-outline-primary,.btn-outline-secondary,.btn-secondary){
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border-color:var(--qn-ui-line-strong)!important;
}
.qn-user-center-body .edit-profile-container,
.qn-user-center-body.qn-user-password-body .container{
  width:100%!important;
  max-width:620px!important;
  margin:0 auto!important;
}
.qn-user-center-body.qn-user-password-body .container{padding:28px!important}
.qn-user-center-body.qn-user-password-body form{display:grid;gap:8px}
.qn-user-center-body.qn-user-password-body input[type="password"]{margin:0 0 8px!important}
.qn-user-center-body .message,
.qn-user-center-body .notice,
.qn-user-center-body .alert{
  border-radius:12px!important;
}
.qn-user-center-body .profile-header{border-radius:22px!important}
.qn-user-center-body .user-avatar{
  width:88px!important;height:88px!important;border-radius:22px!important;
  border:3px solid var(--qn-ui-surface)!important;
  box-shadow:0 8px 24px rgba(30,80,125,.14)!important;
}
.qn-user-center-body .profile-actions{gap:10px!important}
.qn-user-center-body .profile-actions :where(.btn,a,button){
  min-height:42px!important;
  border-radius:11px!important;
}
.qn-user-center-body .coin-row{
  justify-content:flex-start!important;
  padding:16px 18px!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid rgba(8,124,240,.14)!important;
  border-radius:14px!important;
}
.qn-user-center-body .content-section{border-radius:18px!important}
.qn-user-center-body .post-item{
  border-radius:14px!important;
  overflow:hidden;
}
.qn-user-center-body .post-summary{
  min-height:58px;
  background:var(--qn-ui-surface-soft)!important;
}
.qn-user-center-body.qn-user-favorites-body .qn-legacy-page>.container{
  max-width:920px!important;
  margin:0 auto!important;
}
.qn-user-center-body.qn-user-favorites-body .favorite-item{
  padding:18px 20px!important;
  margin-bottom:12px!important;
  background:var(--qn-ui-surface-soft)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:14px!important;
}
.qn-user-center-body.qn-user-favorites-body .favorite-title a{
  color:var(--qn-ui-ink)!important;
  font-weight:750;
}
.qn-user-center-body.qn-user-favorites-body .btn-group{
  display:flex!important;
  justify-content:center;
  gap:10px;
  margin-top:24px!important;
}
.qn-user-center-body.qn-user-favorites-body .btn-group a{margin:0!important}
.qn-user-center-body.qn-user-pin-body .pin-card{border-radius:18px!important}
.qn-user-center-body.qn-user-pin-body .pin-cost,
.qn-user-center-body.qn-user-coin-body .rate{
  background:var(--qn-ui-primary-soft)!important;
  border-color:rgba(8,124,240,.15)!important;
  color:var(--qn-ui-primary)!important;
}
.qn-user-center-body.qn-user-coin-body .recharge-wrap{
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.qn-user-center-body.qn-user-coin-body .recharge-card{border-radius:20px!important}
.qn-user-center-body.qn-user-coin-body .summary-box{
  background:var(--qn-ui-surface-soft)!important;
  border-color:var(--qn-ui-line)!important;
  border-radius:14px!important;
}
.qn-user-center-body.qn-user-coin-body .preset{
  min-height:44px;
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface)!important;
  border-color:var(--qn-ui-line-strong)!important;
  border-radius:11px!important;
}
.qn-user-center-body.qn-user-coin-body .preset.active,
.qn-user-center-body.qn-user-coin-body .preset:hover{
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-primary-soft)!important;
  border-color:var(--qn-ui-primary)!important;
}
.qn-user-center-body.qn-user-coinlog-body .log-container{
  max-width:1040px!important;
  margin:0 auto!important;
}
.qn-user-center-body.qn-user-coinlog-body .balance-info{
  margin-bottom:16px!important;
  padding:18px 20px!important;
  background:var(--qn-ui-primary-soft)!important;
  border:1px solid rgba(8,124,240,.14)!important;
  border-radius:14px!important;
}
.qn-user-center-body.qn-user-coinlog-body .card{
  overflow:hidden;
  border-radius:18px!important;
}
.qn-user-center-body.qn-user-coinlog-body .card-header{
  padding:18px 20px!important;
  background:var(--qn-ui-surface-soft)!important;
  border-bottom:1px solid var(--qn-ui-line)!important;
}
.qn-user-center-body.qn-user-coinlog-body .table{
  margin:0!important;
  color:var(--qn-ui-text)!important;
}
.qn-user-center-body.qn-user-coinlog-body .table th{
  background:var(--qn-ui-surface-soft)!important;
  color:var(--qn-ui-ink)!important;
  font-size:13px;
  white-space:nowrap;
}
.qn-user-center-body.qn-user-coinlog-body .table :where(th,td){
  padding:13px 14px!important;
  border-color:var(--qn-ui-line)!important;
  vertical-align:middle!important;
}
.qn-user-center-body.qn-user-message-body>.container{
  max-width:1040px!important;
  margin:0 auto!important;
}
.qn-user-center-body.qn-user-message-body .nav-tabs{
  gap:6px;
  padding:6px;
  background:var(--qn-ui-surface-soft);
  border:1px solid var(--qn-ui-line)!important;
  border-radius:14px;
}
.qn-user-center-body.qn-user-message-body .nav-tabs .nav-link{
  border:0!important;
  border-radius:10px!important;
  color:var(--qn-ui-muted)!important;
  font-weight:680;
}
.qn-user-center-body.qn-user-message-body .nav-tabs .nav-link.active{
  color:var(--qn-ui-primary)!important;
  background:var(--qn-ui-surface)!important;
  box-shadow:0 4px 12px rgba(40,83,124,.08);
}
.qn-user-center-body.qn-user-message-body .tab-content{padding-top:16px}
.qn-user-center-body.qn-user-message-body .item{
  padding:18px 20px!important;
  margin-bottom:12px!important;
  background:var(--qn-ui-surface-soft)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:14px!important;
}
.qn-user-center-body.qn-user-message-body .item .meta{
  color:var(--qn-ui-muted)!important;
  font-size:12px!important;
  margin:8px 0!important;
}
.qn-user-center-body.qn-user-chat-body .chat-container{
  max-width:880px!important;
  margin:0 auto!important;
}
.qn-user-center-body.qn-user-chat-body .chat-box{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  max-width:880px!important;
  height:auto!important;
  min-height:520px;
  margin:0 auto!important;
  background:var(--qn-ui-surface)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-radius:20px!important;
  box-shadow:var(--qn-ui-shadow)!important;
  overflow:hidden;
}
.qn-user-center-body.qn-user-chat-body .chat-header{
  padding:16px 18px!important;
  background:linear-gradient(135deg,#1788f6,#0879ee)!important;
  border-radius:0!important;
}
.qn-user-center-body.qn-user-chat-body .chat-context{
  padding:14px 18px!important;
  background:var(--qn-ui-surface-soft)!important;
  border-color:var(--qn-ui-line)!important;
}
.qn-user-center-body.qn-user-chat-body .chat-body{
  min-height:330px;
  padding:18px!important;
  background:var(--qn-ui-surface)!important;
}
.qn-user-center-body.qn-user-chat-body .chat-message{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.qn-user-center-body.qn-user-chat-body .chat-message.sent{align-items:flex-end}
.qn-user-center-body.qn-user-chat-body .chat-message p,
.qn-user-center-body.qn-user-chat-body .message-item{
  max-width:min(78%,620px)!important;
  margin-bottom:5px!important;
  padding:10px 14px!important;
  border-radius:16px!important;
  line-height:1.55;
}
.qn-user-center-body.qn-user-chat-body .chat-message.sent p,
.qn-user-center-body.qn-user-chat-body .message-item.sent{
  color:#fff!important;
  background:linear-gradient(135deg,#1788f6,#0879ee)!important;
  border-bottom-right-radius:6px!important;
}
.qn-user-center-body.qn-user-chat-body .chat-message.received p,
.qn-user-center-body.qn-user-chat-body .message-item.received{
  color:var(--qn-ui-text)!important;
  background:var(--qn-ui-surface-soft)!important;
  border:1px solid var(--qn-ui-line)!important;
  border-bottom-left-radius:6px!important;
}
.qn-user-center-body.qn-user-chat-body .chat-meta,
.qn-user-center-body.qn-user-chat-body .message-meta{
  color:var(--qn-ui-muted)!important;
  font-size:11px!important;
}
.qn-user-center-body.qn-user-chat-body .chat-footer{
  padding:14px 16px!important;
  background:var(--qn-ui-surface-soft)!important;
  border-color:var(--qn-ui-line)!important;
}
.qn-user-center-body.qn-user-chat-body .chat-input-group{gap:8px}
.qn-user-center-body.qn-user-chat-body .chat-input-group .form-control{border-radius:12px!important}
.qn-user-center-body.qn-user-chat-body .chat-input-group .input-group-append{margin:0!important}
html[data-theme="dark"] .qn-user-center-body .coin-row,
html[data-theme="dark"] .qn-user-center-body.qn-user-coinlog-body .balance-info,
html[data-theme="dark"] .qn-user-center-body.qn-user-pin-body .pin-cost,
html[data-theme="dark"] .qn-user-center-body.qn-user-coin-body .rate{
  background:#172c43!important;
  border-color:#294764!important;
}
html[data-theme="dark"] .qn-user-center-body.qn-user-chat-body .chat-message.sent p,
html[data-theme="dark"] .qn-user-center-body.qn-user-chat-body .message-item.sent{
  color:#fff!important;
}
@media(max-width:760px){
  .qn-user-center-body .qn-user-center-page,
  .qn-user-center-body .profile-page,
  .qn-user-center-body .pin-page,
  .qn-user-center-body .qn-legacy-page{
    width:min(100% - 20px,1180px);
    margin:20px auto 34px;
  }
  .qn-user-center-body :where(.profile-header,.content-section,.edit-profile-container,.recharge-card,.pin-card,.qn-legacy-page>.container,.qn-user-message-body>.container,.chat-container){
    padding:18px!important;
    border-radius:15px!important;
  }
  .qn-user-center-body .profile-card-top{align-items:flex-start!important}
  .qn-user-center-body .profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .qn-user-center-body.qn-user-coin-body .summary{grid-template-columns:1fr!important}
  .qn-user-center-body.qn-user-coin-body .preset-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .qn-user-center-body.qn-user-message-body .nav-tabs{overflow-x:auto;flex-wrap:nowrap}
  .qn-user-center-body.qn-user-message-body .nav-item{flex:0 0 auto}
  .qn-user-center-body.qn-user-chat-body .chat-box{min-height:460px}
  .qn-user-center-body.qn-user-chat-body .chat-message p,
  .qn-user-center-body.qn-user-chat-body .message-item{max-width:88%!important}
}


/* QIENET unified information-list typography + persistent visited state */
.post-table,
.qn-jobseeker-table{
  width:100%;
  font-family:inherit!important;
  font-size:15px!important;
  color:var(--qn-ui-text,#253650);
}
.post-table thead th,
.qn-jobseeker-table thead th{
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.4!important;
  color:var(--qn-ui-muted,#6c7b90)!important;
}
.post-table tbody td,
.qn-jobseeker-table tbody td{
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.55!important;
  color:var(--qn-ui-text,#253650)!important;
}
.post-table tbody td:first-child,
.post-table tbody td:first-child a,
.post-table tbody td:first-child strong,
.qn-jobseeker-table tbody td:first-child,
.qn-jobseeker-table tbody td:first-child a,
.qn-jobseeker-table .qn-jobseeker-title{
  font-size:15px!important;
  font-weight:500!important;
  line-height:1.5!important;
  color:var(--qn-ui-ink,#24364f)!important;
  text-decoration:none!important;
}
.post-table .post-row,
.qn-jobseeker-table .qn-jobseeker-row{
  transition:background-color .16s ease,color .16s ease;
}
.post-table .post-row:hover td,
.qn-jobseeker-table .qn-jobseeker-row:hover td{
  background:#f5f9ff!important;
}
.post-table .post-row.qn-visited-row td,
.qn-jobseeker-table .qn-jobseeker-row.qn-visited-row td{
  background:#f7f8fa!important;
  color:#7c8796!important;
}
.post-table .post-row.qn-visited-row td:first-child,
.post-table .post-row.qn-visited-row td:first-child a,
.post-table .post-row.qn-visited-row td:first-child strong,
.qn-jobseeker-table .qn-jobseeker-row.qn-visited-row td:first-child,
.qn-jobseeker-table .qn-jobseeker-row.qn-visited-row .qn-jobseeker-title{
  color:#6f7b8b!important;
  font-weight:400!important;
}
.post-table .post-row.qn-visited-row td:first-child::after,
.qn-jobseeker-table .qn-jobseeker-row.qn-visited-row td:first-child::after{
  content:"已看过";
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin-left:9px;
  padding:1px 7px;
  border:1px solid #dde3ea;
  border-radius:999px;
  background:#fff;
  color:#8a95a3;
  font-size:11px;
  font-weight:500;
  vertical-align:middle;
}
html[data-theme="dark"] .post-table .post-row.qn-visited-row td,
html[data-theme="dark"] .qn-jobseeker-table .qn-jobseeker-row.qn-visited-row td{
  background:#17202b!important;
  color:#8f9baa!important;
}
html[data-theme="dark"] .post-table .post-row.qn-visited-row td:first-child::after,
html[data-theme="dark"] .qn-jobseeker-table .qn-jobseeker-row.qn-visited-row td:first-child::after{
  background:#111923;
  border-color:#2a3746;
  color:#9aa6b5;
}
 
.post-table .post-row.qn-visited-row td:first-child::after,
.qn-jobseeker-table .qn-jobseeker-row.qn-visited-row td:first-child::after{
  content:none!important;
  display:none!important;
}
.qn-visited-badge{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin-left:9px;
  padding:1px 7px;
  border:1px solid #dde3ea;
  border-radius:999px;
  background:#fff;
  color:#8a95a3;
  font-size:11px;
  font-weight:500;
  line-height:1.2;
  vertical-align:middle;
}
html[data-theme="dark"] .qn-visited-badge{
  background:#111923;
  border-color:#2a3746;
  color:#9aa6b5;
}

.qn-post-title-link{
  color:var(--qn-ui-ink,#24364f)!important;
  font:inherit;
  font-weight:500!important;
  text-decoration:none!important;
}
.qn-post-title-link:hover{
  color:var(--qn-ui-primary,#087cf0)!important;
  text-decoration:none!important;
}
.qn-post-title-link:visited{
  color:#758193!important;
}
html[data-theme="dark"] .qn-post-title-link:visited{
  color:#8997a8!important;
}
