:root{
  --awb-bg:#050505;
  --awb-bg-soft:#0d0b08;
  --awb-panel:#13100c;
  --awb-panel-strong:#19140e;
  --awb-panel-soft:rgba(20,16,11,.92);
  --awb-line:rgba(201,165,91,.2);
  --awb-line-strong:rgba(226,197,129,.4);
  --awb-gold:#c9a55b;
  --awb-gold-soft:#ead6a2;
  --awb-text:#f4efe4;
  --awb-muted:rgba(244,239,228,.68);
  --awb-muted-soft:rgba(244,239,228,.45);
  --awb-shadow:0 26px 80px rgba(0,0,0,.45);
  --awb-radius:26px;
  --awb-success:#7fcf9d;
  --awb-warn:#dfba72;
  --awb-danger:#d9877f;
  --awb-info:#8ab6d8;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  min-height:100%;
  font-family:"Microsoft YaHei","PingFang SC","Noto Serif SC","SimSun",serif;
  background:
    radial-gradient(circle at top, rgba(201,165,91,.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(201,165,91,.08), transparent 30%),
    linear-gradient(180deg, #090909 0%, #050505 48%, #080706 100%);
  color:var(--awb-text);
}

body.awb-body{
  position:relative;
  overflow-x:hidden;
}

body.awb-body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(201,165,91,.03) 50%, transparent 100%),
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 28%, transparent 72%, rgba(201,165,91,.03));
}

body.awb-body::after{
  content:"";
  position:fixed;
  inset:18px;
  pointer-events:none;
  border:1px solid rgba(201,165,91,.08);
  border-radius:28px;
}

a{
  color:inherit;
}

button,
input,
textarea,
select{
  font:inherit;
}

.awb-shell{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
  padding:30px 0 28px;
}

.awb-topbar{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  border-radius:30px;
  border:1px solid var(--awb-line);
  background:
    radial-gradient(circle at top right, rgba(201,165,91,.12), transparent 32%),
    linear-gradient(180deg, rgba(22,18,13,.96), rgba(10,9,8,.98));
  box-shadow:var(--awb-shadow);
  overflow:hidden;
}

.awb-topbar::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  top:-120px;
  right:-70px;
  border:1px solid rgba(201,165,91,.08);
  border-radius:28px;
  transform:rotate(45deg);
}

.awb-brand{
  position:relative;
  z-index:1;
  min-width:0;
}

.awb-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:var(--awb-gold);
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
}

.awb-eyebrow::before,
.awb-eyebrow::after{
  content:"";
  width:28px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,165,91,.72), transparent);
}

.awb-title{
  margin:0;
  font-size:clamp(26px, 4.4vw, 42px);
  line-height:1.15;
  font-weight:600;
  letter-spacing:1px;
}

.awb-subtitle{
  margin:12px 0 0;
  color:var(--awb-muted);
  font-size:14px;
  line-height:1.9;
}

.awb-top-actions{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}

.awb-hero{
  position:relative;
  margin-top:22px;
  padding:24px;
  border-radius:28px;
  border:1px solid var(--awb-line);
  background:
    radial-gradient(circle at bottom left, rgba(201,165,91,.12), transparent 28%),
    linear-gradient(180deg, rgba(18,15,11,.98), rgba(9,8,7,.98));
  box-shadow:var(--awb-shadow);
  overflow:hidden;
}

.awb-hero::after{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,165,91,.22), transparent);
}

.awb-hero-title{
  margin:0;
  font-size:28px;
  line-height:1.3;
  font-weight:600;
}

.awb-hero-copy{
  margin:12px 0 0;
  color:var(--awb-muted);
  font-size:14px;
  line-height:1.9;
}

.awb-agent-line{
  margin-top:16px;
  color:var(--awb-gold-soft);
  font-size:13px;
  letter-spacing:.4px;
}

.awb-badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.awb-badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(201,165,91,.16);
  background:rgba(201,165,91,.06);
  color:var(--awb-gold-soft);
  font-size:12px;
  letter-spacing:1.2px;
}

.awb-section{
  margin-top:22px;
}

.awb-section-title{
  margin:0 0 14px;
  color:var(--awb-gold-soft);
  font-size:15px;
  letter-spacing:1px;
}

.awb-grid{
  display:grid;
  gap:18px;
}

.awb-grid.two{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.awb-grid.three{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.awb-grid.four{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.awb-card{
  position:relative;
  padding:22px 20px;
  border-radius:24px;
  border:1px solid var(--awb-line);
  background:
    radial-gradient(circle at top right, rgba(201,165,91,.1), transparent 30%),
    linear-gradient(180deg, rgba(20,16,11,.98), rgba(9,8,7,.98));
  box-shadow:var(--awb-shadow);
  overflow:hidden;
}

.awb-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,.03), transparent 24%);
}

.awb-card h3,
.awb-card h4{
  position:relative;
  z-index:1;
  margin:0 0 10px;
  font-weight:600;
}

