:root { color-scheme: light; --paper: #f6f4ef; --ink: #263d40; --muted: #657475; --line: #d9dfd9; --accent: #a8482c; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 "Microsoft YaHei", "PingFang SC", sans-serif; }
header, footer { padding: 24px 5vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 20px; }
.brand { color: inherit; font: 700 24px "Songti SC", SimSun, serif; text-decoration: none; }
.brand span { display: block; font: 10px/2.6 Georgia, serif; letter-spacing: 2px; }
main { max-width: 1280px; margin: auto; padding: 24px 5vw 72px; min-height: 76vh; }
footer { border-top: 1px solid var(--line); border-bottom: 0; font-size: 12px; color: var(--muted); }
h1, h2 { font-family: "Songti SC", SimSun, Georgia, serif; font-weight: 500; margin: 0 0 12px; line-height: 1.3; }
h1 { font-size: 36px; } h2 { font-size: 26px; }
p { margin: 0 0 20px; } .muted, .hint, small { color: var(--muted); } .hint, small { font-size: 12px; } small { display: block; margin-top: 6px; }
.eyebrow { font: 11px Georgia, serif; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; }
button, input, select { font: inherit; border: 1px solid var(--line); border-radius: 4px; }
button { padding: 9px 16px; background: #fffdf8; color: var(--ink); cursor: pointer; white-space: nowrap; }
button:hover { border-color: var(--ink); } button:disabled { opacity: .45; cursor: default; }
button.primary { background: var(--ink); border-color: var(--ink); color: white; } button.quiet { background: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #bf7659; outline-offset: 3px; }
label { display: block; font-size: 13px; margin-bottom: 18px; }
input, select { width: 100%; padding: 10px 12px; color: var(--ink); background: #fff; margin-top: 7px; min-height: 44px; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 28px 0; }
.intro { position: relative; padding: 40px 0; } .intro h1 { font-size: clamp(44px, 5vw, 66px); line-height: 1.4; letter-spacing: 3px; }
.intro > p:not(.eyebrow) { color: var(--muted); margin-top: 22px; }.stamp { margin-top: 38px; width: 50px; padding: 5px; color: var(--accent); border: 1px solid var(--accent); text-align: center; font: 20px/1.1 SimSun, serif; }
.panel { background: #fffdf8; border: 1px solid var(--line); padding: 36px; border-top: 3px solid var(--ink); }
.panel > button { width: 100%; margin: 4px 0 18px; } .compact { max-width: 510px; margin-top: 30px; }
.heading, .actions, .pagination, nav { display: flex; align-items: center; gap: 10px; } .heading { justify-content: space-between; margin: 20px 0; }
.filters { display: flex; gap: 16px; align-items: flex-end; padding: 20px; background: #ebece5; } .filters label { margin: 0; min-width: 130px; } .filters .search { flex: 1; } .filters button { min-height: 44px; }
.table-wrap { overflow-x: auto; background: #fffdf8; } table { width: 100%; min-width: 800px; border-collapse: collapse; text-align: left; font-size: 13px; } th { color: var(--muted); font-weight: 400; font-size: 12px; } td, th { padding: 18px 14px; border-bottom: 1px solid var(--line); } td strong { display: block; font-weight: 500; } td small { margin-top: 2px; } td:last-child { min-width: 260px; } td button { padding: 5px 8px; font-size: 12px; margin: 3px; }
.badge { font-size: 12px; padding: 4px 8px; background: #e8efe8; border-radius: 3px; white-space: nowrap; }.badge.disabled { background: #f2e5dd; color: #893e2c; }
.pagination { justify-content: space-between; margin-top: 20px; font-size: 13px; } #notice { min-height: 26px; margin-bottom: 16px; color: var(--accent); } #notice:empty { margin-bottom: 0; }
dialog { background: #fffdf8; color: var(--ink); border: 1px solid var(--line); padding: 30px; width: min(600px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; } dialog::backdrop { background: #17303180; } dialog .actions { justify-content: flex-end; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }.dialog-error { color: var(--accent); font-size: 13px; } pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #eee; padding: 16px; max-height: 45vh; overflow: auto; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
a { color: var(--ink); } nav a { text-decoration: none; padding: 8px; } .wrap { flex-wrap: wrap; } textarea { width: 100%; padding: 10px; font: inherit; border: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 24px; margin-top: 28px; }.work-card { display: block; padding: 18px; background: #fffdf8; border: 1px solid var(--line); text-decoration: none; }.work-card:hover { border-color: var(--ink); }.work-card img,.work-placeholder { width: 100%; height: 180px; object-fit: contain; background: #eeeae2; }.work-placeholder { display: grid; place-items: center; }.work-card h2 { font-size: 21px; margin-top: 15px; }.work-card p { overflow-wrap: anywhere; }.work-card .badge { display: inline-block; margin-top: 12px; }
.work-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin: 24px 0 40px; }.work-detail aside { align-self: start; }.design-image { width: 100%; max-height: 440px; object-fit: contain; background: #eae7df; margin-bottom: 20px; }.button-link { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); background: #fffdf8; text-decoration: none; }.firing-list { display: grid; gap: 24px; }.photo-grid { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }.photo-grid img { width: 160px; height: 150px; object-fit: contain; }.photo-grid button { display: block; font-size: 12px; }.work-detail p,.firing-list p { white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width:800px) { .work-detail { grid-template-columns: 1fr; } .filters label { min-width: 140px; } }
@media(max-width: 800px) { header { flex-wrap: wrap; } main { padding-inline: 20px; } .login-layout { grid-template-columns: 1fr; gap: 16px; } .intro { padding: 5px 0; } .intro h1 { font-size: 36px; } .intro br, .stamp { display: none; } .panel { padding: 24px; } .heading { align-items: flex-start; flex-direction: column; } .filters { flex-wrap: wrap; } .filters .search { flex-basis: 100%; } .filters label { flex: 1; } nav { flex-wrap: wrap; } h1 { font-size: 30px; } }
