/* Workboard macOS / iOS skin (TEST). Loaded last. Tokens follow Daily Lines V1.03. */
:root{
  --mac-bg:#F2F2F7;--mac-surface:#fff;--mac-surface-2:#F2F2F7;--mac-label:#000;--mac-label-2:rgba(60,60,67,.60);--mac-label-3:rgba(60,60,67,.34);
  --mac-sep:rgba(60,60,67,.14);--mac-fill:rgba(118,118,128,.12);--mac-material:rgba(249,249,249,.78);--mac-accent:#007AFF;--mac-green:#34C759;--mac-red:#FF3B30;--mac-orange:#FF9500;
  --mac-shadow:0 0 0 .5px rgba(0,0,0,.04),0 1px 3px rgba(0,0,0,.06);
  --mac-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mac-ease:cubic-bezier(.32,.72,0,1);
}
html[data-theme=dark]{
  --mac-bg:#000;--mac-surface:#1C1C1E;--mac-surface-2:#2C2C2E;--mac-label:rgba(255,255,255,.92);--mac-label-2:rgba(235,235,245,.60);--mac-label-3:rgba(235,235,245,.32);
  --mac-sep:rgba(84,84,88,.55);--mac-fill:rgba(118,118,128,.24);--mac-material:rgba(30,30,30,.72);--mac-accent:#0A84FF;--mac-green:#30D158;--mac-red:#FF453A;--mac-orange:#FF9F0A;
  --mac-shadow:inset 0 0 0 .5px rgba(255,255,255,.08);
}
html[data-theme]{
  --accent:var(--mac-accent);--canvas:var(--mac-bg);--surface:var(--mac-surface);--line:var(--mac-sep);--text:var(--mac-label);--muted:var(--mac-label-2);
  font-family:var(--mac-font);-webkit-font-smoothing:antialiased;
}
html[data-theme] body,html[data-theme] #root{background:var(--mac-bg);color:var(--mac-label);font-family:var(--mac-font);letter-spacing:-.011em}
html[data-theme] *:not(code):not(pre):not(kbd){font-family:var(--mac-font)!important}
html[data-theme] code,html[data-theme] pre{font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace!important}

/* Top bar: translucent material, brand left, segmented control */
html[data-theme] main.shell>nav{position:sticky;top:0;z-index:50;margin:0 -12px;padding:10px 16px;border:0;border-bottom:.5px solid var(--mac-sep);
  background:var(--mac-material);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
html[data-theme] .wb-brand,html[data-theme] main.shell>nav>a:first-child{font:600 15px/1 var(--mac-font)!important;letter-spacing:-.01em!important;text-transform:none!important;color:var(--mac-label)!important}
html[data-theme] .page-switch{background:var(--mac-fill)!important;border:0!important;border-radius:9px!important;padding:2px!important;gap:0}
html[data-theme] .page-switch a{font:500 13px/1 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;color:var(--mac-label)!important;padding:7px 14px!important;border-radius:7px!important;transition:background .25s var(--mac-ease),box-shadow .25s var(--mac-ease)}
html[data-theme] .page-switch a.active{background:var(--mac-surface)!important;color:var(--mac-label)!important;font-weight:600!important;box-shadow:0 3px 8px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.04)}
html[data-theme=dark] .page-switch a.active{background:#636366!important;box-shadow:none}
html[data-theme] .theme-toggle,html[data-theme] .wb-logout button,html[data-theme] .wb-logout{font:500 13px/1 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;border:0!important;background:var(--mac-fill)!important;color:var(--mac-accent)!important;border-radius:999px!important;min-height:32px}
html[data-theme] .nav-link{border-radius:7px}

/* Large titles */
html[data-theme] .hero{padding:28px 0 20px!important}
html[data-theme] .hero h1{font:700 34px/1.08 var(--mac-font)!important;letter-spacing:-.025em!important;margin:6px 0 8px!important;color:var(--mac-label)}
html[data-theme] .hero h1 span,html[data-theme] .link-manager h1 span{color:var(--mac-label-3)!important;display:none}
html[data-theme] .hero>small,html[data-theme] .thinkers>header small,html[data-theme] .completed>header small,html[data-theme] .section-head small,html[data-theme] small{font:600 13px/1.2 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;color:var(--mac-label-2)!important}
html[data-theme] .hero p{font-size:17px;color:var(--mac-label-2)}
html[data-theme] .hero aside{position:static!important;border:0!important;padding:0!important;font:500 13px/1.3 var(--mac-font)!important;color:var(--mac-label-2)!important;margin-top:6px}
html[data-theme] h1,html[data-theme] h2,html[data-theme] h3{letter-spacing:-.02em;font-weight:700;color:var(--mac-label)}
html[data-theme] h2{font-size:22px!important;line-height:1.2}
html[data-theme] h3{font-size:17px!important}

/* Grouped cards */
html[data-theme] .summary,html[data-theme] .workflow,html[data-theme] .project-card,html[data-theme] .card,html[data-theme] .link-filters,html[data-theme] .link-table-wrap,html[data-theme] .folder,html[data-theme] .thinkers-page-head,html[data-theme] .link-manager>header,html[data-theme] .kpis>*,html[data-theme] .dash-grid>*,html[data-theme] .table-wrap,html[data-theme] .drawer{
  background:var(--mac-surface)!important;border:0!important;border-radius:16px!important;box-shadow:var(--mac-shadow)!important;backdrop-filter:none}
html[data-theme] .project-card{min-height:0!important;transition:transform .35s var(--mac-ease),box-shadow .35s var(--mac-ease)}
html[data-theme] .project-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.10)!important}
html[data-theme] .summary *,html[data-theme] .workflow *,html[data-theme] .project-card *{letter-spacing:-.005em}
html[data-theme] .summary strong{font-weight:700;font-size:28px}
html[data-theme] .summary small,html[data-theme] .workflow small,html[data-theme] .project-card small{font-size:12px!important;font-weight:500!important;color:var(--mac-label-2)!important}
html[data-theme] .workflow li,html[data-theme] .workflow ol>*{background:var(--mac-surface-2)!important;border:0!important;border-radius:12px!important}
html[data-theme] .section-head{border:0!important}