.awb-card p{
  position:relative;
  z-index:1;
  margin:0;
  color:var(--awb-muted);
  font-size:14px;
  line-height:1.9;
}

.awb-stat-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}

.awb-stat-card{
  position:relative;
  padding:22px 20px 20px;
  border-radius:24px;
  border:1px solid rgba(201,165,91,.16);
  background:
    radial-gradient(circle at top right, rgba(201,165,91,.1), transparent 34%),
    linear-gradient(180deg, rgba(18,15,11,.98), rgba(10,9,8,.98));
  box-shadow:var(--awb-shadow);
  overflow:hidden;
}

.awb-stat-card::after{
  content:"";
  position:absolute;
  top:16px;
  right:16px;
  width:56px;
  height:56px;
  border:1px solid rgba(201,165,91,.08);
  border-radius:18px;
  transform:rotate(45deg);
}

.awb-stat-label{
  position:relative;
  z-index:1;
  margin:0;
  color:var(--awb-muted-soft);
  font-size:12px;
  line-height:1.7;
  letter-spacing:1px;
}

.awb-stat-value{
  position:relative;
  z-index:1;
  margin-top:14px;
  color:var(--awb-text);
  font-size:34px;
  line-height:1;
  font-weight:600;
  letter-spacing:.5px;
}

.awb-stat-note{
  position:relative;
  z-index:1;
  margin-top:10px;
  color:var(--awb-gold-soft);
  font-size:12px;
  line-height:1.7;
}

.awb-shortcut-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.awb-shortcut{
  text-decoration:none;
}

.awb-shortcut .awb-card{
  min-height:184px;
}

.awb-shortcut-title{
  position:relative;
  z-index:1;
  margin:0 0 10px;
  font-size:22px;
  line-height:1.35;
}

.awb-shortcut-copy{
  position:relative;
  z-index:1;
  color:var(--awb-muted);
  font-size:14px;
  line-height:1.9;
}

.awb-link-box{
  position:relative;
  z-index:1;
  margin-top:16px;
  padding:14px 14px 0;
  border-radius:18px;
  border:1px solid rgba(201,165,91,.14);
  background:rgba(8,8,8,.65);
}

.awb-link-output{
  width:100%;
  min-height:120px;
  resize:none;
  border:none;
  background:transparent;
  color:var(--awb-gold-soft);
  font-size:13px;
  line-height:1.8;
  outline:none;
}

.awb-link-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.awb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.awb-btn:hover{
  transform:translateY(-2px);
}

.awb-btn:active{
  transform:translateY(0);
}

.awb-btn-primary{
  border-color:var(--awb-line-strong);
  background:linear-gradient(180deg, rgba(201,165,91,.26), rgba(133,95,31,.22));
  color:#f9f3e5;
  box-shadow:0 12px 28px rgba(0,0,0,.26);
}

.awb-btn-secondary{
  border-color:rgba(201,165,91,.24);
  background:rgba(201,165,91,.08);
  color:var(--awb-gold-soft);
}

.awb-btn-ghost{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  color:var(--awb-text);
}

.awb-btn-block{
  width:100%;
}

.awb-btn-small{
  min-height:40px;
  padding:0 14px;
  font-size:13px;
}

.awb-form{
  display:grid;
  gap:16px;
}

.awb-field label{
  display:block;
  margin-bottom:8px;
  color:var(--awb-gold-soft);
  font-size:12px;
  letter-spacing:1.8px;
}

