/* Scope legacy Discuz fixed-width overrides to this plugin only. */
body#nv_plugin.pg_xs_codexreset{min-width:0!important}
body.pg_xs_codexreset #wp{width:min(1200px,calc(100% - 40px))!important;max-width:1200px!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}
body.pg_xs_codexreset #cr-app{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
@media(max-width:860px){body.pg_xs_codexreset #wp{width:calc(100% - 28px)!important}}
@media(max-width:600px){body.pg_xs_codexreset #ft{width:auto!important;min-width:0!important;max-width:100%!important}}
.cr-app{--cr-blue:#1677ee;--cr-ink:#182c46;--cr-muted:#657990;--cr-line:#e3eaf3;--cr-green:#159d7a;color:var(--cr-ink);font:14px/1.65 system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0;padding-top:24px;padding-bottom:32px;max-width:1320px}
.cr-app *{box-sizing:border-box;letter-spacing:0}.cr-app a{color:var(--cr-blue);text-decoration:none}.cr-app a:hover{text-decoration:underline}.cr-app svg{width:18px;height:18px;flex-shrink:0;vertical-align:middle}.cr-app button,.cr-app input,.cr-app select{font:inherit}.cr-app button{cursor:pointer}.cr-app button:disabled{opacity:.4;cursor:default}.cr-app :focus-visible{outline:2px solid var(--cr-blue);outline-offset:3px}.cr-app h1,.cr-app h2,.cr-app p{margin:0}.cr-breadcrumb{display:flex;gap:12px;color:var(--cr-muted);font-size:13px;margin-bottom:22px}.cr-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.cr-eyebrow{color:var(--cr-blue);font-size:11px;font-weight:700;margin-bottom:4px}.cr-heading h1{font-size:30px;line-height:1.4;font-weight:750}.cr-heading p{color:var(--cr-muted);margin-top:6px}.cr-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cr-button,.cr-icon{border:1px solid var(--cr-line);border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--cr-ink);background:#fff;min-height:38px}.cr-button{padding:8px 14px}.cr-icon{width:38px;height:38px;padding:0;flex-shrink:0}.cr-button:hover,.cr-icon:hover{border-color:#a5c9fa;background:#f5f9ff}.cr-button[aria-pressed=true]{color:#08785c;border-color:#a8dfcd;background:#edf9f5}.cr-statusbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--cr-muted);font-size:12px;padding:18px 0 12px}.cr-statusbar .ok{color:#08785c}.cr-statusbar .stale{color:#966113}#cr-message:not(:empty){padding:10px 14px;background:#fff9e9;border-left:3px solid #dfac43;margin-bottom:14px}.cr-summary{border-top:1px solid var(--cr-line);border-bottom:1px solid var(--cr-line);display:grid;grid-template-columns:minmax(320px,2.1fr) repeat(3,minmax(120px,1fr));background:#fff}.cr-latest{background:#f3f8ff;padding:25px 28px;min-width:0}.cr-label{display:flex;align-items:center;gap:8px;color:#416482;font-size:13px;flex-wrap:wrap}.cr-dot{background:var(--cr-blue);width:7px;height:7px;border-radius:50%}.cr-tag{display:inline-block;padding:2px 8px;font-size:12px;color:#1664bb;background:#eaf3ff;border-radius:4px;font-weight:500}.cr-tag.banked{background:#e6f7f0;color:#08785c}.cr-elapsed{font-variant-numeric:tabular-nums;font-size:32px;font-weight:730;line-height:1.4;margin:12px 0;color:#125bb0;min-height:45px}.cr-latest-bottom{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--cr-muted)}.cr-stat{border-left:1px solid var(--cr-line);padding:26px 22px;display:flex;flex-direction:column;justify-content:center;min-width:0}.cr-stat>svg{color:#94a5bb;margin-bottom:8px}.cr-stat>span{color:var(--cr-muted);font-size:13px}.cr-stat strong{font-size:27px;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums}.cr-stat small{font-size:11px;color:var(--cr-muted);margin-top:6px}.cr-section{padding:28px 0 0}.cr-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.cr-section h2{font-size:18px;font-weight:650}.cr-section h2 small{font-size:12px;margin-left:7px;color:var(--cr-muted);font-weight:400}.cr-muted{color:var(--cr-muted);font-size:12px}.cr-select-label{display:flex;align-items:center;gap:8px;color:var(--cr-muted);font-size:12px}.cr-select-label select{border:1px solid var(--cr-line);background:#fff;border-radius:5px;max-width:150px;height:34px;padding:0 8px;color:var(--cr-ink)}.cr-calendar-scroll{overflow-x:auto;padding:8px 0;scrollbar-width:thin}.cr-months{display:grid;grid-template-columns:repeat(12,1fr);margin-left:24px;min-width:720px;font-size:11px;color:var(--cr-muted);margin-bottom:8px}.cr-calendar-layout{display:flex;gap:10px;min-width:744px}.cr-weekdays{display:grid;grid-template-rows:repeat(7,1fr);width:14px;font-size:10px;color:var(--cr-muted);align-items:center}.cr-calendar{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,14px);grid-auto-columns:minmax(9px,1fr);gap:4px;width:100%;align-content:start}.cr-day{display:block;border:0;background:#edf1f6;border-radius:2px;width:100%;height:14px;min-width:0;padding:0}.cr-calendar button.cr-day{cursor:default}.cr-calendar button.cr-day[data-date]{cursor:pointer}.cr-day.regular{background:#4390f3}.cr-day.banked{background:#42b99b}.cr-day.mixed{background:#746ad8}.cr-day.blank{visibility:hidden}.cr-day.selected{outline:2px solid #172d48;outline-offset:1px}.cr-calendar-footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:var(--cr-muted);font-size:12px;padding-top:12px;padding-bottom:22px;border-bottom:1px solid var(--cr-line)}.cr-legend{display:flex;gap:14px;flex-wrap:wrap}.cr-legend span{display:flex;align-items:center;gap:5px}.cr-legend .cr-day{width:11px;height:11px}.cr-filters{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.cr-tabs{display:flex;gap:4px;background:#f2f5f9;border-radius:6px;padding:4px}.cr-tabs button{border:0;border-radius:4px;padding:7px 14px;background:transparent;color:var(--cr-muted);white-space:nowrap}.cr-tabs button[aria-pressed=true]{background:#fff;color:var(--cr-blue);box-shadow:0 1px 3px #182c4610}.cr-search{display:flex;align-items:center;gap:8px;border:1px solid var(--cr-line);border-radius:6px;padding:8px 12px;color:#8ca0b9;width:250px;max-width:100%}.cr-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--cr-ink)}.cr-event{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;padding:22px 0;border-bottom:1px solid var(--cr-line)}.cr-event time{font-size:13px;color:var(--cr-muted);font-variant-numeric:tabular-nums}.cr-event p{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;max-width:950px}.cr-event a{font-size:12px}.cr-event .cr-observed{font-size:11px;color:var(--cr-muted);margin-left:8px}.cr-empty{padding:42px 16px;text-align:center;color:var(--cr-muted)}.cr-pagination{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:var(--cr-muted);padding-top:16px}.cr-footer{border-top:1px solid var(--cr-line);margin-top:28px;padding-top:18px;color:var(--cr-muted);font-size:12px}.cr-footer p+p{margin-top:5px}#cr-notices .cr-notice{padding:15px 18px;border-left:3px solid #dda02e;background:#fff9eb;margin-top:18px}#cr-notices p{margin:6px 0;overflow-wrap:anywhere}#cr-notices a{font-size:12px}#cr-day-filter:not([hidden]){display:flex;align-items:center;gap:12px;padding:8px 0;font-size:12px;color:var(--cr-blue)}
@media(max-width:1000px){.cr-summary{grid-template-columns:repeat(3,1fr)}.cr-latest{grid-column:1/-1}.cr-stat{padding:18px}.cr-stat:nth-child(2){border-left:0}.cr-stat>svg{display:none}.cr-elapsed{font-size:29px}}
@media(max-width:600px){.cr-app{width:auto!important;max-width:none;margin:0 16px;padding-top:18px}.cr-heading{align-items:flex-start;flex-direction:column;gap:14px}.cr-heading h1{font-size:26px}.cr-breadcrumb{margin-bottom:16px}.cr-latest{padding:20px 16px}.cr-elapsed{font-size:26px}.cr-stat{padding:14px 10px}.cr-stat strong{font-size:23px}.cr-stat small{font-size:10px}.cr-section-heading .cr-toolbar{gap:8px}.cr-select-label{gap:5px}.cr-select-label select{max-width:120px}.cr-legend{gap:10px}.cr-event{grid-template-columns:1fr;gap:8px;padding:18px 0}.cr-search{width:100%}.cr-tabs{width:100%}.cr-tabs button{flex:1;padding:7px 8px}.cr-footer{font-size:11px}.cr-calendar-footer{font-size:11px}.cr-statusbar{font-size:11px}.cr-pagination{align-items:center}}
@media(prefers-reduced-motion:reduce){.cr-app *{scroll-behavior:auto}}