/* Chips and buttons */
html[data-theme] .chip,html[data-theme] .wbss-chip,html[data-theme] .link-cat,html[data-theme] .link-action,html[data-theme] .suggestion-phase{border-radius:999px!important;border:0!important;font:600 11px/1 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;padding:5px 9px!important;background:var(--mac-fill)!important;color:var(--mac-label)!important}
html[data-theme] .chip-ok,html[data-theme] .live,html[data-theme] .implemented,html[data-theme] .updated{background:rgba(52,199,89,.16)!important;color:var(--mac-green)!important}
html[data-theme] .chip-err,html[data-theme] .rejected,html[data-theme] .removed{background:rgba(255,59,48,.14)!important;color:var(--mac-red)!important}
html[data-theme] .chip-warn,html[data-theme] .chip-orange,html[data-theme] .holding,html[data-theme] .review{background:rgba(255,149,0,.16)!important;color:var(--mac-orange)!important}
html[data-theme] .chip-info,html[data-theme] .accepted,html[data-theme] .working{background:rgba(0,122,255,.14)!important;color:var(--mac-accent)!important}
html[data-theme] button,html[data-theme] .btn,html[data-theme] .preset,html[data-theme] .tab{font:500 14px/1.2 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;border-radius:10px!important;border:0!important;background:var(--mac-fill);color:var(--mac-accent);min-height:36px;transition:background .2s var(--mac-ease),transform .2s var(--mac-ease)}
html[data-theme] button:active{transform:scale(.97)}
html[data-theme] .tab.active,html[data-theme] .preset.active,html[data-theme] button.active{background:var(--mac-accent)!important;color:#fff!important}
html[data-theme] input,html[data-theme] select,html[data-theme] textarea,html[data-theme] .search input{font:400 16px/1.3 var(--mac-font)!important;letter-spacing:0!important;background:var(--mac-fill)!important;border:0!important;border-radius:10px!important;color:var(--mac-label)!important;min-height:36px;padding:8px 12px}
html[data-theme] input:focus,html[data-theme] select:focus{outline:2px solid var(--mac-accent)!important;outline-offset:1px}
html[data-theme] label{font:600 13px/1.2 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;color:var(--mac-label-2)!important}
html[data-theme] a{color:var(--mac-accent)}

/* Tables as inset lists */
html[data-theme] table{border-collapse:separate;border-spacing:0}
html[data-theme] thead th{font:600 12px/1.2 var(--mac-font)!important;letter-spacing:0!important;text-transform:none!important;color:var(--mac-label-2)!important;background:var(--mac-surface-2)!important;border-bottom:.5px solid var(--mac-sep)!important;position:sticky;top:0}
html[data-theme] tbody td{border-bottom:.5px solid var(--mac-sep)!important;font-size:14px}
html[data-theme] tbody tr:hover td{background:var(--mac-fill)}
html[data-theme] .link-table-wrap,html[data-theme] .table-wrap{overflow:auto}

/* Thinkers folders */
html[data-theme] .folder{transition:transform .35s var(--mac-ease)}
html[data-theme] .folder:hover{transform:translateY(-2px)}
html[data-theme] .drawer-overlay{background:rgba(0,0,0,.3);backdrop-filter:blur(6px)}
html[data-theme] .drawer{border-radius:20px 0 0 20px!important}

/* Footer / status bar -> floating material pill */
html[data-theme] #wbss-bar,html[data-theme] .wbss-bar{left:50%!important;right:auto!important;transform:translateX(-50%);bottom:12px!important;width:auto!important;max-width:calc(100% - 24px);border:0!important;border-radius:999px!important;padding:8px 14px!important;background:var(--mac-material)!important;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 6px 24px rgba(0,0,0,.18),0 0 0 .5px var(--mac-sep);font:500 12px/1 var(--mac-font)!important;color:var(--mac-label-2)!important}
html[data-theme] .wbss-bar *{font:500 12px/1 var(--mac-font)!important}
html[data-theme] .page-foot{color:var(--mac-label-3);font-size:12px}

/* iOS phone: tab-bar style nav pinned to bottom */
@media (max-width:640px){
  html[data-theme] main.shell>nav{flex-wrap:wrap!important;gap:8px!important;padding:8px 12px}
  html[data-theme] .page-switch{order:3;width:100%;display:grid!important;grid-template-columns:repeat(4,1fr)}
  html[data-theme] .page-switch a{text-align:center;padding:8px 2px!important;font-size:12px!important}
  html[data-theme] .hero h1{font-size:30px!important}
  html[data-theme] .summary strong{font-size:24px}
}
@media (prefers-reduced-motion:reduce){html[data-theme] *{transition:none!important;animation:none!important}}

/* pass 2 */
html[data-theme] *{text-transform:none!important}
html[data-theme] #wb-freshness{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:12px!important;width:auto!important;max-width:calc(100% - 24px)!important;border:0!important;border-radius:999px!important;padding:9px 16px!important;background:var(--mac-material)!important;-webkit-backdrop-filter:saturate(180%) blur(20px)!important;backdrop-filter:saturate(180%) blur(20px)!important;box-shadow:0 6px 24px rgba(0,0,0,.16),0 0 0 .5px var(--mac-sep)!important;font:500 12px/1 var(--mac-font)!important;color:var(--mac-label-2)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:60!important}
html[data-theme] #wb-freshness *{font:500 12px/1 var(--mac-font)!important;color:var(--mac-label)!important}
html[data-theme] #wb-live-dot{background:var(--mac-green)!important;bottom:70px!important}
html[data-theme] main.shell{width:min(1180px,100% - 32px)}
html[data-theme] main.shell>nav{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:max(16px,calc(50vw - 590px))!important;padding-right:max(16px,calc(50vw - 590px))!important;width:100vw}
html[data-theme] .summary strong,html[data-theme] .link-manager strong,html[data-theme] .metrics strong{color:var(--mac-label)!important}
html[data-theme] .workflow li span,html[data-theme] .workflow li b{color:var(--mac-accent)!important}
html[data-theme] .link-manager>header{padding:24px!important}
html[data-theme] .link-manager h1{font:700 34px/1.1 var(--mac-font)!important}
html[data-theme] .link-manager>header aside,html[data-theme] .link-manager>header>div:last-child{border-radius:14px}
html[data-theme] [class*=count],html[data-theme] .thinkers h1{font-weight:700}

/* pass 3 */
html[data-theme] .thinkers-page-head h1,html[data-theme] .thinkers>header h1{font:700 34px/1.1 var(--mac-font)!important;margin:6px 0 8px!important;letter-spacing:-.025em!important}
html[data-theme] .thinkers-page-head h1 span{display:none}
html[data-theme] .thinkers-page-head{padding:24px!important;min-height:0!important}
html[data-theme] .bugmanager-native,html[data-theme] .bugmanager-native .shell{background:var(--mac-bg)!important;color:var(--mac-label)!important}
html[data-theme] .bm-head,html[data-theme] .toolbar,html[data-theme] .filters,html[data-theme] .tabs,html[data-theme] .presets{background:transparent!important;border:0!important}
html[data-theme] .version-chip{background:rgba(0,122,255,.14)!important;color:var(--mac-accent)!important}
html[data-theme] .search{background:transparent!important}
html[data-theme] .cell-id,html[data-theme] .gh-cell a,html[data-theme] .gl-cell a{color:var(--mac-accent)!important}
html[data-theme] .link-table-wrap td a{color:var(--mac-accent)}
html[data-theme] .link-manager>header{padding:24px!important}
@media (max-width:640px){
  html[data-theme] #wb-freshness{bottom:8px!important;padding:8px 12px!important;gap:8px!important;font-size:11px!important}
  html[data-theme] #wb-freshness *{font-size:11px!important}
  html[data-theme] .thinkers-page-head h1,html[data-theme] .link-manager h1{font-size:28px!important}
  html[data-theme] #wb-live-dot{display:none}
  html[data-theme] main.shell>nav{margin-left:-12px!important;margin-right:-12px!important;width:auto!important;padding:8px 12px!important}
}

/* pass 4 */
html[data-theme] .folder{min-height:0!important;padding-bottom:16px!important}
html[data-theme] .folder>b{position:static!important;display:block;margin-top:8px;font:600 12px/1.2 var(--mac-font)!important;opacity:.75;text-align:right}
html[data-theme] .project-card li.updated,html[data-theme] .project-card li.accepted,html[data-theme] .project-card li.holding,html[data-theme] .project-card li.rejected{background:transparent!important;color:inherit!important;border-radius:0!important}
html[data-theme] .project-card li.updated *:not(i),html[data-theme] .project-card li.accepted *:not(i),html[data-theme] .project-card li.holding *:not(i),html[data-theme] .project-card li.rejected *:not(i){color:inherit}
html[data-theme] .project-card b,html[data-theme] .project-card button{color:var(--mac-accent)!important}
html[data-theme] .project-card li i{background:var(--mac-accent)!important}
html[data-theme] .project-card li.updated i{background:var(--mac-green)!important}
html[data-theme] .project-card li.holding i{background:var(--mac-orange)!important}
html[data-theme] .project-card li.rejected i{background:var(--mac-red)!important}
html[data-theme] .link-table-wrap tbody tr{display:table-row}
@media (max-width:640px){
  html[data-theme] .link-table-wrap td{padding:6px 14px!important}
  html[data-theme] .link-table-wrap tbody tr{padding:6px 0}
}

/* pass 5 */
@media (max-width:640px){
  html[data-theme] .link-table-wrap td,html[data-theme] .link-table-wrap td *{text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}
  html[data-theme] .link-table-wrap td{display:block}
}
html[data-theme] .link-manager header strong,html[data-theme] .link-manager aside strong,html[data-theme] .link-manager [class*=count]{color:var(--mac-accent)!important}

/* pass 6 */
html[data-theme] .link-manager *[style*="color"],html[data-theme] .link-manager header strong,html[data-theme] .link-manager aside strong{color:var(--mac-accent)!important}
html[data-theme] .link-manager aside strong{font-size:44px}
@media (max-width:640px){
  html[data-theme] .link-table-wrap td::before{display:block!important;margin-bottom:2px}
  html[data-theme] .link-table-wrap td>*:first-child{display:inline-block}
}

/* ===== pass 7: fonts (Inter OFL-1.1, Noto Sans Tamil OFL-1.1), icons (Lucide ISC), spring motion ===== */
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Noto Sans Tamil Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/noto-sans-tamil-tamil-wght-normal.woff2) format("woff2-variations");unicode-range:U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC}
:root{--mac-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter Variable","Noto Sans Tamil Variable",system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--spring:linear(0,.5 8%,1.12 20%,.97 36%,1.01 55%,1);--ease-sheet:cubic-bezier(.32,.72,0,1)}
html[data-theme] body{font-size:15px;line-height:1.47;font-optical-sizing:auto;font-feature-settings:"cv11","ss03"}
html[data-theme] table,html[data-theme] .metrics,html[data-theme] .summary,html[data-theme] aside,html[data-theme] time{font-variant-numeric:tabular-nums}
/* type scale: large title 34, title 22, headline 17, body 15, subhead 13, caption 12 (min) */
html[data-theme] .project-card li span,html[data-theme] .project-card li b,html[data-theme] .project-card header :is(span,b,time,a,em,strong),html[data-theme] .project-card footer *,html[data-theme] .project-card .build *,html[data-theme] .project-card .metrics *,html[data-theme] .project-card aside *,html[data-theme] .section-head :is(span,b,aside,time),html[data-theme] .workflow li *,html[data-theme] .link-manager aside *,html[data-theme] .page-switch a,html[data-theme] .wbss-chip{font-size:12px!important;line-height:1.35!important}
html[data-theme] .page-switch a{font-size:13px!important}
html[data-theme] .project-card h3,html[data-theme] .project-card h2{font-size:20px!important;line-height:1.2!important;font-weight:700!important}
html[data-theme] .project-card p{font-size:14px;line-height:1.5}
html[data-theme] .workflow li{font-size:13px!important}
html[data-theme] .section-head{margin:8px 0 12px!important}
html[data-theme] main.shell>section,html[data-theme] main.shell>header:not(nav),html[data-theme] main.shell>div:not(.page-switch){margin-top:24px!important}
html[data-theme] .hero{margin-top:0!important}
html[data-theme] .projects{gap:16px!important}
/* icons */
html[data-theme] .page-switch a::before{content:"";display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;opacity:.85}
html[data-theme] .page-switch a[href^="/dashboard"]{--ic:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Crect width='7' height='9' x='3' y='3' rx='1' /%3E  %3Crect width='7' height='5' x='14' y='3' rx='1' /%3E  %3Crect width='7' height='9' x='14' y='12' rx='1' /%3E  %3Crect width='7' height='5' x='3' y='16' rx='1' /%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/linkmanager"],html[data-theme] .page-switch a[href^="/links"]{--ic:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Cpath d='m11 6 1.5-1.5a5 5 0 018.415 3.51A5 5 0 0119.5 11.5L18 13' /%3E  %3Cpath d='m13 18-1.5 1.5a5 5 0 01-8.415-3.51A5 5 0 014.5 12.5L6 11' /%3E  %3Cpath d='m9 15 6-6' /%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/bugmanager"]{--ic:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Cpath d='M12 20v-9' /%3E  %3Cpath d='M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z' /%3E  %3Cpath d='M14.12 3.88 16 2' /%3E  %3Cpath d='M21 21a4 4 0 0 0-3.81-4' /%3E  %3Cpath d='M21 5a4 4 0 0 1-3.55 3.97' /%3E  %3Cpath d='M22 13h-4' /%3E  %3Cpath d='M3 21a4 4 0 0 1 3.81-4' /%3E  %3Cpath d='M3 5a4 4 0 0 0 3.55 3.97' /%3E  %3Cpath d='M6 13H2' /%3E  %3Cpath d='m8 2 1.88 1.88' /%3E  %3Cpath d='M9 7.13V6a3 3 0 1 1 6 0v1.13' /%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/thinkers"]{--ic:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5' /%3E  %3Cpath d='M9 18h6' /%3E  %3Cpath d='M10 22h4' /%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/thoughts"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 16H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9'/%3E%3Ccircle cx='6.5' cy='18.75' r='1.25'/%3E%3Ccircle cx='3.5' cy='21.5' r='0.75'/%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/agentic"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 5h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 19h8'/%3E%3Cpath d='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/notes"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E")}
html[data-theme] .page-switch a[href^="/about"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E")}
html[data-theme] .page-switch a.active::before{color:var(--mac-accent);opacity:1}
html[data-theme] .theme-toggle{font-size:0!important;width:34px;min-width:34px;height:34px;padding:0!important;position:relative}
html[data-theme] .theme-toggle::before{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;background:var(--mac-accent);-webkit-mask:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Cpath d='M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401' /%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Cpath d='M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401' /%3E%3C/svg%3E") center/contain no-repeat}
html[data-theme=dark] .theme-toggle::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Ccircle cx='12' cy='12' r='4' /%3E  %3Cpath d='M12 2v2' /%3E  %3Cpath d='M12 20v2' /%3E  %3Cpath d='m4.93 4.93 1.41 1.41' /%3E  %3Cpath d='m17.66 17.66 1.41 1.41' /%3E  %3Cpath d='M2 12h2' /%3E  %3Cpath d='M20 12h2' /%3E  %3Cpath d='m6.34 17.66-1.41 1.41' /%3E  %3Cpath d='m19.07 4.93-1.41 1.41' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg  xmlns='http://www.w3.org/2000/svg'  width='24'  height='24'  viewBox='0 0 24 24'  fill='none'  stroke='black'  stroke-width='2'  stroke-linecap='round'  stroke-linejoin='round'%3E  %3Ccircle cx='12' cy='12' r='4' /%3E  %3Cpath d='M12 2v2' /%3E  %3Cpath d='M12 20v2' /%3E  %3Cpath d='m4.93 4.93 1.41 1.41' /%3E  %3Cpath d='m17.66 17.66 1.41 1.41' /%3E  %3Cpath d='M2 12h2' /%3E  %3Cpath d='M20 12h2' /%3E  %3Cpath d='m6.34 17.66-1.41 1.41' /%3E  %3Cpath d='m19.07 4.93-1.41 1.41' /%3E%3C/svg%3E")}
html[data-theme] .wb-logout button svg,html[data-theme] .wb-logout svg{width:18px;height:18px}
@media (max-width:640px){
  html[data-theme] .page-switch a{display:flex!important;flex-direction:column;align-items:center;gap:3px;font-size:11px!important;padding:7px 2px 6px!important}
  html[data-theme] .page-switch a::before{width:20px;height:20px;margin:0}
}
/* focus, disabled, empty */
html[data-theme] :is(a,button,input,select,summary,[tabindex]):focus-visible{outline:2px solid var(--mac-accent)!important;outline-offset:2px;border-radius:8px}
html[data-theme] :is(button,input,select):disabled{opacity:.4;pointer-events:none}
html[data-theme] .empty{padding:40px 16px;text-align:center;color:var(--mac-label-2);font-size:15px}
html[data-theme] ::selection{background:rgba(0,122,255,.25)}
/* motion: spring rise on first paint, press feedback, nav shadow on scroll */
@keyframes mac-rise{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  html[data-theme] :is(.summary,.workflow,.link-filters,.link-manager>header,.thinkers-page-head,.bm-head,.kpis){animation:mac-rise .55s var(--spring) both}
  html[data-theme] :is(.project-card,.folder):nth-child(-n+12){animation:mac-rise .55s var(--spring) both;animation-delay:calc(var(--i,0)*35ms)}
  html[data-theme] .project-card:nth-child(2),html[data-theme] .folder:nth-child(2){--i:1}
  html[data-theme] .project-card:nth-child(3),html[data-theme] .folder:nth-child(3){--i:2}
  html[data-theme] .project-card:nth-child(4),html[data-theme] .folder:nth-child(4){--i:3}
  html[data-theme] .project-card:nth-child(n+5),html[data-theme] .folder:nth-child(n+5){--i:4}
  html[data-theme] .drawer{animation:mac-sheet .42s var(--ease-sheet) both}
  html[data-theme] .page-switch a{transition:background .3s var(--ease-sheet),color .2s,box-shadow .3s var(--ease-sheet)}
  html[data-theme] button,html[data-theme] .page-switch a,html[data-theme] .folder{transition:transform .35s var(--spring),background .2s,box-shadow .3s var(--ease-sheet)}
  html[data-theme] .page-switch a:active,html[data-theme] .folder:active{transform:scale(.96)}
}
@keyframes mac-sheet{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
html.mac-scrolled main.shell>nav{box-shadow:0 1px 0 var(--mac-sep),0 8px 24px rgba(0,0,0,.06)}
/* tables */
html[data-theme] tbody td{padding-top:12px;padding-bottom:12px;line-height:1.4}
html[data-theme] tbody tr:last-child td{border-bottom:0!important}
html[data-theme] thead th{backdrop-filter:blur(12px)}
/* known rough spots */
html[data-theme] .link-manager header strong,html[data-theme] .link-manager aside strong,html[data-theme] .link-manager header [class*=count],html[data-theme] .link-manager header *{color:inherit}
html[data-theme] .link-manager header strong{color:var(--mac-accent)!important;font-size:44px!important;font-weight:700!important}


/* pass 8 (real markup) */
@media (max-width:640px){
  html[data-theme] .wb-header{display:grid!important;grid-template-columns:1fr auto auto;grid-template-areas:"brand tog out" "nav nav nav";align-items:center;gap:8px 8px!important}
  html[data-theme] .wb-header-controls{display:contents!important}
  html[data-theme] .wb-brand{grid-area:brand}
  html[data-theme] .theme-toggle{grid-area:tog;position:relative!important;top:auto!important;right:auto!important;margin:0!important}
  html[data-theme] .wb-logout{grid-area:out;margin:0!important}
  html[data-theme] .page-switch{grid-area:nav;width:100%}
  /* freshness pill: inline, not floating over content */
  html[data-theme] #wb-freshness{position:static!important;transform:none!important;margin:16px auto 24px!important;width:max-content;max-width:calc(100% - 32px);box-shadow:none!important;order:99}
  /* ledger table -> stacked rows */
  html[data-theme] table.ledger,html[data-theme] table.ledger tbody{display:block;width:100%!important}
  html[data-theme] table.ledger thead{display:none}
  html[data-theme] table.ledger tr{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:12px 14px;border-bottom:.5px solid var(--mac-sep,rgba(128,128,128,.25))}
  html[data-theme] table.ledger td{display:block;padding:0!important;border:0!important;width:auto!important;max-width:100%;white-space:normal;font-size:13px}
  html[data-theme] table.ledger td:nth-child(1){order:1;font-weight:600}
  html[data-theme] table.ledger td:nth-child(2){order:3;flex:1 1 100%;font-size:15px;line-height:1.35}
  html[data-theme] table.ledger td:nth-child(n+3){color:var(--mac-label-2)}
  html[data-theme] .table-wrap{overflow-x:visible!important}
}
html[data-theme] .dash-grid .card{border-radius:16px}
html[data-theme] .dash-grid .card-title{font:600 13px/1.2 var(--mac-font)!important;letter-spacing:.04em;text-transform:uppercase;color:var(--mac-label-2)!important;margin-bottom:12px}
html[data-theme] .bar-row{gap:10px;align-items:center;margin:8px 0}
html[data-theme] .bar-row>*:first-child{font-size:13px;color:var(--mac-label)}
html[data-theme] .bar-row [class*=track],html[data-theme] .bar-row [class*=bar]{border-radius:999px!important;height:8px}
html[data-theme] .bar-row [class*=fill],html[data-theme] .bar-row i{border-radius:999px!important;background:var(--mac-accent)}
html[data-theme] .donut-wrap svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.12))}
@media (max-width:640px){
  html[data-theme] .wb-logout{position:static!important;inset:auto!important;width:auto!important;display:block!important}
  html[data-theme] .wb-logout button{width:44px;height:34px}
  html[data-theme] .wb-brand{white-space:nowrap;font-size:13px!important}
  html[data-theme] table.ledger{min-width:0!important;width:100%!important;table-layout:auto}
  html[data-theme] table.ledger tr{max-width:100%;box-sizing:border-box}
  html[data-theme] table.ledger td{overflow-wrap:anywhere;min-width:0}
}
/* folders: keep tab and body one colour; dark-appropriate tint */
html[data-theme] .folder{background:var(--f)!important;border-radius:6px 18px 18px!important;overflow:visible}
html[data-theme] .folder::before{background:var(--f)!important;left:0!important}
@media (max-width:640px){
  html[data-theme] .wb-header{padding-bottom:8px!important;min-height:0!important}
  html[data-theme] main.shell>nav+*{margin-top:8px!important}
}
@media (max-width:640px){html[data-theme] .wb-brand{font-size:12px!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;min-width:0}}
/* pass 9: video findings */
@media (prefers-reduced-motion:no-preference){html[data-theme] :is(.summary,.workflow,.project-card,.folder,.card){animation:none!important}}
html[data-theme] .project-card>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;font-size:14px!important;line-height:1.45!important;color:var(--mac-label-2)!important;cursor:pointer}
html[data-theme] .project-card>p.mac-open{display:block;-webkit-line-clamp:unset}
html[data-theme] .project-card>p:not(.mac-open)::after{content:""}
html[data-theme] .project-card .suggestions{background:var(--mac-fill-2,rgba(120,120,128,.14))!important;border-radius:14px!important;backdrop-filter:none!important;filter:none!important;opacity:1!important}
html[data-theme] .project-card .suggestions ul{max-height:none;overflow:visible}
html[data-theme] .project-card .suggestions:not(.mac-open) ul>li:nth-child(n+7){display:none}
html[data-theme] .project-card .suggestions .mac-more{display:inline-block;margin-top:8px;font-size:12px!important;font-weight:600!important;color:var(--mac-accent)!important;background:none!important;border:0!important;padding:4px 0;cursor:pointer}
html[data-theme] .project-card .suggestions :is(b,button,li,li *){opacity:1!important;filter:none!important;text-shadow:none!important}
html[data-theme] .project-card .suggestions button{color:var(--mac-accent)!important;font-size:13px!important;background:transparent!important}
html[data-theme] .wbss-bar{background:var(--mac-bg-elev,transparent)!important;backdrop-filter:none!important;box-shadow:0 1px 0 rgba(128,128,128,.25)!important;border-radius:12px}
@media (max-width:640px){
  html[data-theme] .filters,html[data-theme] .bm-filters,html[data-theme] .filter-row{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  html[data-theme] .filters select,html[data-theme] .bm-filters select{width:100%!important}
}
/* pass 9: Link Manager compact rows on mobile */
@media (max-width:640px){
  html[data-theme] .link-table-wrap thead{display:none}
  html[data-theme] .link-table-wrap table,html[data-theme] .link-table-wrap tbody{display:block;width:100%!important}
  html[data-theme] .link-table-wrap tbody tr{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:12px 14px!important;cursor:pointer;position:relative}
  html[data-theme] .link-table-wrap td{padding:0!important;border:0!important;width:auto!important;font-size:13px}
  html[data-theme] .link-table-wrap td::before{display:none!important}
  html[data-theme] .link-table-wrap td:nth-child(1){order:1;flex:1 1 100%;font-size:15px}
  html[data-theme] .link-table-wrap td:nth-child(1) small{display:block;margin-top:2px;font-size:12px!important;color:var(--mac-label-2)}
  html[data-theme] .link-table-wrap td:nth-child(2){order:2}
  html[data-theme] .link-table-wrap td:nth-child(6){order:3}
  html[data-theme] .link-table-wrap td:nth-child(3){order:4;flex:1 1 100%}
  html[data-theme] .link-table-wrap td:nth-child(3) small{display:none}
  html[data-theme] .link-table-wrap td:nth-child(3) a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;word-break:normal}
  html[data-theme] .link-table-wrap td:nth-child(n+4):not(:nth-child(6)){display:none}
  html[data-theme] .link-table-wrap tr.mac-open td:nth-child(n+4):not(:nth-child(6)){display:block;order:5;flex:1 1 100%}
  html[data-theme] .link-table-wrap tr.mac-open td::before{display:block!important;font-size:11px;color:var(--mac-label-2);text-transform:uppercase;letter-spacing:.04em}
  html[data-theme] .link-table-wrap tr.mac-open td:nth-child(3) small{display:block}
  html[data-theme] .link-table-wrap tr.mac-open td:nth-child(3) a{white-space:normal!important;word-break:break-all}
  html[data-theme] .link-table-wrap tbody tr::after{content:"\203A";position:absolute;right:14px;top:12px;color:var(--mac-label-2);font-size:18px;transform:rotate(90deg);transition:transform .2s}
  html[data-theme] .link-table-wrap tbody tr.mac-open::after{transform:rotate(-90deg)}
  html[data-theme] .bm-filters select:last-of-type,html[data-theme] .filters select:last-of-type{grid-column:1/-1}
}
/* pass 10: suggestion pill = status + title, date as small timing text */
html[data-theme] .project-card .suggestions li>span{display:block;background:rgba(120,120,128,.16)!important;border-radius:12px;padding:8px 12px;font-size:14px!important;line-height:1.35;color:var(--mac-label)!important}
html[data-theme] .project-card .suggestions .suggestion-phase{display:block;background:transparent!important;border:0!important;padding:0!important;margin:0 0 2px!important;border-radius:0!important;font-size:11px!important;font-weight:700!important;letter-spacing:.04em;color:var(--mac-accent)!important}
html[data-theme] .project-card .suggestions .suggestion-time{display:block;margin:4px 2px 0;font-size:11px!important;font-weight:500!important;color:var(--mac-label-2)!important;letter-spacing:.01em}
/* pass 11: uniform suggestion boxes, grow together */
html[data-theme] .project-card .suggestions ul{grid-auto-rows:1fr}
html[data-theme] .project-card .suggestions li{align-items:stretch!important}
html[data-theme] .project-card .suggestions li>span{flex:1;display:flex;flex-direction:column;justify-content:center}
html[data-theme] .project-card .suggestions li>i{margin-top:8px}

/* pass 12: expanded suggestion list scrolls; uniform rows via measured --sug-row-h */
html[data-theme] .project-card .suggestions.mac-open ul{grid-auto-rows:var(--sug-row-h,auto);max-height:calc(var(--sug-row-h,92px) * 4.5);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-right:4px}

/* pass 13: cap suggestion titles at 3 lines so uniform boxes stay compact */
html[data-theme] .project-card .suggestions .suggestion-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

/* pass 14: lifecycle legend becomes an on-demand dropdown with live counts + phase filter */
html[data-theme] .project-card .suggestions>footer.mac-lc{display:block;border-top:1px solid var(--mac-sep,rgba(120,120,128,.25));margin-top:10px;padding-top:8px}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-toggle{display:inline-flex;align-items:center;gap:6px;background:var(--mac-fill,rgba(120,120,128,.12));border:0;border-radius:999px;padding:4px 10px;font-weight:600;letter-spacing:.02em;color:var(--mac-label-2,rgba(60,60,67,.6));cursor:pointer}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-pulse{width:6px;height:6px;border-radius:50%;background:var(--mac-accent,#007AFF);animation:macLcPulse 2.4s ease-in-out infinite}
@keyframes macLcPulse{0%,100%{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){html[data-theme] .mac-lc-pulse{animation:none}}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-summary{color:var(--mac-label-3,rgba(60,60,67,.35));font-weight:500;font-variant-numeric:tabular-nums}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-chev{transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
html[data-theme] .project-card .suggestions>footer.mac-lc.mac-open .mac-lc-chev{transform:rotate(180deg)}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-panel{display:grid;gap:2px;max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);transition:max-height .45s cubic-bezier(.32,.72,0,1),opacity .3s ease,transform .45s cubic-bezier(.34,1.56,.64,1)}
html[data-theme] .project-card .suggestions>footer.mac-lc.mac-open .mac-lc-panel{max-height:230px;opacity:1;transform:none;margin-top:6px}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-row{display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:5px 8px;border-radius:8px;color:var(--mac-label,#1C1C1E);cursor:pointer;text-align:left}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-row:hover{background:var(--mac-fill,rgba(120,120,128,.12))}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-row[aria-pressed="true"]{background:var(--mac-fill,rgba(120,120,128,.16))}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-row i{width:8px;height:8px;border-radius:50%}
html[data-theme] .project-card .suggestions>footer.mac-lc .mac-lc-row b{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--mac-label-2,rgba(60,60,67,.6))}
html[data-theme] .project-card .suggestions[data-lc-filter="updated"] li[data-lc="updated"]>span{box-shadow:0 0 0 1.5px var(--mac-green,#34C759)}
html[data-theme] .project-card .suggestions[data-lc-filter="accepted"] li[data-lc="accepted"]>span{box-shadow:0 0 0 1.5px var(--mac-green,#34C759)}
html[data-theme] .project-card .suggestions[data-lc-filter="holding"] li[data-lc="holding"]>span{box-shadow:0 0 0 1.5px var(--mac-orange,#FF9500)}
html[data-theme] .project-card .suggestions[data-lc-filter="rejected"] li[data-lc="rejected"]>span{box-shadow:0 0 0 1.5px var(--mac-red,#FF3B30)}
html[data-theme] .project-card .suggestions[data-lc-filter="proposed"] li[data-lc="proposed"]>span{box-shadow:0 0 0 1.5px var(--mac-accent,#007AFF)}

html[data-theme] .project-card .suggestions li[data-lc="updated"] i,html[data-theme] .project-card .suggestions li[data-lc="accepted"] i{background:var(--mac-green,#34C759)!important}
html[data-theme] .project-card .suggestions li[data-lc="holding"] i{background:var(--mac-orange,#FF9500)!important}
html[data-theme] .project-card .suggestions li[data-lc="rejected"] i{background:var(--mac-red,#FF3B30)!important}
html[data-theme] .project-card .suggestions li[data-lc="proposed"] i{background:var(--mac-accent,#007AFF)!important}

/* pass 15: feature-map dialog typography - was 900-weight titles and 8px meta text */
html[data-theme] dialog.feature-map{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter Variable","Noto Sans Tamil Variable",system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:0}
html[data-theme] dialog.feature-map h2{font-weight:700!important;font-size:24px!important;letter-spacing:-0.02em!important}
html[data-theme] dialog.feature-map h3{font-weight:600!important;font-size:15px!important;letter-spacing:0!important}
html[data-theme] dialog.feature-map article>p{font-weight:400!important;font-size:14px!important;line-height:1.5!important;color:var(--mac-label-2,rgba(235,235,245,.6))!important}
html[data-theme] dialog.feature-map header small{font-weight:600!important;font-size:11px!important;letter-spacing:.06em!important;color:var(--mac-label-3,rgba(235,235,245,.35))!important}
html[data-theme] dialog.feature-map li>span>small{font-weight:500!important;font-size:12px!important;letter-spacing:.01em!important;color:var(--mac-label-2,rgba(235,235,245,.6))!important}
html[data-theme] dialog.feature-map li>span>b{font-weight:600!important;font-size:13.5px!important;line-height:1.4!important;letter-spacing:0!important}
html[data-theme] dialog.feature-map header>b{font-weight:600!important;font-size:11px!important;letter-spacing:.04em!important;color:var(--mac-accent,#0A84FF)!important}
html[data-theme] dialog.feature-map .feature-functions li,html[data-theme] dialog.feature-map .feature-functions li *{font-weight:500!important;font-size:12.5px!important;letter-spacing:0!important}
html[data-theme] dialog.feature-map footer b,html[data-theme] dialog.feature-map footer span{font-weight:500!important;font-size:12px!important;letter-spacing:.02em!important}

/* pass 16: Uptime button in Link Manager header + overlay */
html[data-theme] .link-manager header .mac-uptime-btn{display:inline-flex;align-items:center;gap:7px;align-self:center;margin-right:12px;background:var(--mac-fill,rgba(120,120,128,.12));border:1px solid var(--mac-sep,rgba(120,120,128,.25));border-radius:999px;padding:7px 14px;font-size:13px!important;font-weight:600;color:var(--mac-label,#1C1C1E);cursor:pointer;transition:transform .18s cubic-bezier(.34,1.56,.64,1),background .2s}
html[data-theme] .link-manager header .mac-uptime-btn:hover{background:var(--mac-fill-2,rgba(120,120,128,.2))}
html[data-theme] .link-manager header .mac-uptime-btn:active{transform:scale(.96)}
html[data-theme] .mac-up-dot{width:8px;height:8px;border-radius:50%;background:var(--mac-label-3,rgba(120,120,128,.5));transition:background .3s}
html[data-theme] .mac-up-dot.mac-up-green{background:var(--mac-green,#34C759)}
html[data-theme] .mac-up-dot.mac-up-amber{background:var(--mac-orange,#FF9500);animation:macLcPulse 2.4s ease-in-out infinite}
html[data-theme] .mac-up-dot.mac-up-red{background:var(--mac-red,#FF3B30);animation:macLcPulse 1.2s ease-in-out infinite}
html[data-theme] .mac-up-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.35);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);opacity:0;pointer-events:none;transition:opacity .25s ease}
html[data-theme] .mac-up-overlay.mac-open{opacity:1;pointer-events:auto}
html[data-theme] .mac-up-panel{display:flex;flex-direction:column;width:min(1040px,94vw);height:min(760px,88vh);background:var(--mac-bg,#fff);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.35);overflow:hidden;transform:scale(.96) translateY(8px);transition:transform .3s cubic-bezier(.34,1.3,.64,1)}
html[data-theme] .mac-up-overlay.mac-open .mac-up-panel{transform:none}
html[data-theme] .mac-up-panel>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--mac-sep,rgba(120,120,128,.25))}
html[data-theme] .mac-up-panel>header b{font-size:14px!important;font-weight:600;color:var(--mac-label,#1C1C1E)}
html[data-theme] .mac-up-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:8px;background:var(--mac-fill,rgba(120,120,128,.12));color:var(--mac-label-2,rgba(60,60,67,.6));font-size:16px;cursor:pointer}
html[data-theme] .mac-up-panel iframe{flex:1;border:0;width:100%;background:var(--mac-bg,#fff)}
@media (max-width:640px){html[data-theme] .mac-up-panel{width:100vw;height:100dvh;border-radius:0}}
@media (prefers-reduced-motion:reduce){html[data-theme] .mac-up-panel,html[data-theme] .mac-up-overlay{transition:none}}

/* pass 17: light mode - all text black (owner call, telegram 53285526) */
html[data-theme=light] body,html[data-theme=light] body *:not(:root){color:#000!important}
html[data-theme=light] body #root,html[data-theme=light] body #root *{color:#000!important}

/* pass 18: HIG sweep - accent only on interactive, label hierarchy, weight/size floors */
html[data-theme] .view-dashboard section.workflow>ol>li>span{color:var(--mac-label-3)!important}
html[data-theme] .view-dashboard section.workflow>ol>li>b{color:var(--mac-label)!important;font-weight:700!important}
html[data-theme] .project-card>header>b{color:var(--mac-label-2)!important;font-weight:700!important}
html[data-theme] .project-card>div.build>strong{font-weight:700!important}
html[data-theme] .project-card section.suggestions>header>b{color:var(--mac-label-2)!important;font-weight:700!important}
html[data-theme] .project-card section.suggestions ul li span small.suggestion-phase,html[data-theme] section.suggestions small.suggestion-phase{color:var(--mac-label-2)!important}
html[data-theme] .view-links section.link-manager>footer>b{color:var(--mac-label)!important}
html[data-theme] .view-links section.link-manager>footer code{color:var(--mac-label-2)!important}
html[data-theme] .version-chip{color:var(--mac-label-2)!important}
html[data-theme] table.ledger td.cell-id{color:var(--mac-label)!important}
html[data-theme] .view-thinkers header.thinkers-page-head h1 span{color:var(--mac-label)!important}
html[data-theme] .view-dashboard section.workflow>header>b{font-size:11px!important}
html[data-theme] li.rejected>span>em>strong{font-size:11px!important}
html[data-theme] .view-dashboard div>article>header>b{font-size:11px!important;font-weight:700!important}
html[data-theme] .view-dashboard div>article>header>time{font-size:11px!important}
html[data-theme] .view-thinkers button.folder em{font-size:11px!important}

/* pass 19: bug manager - sticky Bug ID column + cursor pan */
html[data-theme] section.bugmanager-native .table-wrap table thead th:first-child,html[data-theme] section.bugmanager-native .table-wrap table tbody td:first-child{position:sticky;left:0;z-index:6;background:var(--mac-surface)!important;box-shadow:1px 0 0 var(--mac-sep)}
html[data-theme] section.bugmanager-native .table-wrap table thead th:first-child{z-index:9}

/* pass 21: live lifecycle drop-down */
html[data-theme] .mac-wf{padding:0!important;overflow:hidden}
html[data-theme] .mac-wf-bar{display:flex;align-items:center;gap:12px;width:100%;padding:16px 18px;background:none;border:0;text-align:left;cursor:pointer;color:var(--mac-label,#fff);font:inherit}
html[data-theme] .mac-wf-bar small{display:block;font-size:11px!important;font-weight:600!important;letter-spacing:.08em;color:var(--mac-label-2)!important;text-transform:uppercase}
html[data-theme] .mac-wf-bar b{display:block;font-size:17px;font-weight:700;letter-spacing:-.01em;margin-top:1px}
html[data-theme] .mac-wf-head{flex:none}
html[data-theme] .mac-wf-sum{margin-left:auto;font-size:12px;color:var(--mac-label-2);white-space:nowrap;flex:none;max-width:45%;overflow:hidden;text-overflow:ellipsis}
html[data-theme] .mac-wf-chev{flex:none;color:var(--mac-label-2);transition:transform .45s var(--spring)}
html[data-theme] .mac-wf.mac-open .mac-wf-chev{transform:rotate(180deg)}
html[data-theme] .mac-wf-live{flex:none;width:8px;height:8px;border-radius:50%;background:var(--mac-green,#34C759)}
@media (prefers-reduced-motion:no-preference){html[data-theme] .mac-wf-live{animation:mac-wf-pulse 2.4s ease-in-out infinite}}
@keyframes mac-wf-pulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--mac-green,#34C759) 45%,transparent)}50%{box-shadow:0 0 0 6px transparent}}
html[data-theme] .mac-wf-wrap{display:grid;grid-template-rows:0fr;transition:grid-template-rows .55s var(--spring)}
html[data-theme] .mac-wf.mac-open .mac-wf-wrap{grid-template-rows:1fr}
html[data-theme] .mac-wf-panel{overflow:hidden;min-height:0;padding:0 18px}
html[data-theme] .mac-wf.mac-open .mac-wf-panel{padding:2px 18px 18px}
html[data-theme] .mac-wf-flow{position:relative;display:flex;align-items:stretch;gap:0;padding:6px 0 44px}
html[data-theme] .mac-wf-node{flex:none;width:22%;background:var(--mac-surface-2);border-radius:14px;padding:12px 10px;text-align:center;position:relative;z-index:1}
html[data-theme] .mac-wf-node b{display:block;font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--mac-label,#fff)}
html[data-theme] .mac-wf-node span{display:block;font-size:11px;font-weight:500;color:var(--mac-label-2);margin-top:2px}
html[data-theme] .mac-wf-node.mac-live{box-shadow:0 0 0 1.5px var(--mac-accent),0 4px 18px -4px color-mix(in srgb,var(--mac-accent) 45%,transparent)}
html[data-theme] .mac-wf-node.mac-live b{color:var(--mac-accent)}
html[data-theme] .mac-wf-link{flex:1;display:flex;align-items:center;padding:0 4px}
html[data-theme] .mac-wf-link i{display:block;width:100%;height:2px;border-radius:1px;background:linear-gradient(90deg,var(--mac-label-3,rgba(120,120,128,.4)),var(--mac-accent))}
html[data-theme] .mac-wf-rework{position:absolute;left:37%;width:26%;top:calc(100% - 40px);height:34px;pointer-events:none}
html[data-theme] .mac-wf-rework svg{width:100%;height:100%;overflow:visible}
html[data-theme] .mac-wf-rework-path{stroke:var(--mac-accent);stroke-width:1.5;stroke-dasharray:4 4;fill:none;opacity:.9}
html[data-theme] .mac-wf-rework-head{stroke:var(--mac-accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none}
@media (prefers-reduced-motion:no-preference){html[data-theme] .mac-wf-rework-path{animation:mac-wf-dash 1.6s linear infinite}}
@keyframes mac-wf-dash{to{stroke-dashoffset:-8}}
html[data-theme] .mac-wf-rework span{position:absolute;left:50%;top:20px;transform:translateX(-50%);font-size:10px;font-weight:600;letter-spacing:.04em;color:var(--mac-accent);white-space:nowrap}
html[data-theme] .mac-wf-reworkchip{display:none}
html[data-theme] .mac-wf-sides{display:flex;flex-wrap:wrap;gap:8px;padding-top:2px}
html[data-theme] .mac-wf-chip{display:inline-flex;align-items:center;gap:7px;background:var(--mac-surface-2);border-radius:999px;padding:6px 12px;font-size:12px}
html[data-theme] .mac-wf-chip i{width:7px;height:7px;border-radius:50%;background:var(--mac-label-3,rgba(120,120,128,.5))}
html[data-theme] .mac-wf-chip span{color:var(--mac-label-2)}
html[data-theme] .mac-wf-chip b{font-weight:700;color:var(--mac-label,#fff)}
html[data-theme] .mac-wf-note{margin-top:12px;font-size:11px;line-height:1.45;color:var(--mac-label-2)}
@media (max-width:640px){
  html[data-theme] .mac-wf-flow{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:6px}
  html[data-theme] .mac-wf-node{width:auto}
  html[data-theme] .mac-wf-link{display:none}
  html[data-theme] .mac-wf-rework{display:none}
  html[data-theme] .mac-wf-reworkchip{display:block;grid-column:1/-1;text-align:center;font-size:11px;font-weight:600;color:var(--mac-accent);border:1.5px dashed var(--mac-accent);border-radius:10px;padding:7px 10px}
  html[data-theme] .mac-wf-bar b{font-size:16px;white-space:nowrap}
  html[data-theme] .mac-wf-head{flex:1 1 auto;min-width:0}
  html[data-theme] .mac-wf-sum{display:none}
}

/* preview fixes (mac55 review): Admin pill icon, Active-projects header overlap */
html[data-theme] .page-switch a[href^="/admin"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3C/svg%3E")}
html[data-theme] .section-head{flex-wrap:wrap;gap:8px 16px}
html[data-theme] .section-head .wbss-bar{transform:none!important;left:auto!important;right:auto!important;margin-left:auto}
