:root {
  color-scheme: light;
  --ink: #262626;
  --muted: #737373;
  --glass: linear-gradient(135deg,rgba(255,255,255,.48),rgba(255,255,255,.16) 48%,rgba(255,255,255,.30));
  --glass-shadow: 0 6px 24px rgba(0,0,0,.045), inset 0 1px 0 rgba(255,255,255,.94), inset 0 -1px 0 rgba(255,255,255,.20);
}
* { letter-spacing: 0; }
body { color: var(--ink); background: linear-gradient(125deg,#e6e6e6,#f5f5f5 42%,#e9e9e9 78%,#f2f2f2); background-attachment: fixed; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1 { font-weight: 600; line-height: 1.4; }
h2 { font-size: 13px; font-weight: 500; color: var(--muted); }
button,.file-btn { color: #525252; background: rgba(255,255,255,.34); border-color: rgba(255,255,255,.8); font-weight: 400; font-size: 11px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
button:hover,.file-btn:hover { background: rgba(255,255,255,.8); color: #171717; }
button:focus-visible,a:focus-visible,.file-btn:focus-within { outline: 2px solid #525252; outline-offset: 3px; }
.topbar { padding: 18px 24px; background: rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.topbar p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; overflow-x: auto; text-overflow: clip; scrollbar-width: none; }
.workspace { grid-template-columns: 286px minmax(0,1fr); gap: 24px; padding: 24px; }
.results { min-width: 0; }
.priority-panel { padding: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.priority-list { gap: 8px; margin-top: 12px; }
.priority-item { grid-template-columns: 22px minmax(0,1fr) auto; gap: 8px; min-height: 44px; padding: 8px 10px; border-color: rgba(255,255,255,.85); background: var(--glass); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.priority-item b { font-size: 12px; color: #858585; font-weight: 400; }
.priority-item span { font-size: 13px; font-weight: 500; color: var(--ink); }
.priority-controls { gap: 3px; }
.priority-controls button { width: 26px; height: 28px; font-size: 11px; font-weight: 400; color: #666; background: transparent; border-color: transparent; box-shadow: none; }
.priority-controls button:hover { background: rgba(255,255,255,.7); }
.result-bar { gap: 12px; padding-bottom: 12px; color: var(--muted); }
.result-bar strong { color: #444; font-size: 15px; font-weight: 500; }
.result-bar span { font-size: 11px; }
.table-wrap { background: var(--glass); border-color: rgba(255,255,255,.8); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
th,td { padding: 13px 10px; border-bottom-color: rgba(0,0,0,.075); line-height: 1.5; }
th { background: rgba(248,248,248,.90); color: var(--muted); font-size: 12px; font-weight: 500; }
td { font-size: 13px; }
td.num { color: var(--muted); font-weight: 400; }
td.source { color: var(--muted); white-space: nowrap; font-size: 11px; }
td.home a { color: var(--ink); font-weight: 500; }
td.home a:hover { text-decoration: underline; text-underline-offset: 3px; }
td.home small { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; }
td.tags span { padding: 2px 6px; border: 1px solid rgba(0,0,0,.04); border-radius: 4px; background: rgba(255,255,255,.30); color: #686868; font-size: 11px; font-weight: 400; }
td.dup-links a { border-radius: 5px; background: rgba(255,255,255,.45); color: #444; font-weight: 500; }
td.collected { color: var(--muted); font-size: 11px; }
@media (max-width: 980px) { .workspace { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .topbar { padding: 16px 16px 12px; gap: 10px; }
  h1 { font-size: 19px; }
  .topbar>div:first-child { width: 100%; min-width: 0; }
  .topbar p { max-width: 100%; font-size: 10px; }
  .actions { gap: 6px; }
  button,.file-btn { padding: 5px 8px; font-size: 10px; }
  .workspace { padding: 18px 14px 28px; gap: 20px; }
  .priority-panel { padding: 0; }
  .priority-panel h2 { padding-left: 2px; font-size: 11px; }
  .priority-list { margin-top: 9px; gap: 6px; }
  .priority-item { min-height: 40px; padding: 5px 10px; }
  .priority-controls { gap: 5px; }
  .priority-controls button { width: 28px; height: 28px; }
  .result-bar { margin: 0 -14px 8px; padding: 10px 16px; background: rgba(249,249,249,.32); border-bottom: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .result-bar strong { font-size: 14px; }
  .result-bar span { font-size: 10px; }
  .table-wrap { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  table { border-spacing: 0; }
  tbody { display: grid; gap: 12px; }
  tr { gap: 0 16px; padding: 16px; border-color: rgba(255,255,255,.85); background: var(--glass); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(18px) contrast(102%); backdrop-filter: blur(18px) contrast(102%); }
  td { padding: 0; line-height: 1.5; }
  td.source { position: static; flex: 1 0 100%; width: auto; max-width: none; padding: 0; margin-bottom: 7px; background: transparent; font-size: 10px; font-weight: 400; color: #777; }
  td.home { padding: 0 0 12px; border-bottom-color: rgba(0,0,0,.075); }
  td.home a { display: block; font-size: 15px; line-height: 1.65; font-weight: 500; }
  td.home small { margin-top: 4px; }
  td:nth-child(n+4):nth-child(-n+9) { flex-basis: calc((100% - 16px)/2); padding: 9px 0; font-size: 14px; font-weight: 500; color: var(--ink); }
  td:nth-child(n+4):nth-child(-n+9)::before { color: #7a7a7a; font-size: 10px; font-weight: 400; margin-bottom: 3px; }
  td:nth-child(4)::before { content: "租金 / 月"; }
  td:nth-child(5)::before { content: "面积 / ㎡"; }
  td.tags { margin-top: 3px; padding-top: 11px; border-top-color: rgba(0,0,0,.075); }
  td.tags::before { display: none; }
  td.tags span { margin-bottom: 0; }
  td.dup-links { display: block; min-width: 0; margin-top: 8px; }
  td.dup-links:empty { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar,.priority-item,.table-wrap,tr,.result-bar { background: #f7f7f7; }
}
