/* Static UI exported from local board f184127fe0cf; light theme, fixed design layout. */
#boardContent{color-scheme: dark; --bg: #282c34; --surface: #21252b; --raised: #2d333d; --border: #3a424e; --text: #e3e9f2; --muted: #9ca9ba; --accent: #8bb8ff; --up: #f05b68; --down: #45c79b; --benchmark: #689fff; --excess: #f5b000; --gold: #e1b66a; --grid: #363d48; --shadow: 0 2px 8px #0000000d; --card-hover-shadow: 0 12px 28px #0003;}
#boardContent[data-theme="light"]{color-scheme: light; --bg: #f4f6fa; --surface: #fff; --raised: #f0f4f9; --border: #dbe2ed; --text: #223049; --muted: #586b84; --accent: #2c62ae; --up: #d34455; --down: #16845e; --benchmark: #3d7bce; --gold: #986616; --grid: #e9edf4; --shadow: 0 2px 8px #19325106; --card-hover-shadow: 0 12px 28px #0f172a1a;}
#boardContent *{box-sizing: border-box;}
#boardContent [hidden]{display: none !important;}
#boardContent{margin: 0px; background: var(--bg); color: var(--text); font: 14px / 1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;}
#boardContent button,#boardContent input,#boardContent a{-webkit-tap-highlight-color: transparent;}
#boardContent button,#boardContent input{font: inherit;}
#boardContent button,#boardContent a{touch-action: manipulation;}
#boardContent a{color: var(--accent); text-decoration: none;}
#boardContent button{cursor: pointer; border: 1px solid transparent; border-radius: 7px; color: var(--text); background: none; padding: 8px 14px; font-weight: 550;}
#boardContent button:disabled{cursor: default; opacity: 0.55;}
#boardContent button:hover:not(:disabled),#boardContent a:hover{filter: brightness(1.12);}
#boardContent button:focus-visible,#boardContent a:focus-visible,#boardContent input:focus-visible,#boardContent summary:focus-visible{outline: 2px solid var(--accent); outline-offset: 3px;}
#boardContent input{min-width: 0px; background: var(--raised); color: var(--text); border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px;}
#boardContent h1,#boardContent h2,#boardContent h3,#boardContent p{margin: 0px;}
#boardContent h1{font-size: 32px; line-height: 1.35; letter-spacing: -0.035em;}
#boardContent h2{font-size: 18px; line-height: 1.5;}
#boardContent h3{font-size: 15px;}
#boardContent code{font: 12px / 1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere;}
#boardContent svg{flex-shrink: 0;}
#boardContent .muted{color: var(--muted);}
#boardContent .eyebrow{font: 12px / 1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 10px;}
#boardContent .primary{background: var(--accent); color: var(--surface);}
#boardContent .danger{background: var(--up); color: rgb(255, 255, 255);}
#boardContent .secondary{background: var(--surface); border-color: var(--border);}
#boardContent .quiet{color: var(--muted);}
#boardContent .up{color: var(--up);}
#boardContent .down{color: var(--down);}
#boardContent .site-header{height: 76px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0px max(16px, 50% - 712px) 0px max(28px, 50% - 700px); gap: 20px; background: var(--surface);}
#boardContent .header-start{display: flex; align-items: center; height: 100%; gap: 24px; min-width: 0px;}
#boardContent .brand{display: flex; flex-shrink: 0; align-items: center; gap: 2px; color: var(--text); font-size: 17px; letter-spacing: -0.02em;}
#boardContent .primary-nav{display: flex; align-items: stretch; height: 100%; gap: 24px; padding-left: 24px; position: relative; white-space: nowrap;}
#boardContent .primary-nav::before{content: ""; position: absolute; left: 0px; top: 50%; height: 20px; width: 1px; background: var(--border); transform: translateY(-50%);}
#boardContent .primary-nav a{display: flex; align-items: center; position: relative; font-size: 15px; font-weight: 600; color: var(--muted);}
#boardContent .primary-nav a[aria-current="page"]{color: var(--accent);}
#boardContent .primary-nav a[aria-current="page"]::after{content: ""; position: absolute; top: calc(50% + 13px); left: 0px; right: 0px; height: 3px; border-radius: 3px 3px 0px 0px; background: var(--accent);}
#boardContent .header-actions{display: flex; align-items: center; gap: 20px; font-size: 14px; white-space: nowrap;}
#boardContent #main{max-width: 1456px; margin: auto; padding: 28px 28px 60px; min-height: calc(-150px + 100vh);}
#boardContent .toolbar{display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px;}
#boardContent .toolbar-row{display: flex; align-items: center; flex-shrink: 0; gap: 10px;}
#boardContent .toolbar-sort{margin-left: auto;}
#boardContent .row-label{flex: 0 0 auto; color: var(--muted); font-size: 12px;}
#boardContent .tag-group{display: flex; gap: 4px;}
#boardContent .filter-tag{padding: 5px 10px; border-radius: 6px; color: var(--muted); font-size: 13px; font-weight: 400;}
#boardContent .filter-tag:hover{color: var(--accent); background: var(--raised);}
#boardContent .filter-tag.active{background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font-weight: 550;}
#boardContent .tag-chip{padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 11px; line-height: 1.5;}
#boardContent .tag-chip:hover{color: var(--accent); border-color: var(--accent);}
#boardContent .tag-chip.active{background: color-mix(in srgb, var(--accent) 10%, transparent); border-color: var(--accent); color: var(--accent);}
#boardContent #board-count{font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap;}
#boardContent .search{display: flex; align-items: center; min-width: 120px; gap: 8px; color: var(--muted); border-bottom: 1px solid var(--border);}
#boardContent .search input{border: 0px; background: transparent; padding: 6px 3px; width: 176px; font-size: 13px;}
#boardContent .card-grid{display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 20px;}
#boardContent .strategy-card{min-width: 0px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; position: relative; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;}
#boardContent .strategy-card:hover{border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); transform: translateY(-2px); box-shadow: var(--card-hover-shadow); z-index: 1;}
#boardContent .card-heading{display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;}
#boardContent .strategy-card h2{font-size: 18px; font-weight: 600; overflow-wrap: anywhere; letter-spacing: -0.025em;}
#boardContent .card-title{min-width: 0px;}
#boardContent .card-meta{display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 5px;}
#boardContent .card-id{color: var(--muted); font: 600 14px / 1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere;}
#boardContent .card-period{font: 11px / 1.6 ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); white-space: nowrap;}
#boardContent .metrics{display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 16px; margin: 20px 0px 6px;}
#boardContent .metric-label{display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px;}
#boardContent .metric-value{display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.25; white-space: nowrap;}
#boardContent .mini-chart{height: 112px; margin: 8px -5px 0px;}
#boardContent .card-chart-note{display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); margin-bottom: 14px;}
#boardContent .card-chart-note .line-legend{flex-shrink: 0;}
#boardContent .line-legend{display: flex; gap: 10px;}
#boardContent .line-legend span::before{content: ""; display: inline-block; width: 12px; height: 2px; margin: 0px 5px 3px 0px; background: var(--up);}
#boardContent .line-legend .benchmark::before{background: var(--benchmark);}
#boardContent .line-legend .excess::before{background: var(--excess);}
#boardContent .card-bottom{border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 13px;}
#boardContent .report-button{display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 7px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--accent); font-size: 13px; font-weight: 500;}
#boardContent .report-button:hover:not(:disabled){filter: none; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface));}
#boardContent .card-menu{position: relative;}
#boardContent .card-menu summary{list-style: none; cursor: pointer; color: var(--muted); padding: 0px 3px; line-height: 1; font-size: 19px;}
#boardContent .card-menu summary::-webkit-details-marker{display: none;}
#boardContent .menu-items{display: none;}
#boardContent .card-menu[open] .menu-items{display: grid; position: absolute; right: 0px; top: 24px; white-space: nowrap; background: var(--raised); border: 1px solid var(--border); border-radius: 7px; padding: 5px; z-index: 3; box-shadow: var(--shadow);}
#boardContent .menu-items button{font-size: 13px; text-align: left;}
#boardContent .menu-items button:hover{background: var(--surface);}
#boardContent .empty{grid-column: 1 / -1; border: 1px dashed var(--border); border-radius: 10px; text-align: center; padding: 80px 24px; color: var(--muted);}
#boardContent .empty h2{color: var(--text); margin-bottom: 12px;}
#boardContent .empty p{max-width: 560px; margin: 0px auto 18px;}
#boardContent .empty code{display: block; margin-top: 14px;}
#boardContent .notice{border: 1px solid var(--border); background: var(--raised); border-radius: 7px; padding: 12px 15px; font-size: 13px; margin: 12px 0px; color: var(--muted); overflow-wrap: anywhere;}
#boardContent .notice.error{border-color: var(--up); color: var(--up);}
#boardContent .notice.warning{border-color: var(--gold); color: var(--gold);}
#boardContent .notice details summary{cursor: pointer;}
#boardContent .notice pre{font: 12px / 1.7 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0px; color: var(--text); max-height: 280px; overflow: auto;}
#boardContent table{width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums;}
#boardContent th{font-weight: 500; color: var(--muted); font-size: 12px; background: var(--raised);}
#boardContent td,#boardContent th{text-align: right; padding: 12px 18px; border-bottom: 1px solid var(--border);}
#boardContent td:first-child,#boardContent th:first-child{text-align: left; padding-left: 24px;}
#boardContent tr:last-child td{border-bottom: 0px;}
#boardContent .table-empty{text-align: center; padding: 38px 20px; color: var(--muted); font-size: 13px;}
#boardContent .site-footer{max-width: 1456px; padding: 20px 28px; margin: auto; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted);}
#boardContent dialog{width: min(520px, -32px + 100vw); padding: 26px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); box-shadow: rgba(0, 0, 0, 0.333) 0px 24px 80px;}
#boardContent dialog::backdrop{background: rgba(13, 20, 33, 0.47); backdrop-filter: blur(3px);}
#boardContent .dialog-heading{display: flex; align-items: center; justify-content: space-between; gap: 20px;}
#boardContent .dialog-heading button{padding: 0px 5px;}
#boardContent dialog p{font-size: 13px; margin: 8px 0px 22px;}
#boardContent dialog label{display: block; font-size: 13px; margin-bottom: 8px;}
#boardContent dialog input{width: 100%; font-size: 14px;}
#boardContent .dialog-actions{display: flex; justify-content: flex-end; margin-top: 24px;}
#boardContent .directory-list{display: grid; gap: 8px; margin: 0px 0px 18px; padding: 0px; list-style: none; max-height: 260px; overflow-y: auto;}
#boardContent .directory-list li{display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 7px;}
#boardContent .directory-list li > .muted{flex-shrink: 0; font-size: 12px;}
#boardContent .directory-list .directory-remove{flex-shrink: 0; padding: 0px 5px;}
#boardContent .form-error{color: var(--up); overflow-wrap: anywhere; white-space: pre-wrap;}
#boardContent #toast{position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--surface); padding: 12px 20px; border-radius: 8px; box-shadow: var(--shadow); font-size: 13px; z-index: 10; max-width: 90vw; white-space: pre-wrap; overflow-wrap: anywhere;}
#boardContent .header-actions .appearance-switch{position: relative; display: block; width: 40px; height: 22px; flex-shrink: 0; padding: 0px; border: 1px solid var(--border); border-radius: 11px; background: var(--raised); transition: border-color 0.25s;}
#boardContent .appearance-switch:hover{border-color: var(--accent);}
#boardContent .appearance-check{position: absolute; top: 1px; left: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: rgba(0, 0, 0, 0.133) 0px 1px 3px; transition: transform 0.25s;}
#boardContent .appearance-check svg{position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.25s;}
#boardContent .appearance-moon{opacity: 1;}
#boardContent .appearance-sun{opacity: 0;}
#boardContent[data-theme="light"] .appearance-moon{opacity: 0;}
#boardContent[data-theme="light"] .appearance-sun{opacity: 1;}
#boardContent[data-theme="dark"] .appearance-check{transform: translateX(18px);}
#boardContent.report-mode{display: flex; flex-direction: column; height: 100dvh; overflow: hidden;}
#boardContent .report-mode .site-header{flex-shrink: 0;}
#boardContent .report-mode #main{flex: 1 1 0%; position: relative; width: 100%; max-width: none; margin: 0px; padding: 0px; min-height: 0px;}
#boardContent .report-mode #report-view{height: 100%;}
#boardContent .report-mode .site-footer{display: none;}
#boardContent .report-mode #connection-error{position: absolute; z-index: 10; left: 18px; right: 18px; top: 0px;}
#boardContent .report-frame{display: block; border: 0px; width: 100%; height: 100%; background: var(--bg);}
#boardContent .notice-details{flex: 0 0 auto; padding: 0px; color: var(--accent); font-size: 12px;}
#boardContent .simulation-context{display: grid; gap: 3px; margin: 0px 0px 14px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; overflow-wrap: anywhere;}
#boardContent .simulation-context strong{color: var(--text); font-weight: 500; margin-bottom: 2px;}
#boardContent .simulation-context b{color: var(--text); font-weight: 500;}
#boardContent #run-details-dialog{width: min(820px, -32px + 100vw); max-height: 85dvh; overflow-y: auto;}
#boardContent #run-details-dialog pre{max-height: 48dvh; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px / 1.75 ui-monospace, SFMono-Regular, Consolas, monospace; padding: 14px; background: var(--raised); border-radius: 7px;}
#boardContent #run-details-dialog .muted{font-size: 12px;}
#boardContent .card-bottom > .report-button{flex: 0 0 auto; margin-left: auto;}
#boardContent .card-status{display: flex; align-items: center; gap: 7px; min-width: 0px; flex: 1 1 0%; font-size: 12px; line-height: 1.5; color: var(--muted);}
#boardContent .card-status.warning{color: var(--gold);}
#boardContent .card-status.error{color: var(--up);}
#boardContent .card-status.success{color: var(--down);}
#boardContent .card-status.running{color: var(--accent);}
#boardContent .card-status.running .status-icon{animation: 1.3s ease 0s infinite normal none running pulse;}
#boardContent .status-icon{flex: 0 0 auto; display: inline-flex; justify-content: center; align-items: center; width: 15px; height: 15px; border: 1px solid; border-radius: 50%; font-size: 11px;}
#boardContent .status-message{min-width: 0px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;}
#boardContent .card-status .notice-details{white-space: nowrap;}
#boardContent .notifications{position: fixed; right: 24px; bottom: 24px; z-index: 30; display: grid; gap: 10px; width: min(390px, -32px + 100vw); max-height: 48dvh; overflow-y: auto; pointer-events: none;}
#boardContent .notification{--notice-color: var(--accent); pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-top-color: ; border-top-style: ; border-top-width: ; border-right-color: ; border-right-style: ; border-right-width: ; border-bottom-color: ; border-bottom-style: ; border-bottom-width: ; border-image-source: ; border-image-slice: ; border-image-width: ; border-image-outset: ; border-image-repeat: ; border-left: 3px solid var(--notice-color); border-radius: 9px; background: var(--surface); color: var(--text); box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 30px; font-size: 13px;}
#boardContent .notification.error{--notice-color: var(--up);}
#boardContent .notification.warning{--notice-color: var(--gold);}
#boardContent .notification.success{--notice-color: var(--down);}
#boardContent .notification-icon{flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid var(--notice-color); border-radius: 50%; color: var(--notice-color); line-height: 1; font-size: 12px;}
#boardContent .notification-body{flex: 1 1 0%; min-width: 0px;}
#boardContent .notification-heading{display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin-bottom: 5px;}
#boardContent .notification-heading strong{min-width: 0px; overflow-wrap: anywhere; font-size: 12px; font-weight: 600;}
#boardContent .notification-heading time{color: var(--muted); font-size: 10px; white-space: nowrap;}
#boardContent .notification-message{overflow-wrap: anywhere;}
#boardContent .notification-body .notice-details{margin-top: 6px;}
#boardContent .notification-close{flex: 0 0 auto; padding: 0px 2px; color: var(--muted); font-size: 12px; line-height: 1.5;}
#boardContent .brand-logo{display:block;width:auto;height:36px;}
