:root{font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:#1d1d1f;background:#f5f5f7;font-synthesis:none;--accent:#5264d6;--accent-hover:#4354bd;--on-accent:#fff;--focus-ring:#5264d61f;--line:#e4e7ec;--secondary:#667085}
.impersonation-banner{position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 28px;background:var(--sidebar,#f5f5f7);border-bottom:1px solid var(--line);font-size:12px}
.impersonation-banner>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0}
.impersonation-banner strong{font-weight:600}.impersonation-banner span{overflow-wrap:anywhere}.impersonation-banner small{flex-basis:100%;font-size:11px;color:var(--secondary)}
.impersonation-banner form{flex-shrink:0;margin:0}.impersonation-banner button{font-size:12px;min-height:32px;padding:6px 12px}
.account-row-actions{flex-wrap:wrap;white-space:nowrap}.impersonation-history{margin:16px 0 24px;font-size:12px}.impersonation-history>summary{cursor:pointer;padding:10px 0;color:var(--secondary)}
@media(max-width:760px){.impersonation-banner{padding:12px 18px;align-items:flex-start}.impersonation-banner>div{display:block}.impersonation-banner span,.impersonation-banner small{display:block;margin-top:4px}}
input[type=checkbox],input[type=radio]{accent-color:var(--accent)}
.pagination .delivery-page-size{width:auto;min-width:120px;margin:0}
.digest-settings .actions{margin-bottom:20px}
::selection{background:var(--accent);color:var(--on-accent)}
.admin-page .project-notifications{align-items:center;gap:8px;white-space:nowrap}
.admin-page .project-notifications form{display:flex;align-items:center;margin:0}
.admin-page .project-notifications label.check{margin:0;display:flex;align-items:center}
.admin-page .project-notifications input[type=checkbox]{margin:0;padding:0;width:14px;height:14px;min-height:0;cursor:pointer}
.admin-page .member-tags-form{margin:0}
.admin-page .identity-notifications{display:flex;align-items:center;margin:0}
.admin-page .identity-notifications label.check{margin:0;align-items:center;gap:8px;white-space:nowrap}
.admin-page .identity-notifications input[type=checkbox]{margin:0;padding:0;width:14px;height:14px;min-height:0;cursor:pointer}
.action-toast{position:fixed;top:18px;right:20px;z-index:100;width:min(320px,calc(100vw - 32px));padding:12px 16px;border:1px solid var(--line);border-radius:9px;background:var(--surface,#fff);color:inherit;box-shadow:0 8px 24px #00000016;font-size:13px;line-height:1.5}
.action-toast[hidden]{display:none}
.action-toast[data-kind="error"]{border-color:#e8c9cb;color:#a13e3e}
[data-theme=dark] .action-toast{box-shadow:0 8px 24px #00000045}
.admin-page .identity-default-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.admin-page .identity-default-controls label.check{display:inline-flex;align-items:center;gap:8px;height:32px;margin:0;line-height:1.2}
.admin-page .identity-default-controls input[type=checkbox]{margin:0;padding:0;width:14px;height:14px;min-height:0;flex:none;cursor:pointer}
.admin-page .member-tags-form>button{margin-top:16px}
.rule-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff);color:inherit;overflow:auto}
.rule-dialog::backdrop{background:rgba(0,0,0,.3)}
.delivery-preview.is-issue{width:min(1320px,calc(100vw - 32px))}
.delivery-preview [data-delivery-content]{min-width:0}
.delivery-message-info{margin:0 0 16px}
.delivery-message-subject{font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.delivery-message-body{margin:0;padding:16px;background:var(--sidebar,#f7f7f8);border:1px solid var(--line);border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}
.delivery-content-popover{position:fixed;z-index:30;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:16px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 36px #00000020;pointer-events:auto;line-height:1.6}
.delivery-content-popover[hidden]{display:none}
.delivery-content-popover .delivery-message-info{margin-bottom:10px}
.delivery-content-popover .delivery-message-body{padding:12px;font-size:13px}
.delivery-preview .status-banner{margin-top:8px}
.delivery-preview .detail{grid-template-columns:minmax(0,1fr) 240px;gap:20px}
.delivery-preview .detail .card{padding:18px 0}
.delivery-preview .detail aside .card{padding:18px 0}
.admin-page .rule-dialog .dialog-heading{justify-content:space-between;align-items:center;margin-bottom:18px}
.admin-page .rule-dialog .form-grid{max-width:none}
.admin-page .rule-dialog .actions{margin-top:18px}
.rule-choice-group{padding:12px 0;border-top:1px solid var(--line)}
.rule-choice-group>span{display:block;margin-bottom:10px;color:var(--secondary);font-size:12px;font-weight:500}
.admin-page .rule-choice-group .toolbar{margin-bottom:0;gap:20px}
.delivery-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.message-tabs{display:flex;gap:26px;margin:0 0 24px}
.message-tabs a{padding:12px 0;color:var(--secondary);border-bottom:2px solid transparent}
.message-tabs a[aria-current=page]{color:var(--accent);border-bottom-color:var(--accent)}
.reply-list th{white-space:nowrap}
.reply-list td{vertical-align:top;min-width:100px}
.reply-list td:first-child{min-width:155px}
.reply-list .reply-excerpt{white-space:normal;min-width:160px;max-width:280px;overflow-wrap:anywhere;text-align:left;line-height:1.6}
.reply-log summary{color:var(--accent);cursor:pointer;white-space:nowrap}
.reply-log pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;min-width:180px;max-width:300px}
.admin-page .delivery-filters label{width:min(240px,100%);margin:0}
.delivery-filters a{display:inline-flex;align-items:center;min-height:32px;font-size:12px;color:var(--secondary);padding:0 7px}
.delivery-list td:first-child{min-width:240px}
.delivery-list td:nth-child(2),.delivery-list td:nth-child(4){min-width:150px}
.delivery-list td:nth-child(10){max-width:260px;overflow-wrap:anywhere}
.message-issue-cell{width:280px;max-width:280px}
.message-issue-title{display:block;width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.delivery-content-trigger,.admin-page button.delivery-content-trigger{min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--accent);font:inherit;font-weight:500;text-align:left;white-space:nowrap}
.delivery-content-trigger:hover,.admin-page button.delivery-content-trigger:hover{text-decoration:underline;background:transparent}
.delivery-content-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.delivery-recipient{display:flex;align-items:flex-start;gap:7px;min-width:0}
.delivery-recipient>span:last-child{min-width:0;overflow-wrap:anywhere}
.recipient-role{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;margin-top:1px;border-radius:5px;font-size:11px;font-weight:600;line-height:1}
.recipient-role.requester{background:#e9f1fc;color:#245e9f}
.recipient-role.developer{background:#eeeafa;color:#66529b}
.recipient-role.creator{background:#eef0f2;color:#51545b}
.recipient-role+.recipient-role{margin-left:-4px}
[data-theme=dark] .recipient-role.requester{background:#253a56;color:#accfff}
[data-theme=dark] .recipient-role.developer{background:#342e4b;color:#d0bdfa}
[data-theme=dark] .recipient-role.creator{background:#34363a;color:#d2d4d8}
.detail-deliveries td:first-child{min-width:140px}
.detail-deliveries td:nth-child(2){min-width:160px}
.detail-deliveries td:last-child{max-width:240px;overflow-wrap:anywhere}
.detail-deliveries table{font-size:12px;min-width:920px}
.detail-deliveries th,.detail-deliveries td{padding:11px 10px}
.detail-deliveries th:first-child,.detail-deliveries td:first-child{padding-left:0;min-width:128px}
.detail-deliveries td:nth-child(2){min-width:150px}
.detail-deliveries td:nth-child(6){min-width:130px;white-space:nowrap}
.detail-deliveries td:last-child{min-width:140px}
.detail>div,.detail aside{min-width:0}
.detail-deliveries{max-width:100%}
@media(max-width:600px){.admin-page .delivery-filters label{flex:1 1 100%;width:auto}}
[data-theme=dark] .rule-dialog{background:#1c1c1e}
@media(max-width:600px){.admin-page .rule-dialog .form-grid{grid-template-columns:1fr}.rule-dialog{padding:20px}.delivery-preview .detail{grid-template-columns:1fr}}
*{box-sizing:border-box}body{margin:0;min-height:100vh;font-size:14px;-webkit-font-smoothing:antialiased}a{color:var(--accent)}
header{height:64px;background:#fafafa;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1184px)/2));gap:24px}.brand{color:inherit;text-decoration:none;font-size:17px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}nav{display:flex;align-items:center;gap:26px}nav a,button.link{font:inherit;font-size:13px;color:var(--secondary);background:none;border:0;padding:8px 0;text-decoration:none;cursor:pointer}nav a[aria-current=page]{color:#1d1d1f;font-weight:600}nav a:hover,button.link:hover{color:var(--accent)}nav form{margin:0}
main{max-width:1240px;margin:0 auto;padding:44px 28px 64px}.topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}h1{font-size:30px;line-height:1.25;letter-spacing:-.8px;font-weight:600;margin:0}h2{font-size:18px;letter-spacing:-.3px;font-weight:600;margin:0 0 20px}h3{font-size:15px;font-weight:600;margin:0 0 12px}.identity,.muted,small{color:var(--secondary);font-size:12px;line-height:1.6}.identity{font-size:13px}.page-intro{margin:0 0 28px;font-size:14px}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:none}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.grid .card{margin:0}.metric{font-size:30px;font-weight:600;letter-spacing:-.7px;margin:6px 0;font-variant-numeric:tabular-nums}
.summary-grid{display:flex;gap:0;margin:24px 0 28px;border-bottom:1px solid var(--line);padding-bottom:24px}.summary-grid .card{background:none;border:0;border-radius:0;padding:0 32px;color:var(--secondary);font-size:13px;min-width:145px}.summary-grid .card:first-child{padding-left:0}.summary-grid .card+.card{border-left:1px solid var(--line)}.summary-grid .metric{color:#1d1d1f;margin:5px 0 0}.summary-link{text-decoration:none}.summary-link:hover .metric{color:var(--accent)}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}a.button,button,.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:8px;background:var(--accent);color:var(--on-accent);padding:9px 16px;min-height:36px;font:inherit;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer;transition:background .15s}button:hover,a.button:hover{background:var(--accent-hover)}button.secondary,a.button.secondary{background:#fff;color:#1d1d1f;border-color:#d2d2d7}button.secondary:hover,a.button.secondary:hover{background:#f5f5f7}button.danger{background:#fff;color:#b42323;border-color:#e6cccc}button:disabled{opacity:.5;cursor:not-allowed}
input,textarea,select{font:inherit;font-size:14px;border:1px solid #d2d2d7;border-radius:8px;padding:9px 11px;min-height:38px;background:#fff;color:#1d1d1f;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus-ring)}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:500;color:var(--secondary);margin-bottom:16px}label.check{flex-direction:row;align-items:center;gap:8px;margin:0}label.check input{width:auto;min-height:0}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));column-gap:20px}.filters{padding:20px 24px}.filters .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 16px}.filters label{margin-bottom:16px}.filters details{border-top:1px solid var(--line);padding-top:14px;margin:0 0 16px}.filters summary{cursor:pointer;color:var(--secondary);font-size:12px}.filters details[open] summary{margin-bottom:18px}.filters .toolbar{margin-bottom:0;align-items:flex-end}.filters .toolbar label{width:170px;margin-bottom:0}
.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:18px 12px;border-bottom:1px solid #ededf0;vertical-align:middle;line-height:1.6}th{font-size:11px;color:var(--secondary);font-weight:500;white-space:nowrap;padding-top:8px;padding-bottom:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafafa}td a{text-decoration:none}td a:hover{text-decoration:underline}.issue-title{color:#1d1d1f;font-size:14px;font-weight:500}.issue-title:hover{color:var(--accent)}td:first-child{min-width:260px}.table-wrap small{font-size:11px}.pill{display:inline-block;padding:3px 8px;border-radius:5px;background:#f2f2f4;color:#515156;font-size:11px;line-height:1.5;white-space:nowrap}.pill.green{background:#eef5ef;color:#3b714c}.pill.orange{background:#faf3e7;color:#90672b}.pill.red{background:#fbefef;color:#a84747}.table-wrap .pill{margin:2px}a.pill{text-decoration:none}a.pill:hover{background:#e8e8ed;color:#1d1d1f}.pagination{justify-content:flex-end;margin:22px 0 0;border-top:1px solid var(--line);padding-top:18px}
.alert{padding:13px 16px;border:1px solid #dce5ee;border-radius:8px;background:#f2f6fa;color:#405a74;margin-bottom:20px;font-size:13px;line-height:1.6}.alert.error{border-color:#eedada;background:#fcf3f3;color:#a13e3e}.alert.success{border-color:#dce8df;background:#f2f7f3;color:#41654b}
.detail{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.detail .card{padding:28px}.detail aside .card{padding:22px}.detail a{text-decoration:none}.detail a:hover{text-decoration:underline}.detail ul{padding-left:19px;line-height:1.9}.detail-navigation{margin:24px 0 28px;justify-content:space-between}.detail-navigation a{font-size:13px;text-decoration:none}.status-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;border:0;background:transparent;padding:4px 0 28px;border-radius:0;border-bottom:1px solid var(--line);margin-bottom:28px}.status-banner h2{font-size:28px;line-height:1.4;letter-spacing:-.65px;margin:14px 0 0;max-width:760px}.status-banner .pill{background:#eaf1f9;color:#345779;font-size:12px;padding:4px 10px}.sync-meta{flex-shrink:0;text-align:right;padding-top:4px;line-height:1.9}.statline{display:flex;justify-content:space-between;gap:16px;font-size:12px;padding:11px 0;border-bottom:1px solid #ededf0}.statline span{color:var(--secondary)}.statline b{font-weight:500;max-width:64%;overflow-wrap:anywhere;text-align:right}.statline:last-child{border:0}.pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}.timeline-item{position:relative;padding:18px 0 18px 20px;border-left:1px solid var(--line);margin-left:4px}.timeline-item:before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#b5b5bc;left:-4px;top:25px;box-shadow:0 0 0 4px #fff}.timeline-item .toolbar{margin-bottom:8px;font-size:12px}.timeline-item .toolbar b{font-weight:500}.timeline-item .pre{font-size:14px}.timeline-item .markdown p:last-child{margin-bottom:0}.markdown{line-height:1.85;overflow-wrap:anywhere;font-size:14px;color:#353539}.markdown h2,.markdown h3,.markdown h4{margin:24px 0 10px;font-size:15px;font-weight:600}.markdown p{margin:10px 0 18px}.markdown pre{background:#f5f5f7;border:1px solid #ededf0;border-radius:8px;padding:16px;overflow:auto;font-size:12px;line-height:1.6}.markdown code{background:#f2f2f4;border-radius:4px;padding:2px 4px}.markdown pre code{padding:0;background:transparent}.markdown ul{margin:8px 0 18px}.markdown table{margin:14px 0}.markdown strong{font-weight:600}
.login{max-width:400px;margin:9vh auto}.login .card{padding:32px}.login button{width:100%;margin-top:8px}.login h2{font-size:23px;margin-bottom:28px}.empty{padding:44px;text-align:center;color:var(--secondary)}.actions{display:flex;gap:7px;align-items:center}.actions form{margin:0}footer{text-align:center;padding:24px;color:#86868b;font-size:11px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0}
@media(max-width:1000px){.filters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail{grid-template-columns:minmax(0,1fr) 270px}.sync-meta{font-size:11px}}
@media(max-width:760px){header{height:auto;min-height:60px;padding:14px 18px;flex-wrap:wrap;gap:10px}nav{gap:18px}main{padding:28px 18px 40px}h1{font-size:26px}.identity{display:none}.detail{grid-template-columns:1fr}.detail .card{padding:22px}.status-banner{flex-direction:column;gap:16px}.status-banner h2{font-size:24px}.sync-meta{text-align:left}.summary-grid .card{min-width:0;flex:1;padding:0 20px}.summary-grid .metric{font-size:26px}.filters{padding:18px}.detail-navigation{gap:16px}.card{padding:20px}.login{margin:5vh auto}.login .card{padding:26px}}
@media(max-width:420px){.filters .form-grid{grid-template-columns:1fr}.summary-grid .card{padding:0 14px}nav{gap:14px}.brand{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:24px;min-width:0}.theme-mode{width:auto;min-height:30px;font-size:12px;padding:5px 8px;background:transparent;border-color:transparent;color:var(--secondary);cursor:pointer}.theme-mode:hover{border-color:var(--line)}.account-link{color:var(--secondary);font-size:12px;text-decoration:none;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-link:hover{color:var(--accent)}:root{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark;color:#f5f5f7;background:#1c1c1e;--accent:#fafafa;--accent-hover:#e4e4e7;--on-accent:#18181b;--focus-ring:#fafafa33;--line:#38383b;--secondary:#a1a1a6}
[data-theme=dark] header{background:#232325}[data-theme=dark] nav a[aria-current=page]{color:#f5f5f7}[data-theme=dark] .card{background:#242426}[data-theme=dark] .summary-grid .card,[data-theme=dark] .status-banner{background:transparent}[data-theme=dark] .summary-grid .metric{color:#f5f5f7}[data-theme=dark] .summary-link:hover .metric{color:var(--accent)}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:#2b2b2e;color:#f5f5f7;border-color:#48484b}[data-theme=dark] .theme-mode{background:transparent;color:var(--secondary);border-color:transparent}[data-theme=dark] .theme-mode option{background:#2b2b2e;color:#f5f5f7}
[data-theme=dark] button.secondary,[data-theme=dark] a.button.secondary{background:#2b2b2e;color:#f5f5f7;border-color:#48484b}[data-theme=dark] button.secondary:hover,[data-theme=dark] a.button.secondary:hover{background:#363639}[data-theme=dark] button.danger{background:#2b2b2e;color:#ff9393;border-color:#734545}
[data-theme=dark] th,[data-theme=dark] td,[data-theme=dark] .statline{border-bottom-color:#38383b}[data-theme=dark] tbody tr:hover{background:#2b2b2e}[data-theme=dark] .issue-title{color:#f5f5f7}[data-theme=dark] .issue-title:hover{color:var(--accent)}
[data-theme=dark] .pill{background:#363639;color:#c5c5ca}[data-theme=dark] a.pill:hover{background:#444448;color:#fff}[data-theme=dark] .pill.green{background:#293e30;color:#a3d4ae}[data-theme=dark] .pill.orange{background:#433928;color:#e6c38b}[data-theme=dark] .pill.red{background:#472f31;color:#eca3ab}[data-theme=dark] .status-banner .pill{background:#2b3b50;color:#a9c9ed}
[data-theme=dark] .markdown{color:#dedee2}[data-theme=dark] .markdown pre,[data-theme=dark] .markdown code{background:#303033;border-color:#3c3c40}[data-theme=dark] .markdown pre code{background:transparent}[data-theme=dark] .timeline-item:before{box-shadow:0 0 0 4px #242426;background:#84848b}
[data-theme=dark] .alert{background:#293545;border-color:#3f5066;color:#bdd1eb}[data-theme=dark] .alert.error{background:#402e30;border-color:#624145;color:#efb1b1}[data-theme=dark] .alert.success{background:#2b3b30;border-color:#405a48;color:#b5d6be}
@media(max-width:760px){.header-actions{gap:14px;flex-wrap:wrap;flex:1}.account-link{max-width:180px;margin-left:auto}.theme-mode{max-width:115px}nav{gap:14px}}
@media(max-width:420px){header{align-items:flex-start}.header-actions{gap:8px 12px}.account-link{max-width:230px}.header-actions nav{margin-left:auto}}
.account-actions{display:flex;align-items:center;gap:20px;min-width:0}.account-actions form{margin:0}.account-actions button.link{color:var(--secondary);background:transparent;border:0;padding:8px 0;min-height:0;font-size:13px;white-space:nowrap}.account-actions button.link:hover{color:var(--accent)}
button.theme-toggle{width:34px;height:34px;min-height:34px;padding:7px;border:0;background:transparent;color:var(--secondary);border-radius:8px;flex-shrink:0;transition:none}button.theme-toggle:hover{background:#eaeaee;color:#1d1d1f}.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sun-icon{display:none}[data-theme=dark] .moon-icon{display:none}[data-theme=dark] .sun-icon{display:block}[data-theme=dark] button.theme-toggle:hover{background:#363639;color:#f5f5f7}
button,a.button{transition:none}
@media(max-width:760px){.account-actions{gap:14px}.account-actions .account-link{margin-left:0}.header-actions{gap:14px}}
/* Product layout: quiet navigation, compact controls, content-first surfaces. */
:root{background:#f5f7fa;color:#1d2939;--surface:#fff;--sidebar:#fbfcfe}
:root[data-theme=dark]{background:#18191b;--surface:#18191b;--sidebar:#202124;--line:#303236;--secondary:#a0a3aa}
.app-sidebar{position:fixed;inset:0 auto 0 0;width:210px;background:var(--sidebar);border-right:1px solid var(--line);padding:25px 14px;z-index:2}.app-sidebar .brand{display:block;padding:0 12px;font-size:16px;margin-bottom:38px}.sidebar-caption{padding:0 12px;margin-bottom:12px;font-size:11px;color:var(--secondary)}.app-sidebar nav{display:flex;flex-direction:column;gap:5px;align-items:stretch}.app-sidebar nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:6px;font-size:13px}.app-sidebar nav a span{font-size:17px;width:18px;text-align:center;color:var(--secondary)}.app-sidebar nav a[aria-current=page],.app-sidebar nav a:hover{background:#eef1ff;color:#4658c6;font-weight:500}[data-theme=dark] .app-sidebar nav a[aria-current=page],[data-theme=dark] .app-sidebar nav a:hover{background:#2e3035;color:#eff0f2}
.app-shell .app-workspace{margin-left:210px}.app-workspace header{height:58px;padding:0 28px;background:var(--surface);border-bottom:0}.workspace-context{font-size:12px;color:var(--secondary)}.header-actions{gap:18px}.account-actions{gap:16px}.account-link{font-size:12px}.app-workspace main{max-width:none;padding:0 28px 40px}.app-workspace .topline{padding-top:30px;margin-bottom:24px}.app-workspace h1{font-size:23px}.view-tabs{display:flex;gap:24px;height:62px;align-items:stretch;margin-bottom:0}.view-tabs a{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--secondary);text-decoration:none;border-bottom:2px solid transparent}.view-tabs a[aria-current=page]{color:inherit;border-bottom-color:currentColor;font-weight:500}.view-tabs a span{font-size:11px;background:var(--sidebar);border-radius:4px;padding:1px 6px;color:var(--secondary);font-variant-numeric:tabular-nums}
.compact-filters.card{border:0;border-radius:0;padding:18px 0 14px;margin:0;background:transparent}.filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-bar label{margin:0;min-width:120px;flex:0 1 150px}.filter-bar label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.filter-bar .search-field{flex:1 1 230px;max-width:380px}.filter-bar input,.filter-bar select{font-size:12px;min-height:33px;padding:7px 9px;border-radius:6px}.filter-bar button{min-height:33px;padding:7px 13px;font-size:12px}.filter-reset{font-size:12px;color:var(--secondary);text-decoration:none;padding:6px}.compact-filters details{border:0;margin:12px 0 0;padding:0}.compact-filters summary{font-size:12px;width:max-content}.compact-filters details[open]{background:var(--sidebar);border:1px solid var(--line);padding:16px;border-radius:7px}.compact-filters details .form-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:0 14px}
.issue-list.card{border:0;border-radius:0;padding:0;background:transparent}.issue-list th{background:var(--sidebar);padding:10px 12px}.issue-list td{padding:12px;vertical-align:middle;font-size:12px}.issue-list td:first-child{min-width:280px}.issue-list .issue-title{font-size:13px;font-weight:500}.issue-list small{font-size:11px}.issue-list .pill{padding:2px 6px;font-size:10px}.issue-list tbody tr:hover{background:var(--sidebar)}.pagination{padding-top:14px;margin-top:12px}.empty{height:190px;vertical-align:middle;font-size:13px}
.detail-navigation{margin:20px 0 28px}.status-banner{padding-bottom:24px}.status-banner h2{font-size:25px;max-width:720px}.detail{gap:32px;grid-template-columns:minmax(0,1fr) 270px}.detail>div>.card{border:0;border-radius:0;padding:4px 0 26px;border-bottom:1px solid var(--line);margin-bottom:24px;background:transparent}.detail aside{border-left:1px solid var(--line);padding-left:24px}.detail aside .card{border:0;border-radius:0;padding:0 0 24px;background:transparent}.detail h2{font-size:14px;margin-bottom:20px}.detail .markdown{font-size:14px;line-height:1.85}.statline{border:0;padding:9px 0}.statline b{font-weight:400}.timeline-item:before{box-shadow:0 0 0 4px var(--surface)}
[data-theme=dark] .app-workspace header,[data-theme=dark] .compact-filters.card,[data-theme=dark] .issue-list.card,[data-theme=dark] .detail .card{background:transparent}[data-theme=dark] .issue-list th{background:var(--sidebar)}[data-theme=dark] .issue-list tbody tr:hover{background:#202124}[data-theme=dark] .timeline-item:before{box-shadow:0 0 0 4px var(--surface)}
.auth-shell{background:var(--sidebar)}.auth-shell .app-workspace main{padding:30px 24px}.auth-shell .topline{display:none}.auth-shell .login{margin:12vh auto}
@media(max-width:1100px){.app-sidebar{width:180px}.app-shell .app-workspace{margin-left:180px}.app-workspace main{padding-left:22px;padding-right:22px}.detail{grid-template-columns:minmax(0,1fr) 240px;gap:24px}.filter-bar label{flex-basis:130px}}
@media(max-width:760px){.app-sidebar{position:static;width:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 18px;display:flex;gap:24px;align-items:center}.app-sidebar .brand{margin:0;padding:0}.sidebar-caption{display:none}.app-sidebar nav{flex-direction:row;gap:6px;margin-left:auto}.app-sidebar nav a{padding:6px 8px;font-size:12px}.app-sidebar nav a span{display:none}.app-shell .app-workspace{margin-left:0}.app-workspace header{min-height:52px;height:auto;padding:10px 18px;flex-wrap:nowrap;align-items:center}.header-actions{flex:0 1 auto;gap:12px;flex-wrap:nowrap}.account-actions{gap:12px}.account-actions .account-link{max-width:160px}.app-workspace main{padding:0 18px 32px}.view-tabs{height:52px;gap:22px}.detail{grid-template-columns:1fr}.detail aside{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.filter-bar .search-field{max-width:none;flex-basis:100%}.filter-bar label{flex:1 1 100px}.compact-filters details .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail .card{padding:0}.status-banner h2{font-size:22px}}
@media(max-width:420px){.workspace-context{display:none}.header-actions{width:100%;justify-content:flex-end}.account-actions .account-link{max-width:185px}.compact-filters details .form-grid{grid-template-columns:1fr}}
.account-menu{position:relative;margin:0;font-size:12px}.account-menu>summary{list-style:none;display:flex;align-items:center;gap:8px;height:34px;padding:3px 7px;border-radius:6px;cursor:pointer;color:var(--secondary);user-select:none}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary:hover,.account-menu[open]>summary{background:var(--sidebar);color:inherit}.account-avatar{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--sidebar);color:var(--secondary);font-size:11px;font-weight:500}.account-name{font-size:12px;font-weight:500;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu summary svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.account-popover{position:absolute;right:0;top:100%;min-width:220px;max-width:calc(100vw - 36px);padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 28px #00000012;z-index:20}.account-meta{display:flex;flex-direction:column;gap:4px;padding:10px 10px 12px;border-bottom:1px solid var(--line);margin-bottom:5px}.account-meta strong{font-size:12px;font-weight:500}.account-meta small{font-size:11px;overflow-wrap:anywhere}.account-popover .account-link,.account-popover .account-logout{display:block;width:100%;max-width:none;text-align:left;font:inherit;font-size:12px;color:inherit;padding:9px 10px;border:0;border-radius:5px;background:transparent;text-decoration:none;min-height:0}.account-popover form{margin:0}.account-popover .account-link:hover,.account-popover .account-logout:hover{background:var(--sidebar);color:inherit}.header-actions{gap:8px}[data-theme=dark] .account-popover{box-shadow:0 8px 28px #00000040}
.sidebar-section{margin-top:6px}.sidebar-parent{display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--secondary);font-size:13px;text-decoration:none}.sidebar-parent span{width:18px;text-align:center;font-size:17px}.app-sidebar .sidebar-subnav{margin:4px 0 0 20px;padding-left:10px;border-left:1px solid var(--line);gap:2px}.app-sidebar .sidebar-subnav a{padding:8px 10px;font-size:12px}
.app-sidebar .sidebar-last{margin-top:6px}
.admin-page .app-workspace main{max-width:1120px;padding-bottom:48px}.admin-page .topline{padding-top:28px;margin-bottom:22px}.admin-page h1{font-size:20px}.admin-page h2{font-size:14px;margin:0 0 16px}.admin-page h3{font-size:13px}.admin-page .card{padding:20px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;margin-bottom:16px}.admin-page form.card{max-width:840px}.admin-page .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-width:760px}.admin-page label{font-size:12px;gap:6px;margin-bottom:14px}.admin-page input,.admin-page select{font-size:12px;padding:7px 9px;min-height:32px;height:32px;border-radius:6px}.admin-page textarea{font-size:12px;padding:9px;min-height:64px;max-width:760px;border-radius:6px;line-height:1.6}.admin-page small,.admin-page .muted{font-size:11px}.admin-page button,.admin-page a.button{font-size:12px;padding:7px 12px;min-height:32px;border-radius:6px}.admin-page input[type=checkbox]{height:auto;min-height:0;width:auto}.admin-page form.card>h2:not(:first-of-type){border-top:1px solid var(--line);padding-top:22px;margin-top:8px}.admin-page .toolbar{gap:12px;margin-bottom:14px}.admin-page .toolbar h2{margin:0}.admin-page .toolbar form{margin:0}.admin-page hr{border:0;border-top:1px solid var(--line);margin:20px 0}.admin-page .grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.admin-page main>.grid{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:18px;padding:0 0 20px}.admin-page main>.grid>.card{flex:1;padding:0 22px;border:0;border-right:1px solid var(--line);margin:0}.admin-page main>.grid>.card:first-child{padding-left:0}.admin-page main>.grid>.card:last-child{border-right:0}.admin-page .metric{font-size:23px;margin:8px 0 0;font-weight:500}.admin-page table{font-size:12px}.admin-page th,.admin-page td{padding:11px 10px}.admin-page .empty{height:110px;padding:22px}.admin-page .table-wrap{padding-top:0}.admin-page form.toolbar{display:flex;align-items:flex-end;gap:12px}.admin-page form.toolbar label{max-width:300px;margin:0}.admin-page .pill{font-size:10px}.admin-page .alert{max-width:840px;font-size:12px}
[data-theme=dark] .admin-page .card{background:transparent}
@media(max-width:760px){.app-sidebar{flex-wrap:wrap}.sidebar-section{margin:0;display:contents}.sidebar-parent{padding:6px;font-size:12px;margin-left:auto}.sidebar-parent span{display:none}.app-sidebar .sidebar-subnav{flex-basis:100%;display:flex;flex-direction:row;overflow:auto;flex-wrap:nowrap;margin:0;padding:0;border:0}.app-sidebar .sidebar-subnav a{white-space:nowrap;padding:7px 9px}.admin-page .form-grid{gap:0 16px}.admin-page main>.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-page main>.grid>.card{padding:0;border:0}.admin-page form.toolbar{flex-wrap:wrap}}
@media(max-width:760px){.app-sidebar .sidebar-last{margin:0}}
@media(max-width:480px){.admin-page .form-grid{grid-template-columns:1fr}.admin-page form.toolbar label{max-width:none;flex-basis:100%}}
.admin-page button.theme-toggle{width:34px;height:34px;min-height:34px;padding:7px;border-radius:8px}.admin-page .theme-toggle svg{flex-shrink:0}.admin-page button.account-logout{padding:9px 10px;min-height:0}
.markdown h1{font-size:20px;line-height:1.4;margin:24px 0 12px}.markdown h5,.markdown h6{font-size:13px;font-weight:600;margin:20px 0 8px}.markdown blockquote{margin:16px 0;padding:1px 16px;border-left:3px solid var(--line);color:var(--secondary)}.markdown ol{padding-left:22px;line-height:1.9}.markdown li>ul,.markdown li>ol{margin:4px 0 8px}.markdown img{display:block;max-width:100%;height:auto;margin:12px 0;border-radius:6px}.markdown input[type=checkbox]{width:auto;min-height:0;height:auto;padding:0;margin:0 6px 0 0;vertical-align:middle}.markdown .table-wrap{margin:16px 0}.markdown .table-wrap table{width:auto;min-width:100%}.markdown .table-wrap th,.markdown .table-wrap td{padding:8px 12px;border:1px solid var(--line)}.markdown .table-wrap tr:hover{background:transparent}.markdown .table-wrap tr:last-child td{border-bottom:1px solid var(--line)}
.member-tag-form { display:flex; gap:8px; align-items:flex-start; min-width:240px; }
.country-picker { min-width:170px; flex:1; border:1px solid var(--line); border-radius:6px; background:var(--surface,#fff); }
.country-picker summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:32px; padding:6px 9px; cursor:pointer; list-style:none; }
.country-picker summary::-webkit-details-marker { display:none; }
.country-picker summary::after { content:'⌄'; flex-shrink:0; }
.country-picker summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.country-options { padding:8px 10px; border-top:1px solid var(--line); max-height:220px; overflow-y:auto; }
.admin-page .country-options label { padding:5px 0; margin:0; }
.country-options input { flex:none; }
[data-theme=dark] .country-picker { background:#252526; }
.settings-tabs { display:flex; gap:26px; align-items:stretch;  margin:0 0 26px; overflow-x:auto; }
.settings-tabs a { padding:0 0 12px; white-space:nowrap; font-size:12px; border-bottom:2px solid transparent; }
.settings-tabs a[aria-current=page] { color:inherit; border-bottom-color:currentColor; font-weight:500; }
.settings-tests > form { max-width:360px; margin-bottom:18px; }
.member-email-editor { min-width:200px; margin-top:3px; }
.member-email-editor summary { color:var(--secondary); font-size:12px; cursor:pointer; list-style:none; overflow-wrap:anywhere; }
.member-email-editor summary::-webkit-details-marker { display:none; }
.member-email-editor summary:hover,.member-email-editor[open] summary { color:var(--accent); }
.member-email-editor summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.member-email-fields { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:9px; }
.admin-page .member-email-fields input[type=email] { min-width:160px; flex:1 1 160px; }
.admin-page .member-email-fields button { flex:0 0 auto; white-space:nowrap; }
@media(max-width:760px){.detail{grid-template-columns:minmax(0,1fr)}}

/* The icon button already has horizontal inset; avoid stacking another gap
   and summary inset before the account avatar. Keep both hit targets 34px tall. */
.app-shell .header-actions{gap:0}
.account-menu>summary{padding-inline:0}
button.theme-toggle{display:inline-flex;align-items:center;justify-content:center}

.issue-title-actions{display:flex;align-items:flex-start;gap:8px}
.sync-actions{display:flex;gap:8px;flex-wrap:wrap}
.comment-resend-action{display:inline-flex;margin:0 0 0 8px}.comment-resend-action button{font-size:12px;min-height:28px;padding:3px 9px}.resend-body{margin:16px 0}.resend-body summary{cursor:pointer}
.resend-recipients{min-width:700px}.resend-recipients td:last-child{min-width:310px}.resend-recipients label.check{font-size:13px;align-items:flex-start;color:inherit}.resend-recipients label.check input{flex-shrink:0;margin-top:4px}
.admin-page .project-title-switch{max-width:100%;align-items:center}.project-title-switch h1{min-width:0;max-width:100%}.admin-page .project-title-switch select{field-sizing:content;max-width:100%;height:32px;min-height:32px;font:inherit;font-size:20px;line-height:26px;font-weight:600;color:inherit;background-color:transparent;border:1px solid transparent;padding:2px 22px 2px 0;border-radius:4px;cursor:pointer}.admin-page .project-title-switch select:hover{border-color:var(--line)}.admin-page .project-title-switch select:focus{box-shadow:none}.admin-page .project-title-switch select:focus-visible{outline:1px solid var(--accent);outline-offset:2px}
.admin-page .project-settings button,.admin-page .project-settings a.button{font-size:13px;line-height:18px;min-height:30px;padding:5px 10px;border-radius:5px}
.project-settings{font-size:14px;min-width:0;padding-top:24px}.project-heading{margin:0 0 24px}.project-heading h1{font-size:24px;font-weight:600;line-height:1.4;margin:0}.project-heading p{margin:6px 0 0;color:var(--secondary);font-size:13px;overflow-wrap:anywhere}
.project-navigation{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}.project-navigation>a{font-size:13px;text-decoration:none}.project-switch{display:flex;gap:8px;align-items:flex-end;margin:0}.project-switch label{margin:0;font-size:12px;min-width:0}.project-switch select{max-width:260px}.project-switch-ready [data-switch-submit]{display:none}
.project-section-tabs{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:28px}.project-section-tabs a{padding:10px 0 12px;border-bottom:2px solid transparent;text-decoration:none;color:var(--secondary);font-size:14px;white-space:nowrap}.project-section-tabs a[aria-current=page]{border-bottom-color:var(--accent);color:inherit;font-weight:500}
.admin-page .project-settings-content>.card{padding:0 0 24px;margin:0 0 24px;max-width:840px}.admin-page .project-settings-content h2{font-size:17px;line-height:1.5;margin:0 0 16px;font-weight:600}.admin-page .project-settings-content label{font-size:13px}.admin-page .project-settings-content p,.admin-page .project-settings-content small{font-size:12px;line-height:1.65}.admin-page .project-settings-content .form-grid{max-width:none;margin-top:20px}.admin-page .project-settings-content .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.project-settings-content .check{margin-bottom:18px!important}.project-settings-content .toolbar .check{margin-bottom:0!important}
.admin-page .project-settings-content[data-project-section=members]>.card,.admin-page .project-settings-content[data-project-section=notifications]>.table-wrap{max-width:none}.project-member-search{max-width:360px;margin-bottom:24px}.project-member-search input{width:100%}.project-settings-content table{font-size:14px}.project-settings-content td{vertical-align:top}.project-settings-content table input{font-size:14px}.project-settings-content table .country-picker{min-width:170px}
.admin-page .project-settings-content table .actions{margin-top:0}.project-settings-content .country-options .check,.project-settings-content .type-option-grid .check{margin-bottom:0!important}
.project-list-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.project-list-filters label{margin:0}.project-list-filters label:first-child{flex:1;min-width:180px}.project-list-filters select{min-width:150px}.project-list-table{table-layout:fixed}.project-list-table th:first-child{width:46%}.project-list-table th:last-child{width:100px}.project-list-table td{padding-block:18px}.project-name{font-weight:500;text-decoration:none}.project-path{display:block;margin-top:5px;overflow-wrap:anywhere}.project-list-pagination{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 12px;color:var(--secondary);font-size:13px}.project-list-pagination>div{display:flex;gap:18px}.project-add{margin-bottom:24px}.project-add>summary{width:max-content;max-width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:6px;cursor:pointer;font-size:13px}.project-add[open]>summary{margin-bottom:20px}.project-state{font-size:13px;color:var(--secondary)}.project-state.on{color:#397557}[data-theme=dark] .project-state.on{color:#8bc6a6}.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}
@media(max-width:760px){.project-section-tabs{gap:8px 18px}.project-heading h1{font-size:22px}.project-navigation{align-items:flex-start}.project-switch{max-width:100%}.project-switch select{max-width:220px}.project-list-table{min-width:560px}.project-settings-content table{min-width:580px}.project-settings-content .form-grid{grid-template-columns:minmax(0,1fr)}.project-settings-content .toolbar{align-items:flex-start}.project-settings-content .table-wrap{overflow-x:auto}.project-settings-content .country-picker{min-width:150px}}
.issue-title-actions .issue-title{min-width:0}
.issue-title-actions{--bell-target:28px}
.reminders-ready .issue-title-actions:has(.reminder-trigger) .issue-title{
  /* Center the first text line against the bell, including wrapped titles. */
  padding-block-start:max(0px,calc((var(--bell-target) - 1lh) / 2));
}
button.reminder-trigger{display:none;width:var(--bell-target,28px);height:var(--bell-target,28px);min-height:var(--bell-target,28px);padding:5px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--secondary);flex:none}
.reminders-ready button.reminder-trigger{display:inline-flex;align-items:center;justify-content:center}
button.reminder-trigger:hover{background:var(--sidebar)}
button.reminder-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.reminder-simple form>label,.reminder-simple form>p.muted,.reminder-simple .reminder-recipients,.reminder-simple .reminder-preview,.reminder-simple [data-reminder-preview]{display:none}
.reminder-dialog.reminder-simple{max-width:460px}
.reminder-trigger svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
button.reminder-trigger[data-reminder-level="1"]{color:#dca64b}
.reminder-trigger[data-reminder-level="1"] svg{fill:#fff0d5}
button.reminder-trigger[data-reminder-level="2"]{color:#e19a20}
.reminder-trigger[data-reminder-level="2"] svg{fill:#ffd477;filter:drop-shadow(0 0 3px #f6bd5840)}
button.reminder-trigger[data-reminder-level="3"]{color:#d98b0d}
.reminder-trigger[data-reminder-level="3"] svg{fill:#ffc448;filter:drop-shadow(0 0 5px #ffbc4370)}
[data-theme="dark"] .reminder-trigger[data-reminder-level="1"]{color:#c7a25e}
[data-theme="dark"] .reminder-trigger[data-reminder-level="1"] svg{fill:#655335}
[data-theme="dark"] .reminder-trigger[data-reminder-level="2"]{color:#edbd62}
[data-theme="dark"] .reminder-trigger[data-reminder-level="2"] svg{fill:#c7973d}
[data-theme="dark"] .reminder-trigger[data-reminder-level="3"]{color:#ffda8b}
[data-theme="dark"] .reminder-trigger[data-reminder-level="3"] svg{fill:#ffc851;filter:drop-shadow(0 0 5px #ffbf4550)}
.reminder-dialog{width:min(620px,calc(100vw - 32px));padding:24px;color:inherit}
.reminder-dialog form{margin:0}.reminder-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.reminder-dialog h2{font-size:18px;margin:0}.reminder-dialog h3{font-size:13px;margin:0 0 8px}.reminder-dialog label{font-size:13px}.reminder-dialog .muted{font-size:12px;line-height:1.6}
.reminder-issue-title{font-size:14px;font-weight:500;overflow-wrap:anywhere}
.reminder-recipients ul{padding:0;list-style:none;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.reminder-preview{background:var(--sidebar);border:1px solid var(--line);border-radius:8px;padding:16px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.reminder-preview pre{font:inherit;white-space:pre-wrap;background:none;border:0;padding:0;margin:12px 0 0;overflow-wrap:anywhere}
.reminder-footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
[data-reminder-status]{font-size:13px;line-height:1.6}
@media(max-width:520px){.reminder-dialog{padding:16px}.reminder-preview{padding:12px}}

/* Readable type scale without changing the compact layout. */
body{font-size:15px}
.app-sidebar nav a,.sidebar-parent{font-size:14px}
.sidebar-caption,.view-tabs a span{font-size:12px}
.workspace-context{font-size:14px}
.app-workspace .view-tabs a,.account-name,.account-menu>summary,.settings-tabs a{font-size:13px}
.muted,small,.page-intro,.filter-reset{font-size:13px}
label,.filters summary,.compact-filters summary{font-size:13px}
input,textarea,select{font-size:15px}
button,a.button,.button{font-size:14px}
table{font-size:14px}
th{font-size:12px}
.table-wrap small,.issue-list small{font-size:12px}
.issue-list td,.issue-list .issue-title,.filter-bar input,.filter-bar select,.detail .markdown{font-size:14px}
.issue-list .issue-title,.markdown{font-size:15px}
.filter-bar button,.detail .statline,.detail-navigation a,.member-email-editor summary{font-size:13px}
.admin-page h1{font-size:23px}
.admin-page h2{font-size:17px}
.admin-page h3{font-size:14px}
.admin-page label,.admin-page input,.admin-page select,.admin-page textarea,.admin-page button,.admin-page a.button,.admin-page table,.admin-page td{font-size:14px}
.admin-page th,.admin-page small,.admin-page .muted,.admin-page .pill{font-size:13px}
.admin-page .settings-tabs a,.admin-page .member-email-editor summary{font-size:14px}

/* Quiet semantic color: progress and priority stand out, metadata stays soft. */
.issue-list .pill{font-size:12px;padding:3px 7px;font-weight:500}
.issue-list th:first-child,.issue-list td:first-child{width:28%;min-width:220px}
.issue-list .issue-title{display:inline-block;max-width:380px;overflow-wrap:anywhere}
.issue-list th:nth-child(4),.issue-list td:nth-child(4){width:256px;min-width:256px;box-sizing:border-box}
.issue-list .country-tags{display:flex;flex-wrap:wrap;gap:6px;width:232px;padding:4px 0}
.issue-list .country-tags .pill{margin:0;flex:none}
.issue-list th:nth-child(6),.issue-list td:nth-child(6){min-width:96px;white-space:nowrap}
.pill.status-draft{background:#eef3fa;color:#456483}
.pill.status-progress{background:#e8f2ff;color:#175e9e}
.pill.status-testing{background:#f1edfc;color:#654d9b}
.pill.status-done{background:#eaf5ed;color:#2c7043}
.pill.status-blocked{background:#fcebed;color:#a43b48}
.pill.status-paused{background:#f0f1f3;color:#606777}
.pill.type-tag{background:#f1f0fa;color:#61588f}
.pill.country-tag{background:#eaf6f3;color:#2b7066}
a.pill.country-tag{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 7px;line-height:1;vertical-align:middle}
.pill.country-tag.country-complete{background:#eff3f0;color:#5b7163}
.country-completion{position:absolute;top:-3px;right:-3px;display:grid;place-items:center;width:11px;height:11px;border-radius:50%;background:#4f8265;box-shadow:0 0 0 2px var(--surface,#fff);pointer-events:none}
.country-completion svg{display:block;width:9px;height:9px;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
a.pill.country-tag:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.pill.priority-high{background:#fce9eb;color:#aa3040;font-weight:600}
.pill.priority-medium{background:#fff1dd;color:#955a0d;font-weight:600}
.pill.priority-low{background:#edf2f8;color:#4b637d;font-weight:600}
.issue-list tbody tr:hover{background:#f7f7f8}
.issue-list a.pill:hover{filter:brightness(.95);color:inherit}
.status-banner .pill.status-draft{background:#eef3fa;color:#456483}
.status-banner .pill.status-progress{background:#e8f2ff;color:#175e9e}
.status-banner .pill.status-testing{background:#f1edfc;color:#654d9b}
.status-banner .pill.status-done{background:#eaf5ed;color:#2c7043}
[data-theme=dark] .pill.status-draft{background:#263445;color:#aec7e4}
[data-theme=dark] .pill.status-progress{background:#203750;color:#9bc9fa}
[data-theme=dark] .pill.status-testing{background:#302944;color:#c7b6f0}
[data-theme=dark] .pill.status-done{background:#253d30;color:#a9d9b8}
[data-theme=dark] .pill.status-blocked{background:#492b32;color:#f0adb7}
[data-theme=dark] .pill.status-paused{background:#31343a;color:#c1c4cc}
[data-theme=dark] .pill.type-tag{background:#302d44;color:#c6bff0}
[data-theme=dark] .pill.country-tag{background:#213c38;color:#a4d8cf}
[data-theme=dark] .pill.country-tag.country-complete{background:#29332d;color:#b0c3b7}
[data-theme=dark] .country-completion{background:#73a389}
[data-theme=dark] .pill.priority-high{background:#482a31;color:#f0a9b4}
[data-theme=dark] .pill.priority-medium{background:#463725;color:#ebc794}
[data-theme=dark] .pill.priority-low{background:#293746;color:#b9cee3}
[data-theme=dark] .issue-list tbody tr:hover{background:#252629}
[data-theme=dark] .status-banner .pill.status-draft{background:#263445;color:#aec7e4}
[data-theme=dark] .status-banner .pill.status-progress{background:#203750;color:#9bc9fa}
[data-theme=dark] .status-banner .pill.status-testing{background:#302944;color:#c7b6f0}
[data-theme=dark] .status-banner .pill.status-done{background:#253d30;color:#a9d9b8}

/* Detail sections follow the shared workspace edges. */
.app-workspace main:has(>.detail)>.topline,.app-workspace main>.detail-navigation,.app-workspace main>.status-banner,.app-workspace main>.detail{max-width:none;margin-inline:0}
.app-workspace main>.detail-navigation,.app-workspace main>.status-banner,.app-workspace main>.detail{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:32px}
.app-workspace main>.detail-navigation a:last-child,.app-workspace main>.status-banner .sync-meta{justify-self:start;padding-left:24px;text-align:left}
.detail aside .statline{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:start}
.detail aside .statline b{max-width:none;text-align:left}
.detail li,.detail li a{overflow-wrap:anywhere}
@media(min-width:761px) and (max-width:1100px){.app-workspace main>.detail-navigation,.app-workspace main>.status-banner,.app-workspace main>.detail{grid-template-columns:minmax(0,1fr) 240px;column-gap:24px}}
@media(max-width:760px){.app-workspace main>.detail-navigation{display:flex;justify-content:space-between}.app-workspace main>.status-banner{display:flex}.app-workspace main>.detail{grid-template-columns:minmax(0,1fr)}.app-workspace main>.detail-navigation a:last-child,.app-workspace main>.status-banner .sync-meta{padding-left:0}.detail aside .statline{grid-template-columns:minmax(100px,35%) minmax(0,1fr)}}

/* Timeline metadata is a quiet label; the actual comment carries the reading hierarchy. */
.timeline-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;line-height:1.5}
.timeline-kind{display:inline-flex;align-items:center;padding:2px 7px;border-radius:5px;background:#f0f0f2;color:#55575c;font-size:11px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.timeline-comment .timeline-kind{background:#eaf2fc;color:#25639b}
.timeline-done .timeline-kind{background:#eaf5ed;color:#2c7043}
.timeline-author{font-size:12px;font-weight:500;color:var(--secondary)}
.timeline-date{font-size:11px;color:var(--secondary);font-variant-numeric:tabular-nums}
.timeline-comment:before{background:#6b9fd2}
.timeline-item .markdown{font-size:14px;line-height:1.8}
.timeline-replies{padding-left:22px;margin-top:18px}
.timeline-reply{padding:12px 0}
.timeline-reply:last-child{padding-bottom:0}
.timeline-reply .timeline-kind{background:#f3f4f6;color:var(--secondary)}
[data-theme=dark] .timeline-reply .timeline-kind{background:#303236;color:#b9bdc5}
@media(max-width:640px){.timeline-replies{padding-left:14px}}
.timeline-item .markdown h2{margin:20px 0 10px;font-size:17px;line-height:1.5;font-weight:650;color:#25272b}
.timeline-item .markdown h3{margin:18px 0 8px;font-size:15px;line-height:1.55;font-weight:600;color:#303238}
.timeline-item .markdown h4{margin:16px 0 6px;font-size:14px;line-height:1.6;font-weight:600;color:#404248}
.timeline-item .markdown :is(h2,h3,h4):first-child{margin-top:0}
.timeline-event .markdown,.timeline-done .markdown{font-size:13px;color:var(--secondary)}
[data-theme=dark] .timeline-kind{background:#303236;color:#b9bdc5}
[data-theme=dark] .timeline-comment .timeline-kind{background:#203750;color:#9bc9fa}
[data-theme=dark] .timeline-done .timeline-kind{background:#253d30;color:#a9d9b8}
[data-theme=dark] .timeline-comment:before{background:#77aee6}
[data-theme=dark] .timeline-item .markdown h2{color:#f1f1f3}
[data-theme=dark] .timeline-item .markdown h3{color:#e4e4e8}
[data-theme=dark] .timeline-item .markdown h4{color:#d4d5da}

/* All signed-in pages share delivery history's full-width workspace gutter.
   Keep form/dialog widths and the standalone login layout independent. */
.app-shell{--workspace-gutter:32px}
.app-shell .app-workspace>main{max-width:none;margin-inline:0;padding-inline:var(--workspace-gutter)}
.app-shell .app-workspace>header{padding-inline:var(--workspace-gutter)}
@media(max-width:760px){.app-shell{--workspace-gutter:18px}}

.admin-page .project-type-settings{max-width:none}
.type-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 18px;max-width:840px;margin:0 0 18px}
.admin-page .type-option-grid label.check{display:flex;align-items:center;gap:8px;margin:0;padding:7px 0;font-size:13px;line-height:1.4}
.admin-page .type-option-grid input[type=checkbox]{width:15px;height:15px;min-height:0;padding:0;margin:0;flex:none;accent-color:var(--accent)}
.settings-form { max-width:840px; }
.push-tabs{flex-wrap:wrap;gap:0 24px}
.push-center .settings-form textarea{max-width:none}
.push-center select[multiple]{height:180px;min-height:180px;max-width:100%}
.push-center select[multiple] option{padding:5px}
.push-center .check{margin-bottom:20px}
.push-center .check input{width:14px;height:14px;min-height:14px;flex:none}
.push-center .settings-form+.card{margin-top:24px}
.push-center .toolbar{flex-wrap:wrap}
.settings-form input[type="file"] { width:100%; max-width:100%; }
.app-sidebar .brand{display:flex;align-items:center;gap:10px;line-height:1.2;min-height:32px;letter-spacing:-.4px}
.brand-icon{display:block;width:30px;height:30px;flex:0 0 30px}
.app-sidebar .brand:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:6px}
@media(max-width:760px){.app-sidebar .brand{gap:8px;flex-shrink:0}.brand-icon{width:26px;height:26px;flex-basis:26px}}
.auth-shell{--accent:#18181b;--line:#e4e4e7;--secondary:#71717a;background:#fff;color:#18181b}
.auth-shell .app-workspace{min-height:100svh}
.auth-shell header{position:absolute;inset:0 auto auto 0;width:50%;height:96px;padding:32px 40px;background:transparent;border:0;box-sizing:border-box;z-index:1}
.auth-shell header .brand{display:flex;align-items:center;gap:10px;font-size:16px;letter-spacing:-.3px}
.auth-shell header .brand-icon{width:30px;height:30px;flex-shrink:0}
.auth-shell .app-workspace main{max-width:none;width:100%;padding:0;margin:0}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100svh}
.auth-form-side{display:flex;align-items:center;justify-content:center;padding:120px 40px 80px;min-width:0}
.auth-shell .login{width:100%;max-width:320px;margin:0}
.auth-shell .login h1{text-align:center;font-size:25px;line-height:1.3;letter-spacing:-.7px;margin:0 0 10px;font-weight:650}
.login-description{text-align:center;color:var(--secondary);font-size:14px;line-height:1.6;margin:0 0 28px}
.auth-shell .login form{display:grid;gap:20px;margin:0}
.auth-shell .login label{display:grid;gap:8px;margin:0;color:inherit;font-size:14px;font-weight:500}
.auth-shell .login input{height:40px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;font-size:14px;background:transparent;color:inherit;box-shadow:0 1px 2px #00000005}
.auth-shell .login input:focus{border-color:#71717a;outline:2px solid #a1a1aa55;outline-offset:2px;box-shadow:none}
.auth-shell .login button{width:100%;min-height:40px;margin:0;background:#18181b;color:#fff;border:1px solid #18181b;border-radius:6px;font-size:14px;font-weight:500}
.auth-shell .login button:hover{background:#303034}
.login-divider{display:flex;align-items:center;gap:14px;margin:24px 0;color:var(--secondary);font-size:12px;white-space:nowrap}
.login-divider:before,.login-divider:after{content:'';height:1px;background:var(--line);flex:1}
.auth-shell .sso-login{display:flex;gap:9px;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;box-sizing:border-box;border:1px solid var(--line);border-radius:6px;background:transparent;color:inherit;text-decoration:none;font-size:14px;font-weight:500}
.auth-shell .sso-login:hover{background:#f4f4f5}
.auth-shell .sso-login:focus-visible{outline:2px solid #71717a;outline-offset:3px}
.login-help{text-align:center;margin:24px 0 0;color:var(--secondary);font-size:13px}
.login-support{display:inline-block;position:relative;margin:0;text-align:left}
.login-support>summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:4px}
.login-support>summary::-webkit-details-marker{display:none}
.login-support-popover{position:absolute;bottom:calc(100% + 10px);right:0;z-index:10;width:max-content;max-width:min(280px,calc(100vw - 48px));padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);color:var(--accent);box-shadow:0 8px 24px #00000018;overflow-wrap:anywhere;line-height:1.6}
.auth-shell .login-help a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.auth-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f4f5;border-left:1px solid #eeeeef;gap:16px}
.auth-cover-mark{display:flex;align-items:baseline;font-size:100px;line-height:1;font-weight:700;letter-spacing:-10px;color:#d4d4d8}
.auth-cover-mark span{color:#a1a1aa}
.auth-cover-caption{font-size:14px;font-weight:500;letter-spacing:3px;color:#a1a1aa}
html[data-theme="dark"] .auth-shell{--accent:#fafafa;--line:#333338;--secondary:#a1a1aa;background:#18181b;color:#fafafa}
html[data-theme="dark"] .auth-shell .login button{background:#fafafa;color:#18181b;border-color:#fafafa}
html[data-theme="dark"] .auth-shell .sso-login:hover{background:#27272a}
html[data-theme="dark"] .auth-cover{background:#222225;border-color:#303034}
html[data-theme="dark"] .auth-cover-mark{color:#3f3f46}
@media(max-width:1023px){.auth-layout{grid-template-columns:1fr}.auth-cover{display:none}.auth-shell header{width:100%;padding:24px;height:80px}.auth-form-side{padding:112px 24px 64px}}

/* Demand portal: compact metadata, country progress, and a reading-first detail. */
.portal-issue-list .table-wrap{width:100%}
.portal-issue-list table{min-width:960px;table-layout:fixed}
.portal-issue-list th,.portal-issue-list td{border-color:var(--line);padding:14px 12px;line-height:1.5}
/* The header anchors the columns. A subtle band keeps long rows easy to follow. */
.portal-issue-list tbody td{border-bottom:0}
@media(min-width:761px){
  .portal-issue-list tbody tr:nth-child(even):not(:hover){background:color-mix(in srgb,var(--secondary) 4%,var(--surface))}
}
.portal-issue-list th{padding-block:11px;font-size:12px;font-weight:400}
.portal-issue-list th:first-child,.portal-issue-list td:first-child{width:auto;min-width:0}
.portal-issue-list th:nth-child(2),.portal-issue-list td:nth-child(2){width:90px}
.portal-issue-list th:nth-child(3),.portal-issue-list td:nth-child(3){width:224px}
.portal-issue-list th:nth-child(4),.portal-issue-list td:nth-child(4){width:164px;min-width:0}
.portal-issue-list th:nth-child(5),.portal-issue-list td:nth-child(5){width:244px}
.portal-issue-list .issue-title{display:block;max-width:none;font-size:14px;line-height:1.6;font-weight:500}
.portal-issue-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:7px}
.portal-issue-meta .project-tag{max-width:100%;white-space:normal;overflow-wrap:anywhere;background:#e6f4ee;color:#28634b}
[data-theme=dark] .portal-issue-meta .project-tag{background:#223c32;color:#a5ddbd}
.portal-issue-list .portal-issue-meta .pill{font-size:11px;padding:1px 5px;margin:0}
.portal-issue-list .country-tags{width:200px;gap:4px;padding:3px 0}
.portal-issue-list .country-tags .country-tag{min-width:25px;padding:0 6px}
.portal-person{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere;font-size:13px}
.portal-person > .recipient-role{margin-top:0}
.portal-person + .portal-person{margin-top:6px}
.portal-due-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.portal-due{font-size:13px;font-variant-numeric:tabular-nums}
.portal-overdue,.portal-updated{font-size:11px!important;line-height:1.6}
.portal-overdue{white-space:nowrap}
.portal-updated{display:block;margin-top:4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.portal-due.is-overdue,.portal-overdue{color:#aa3040}
[data-theme=dark] .portal-due.is-overdue,[data-theme=dark] .portal-overdue{color:#f0a9b4}
.portal-issue-list .pagination{justify-content:flex-end;border:0;margin-top:0;padding:20px 12px 0}
.portal-issue-list .pagination>span{margin-right:auto;font-size:12px}
.portal-issue-list .pagination a{font-size:12px;padding:5px 10px;min-height:32px}
.app-workspace main:has(.portal-issue-list) .compact-filters{padding-block:16px}
.portal-filter-bar {gap:10px}
.portal-filter-bar label {flex:0 1 10rem;min-width:0}
.portal-filter-bar .search-field {flex:1 1 13rem;max-width:19rem}
.portal-filter-bar label:has(select[name="project"]) {flex-basis:12rem}
.portal-filter-bar label:has(select[name="sort"]) {flex-basis:7rem}
.portal-filter-bar label:has(select[name="assignee"]) {flex-basis:11rem}
.app-workspace main:has(.portal-issue-list) .filter-bar input,.app-workspace main:has(.portal-issue-list) .filter-bar select{font-size:13px;min-height:36px;background:var(--surface);border-color:var(--line)}
.app-workspace main>.portal-heading,.app-workspace main>.portal-detail-navigation,.app-workspace main>.portal-detail{max-width:none}
.app-workspace main>.portal-detail-navigation{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-block:20px 18px}
.portal-detail-navigation>div{min-width:0;overflow-wrap:anywhere}
.portal-breadcrumb{font-size:14px;color:var(--secondary);margin-left:8px}
.portal-detail-navigation .portal-back-link,.portal-title-row .portal-git-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 12px;border:1px solid var(--line);border-radius:7px;font-size:12px;font-weight:500;line-height:1.4;text-decoration:none;white-space:nowrap}
.portal-detail-navigation .portal-back-link{min-height:28px;padding:4px 8px;gap:5px;border-radius:6px;background:var(--accent);color:var(--surface);border-color:var(--accent)}
.portal-title-row .portal-git-link{background:var(--surface);color:var(--accent);flex-shrink:0}
.portal-detail-navigation .portal-back-link:hover{opacity:.85;text-decoration:none}
.portal-title-row .portal-git-link:hover{background:var(--sidebar);text-decoration:none}
.portal-back-link svg,.portal-git-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.portal-back-link svg{width:13px;height:13px}
.portal-title-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px 16px;margin-bottom:10px}
.app-workspace .portal-heading .portal-title-row h1{margin:0;min-width:0;flex:0 1 auto;max-width:100%}
@media(max-width:760px){.portal-title-row{flex-wrap:wrap;gap:12px}.portal-title-row h1{flex-basis:100%}}
.portal-heading{margin:0 auto 20px}
.app-workspace .portal-heading h1{font-size:24px;line-height:1.5;letter-spacing:-.5px;max-width:920px;overflow-wrap:anywhere;margin:0 0 10px}
.portal-heading-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--secondary);font-size:12px}
.portal-heading-meta a{text-decoration:none}
.app-workspace main>.portal-detail,.delivery-preview .portal-detail{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:28px;margin-top:0;align-items:start}
.portal-reading{min-width:0}
.portal-detail-tabs{display:flex;align-items:stretch;gap:22px;flex-wrap:wrap;margin:0 0 20px}
.portal-detail-tabs a{display:flex;align-items:center;gap:6px;min-height:46px;padding:10px 0;border-bottom:2px solid transparent;font-size:13px;color:var(--secondary);text-decoration:none;white-space:nowrap}
.portal-detail-tabs a:hover{text-decoration:none;color:var(--accent)}
.portal-detail-tabs a[aria-selected=true]{color:var(--accent);border-bottom-color:currentColor;font-weight:500}
.portal-detail-tabs a span{font-size:11px;background:var(--sidebar);padding:0 5px;border-radius:4px}
.portal-detail .portal-reading>.portal-panel{padding:0 0 22px;border:0;background:transparent;min-width:0;border-radius:0}
.portal-detail .portal-panel[hidden]{display:none!important}
[data-tabs-ready] .portal-panel-title{display:none}
.portal-labels{gap:6px;margin-bottom:18px}
.portal-labels .pill{font-size:11px}
.portal-detail .markdown{font-size:15px;line-height:1.8}
.portal-detail .markdown h1{font-size:21px;margin:24px 0 10px}
.portal-detail .markdown h2{font-size:17px;margin:24px 0 10px}
.portal-detail .markdown h3{font-size:15px;margin:20px 0 8px}
.portal-detail .markdown p{margin:8px 0 12px}
.portal-detail .markdown ul,.portal-detail .markdown ol{margin:8px 0 16px;line-height:1.8}
.portal-detail .markdown li{margin-block:4px}
.portal-detail .markdown>h2:first-child{margin-top:0}
.portal-detail .markdown blockquote{margin:18px 0;background:var(--sidebar);border-left:3px solid var(--line);padding:12px 18px}
.portal-detail .markdown img{max-width:100%;height:auto}
.portal-detail .markdown pre{max-width:100%}
.portal-detail .markdown pre code{overflow-wrap:normal}
.portal-detail aside{min-width:0;border-left:0;padding-left:24px}
.portal-detail aside .card{padding:12px 0 18px;margin:0 0 12px;border:0;border-radius:0;background:transparent}

.portal-detail aside h2{font-size:13px;margin-bottom:12px;font-weight:500}
.portal-detail aside .statline{grid-template-columns:76px minmax(0,1fr);padding:6px 0;gap:12px;font-size:12px}
.portal-detail aside .statline b{text-align:left;max-width:none;min-width:0;line-height:1.6}
.portal-extra-properties{margin-top:12px;font-size:12px}
.portal-extra-properties summary{color:var(--secondary);cursor:pointer;padding:4px 0}
.portal-extra-properties[open] summary{margin-bottom:8px}
.portal-country-work h2{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.portal-country-work h2 small{font-size:11px;font-weight:400}
.portal-work-meter{appearance:none;display:block;width:100%;height:3px;border:0;border-radius:3px;overflow:hidden;background:var(--sidebar);margin:0 0 18px;color:#4f8265}
.portal-work-meter::-webkit-progress-bar{background:var(--sidebar)}
.portal-work-meter::-webkit-progress-value{background:#4f8265}
.portal-work-meter::-moz-progress-bar{background:#4f8265}
.portal-work-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;margin:10px 0;font-size:12px;overflow-wrap:anywhere}
.portal-work-country{background:#eaf6f3;color:#2b7066;border-radius:5px;display:inline-grid;place-items:center;min-height:24px}
.country-work-tooltip{position:fixed;z-index:1000;max-width:min(360px,calc(100vw - 16px));padding:8px 11px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--accent);box-shadow:0 3px 12px #00000014;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.country-work-tooltip[hidden]{display:none}
.portal-work-row small{font-size:11px;white-space:nowrap}
.portal-work-row .work-finished{color:#3b714c}
.portal-work-row .work-unfinished{color:#aa3040}
.portal-detail .markdown input.task-list-item-checkbox:checked{appearance:none;display:inline-grid;place-items:center;width:14px;height:14px;min-height:14px;padding:0;border:1px solid #3b714c;border-radius:3px;background:#3b714c;opacity:1;vertical-align:-2px;cursor:default}
.portal-detail .markdown input.task-list-item-checkbox:checked::after{content:"";width:7px;height:4px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:translateY(-1px) rotate(-45deg)}
[data-theme=dark] .portal-detail .markdown input.task-list-item-checkbox:checked{background:#a3d4ae;border-color:#a3d4ae}
[data-theme=dark] .portal-detail .markdown input.task-list-item-checkbox:checked::after{border-color:#193321}
[data-theme=dark] .portal-work-country{background:#213c38;color:#a4d8cf}
[data-theme=dark] .portal-work-row .work-finished{color:#a3d4ae}
[data-theme=dark] .portal-work-row .work-unfinished{color:#f0a9b4}
.portal-detail .timeline-item{padding-block:12px 24px;padding-left:24px}
.portal-detail .timeline-item:before{top:20px}
.portal-detail .timeline-meta{font-size:12px}
.portal-detail .timeline-comment>.markdown{padding:14px 16px;border:1px solid var(--line);border-radius:8px}
.portal-detail .timeline-replies{margin-top:14px}
.portal-detail .timeline-date{font-size:11px}
.portal-panel>.table-wrap{margin-bottom:28px}
.portal-panel>.table-wrap td{overflow-wrap:anywhere}
.portal-panel [id^=comment-]{scroll-margin-top:20px}
.delivery-preview .portal-heading h1{font-size:23px}
.delivery-preview .portal-detail{max-width:none}
.app-workspace main>.portal-detail.is-messages,.delivery-preview .portal-detail.is-messages{grid-template-columns:minmax(0,1fr)}
.portal-detail.is-messages>aside{border-left:0;border-top:1px solid var(--line);padding:20px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:24px}
.portal-detail.is-messages>aside .card{margin:0;border-bottom:0}
@media(max-width:1100px) and (min-width:761px){.app-workspace main>.portal-detail,.delivery-preview .portal-detail{grid-template-columns:minmax(0,1fr) 240px;gap:24px}.portal-detail aside{padding-left:20px}.portal-detail-tabs{gap:16px}}
@media(max-width:760px){.app-workspace main>.portal-detail,.delivery-preview .portal-detail{grid-template-columns:minmax(0,1fr);gap:20px}.portal-detail aside{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.app-workspace .portal-heading h1{font-size:23px}.app-workspace main>.portal-detail-navigation{margin-block:20px 18px}.portal-detail-tabs{gap:18px}.portal-detail .portal-panel{padding:0 0 20px}.portal-detail aside .statline{grid-template-columns:100px minmax(0,1fr)}.portal-secondary-filters label{flex:1 1 120px}.portal-breadcrumb{display:block;margin:6px 0 0}.portal-detail .markdown{font-size:15px}}
@media(max-width:520px){
 .portal-issue-list .pagination{padding-inline:0}
 .portal-issue-list .table-wrap{overflow:visible}.portal-issue-list table,.portal-issue-list tbody{display:block;min-width:0;width:100%}.portal-issue-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .portal-issue-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 8px;padding:20px 0;border-bottom:1px solid var(--line)}
 .portal-issue-list tbody td{display:block;width:auto!important;min-width:0!important;border:0;padding:0;font-size:13px}
 .portal-issue-list td:first-child{grid-column:1/-1;grid-row:1}.portal-issue-list td:nth-child(2){grid-column:2;grid-row:2;text-align:right}.portal-issue-list td:nth-child(3){grid-column:1;grid-row:2}.portal-issue-list td:nth-child(4){grid-column:1/-1;grid-row:3}.portal-issue-list td:nth-child(5){grid-column:1/-1;grid-row:4;text-align:left}
 .portal-issue-list .issue-title{max-width:none;font-size:15px}.portal-issue-list .country-tags{width:auto;gap:5px}.portal-issue-list .country-tags .country-tag{min-width:25px}.portal-work-summary{font-size:11px!important}.portal-issue-list .empty{grid-column:1/-1!important;height:auto;padding:40px 0!important;text-align:center}
 .portal-issue-list .pagination{gap:8px;flex-wrap:wrap}.portal-issue-list .pagination>span{flex-basis:100%}.app-workspace main:has(.portal-issue-list) .filter-bar .search-field{flex-basis:100%}.app-workspace main:has(.portal-issue-list) .search-field input{font-size:16px}.portal-secondary-filters label{flex:1 1 90px;min-width:85px}.portal-secondary-filters .filter-reset{padding-top:0}
 .portal-detail-tabs{gap:14px}.portal-detail-tabs a{font-size:12px}.portal-heading-meta{gap:8px}.portal-detail-navigation{align-items:flex-start!important}.portal-detail-navigation a{font-size:12px}.portal-detail .timeline-comment>.markdown{padding:12px}.portal-detail .timeline-item{padding-left:18px}
}
@media(max-width:760px){
 .app-workspace main:has(.portal-issue-list) .portal-filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .app-workspace main:has(.portal-issue-list) .portal-filter-bar .search-field{grid-column:1/-1;max-width:none}
 .app-workspace main:has(.portal-issue-list) .filter-bar label{min-width:0}
 .portal-detail aside .statline{grid-template-columns:100px minmax(0,1fr)}
}

.pill.work-tag{background:#eaf1fa;color:#38618f}
[data-theme=dark] .pill.work-tag{background:#26374c;color:#b2cff0}

.delivery-message-body p{margin:0 0 1em}.delivery-message-body p:last-child{margin-bottom:0}

.bot-message-preview{white-space:normal}.bot-message-preview :not(pre)>code{background:var(--line);border-radius:4px;padding:1px 4px}
.bot-message-preview pre{box-sizing:border-box;max-width:100%;overflow-x:auto;white-space:pre;overflow-wrap:normal;word-break:normal;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--sidebar,#f7f7f8)}

/* DGBP console surfaces and interaction colors. */
:root:not([data-theme=dark]) .app-workspace main { background: var(--surface); }
:root:not([data-theme=dark]) th { background: #f8fafc; color: #475467; }
:root:not([data-theme=dark]) :is(.view-tabs,.settings-tabs,.project-section-tabs) a[aria-current=page] { color: var(--accent); border-bottom-color: var(--accent); }
:root:not([data-theme=dark]) :is(input,select,textarea):focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px var(--focus-ring); }
