:root{color-scheme:light;--paper:#f5f5f7;--surface:#fff;--ink:#1d1d1f;--muted:#65656a;--line:#d7d7dc;--soft:#e9e9ed;--danger:#a52c27;--warning:#81590e;--success:#24643d;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}body{margin:0;font-size:15px;line-height:1.6}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-underline-offset:4px}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--ink)}::selection{background:#dcdce1;color:var(--ink)}input,textarea{caret-color:var(--ink)}*{scrollbar-color:#b9b9c0 var(--paper);scrollbar-width:thin}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.2;letter-spacing:-.03em;margin-bottom:12px;font-weight:650}h2{font-size:24px;line-height:1.35;letter-spacing:-.02em;font-weight:620;margin-bottom:8px}h3{font-size:17px;line-height:1.45;font-weight:620;margin-bottom:18px}p{margin-bottom:16px}button{transition:background .16s ease,border-color .16s ease}small,.small{font-size:13px;line-height:1.65}.muted,.field-note{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}.skip{position:fixed;left:16px;top:-80px;background:var(--ink);color:#fff;padding:12px 18px;border-radius:8px;z-index:20}.skip:focus{top:12px}.topbar{height:76px;padding:0 max(28px,calc((100vw - 1440px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{text-decoration:none;white-space:nowrap;font-weight:650;font-size:24px;letter-spacing:-.03em}.brand span{font-size:13px;font-weight:400;color:var(--muted);margin-left:7px;letter-spacing:0}.topbar nav{display:flex;gap:22px}.topbar nav a{font-size:13px;display:inline-flex;min-height:44px;align-items:center;text-decoration:none}.topbar nav a:hover{text-decoration:underline}.shell{width:100%;max-width:1496px;margin:auto;padding:44px 28px 72px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:27px}.page-heading p{color:var(--muted);margin-bottom:0}.session-status{font-size:13px;text-align:right}.page-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:24px}.page-tabs button{border:0;border-bottom:2px solid transparent;background:none;min-height:48px;padding:8px 0;font-size:14px;color:var(--muted);margin-bottom:-1px}.page-tabs button[aria-selected=true]{border-color:var(--ink);color:var(--ink);font-weight:600}.workflow-note{font-size:13px;color:var(--muted);max-width:85ch;margin-bottom:27px}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:32px;align-items:start}.event-sidebar{min-width:0}.event-sidebar label,.field>label{display:block;font-size:13px;font-weight:550;margin-bottom:8px}.field label span{font-weight:400;color:var(--muted);margin-left:8px}input,select,textarea{display:block;width:100%;border:1px solid #bdbdc4;border-radius:8px;background:#fff;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.6}select{padding-right:28px}textarea{resize:vertical;min-height:92px}input::placeholder,textarea::placeholder{color:#737378;opacity:1}.filter-grid{display:grid;grid-template-columns:1fr;gap:15px;margin-top:19px}.event-list{max-height:calc(100vh - 450px);min-height:180px;overflow:auto;padding:0 3px 3px 0;scrollbar-gutter:stable}.event-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:18px 13px;min-height:108px}.event-item:hover{background:#eaeaec}.event-item[aria-current=true]{background:#e5e5ea;border-radius:9px;border-bottom-color:transparent}.event-name{display:block;font-size:14px;line-height:1.55;font-weight:600;overflow-wrap:anywhere}.event-edition{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.event-flags{display:flex;gap:5px 9px;flex-wrap:wrap;margin-top:8px;font-size:11px;color:var(--muted)}.event-flags .draft{color:var(--warning)}.editor-column{min-width:0;background:#fff;border-radius:12px;padding:28px 32px}.editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.editor-heading h2{font-size:23px;overflow-wrap:anywhere}.editor-heading p{margin-bottom:0}.text-link{font-size:13px;display:inline-flex;min-height:44px;align-items:center;white-space:nowrap}.review-note{font-size:13px;color:var(--warning);margin-bottom:24px}.notice{padding:15px 17px;background:#ededf0;border-radius:8px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.notice.error{background:#fff1ef;color:#8c2521}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border:1px solid #bdbdc4;background:#fff;border-radius:8px;padding:10px 16px;line-height:1.45;font-size:13px;text-decoration:none;font-weight:500}.button:hover:not(:disabled){background:#eeeef1}.button.primary{background:var(--ink);border-color:var(--ink);color:#fff}.button.primary:hover:not(:disabled){background:#000}.conflict-actions{margin:0 0 25px}fieldset{border:0;margin:0;padding:0;min-width:0}.form-section{margin-top:32px;padding-top:28px;border-top:1px solid var(--soft)}.form-section:first-of-type{margin-top:0;padding-top:0;border:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{min-width:0;margin-bottom:20px}.form-grid .field{margin-bottom:0}.field.full{grid-column:1/-1}.field-note{font-size:12px;line-height:1.8;max-width:75ch;margin:12px 0 0;overflow-wrap:anywhere}.form-section>.field{margin-bottom:20px}.json-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;tab-size:2;white-space:pre;overflow:auto;line-height:1.7;min-height:150px;resize:vertical}.form-section details+details{margin-top:20px}summary{min-height:44px;cursor:pointer;font-size:14px;font-weight:550;padding:10px 0}details[open]>summary{margin-bottom:8px}.source-links{display:flex;flex-direction:column;align-items:flex-start;margin-top:12px}.source-links a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;overflow-wrap:anywhere;max-width:100%}.editor-toolbar{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;border-top:1px solid var(--line);padding:20px 0 12px;margin-top:28px}.editor-toolbar>p{margin:0}.history-section{border-top:1px solid var(--line);margin-top:32px;padding-top:28px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:12px}.section-heading h2,.section-heading h3,.section-heading p{margin-bottom:0}.history-list{list-style:none;margin:18px 0 0;padding:0}.history-item{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--soft);padding:18px 0}.history-item p{margin:3px 0 0;font-size:12px;color:var(--muted)}.history-item strong{font-size:14px;font-weight:550}.empty-state{color:var(--muted);font-size:14px;padding:24px 0;margin-bottom:0}.access-state{max-width:760px;margin:36px 0 80px;background:#fff;border-radius:12px;padding:36px}.access-state p{max-width:65ch;color:var(--muted);line-height:1.9}.access-state .actions{margin-top:24px}.stats-totals{display:flex;flex-wrap:wrap;gap:25px 45px;margin:28px 0}.stats-totals>div{min-width:120px}.stats-totals dt{font-size:13px;color:var(--muted)}.stats-totals dd{margin:6px 0 0;font-size:23px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.table-scroll{overflow:auto;background:#fff;border-radius:10px}table{border-collapse:collapse;width:100%;font-size:14px;min-width:440px;font-variant-numeric:tabular-nums}caption{text-align:left;color:var(--muted);padding:18px 20px;font-size:13px}th,td{padding:15px 20px;text-align:left;border-top:1px solid var(--soft);overflow-wrap:anywhere}th{font-size:12px;font-weight:600;color:var(--muted)}td:last-child,th:last-child{text-align:right}dialog{position:relative;border:0;background:#fff;color:var(--ink);border-radius:16px;max-width:560px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:36px;box-shadow:0 18px 60px #0003;overflow:auto}dialog::backdrop{background:#0005}dialog h2{padding-right:25px;margin-bottom:16px}dialog>form>p{color:var(--muted);font-size:14px;line-height:1.8}.dialog-close{position:absolute;right:12px;top:10px;min-width:44px;min-height:44px;border:0;background:none;color:var(--muted);font-size:27px;line-height:1}.confirm-summary{margin:24px 0;border-top:1px solid var(--line)}.confirm-summary>div{display:grid;grid-template-columns:95px minmax(0,1fr);gap:15px;padding:10px 0;border-bottom:1px solid var(--soft);font-size:13px}.confirm-summary dt{color:var(--muted)}.confirm-summary dd{margin:0;overflow-wrap:anywhere}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);border-radius:9px;background:var(--ink);color:#fff;padding:13px 20px;font-size:13px;box-shadow:0 8px 24px #0002;z-index:30}
@media(min-width:1500px){.workspace{grid-template-columns:340px minmax(0,1fr);gap:40px}.event-list{max-height:calc(100vh - 440px)}}
@media(max-width:980px){.workspace{grid-template-columns:260px minmax(0,1fr);gap:22px}.editor-column{padding:24px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.editor-toolbar{align-items:flex-start;flex-direction:column}.editor-heading{display:block}.editor-heading .text-link{margin-top:4px}.event-list{max-height:550px}}
@media(max-width:720px){.topbar{height:68px;padding:0 20px;gap:16px}.brand{font-size:22px}.brand span{font-size:11px;margin-left:4px}.topbar nav{gap:15px}.topbar nav a{font-size:12px}.shell{padding:30px 18px 52px}.page-heading{display:block;margin-bottom:22px}h1{font-size:28px}.page-heading>div>p{font-size:14px}.session-status{text-align:left;margin-top:16px;font-size:12px}.workspace{display:block}.event-sidebar{margin-bottom:25px}.filter-grid{grid-template-columns:1fr 1fr;gap:12px}.event-list{max-height:285px;min-height:0}.event-item{min-height:94px;padding:14px 12px}.event-name{font-size:14px}.editor-column{padding:24px 19px}.editor-heading h2{font-size:22px}.workflow-note{font-size:12px;margin-bottom:22px}.form-grid{gap:18px}.form-section{margin-top:26px;padding-top:24px}.editor-toolbar{gap:12px;padding:16px 0 7px}.editor-toolbar .actions{width:100%}.editor-toolbar .button{flex:1;padding-left:12px;padding-right:12px}.section-heading{gap:15px}.section-heading .button{flex-shrink:0;font-size:12px;padding:9px 12px}.history-item{align-items:flex-start;flex-direction:column;gap:12px}.history-item .button{width:100%}.access-state{margin:26px 0 50px;padding:26px 22px}.access-state h2{font-size:22px}#stats-panel>.section-heading{align-items:flex-start;flex-direction:column}dialog{padding:30px 23px}.confirm-summary>div{grid-template-columns:80px minmax(0,1fr);gap:12px}.confirm-summary{margin:20px 0}.stats-totals{gap:22px 28px}.stats-totals>div{min-width:110px}.json-input{font-size:12px}#f-full-record{max-height:360px}.field-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