.awb-input{
  width:100%;
  min-height:54px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(201,165,91,.24);
  background:rgba(9,8,7,.92);
  color:var(--awb-text);
  font-size:17px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.awb-select{
  width:100%;
  min-height:54px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(201,165,91,.24);
  background:rgba(9,8,7,.92);
  color:var(--awb-text);
  font-size:16px;
  outline:none;
  appearance:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.awb-textarea{
  width:100%;
  min-height:128px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(201,165,91,.24);
  background:rgba(9,8,7,.92);
  color:var(--awb-text);
  font-size:15px;
  line-height:1.8;
  resize:vertical;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.awb-input:focus,
.awb-select:focus,
.awb-textarea:focus,
.awb-link-output:focus{
  border-color:rgba(226,197,129,.55);
  box-shadow:0 0 0 4px rgba(201,165,91,.1);
}

.awb-editor-card{
  margin-bottom:18px;
  border-color:rgba(201,165,91,.24);
}

.awb-editor-card[hidden]{
  display:none !important;
}

.awb-editor-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.awb-editor-copy{
  max-width:760px;
}

.awb-editor-copy p{
  margin-top:10px;
}

.awb-editor-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.awb-meta-pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(201,165,91,.16);
  background:rgba(201,165,91,.05);
  color:var(--awb-gold-soft);
  font-size:12px;
  letter-spacing:.6px;
}

.awb-form-grid{
  margin-top:18px;
}

.awb-cell-stack{
  display:grid;
  gap:8px;
}

.awb-cell-main{
  color:var(--awb-text);
  font-weight:600;
}

.awb-cell-sub{
  color:var(--awb-muted-soft);
  font-size:12px;
  line-height:1.7;
}

.awb-tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.awb-note-box{
  max-width:280px;
  color:var(--awb-muted);
  white-space:pre-line;
}

.awb-row-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.awb-page-note{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(201,165,91,.12);
  background:rgba(201,165,91,.05);
  color:var(--awb-muted);
  font-size:13px;
  line-height:1.8;
}

.awb-login-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(320px, 420px);
  gap:20px;
  margin-top:22px;
}

.awb-demo-list{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.awb-demo-item{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(201,165,91,.14);
  background:rgba(8,8,8,.5);
}

.awb-demo-item strong{
  display:block;
  margin-bottom:8px;
  color:var(--awb-gold-soft);
  font-size:15px;
}

.awb-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.awb-toolbar-copy{
  color:var(--awb-muted);
  font-size:13px;
  line-height:1.8;
}

.awb-table-wrap{
  overflow:auto;
  border-radius:24px;
  border:1px solid var(--awb-line);
  background:
    radial-gradient(circle at top right, rgba(201,165,91,.08), transparent 30%),
    linear-gradient(180deg, rgba(18,15,11,.98), rgba(9,8,7,.98));
  box-shadow:var(--awb-shadow);
}

.awb-table{
  width:100%;
  min-width:860px;
  border-collapse:collapse;
}

.awb-table th,
.awb-table td{
  padding:16px 14px;
  text-align:left;
  border-bottom:1px solid rgba(201,165,91,.08);
  vertical-align:top;
}

.awb-table th{
  color:var(--awb-gold-soft);
  font-size:12px;
  letter-spacing:1.2px;
  background:rgba(201,165,91,.05);
}

.awb-table td{
  color:var(--awb-muted);
  font-size:14px;
  line-height:1.75;
}

.awb-table tr:last-child td{
  border-bottom:none;
}

.awb-pill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(201,165,91,.16);
  background:rgba(201,165,91,.06);
  color:var(--awb-gold-soft);
  font-size:12px;
  line-height:1;
  letter-spacing:.6px;
  white-space:nowrap;
}

.awb-pill.is-success{
  border-color:rgba(127,207,157,.28);
  background:rgba(127,207,157,.08);
  color:var(--awb-success);
}

.awb-pill.is-warn{
  border-color:rgba(223,186,114,.3);
  background:rgba(223,186,114,.08);
  color:var(--awb-warn);
}

.awb-pill.is-danger{
  border-color:rgba(217,135,127,.3);
  background:rgba(217,135,127,.08);
  color:var(--awb-danger);
}

.awb-pill.is-info{
  border-color:rgba(138,182,216,.28);
  background:rgba(138,182,216,.08);
  color:var(--awb-info);
}

.awb-qr-placeholder{
  margin-top:14px;
  padding:18px 16px;
  border-radius:16px;
  border:1px dashed rgba(201,165,91,.2);
  background:rgba(255,255,255,.015);
  color:var(--awb-muted-soft);
  font-size:13px;
  line-height:1.8;
  text-align:center;
}

.awb-inline-status{
  min-height:18px;
  margin-top:10px;
  color:var(--awb-gold-soft);
  font-size:12px;
  line-height:1.6;
}

.awb-rich-copy{
  color:var(--awb-muted);
  font-size:14px;
  line-height:1.95;
  white-space:pre-line;
}

.awb-footnote{
  margin-top:16px;
  color:var(--awb-muted-soft);
  font-size:13px;
  line-height:1.8;
}

.awb-empty{
  padding:32px 20px;
  text-align:center;
  color:var(--awb-muted-soft);
  border-radius:20px;
  border:1px dashed rgba(201,165,91,.18);
  background:rgba(201,165,91,.03);
}

@media (max-width: 1100px){
  .awb-stat-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .awb-shortcut-grid,
  .awb-grid.three,
  .awb-grid.four{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .awb-shell{
    width:min(100% - 20px, 1200px);
    padding-top:18px;
  }

  .awb-topbar,
  .awb-login-layout,
  .awb-grid.two,
  .awb-grid.three,
  .awb-grid.four,
  .awb-shortcut-grid{
    grid-template-columns:1fr;
  }

  .awb-topbar{
    display:grid;
  }

  .awb-top-actions{
    justify-content:flex-start;
  }

  .awb-hero{
    padding:22px 18px;
  }
}

@media (max-width: 640px){
  body.awb-body::after{
    inset:10px;
    border-radius:20px;
  }

  .awb-topbar{
    padding:20px 18px;
    border-radius:24px;
  }

  .awb-title{
    font-size:28px;
  }

  .awb-hero-title{
    font-size:24px;
  }

  .awb-stat-grid{
    grid-template-columns:1fr;
  }

  .awb-stat-value{
    font-size:30px;
  }

  .awb-link-actions{
    flex-direction:column;
  }

  .awb-btn{
    width:100%;
  }

  .awb-table{
    min-width:720px;
  }
}
