.ct-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #9e803b;border-radius:6px;background:#111;color:#e7e3db;font-family:inherit;font-size:16px;line-height:1.6;overflow:auto;letter-spacing:0}.ct-dialog::backdrop{background:rgba(0,0,0,.8)}.ct-dialog *{box-sizing:border-box;min-width:0;letter-spacing:0}.ct-dialog header{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#1c1a18;border-bottom:1px solid #5c4a2b;position:sticky;top:0;z-index:1}.ct-dialog h2{font-size:20px;margin:0;flex:1;color:#e3c16b}.ct-dialog h3{font-size:17px;margin:8px 0;overflow-wrap:anywhere}.ct-dialog header button{width:42px;height:42px;font-size:24px;flex:none;padding:0}.ct-body{padding:18px}.ct-dialog [data-status]{margin:0;padding:0 18px 14px;color:#e3c16b;overflow-wrap:anywhere}.ct-dialog button,.ct-dialog input,.ct-dialog select,.ct-dialog textarea{font:inherit;color:inherit;background:#23211e;border:1px solid #655939;border-radius:4px;min-height:42px;padding:8px 12px;max-width:100%}.ct-dialog button{cursor:pointer;white-space:normal}.ct-dialog button:hover,.ct-dialog button[aria-pressed=true]{background:#493319;border-color:#e3c16b}.ct-dialog button:disabled{opacity:.5;cursor:default}.ct-dialog input,.ct-dialog textarea,.ct-dialog select{width:100%}.ct-dialog label{display:grid;gap:5px}.ct-dialog [data-plan]{display:grid;gap:12px;padding-bottom:20px;border-bottom:1px solid #51452f}.ct-note{color:#bdb5a5;margin:0 0 16px}.ct-fields{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0}.ct-fields label{flex:1;min-width:180px}.ct-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ct-row{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #3c3327}.ct-row>img{width:56px;height:56px;object-fit:contain;flex:none}.ct-row>div{flex:1;overflow-wrap:anywhere}.ct-row small,.ct-gear small{display:block;color:#b5b0a7}.ct-totals{display:flex;gap:24px;flex-wrap:wrap;border-block:1px solid #51452f;padding:16px 0}.ct-totals span{display:grid}.ct-totals b{font-size:22px;color:#e3c16b}.ct-record,.ct-event,.ct-build-unit{padding:18px 0;border-bottom:1px solid #51452f}.ct-record dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ct-record dd{margin:0;color:#e3c16b;font-weight:bold}.ct-event-notes{white-space:pre-wrap;overflow-wrap:anywhere}.ct-event li{overflow-wrap:anywhere}.ct-event time{color:#e3c16b}.ct-honors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ct-honor{border:1px solid var(--ct-frame,#4b463b);border-radius:6px;padding:20px 12px;text-align:center;box-shadow:inset 0 0 20px var(--ct-glow,transparent)}.ct-honor>img{width:68px;height:68px;object-fit:contain}.ct-honor p{min-height:26px}.ct-honor button{width:100%}.ct-frame-initiate{--ct-frame:#98a592;--ct-glow:#85966a22}.ct-frame-veteran{--ct-frame:#d8b55a;--ct-glow:#d8b55a22}.ct-frame-conqueror{--ct-frame:#da4d49;--ct-glow:#da4d4922}.ct-frame-delver{--ct-frame:#57b8c9;--ct-glow:#57b8c922}.ct-honor{display:flex;flex-direction:column;align-items:center}.ct-honor h3{min-height:54px}.ct-honor p{display:grid;gap:4px;min-height:64px;margin-top:auto}.ct-honor>img{width:64px;height:64px}.ct-dialog input[type=datetime-local]{color-scheme:dark}.pp-header.ct-showcase{animation:ct-honor-pulse 5s ease-in-out infinite}@keyframes ct-honor-pulse{50%{box-shadow:inset 0 0 40px var(--ct-glow),0 0 8px var(--ct-glow)}}@media(prefers-reduced-motion:reduce){.pp-header.ct-showcase{animation:none}}.ct-profile-honor{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--ct-frame);border-radius:4px;padding:4px 10px;margin-top:8px;color:var(--ct-frame);box-shadow:0 0 12px var(--ct-glow)}.ct-profile-honor img{width:30px;height:30px;object-fit:contain}.pp-header.ct-showcase{border-color:var(--ct-frame);box-shadow:inset 0 0 25px var(--ct-glow)}.ct-gear{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ct-gear>div{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}.ct-gear img{width:44px;height:44px;object-fit:contain;flex:none}.ct-dialog details{margin-top:12px}.ct-dialog summary{cursor:pointer;color:#e3c16b}@media(max-width:600px){.ct-body{padding:12px}.ct-honors{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ct-record dl{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-gear{grid-template-columns:1fr}.ct-row{gap:8px}.ct-row>img{width:44px;height:44px}.ct-dialog h2{font-size:18px}.ct-dialog header{padding:10px}.ct-event .ct-actions>button{flex:1 1 42%}}