:root {
  --ink: #243238;
  --muted: #69767b;
  --line: #dfe3dd;
  --paper: #f5f3ed;
  --white: #fffefa;
  --accent: #c85d43;
  --accent-dark: #963f2f;
  --teal: #2f6968;
  --shadow: 0 18px 50px rgba(45, 57, 54, .09);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); background-image: linear-gradient(rgba(56, 73, 68, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 73, 68, .025) 1px, transparent 1px); background-size: 32px 32px; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(200, 93, 67, .34); outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(255, 254, 250, .94); border-bottom: 1px solid rgba(223, 227, 221, .95); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); }
.site-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand strong { display: block; font-size: 16px; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px 10px 14px 10px; color: white; font-weight: 800; background: var(--accent); box-shadow: 5px 6px 0 rgba(47, 105, 104, .18); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 9px 13px; border-radius: 9px; }
.main-nav a:hover, .main-nav a.is-active { color: var(--accent-dark); background: #f8e8e1; }
.page-main { padding: 54px 0 80px; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.page-intro h1 { margin: 7px 0 12px; font-size: clamp(31px, 5vw, 44px); letter-spacing: -.04em; line-height: 1.12; }
.page-intro p:not(.eyebrow) { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.eyebrow { margin: 0; color: var(--accent-dark); font-weight: 800; font-size: 11px; letter-spacing: .16em; }
.stat-pill { flex: none; display: flex; align-items: baseline; gap: 8px; padding: 13px 17px; color: var(--muted); border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.stat-pill strong { color: var(--ink); font-size: 26px; letter-spacing: -.04em; }
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(150px, 185px)); gap: 10px; align-items: center; padding: 10px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .82); box-shadow: 0 8px 28px rgba(39, 47, 54, .05); }
.toolbar label { display: block; min-width: 0; }
.toolbar select, .search-field { width: 100%; height: 44px; border: 1px solid transparent; border-radius: 11px; background: #f0f1ec; color: var(--ink); }
.toolbar select { padding: 0 31px 0 13px; border-color: #e9ecf2; }
.toolbar .search-field { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 0 14px; }
.search-field:focus-within, .toolbar select:focus { border-color: #df9c89; outline: 3px solid rgba(200, 93, 67, .12); }
.search-field input { display: block; width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-icon { display: inline-grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; color: var(--muted); font-size: 22px; line-height: 1; transform: rotate(-20deg); }
.filter-count { margin: 0 2px 15px; font-size: 12px; }
.filter-empty { margin: 0 2px 15px; padding: 12px 14px; border-radius: 10px; color: #6f4f51; background: #f8e8e1; font-size: 13px; }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item-card { position: relative; min-width: 0; min-height: 330px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: 0 9px 28px rgba(45, 57, 54, .055); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.item-card::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); opacity: .7; }
.item-card:hover { transform: translateY(-3px); border-color: #d4a193; box-shadow: 0 18px 38px rgba(45, 57, 54, .12); }
.item-card { display: flex; flex-direction: column; }
.item-card__top { position: relative; z-index: 1; display: flex; padding: 20px 24px 0; }
.item-card__link { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 0 24px 24px; text-decoration: none; }
.item-card__top, .detail-header__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.item-card h2 { margin: 15px 0 9px; font-size: 19px; letter-spacing: -.02em; line-height: 1.4; }
.item-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item-card__meta { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 26px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.item-card__meta time, .detail-meta time { white-space: nowrap; }
.item-card__meta span:last-child { color: var(--accent-dark); font-weight: 700; }
.tag { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tag--soft { color: #596376; background: #eef1f5; }
.tag--green { color: #18724b; background: #e2f6ec; }
.tag--amber { color: #9a5b00; background: #fff0d2; }
.tag--purple { color: #5b536f; background: #ece8f0; }
.tag--blue { color: #2c6669; background: #e1f0ed; }
.tag--pink { color: #914d62; background: #f7e5e4; }
.tag--gray { color: #697385; background: #edf0f3; }
.priority-control { display: inline-flex; align-items: center; gap: 6px; }
.priority-control--detail label { color: var(--muted); font-size: 12px; font-weight: 700; }
.priority-select { min-height: 28px; padding: 3px 24px 3px 8px; border: 1px solid transparent; border-radius: 999px; color: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.priority-select:disabled { cursor: wait; opacity: .65; }
.priority--p0 { color: #9f2e28; border-color: #f1c0b8; background: #ffe2dd; }
.priority--p1 { color: #9a5b00; border-color: #f0d39c; background: #fff0d2; }
.priority--p2 { color: #35636a; border-color: #b9deda; background: #e1f0ed; }
.priority--p3 { color: #5b536f; border-color: #d5cbe2; background: #ece8f0; }
.priority--unset { color: #697385; border-color: #dfe3e8; background: #edf0f3; }
.empty-state { grid-column: 1 / -1; padding: 80px 24px; text-align: center; border: 1px dashed #cfd5e2; border-radius: 18px; background: rgba(255,255,255,.55); }
.empty-state__icon { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 16px; color: var(--accent-dark); border-radius: 14px; background: #f8e8e1; font-size: 24px; }
.empty-state h2 { margin: 0 0 8px; font-size: 20px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.detail-back { margin-bottom: 24px; }
.detail-back a { color: var(--muted); text-decoration: none; font-size: 14px; }
.detail-back a:hover { color: var(--accent-dark); }
.detail-page { max-width: 900px; margin: 0 auto; }
.detail-header { padding: 38px 42px 34px; border: 1px solid var(--line); border-radius: 18px 18px 0 0; background: linear-gradient(135deg, #fffefa 0%, #fffefa 68%, #f4e9e2 100%); }
.detail-header h1 { margin: 18px 0 11px; font-size: clamp(30px, 5vw, 43px); line-height: 1.2; letter-spacing: -.04em; }
.detail-summary { max-width: 720px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; font-size: 13px; transition: .18s ease; }
.button:disabled { cursor: wait; opacity: .65; }
.button--primary { color: white; background: var(--accent); box-shadow: 0 8px 17px rgba(200, 93, 67, .22); }
.button--primary:hover { background: var(--accent-dark); }
.button--secondary { color: var(--accent-dark); background: white; border-color: #dfb3a8; }
.button--secondary:hover { background: #fff4f0; }
.content-panel { padding: 40px 42px; border: 1px solid var(--line); border-top: 0; background: white; }
.content-prose { color: #2c3442; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.content-prose h1, .content-prose h2, .content-prose h3, .content-prose h4 { color: var(--ink); line-height: 1.35; margin: 1.6em 0 .65em; letter-spacing: -.02em; }
.content-prose h1 { font-size: 29px; margin-top: 0; }.content-prose h2 { font-size: 23px; }.content-prose h3 { font-size: 19px; }.content-prose h4 { font-size: 16px; }
.content-prose p { margin: .9em 0; }.content-prose ul, .content-prose ol { padding-left: 1.5em; }.content-prose li { margin: .35em 0; }
.content-prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }.content-prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 3px solid #d79b87; color: #5e6878; background: #fff5f0; }.content-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.content-prose code { padding: 2px 5px; border-radius: 5px; background: #f0f2f6; color: #9a3566; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }.content-prose pre { overflow-x: auto; padding: 17px; border-radius: 11px; color: #eaf0ff; background: #252b3a; }.content-prose pre code { padding: 0; color: inherit; background: transparent; }
.attachments { padding: 30px 42px 36px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; background: #fbfcf8; }.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }.section-heading h2 { margin: 5px 0 0; font-size: 20px; }.attachment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.attachment { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 11px; background: white; }.attachment:hover { border-color: #b6cfca; }.attachment__icon { width: 29px; height: 29px; display: grid; place-items: center; flex: none; color: var(--teal); border-radius: 8px; background: #e1f0ed; font-weight: 800; }.attachment__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.attachment__name small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.muted { color: var(--muted); }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }.site-footer { padding: 0 0 32px; color: #9ba4b3; text-align: center; font-size: 12px; }
.login-page { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 25% 10%, #f5dcd3 0, transparent 36%), var(--paper); }.login-card { width: min(420px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,254,250,.94); box-shadow: var(--shadow); }.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 37px; }.login-brand strong { display: block; font-size: 17px; }.login-brand small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }.login-card h1 { margin: 0 0 9px; font-size: 30px; letter-spacing: -.04em; }.login-card > p { margin: 0 0 25px; line-height: 1.7; font-size: 14px; }.login-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }.login-form input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #fbfbf7; }.login-form input:focus { border-color: #df9c89; outline: 3px solid rgba(200,93,67,.12); }.login-form .button { width: 100%; margin-top: 15px; }.login-hint { color: #8c9898 !important; font-size: 12px !important; margin-top: 22px !important; margin-bottom: 0 !important; }.alert { padding: 11px 13px; margin: 0 0 18px; border-radius: 9px; font-size: 13px; line-height: 1.55; }.alert--error { color: #9b4057; border: 1px solid #f1cbd4; background: #fff1f4; }
.callout { display: flex; gap: 10px; align-items: baseline; padding: 13px 15px; margin-bottom: 19px; border-radius: 11px; line-height: 1.65; font-size: 13px; }.callout--blue { color: #3d5272; border: 1px solid #d9e4f5; background: #f0f6ff; }.product-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 180px 150px 150px; gap: 9px; padding: 10px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }.product-toolbar label, .product-toolbar input, .product-toolbar select { min-width: 0; width: 100%; }.product-toolbar input, .product-toolbar select { height: 40px; padding: 0 11px; border: 1px solid #e5e9f0; border-radius: 9px; outline: 0; background: white; }.product-toolbar input:focus, .product-toolbar select:focus { border-color: #aab4ef; outline: 3px solid rgba(79,95,211,.1); }.product-count { margin: 0 0 13px; font-size: 12px; }.product-records { display: grid; gap: 10px; }.product-record { padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: white; }.product-record__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.product-record h3 { margin: 0; font-size: 16px; line-height: 1.45; }.product-record__badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }.product-facts { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 15px 0 0; }.product-facts div { min-width: 0; padding: 9px 11px; border-radius: 9px; background: #f7f8fb; }.product-facts dt { margin-bottom: 4px; color: var(--muted); font-size: 11px; }.product-facts dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.product-record details { margin-top: 13px; border-top: 1px solid #edf0f4; padding-top: 11px; }.product-record summary { color: var(--accent-dark); cursor: pointer; font-size: 13px; font-weight: 700; }.product-source { max-height: 440px; overflow: auto; margin: 12px 0 0; padding: 14px; color: #495466; border-radius: 9px; background: #f6f7fa; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.product-questions { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
@media (max-width: 900px) { .toolbar { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(118px, 1fr)); }.item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.product-toolbar { grid-template-columns: 1fr 1fr; }.product-search { grid-column: 1 / -1; } }
@media (max-width: 680px) { .toolbar { grid-template-columns: 1fr 1fr; }.toolbar .search-field { grid-column: 1 / -1; } }
@media (max-width: 600px) { .shell { width: min(100% - 28px, 560px); }.site-header__inner { height: 68px; }.brand small { display: none; }.main-nav a { padding: 8px 8px; font-size: 13px; }.page-main { padding: 35px 0 58px; }.page-intro { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 25px; }.page-intro h1 { font-size: 34px; }.stat-pill { align-self: flex-start; }.toolbar { grid-template-columns: 1fr; padding: 8px; }.toolbar .search-field { grid-column: auto; }.toolbar select { width: 100%; }.item-grid { grid-template-columns: 1fr; gap: 11px; }.item-card { min-height: 0; }.item-card__top { padding: 17px 18px 0; }.item-card__link { padding: 0 18px 20px; }.priority-control--card { margin-left: auto; }.priority-select { min-height: 34px; padding-left: 10px; font-size: 12px; }.detail-header { padding: 27px 22px 25px; border-radius: 17px 17px 0 0; }.detail-header h1 { font-size: 31px; }.detail-summary { font-size: 14px; }.detail-meta { align-items: flex-start; flex-direction: column; margin-top: 23px; }.detail-meta .button { width: 100%; }.content-panel { padding: 25px 22px; }.attachments { padding: 24px 22px 27px; }.attachment-list { grid-template-columns: 1fr; }.login-card { padding: 29px 24px; }.product-toolbar { grid-template-columns: 1fr; }.product-search { grid-column: auto; }.product-record { padding: 15px; }.product-record__head { flex-direction: column; }.product-record__badges { justify-content: flex-start; }.product-facts { grid-template-columns: 1fr; gap: 6px; }.product-facts div { padding: 8px 10px; }.callout { flex-direction: column; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
