.pt-portal {
  --pt-ink: #192530;
  --pt-muted: #63717d;
  --pt-border: #dce2e6;
  --pt-orange: #e5830c;
  --pt-highlight: #fff3df;
  --pt-bg: #f7f9fb;
  --pt-rail-width: 220px;
  min-height: 100dvh;
  color: var(--pt-ink);
  background: var(--pt-bg);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.52;
}
.pt-portal *, .pt-portal *::before, .pt-portal *::after { box-sizing: border-box; }
.pt-portal [hidden] { display: none !important; }
.pt-portal a { color: inherit; }
.pt-portal :is(a,button,input,textarea,select):focus-visible { outline: 2px solid #be6504; outline-offset: 2px; }
.pt-top {
  position: relative; z-index: 5; display: flex; align-items: stretch; gap: 12px; width: 100%;
  min-height: 54px; padding: 0 clamp(10px, 1.7vw, 30px); border-bottom: 1px solid var(--pt-border); background: #fff;
}
.pt-brand, .pt-user {
  display: inline-flex; align-items: center; gap: 9px; height: 100%; min-height: 50px; padding: 0 6px;
  border: 0; color: var(--pt-ink); background: transparent; white-space: nowrap;
}
.pt-brand { font-weight: 790; font-size: clamp(15px,1.2vw,19px); letter-spacing: -.025em; }
.pt-logo {
  position: relative; width: 29px; height: 29px; overflow: hidden; flex: none; border-radius: 50%;
  background: linear-gradient(115deg,#ffc34f 10%,#f49717 53%,#d97500);
}
.pt-logo::before,.pt-logo::after { content: ""; position:absolute; border: 1.6px solid #fff; width: 19px; height: 39px; border-radius: 50%; }
.pt-logo::before { top:-3px; left:5px; transform:rotate(-37deg); } 
.pt-logo::after { top:7px; left:15px; transform:rotate(47deg); }
.pt-chevron { display:inline-block; width:6px; height:6px; border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left:1px; }
.pt-menubox { position: relative; }
.pt-mainnav { display: flex; align-items: stretch; gap: 3px; white-space: nowrap; }
.pt-mainnav a {
  display: flex; align-items: center; gap: 7px; min-height: 52px; padding: 0 clamp(10px,1.35vw,22px);
  border-bottom: 3px solid transparent; text-decoration: none; font-weight: 640; color: #45525d;
}
.pt-mainnav a > i { font-style: normal; font-size: 18px; line-height: 1; font-family: system-ui, sans-serif; }
.pt-mainnav a[aria-current], .pt-brand.pt-on, .pt-user.pt-on { border-bottom-color: var(--pt-orange); color: #8e4b00; background: linear-gradient(0deg,#fff1dc,white); }
.pt-mainnav a:hover,.pt-brand:hover,.pt-user:hover { background: #fff7e9; }
.pt-userbox { margin-left: auto; }
.pt-user { font-size: 13px; font-weight: 650; max-width: 180px; }
.pt-user > span { overflow: hidden; text-overflow: ellipsis; }
.pt-avatar { display: inline-grid; flex: none; width: 27px; height: 27px; place-items: center; background: #ffedd2; color: #944e04; font-weight: 700; border-radius: 50%; }
.pt-menu {
  position: absolute; top: calc(100% + 4px); left: 0; display: grid; min-width: 158px; z-index: 9;
  border: 1px solid var(--pt-border); background: #fff; border-radius: 7px; padding: 5px; box-shadow: 0 8px 32px #26374322;
}
.pt-user-menu { left: auto; right: 0; }
.pt-menu a,.pt-menu button { text-align: left; color: var(--pt-ink); background: transparent; text-decoration: none; border: none; border-radius: 4px; padding: 9px 13px; font: inherit; }
.pt-menu a:hover,.pt-menu button:hover { background: var(--pt-highlight); }
.pt-crumbbar { display: flex; align-items: center; min-height: 31px; background: #f0f3f5; padding: 5px 19px; gap: 10px; color: #56626e; font-size: 12px; }
.pt-expand { display: none; align-items: center; justify-content:center; border: 1px solid var(--pt-border); border-radius: 3px; color: var(--pt-ink); width: 29px; height:25px; padding:0; background:#fff; }
.pt-fold .pt-expand { display: inline-flex; }
.pt-ribbon { display:flex; align-items:center; gap:5px; overflow-x:auto; white-space:nowrap; min-height:37px; padding:3px 18px; background:white; border-block:1px solid var(--pt-border); }
.pt-ribbon > span { margin-right:7px; color:var(--pt-muted); font-size:12px; }
.pt-ribbon a { display:inline-flex; align-items:center; text-decoration:none; height:27px; padding:1px 11px; font-size:13px; border-radius:3px; }
.pt-ribbon a[aria-current] { background:var(--pt-highlight); color:#844605; font-weight:700; }
.pt-ribbon a:hover { background:#fff7eb; }
.pt-layout { display: grid; grid-template-columns:var(--pt-rail-width) minmax(0,1fr); gap: 14px; padding:14px clamp(10px,1.4vw,24px) 18px; max-width: 2500px; margin:auto; align-items:start; }
.pt-compact .pt-layout, .pt-fold .pt-layout { display:block; }
.pt-fold .pt-aside { display:none; }
.pt-aside { background:white; border:1px solid var(--pt-border); min-height: min(74dvh,850px); }
.pt-aside-title { display:flex; align-items:center; justify-content:space-between; padding:12px 13px; background:linear-gradient(115deg,#f6f8f9,white); border-bottom:1px solid var(--pt-border); }
.pt-aside-title strong { font-size:15px; }
.pt-collapse { width:25px; height:25px; display:grid; place-items:center; background:white; border:1px solid var(--pt-border); border-radius:3px; color:#676f75; font-size:18px; line-height:1; }
.pt-sidegroup h2 { font-size:11px; color:#697681; letter-spacing:.06em; font-weight:650; margin:0; padding:14px 14px 6px; }
.pt-sidegroup > a { display:flex; align-items:center; gap:9px; padding:9px 12px; border-left:3px solid transparent; text-decoration:none; min-height:39px; line-height:1.35; }
.pt-sidegroup > a[aria-current] { background:var(--pt-highlight); color:#774304; border-left-color:var(--pt-orange); font-weight:700; }
.pt-sidegroup > a:hover { background:#fff8eb; }
.pt-sidegroup small { display:block; font-weight:400; color:var(--pt-muted); font-size:11px; padding:3px 0 0; }
.pt-sidegroup em { margin-left:auto; font-style:normal; font-size:11px; min-width:19px; text-align:center; border-radius:15px; padding:1px 5px; background:#f0f3f5; color:#545f69; }
.pt-serial { flex:none; font-family:"IBM Plex Mono",monospace; font-size:11px; font-weight:600; display:grid; place-items:center; min-width:25px; height:25px; border:1px solid #c9d2d7; border-radius:50%; color:#4c6671; }
.pt-work,.pt-scene { min-width:0; }
.pt-scene { padding-bottom:20px; }
.pt-compact .pt-work { max-width:1320px; margin:auto; }
.pt-title { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:2px 0 14px; }
.pt-scene h1 { margin:0; font-size:clamp(1.25rem,1.6vw,1.65rem); letter-spacing:-.03em; line-height:1.3; }
.pt-title p { color:var(--pt-muted); font-size:13px; margin:3px 0 0; }
.pt-panel,.pt-metrics { background:#fff; border:1px solid var(--pt-border); border-radius:5px; min-width:0; margin-bottom:13px; }
.pt-panel > h2 { font-size:15px; font-weight:680; line-height:1.4; margin:0; padding:13px 16px; border-bottom:1px solid var(--pt-border); }
.pt-notice { display:flex; align-items:center; gap:9px; padding:9px 13px; color:#805710; font-size:13px; background:#fff5dc; border:1px solid #f2dfad; border-radius:4px; margin-bottom:12px; }
.pt-notice > span { display:grid; place-items:center; border:1px solid currentColor; font:bold 11px/1 Georgia,serif; width:15px; height:15px; border-radius:50%; flex:none; }
.pt-metrics { display:flex; flex-wrap:wrap; margin-bottom:14px; }
.pt-metrics > * { flex:1; min-width:86px; padding:12px 15px; border-right:1px solid var(--pt-border); text-decoration:none; }
.pt-metrics > :last-child { border-right:none; }
.pt-metrics a:hover { background:#fff9ed; }
.pt-metrics span { display:block; color:var(--pt-muted); font-size:12px; }
.pt-metrics strong { display:block; font-weight:640; font-size:22px; margin-top:4px; color:#3b4a55; }
.pt-duo,.pt-gallery,.pt-knowledge { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.pt-gallery { grid-template-columns: minmax(0,3fr) minmax(230px,1fr); }
.pt-knowledge { grid-template-columns:minmax(250px,1fr) minmax(0,1.8fr); }
.pt-filters { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; padding:12px 13px; margin:0; }
.pt-field { display:flex; flex-direction:column; gap:4px; min-width:80px; color:var(--pt-muted); font-size:12px; }
.pt-field.pt-search { min-width:160px; width:clamp(185px,20vw,320px); }
.pt-scene :is(input:not([type=file]),select,textarea) { font:inherit; color:var(--pt-ink); border:1px solid #cdd5da; border-radius:4px; background:#fff; min-height:32px; padding:5px 9px; width:100%; font-size:13px; }
.pt-scene select { padding-right:24px; }
.pt-inline { margin-left:auto; padding:0; }
.pt-inline label { flex-direction:row; align-items:center; gap:8px; white-space:nowrap; }
.pt-inline select { width:auto; min-width:98px; }
.pt-btn,.pt-link { font:inherit; font-size:13px; min-height:32px; padding:5px 11px; color:var(--pt-ink); background:#fff; border:1px solid #cdd5da; border-radius:4px; white-space:nowrap; }
.pt-btn:hover:not(:disabled) { background:#f7f9fa; border-color:#a4afb8; }
.pt-btn.pt-primary { color:#fff; border-color:#b96600; background:#b96600; font-weight:650; }
.pt-btn.pt-primary:hover:not(:disabled) { background:#994e00; }
.pt-btn:disabled { color:#79828a; opacity:1; background:#f5f7f8; border-color:#e1e6e9; }
.pt-link { color:#8a4a06; border:none; min-height:28px; background:none; font-weight:650; text-align:left; white-space:normal; }
.pt-link:hover { text-decoration:underline; }
.pt-table-info { padding:8px 13px; display:flex; align-items:center; justify-content:space-between; gap:7px; color:var(--pt-muted); font-size:12px; border-top:1px solid var(--pt-border); }
.pt-table-scroll { max-width:100%; overflow:auto; }
.pt-table { width:100%; border-collapse:collapse; text-align:left; }
.pt-table th { font-size:12px; background:#f1f4f6; color:#4b5964; font-weight:650; white-space:nowrap; border-block:1px solid #dee4e7; padding:9px 12px; }
.pt-table td { padding:9px 12px; border-bottom:1px solid #e8edef; font-size:13px; }
.pt-table td[colspan] { padding:0; }
.pt-table tr:last-child td { border-bottom:0; }
.pt-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; min-height:130px; padding:24px; text-align:center; color:var(--pt-muted); }
.pt-empty strong { color:#404f5b; font-weight:630; font-size:14px; }
.pt-empty p { margin:0; color:var(--pt-muted); font-size:13px; }
.pt-empty-icon { position:relative; display:block; width:27px;height:21px; margin-bottom:4px; border:1.5px solid #b9c4cb; border-radius:3px; }
.pt-empty-icon::before,.pt-empty-icon::after { content:""; position:absolute; height:1px; left:5px; background:#b9c4cb; }
.pt-empty-icon::before { width:14px; top:6px; } .pt-empty-icon::after { width:9px; top:11px; }
.pt-chart-empty { margin:12px 16px; border-bottom:1px solid var(--pt-border); min-height:180px; display:grid; place-items:center; }
.pt-steps { display:flex; flex-wrap:wrap; gap:5px; margin:0 0 12px; }
.pt-steps a { text-decoration:none; padding:4px 8px; font-size:12px; background:#fff; border:1px solid var(--pt-border); border-radius:4px; }
.pt-steps a[aria-current] { color:#864800; border-color:#e7b16f; background:#fff3e1; }
.pt-drop-preview { display:flex; flex-direction:column; align-items:center; gap:8px; padding:35px 18px; margin:16px; border:1px dashed #b5c2c9; border-radius:5px; background:#f8fafb; }
.pt-drop-preview span { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--pt-highlight); color:#b86a0b; font-size:23px; }
.pt-drop-preview p,.pt-stats dt,.pt-question,.pt-account p { font-size:13px; color:var(--pt-muted); }
.pt-stats { padding:12px 18px; margin:0; }
.pt-stats dd { margin:0 0 13px; color:var(--pt-ink); font-size:28px; }
.pt-question { padding:15px; display:grid; gap:8px; }
.pt-question textarea { min-height:170px; resize:vertical; }
.pt-knowledge .pt-panel > .pt-btn { margin:0 15px 15px; }
.pt-account { display:grid; gap:12px; padding:18px; max-width:430px; }
.pt-account label { display:grid; gap:4px; }
.pt-account button { justify-self:start; }
.pt-tag { padding:3px 7px; border-radius:10px; display:inline-block; background:#fff1db; color:#82510b; font-size:12px; }
@media (min-width: 1750px) { .pt-portal { --pt-rail-width:264px; } }
@media (max-width: 1050px) {
  .pt-portal { --pt-rail-width:185px; } .pt-top { gap:4px; } .pt-mainnav a { padding-inline:9px; }
  .pt-layout { padding-inline:8px; gap:8px; } .pt-user { max-width:90px; }
}
@media (max-width: 800px) {
  .pt-top { display:grid; grid-template-columns:1fr auto; padding:0 10px; }
  .pt-brand,.pt-user { min-height:42px; }
  .pt-mainnav { order:3; grid-column:1/-1; overflow:auto; max-width:100%; }
  .pt-mainnav a { flex:1 0 auto; justify-content:center; min-height:42px; font-size:13px; padding:0 10px; }
  .pt-userbox { grid-column:2; grid-row:1; }
  .pt-layout { display:block; }
  .pt-expand { display:inline-flex; }
  .pt-compact .pt-expand { display:none; }
  .pt-aside,.pt-fold .pt-aside { display:none; }
  .pt-mobile-open .pt-aside { display:block; min-height:0; margin-bottom:12px; max-height:55dvh; overflow:auto; }
  .pt-sidegroup { padding-bottom:5px; } .pt-sidegroup > a { min-height:42px; }
  .pt-crumbbar { min-height:37px; padding:4px 10px; }
  .pt-ribbon { padding-inline:8px; }
}
@media (max-width: 570px) {
  .pt-mainnav a { padding-inline:8px; }
  .pt-mainnav i { display:none; }
  .pt-title { align-items:flex-start; }
  .pt-metrics > * { min-width:92px; }
  .pt-duo,.pt-gallery,.pt-knowledge { grid-template-columns:1fr; gap:0; }
  .pt-filters { gap:8px; }
  .pt-field.pt-search { min-width:150px; width:100%; }
  .pt-inline { margin-left:0; }
  .pt-inline .pt-field { min-width:0; }
}
@media (max-width: 520px) {
  .pt-expand,.pt-collapse { min-width:44px; min-height:44px; }
  .pt-mainnav a,.pt-sidegroup > a,.pt-ribbon a,.pt-menu button,.pt-menu a,.pt-btn,.pt-link { min-height:44px; }
  .pt-steps a { padding-block:12px; }
  .pt-inline select,.pt-field select,.pt-field input:not([type=file]) { min-height:44px; }
}
.pt-preview-actions { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.pt-preview { color:var(--pt-ink); width:min(760px,95vw); max-width:100vw; max-height:90dvh; padding:0; border:1px solid var(--pt-border); background:#fff; border-radius:6px; box-shadow:0 18px 60px #192a3840; }
.pt-preview[open] { display:flex; flex-direction:column; }
.pt-preview::backdrop { background:#2734426b; }
.pt-preview.pt-drawer { width:min(620px,96vw); height:100dvh; max-height:100dvh; margin:0 0 0 auto; border-radius:0; }
.pt-preview-head,.pt-preview-foot { display:flex; align-items:center; gap:9px; padding:13px 17px; }
.pt-preview-head { justify-content:space-between; border-bottom:1px solid var(--pt-border); }
.pt-preview-head h2 { font-size:19px; line-height:1.3; margin:0; }
.pt-preview-main { overflow:auto; overscroll-behavior:contain; padding:15px 17px 18px; }
.pt-preview-foot { justify-content:flex-end; flex-wrap:wrap; border-top:1px solid var(--pt-border); }
.pt-preview-tabs { display:flex; gap:3px; flex-wrap:wrap; border-bottom:1px solid var(--pt-border); margin:4px 0 12px; }
.pt-preview-tabs button { border:0; border-bottom:2px solid transparent; padding:8px 10px; color:#53616b; background:transparent; font-size:13px; }
.pt-preview-tabs button[aria-current] { border-bottom-color:var(--pt-orange); color:#8c4a00; font-weight:700; }
.pt-preview-section h3 { margin:10px 0; font-size:15px; }
.pt-readings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid var(--pt-border); border-radius:4px; padding:0; margin:0; }
.pt-readings > div { min-width:0; padding:10px 13px; border-bottom:1px solid #edf0f3; }
.pt-readings dt,.pt-preview-site { color:var(--pt-muted); font-size:13px; }
.pt-readings dd { margin:4px 0 0; }
.pt-preview-site { display:flex; align-items:center; gap:9px; margin:0 0 12px; }
.pt-preview-site select { width:auto; min-width:120px; min-height:34px; padding:5px 8px; border:1px solid var(--pt-border); border-radius:4px; }
@media (max-width:520px) { .pt-preview { width:96vw; } .pt-preview-tabs button { min-height:44px; } .pt-preview-head,.pt-preview-main,.pt-preview-foot { padding-inline:12px; } }
