body{background:#f7f8fc;font-size:16px;line-height:1.55}body.dark{background:#101a2e}.home-header{gap:30px;padding:20px 36px;flex-wrap:wrap}.home-header .brand{display:flex;align-items:center;gap:9px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#aaa2ff;color:white;font-size:13px}.home-header>nav{display:flex;gap:24px;align-items:center;font-size:14px}.home-header nav a{color:var(--muted)}.home-header nav a[aria-current]{color:var(--accent);font-weight:600}.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex-shrink:0}.header-actions>.global-navigation{margin:0}.home-main{max-width:1500px;margin:44px auto;padding:0 36px 60px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.welcome h1{font-size:34px;letter-spacing:-.035em;margin-bottom:8px}.welcome p{margin-bottom:0}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--accent);font-weight:650;margin:0 0 9px!important}.finder{display:flex;align-items:flex-end;gap:16px;background:var(--surface);padding:22px 24px;border:1px solid var(--border);border-radius:12px;margin-bottom:34px}.finder label{margin:0;font-size:12px;font-weight:600;min-width:175px}.finder .search-label{flex:1;min-width:0}.finder input{font-size:16px;font-weight:400;min-height:46px}.finder select{font-size:14px;font-weight:400;min-height:46px}.home-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr);gap:30px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.section-heading h2{margin:0;font-size:22px;display:flex;gap:10px;align-items:center}.section-heading>.muted{font-size:12px}.count{font-size:12px;background:var(--accent-bg);color:var(--accent);border-radius:20px;padding:2px 9px;white-space:nowrap}.boards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.board-tile{display:flex;flex-direction:column;gap:16px;border:1px solid var(--border);border-radius:12px;padding:24px;background:var(--surface);color:inherit;min-height:208px;transition:box-shadow .15s,border-color .15s}.board-tile:hover{text-decoration:none;border-color:var(--accent);box-shadow:0 6px 24px #18233d0b}.board-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.board-glyph{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--accent-bg);color:var(--accent);font-weight:700;font-size:17px}.board-tile h3{font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere}.board-tile p{margin:0;font-size:13px}.board-meta{display:flex;justify-content:space-between;gap:12px;margin-top:auto;font-size:12px;color:var(--muted)}.board-meta time{font-size:11px}.board-pill{background:var(--accent-bg);color:var(--accent);padding:3px 9px;border-radius:6px;font-size:11px}.activity-panel{padding:26px;margin:0}.activity-intro{font-size:13px;margin-bottom:18px}.feed-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.feed-filters button{font-size:12px;padding:7px 10px;border-color:transparent}.feed-filters button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent);border-color:var(--accent)}.activity-entry{display:block;padding:19px 0;border-bottom:1px solid var(--border);color:inherit}.activity-entry:hover{text-decoration:none}.activity-entry:hover .activity-title{color:var(--accent)}.activity-entry p{margin:4px 0;font-size:13px;overflow-wrap:anywhere}.activity-title{font-size:15px;font-weight:600}.activity-entry .activity-byline{font-size:12px;color:var(--muted)}.activity-entry blockquote{font-size:13px;margin:10px 0;border-left:2px solid var(--accent);padding-left:12px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.activity-entry.unread .activity-title::before{content:'';display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:7px}.activity-entry time{font-size:11px;color:var(--muted)}.feed-note{font-size:11px;margin:20px 0 0}.tips{margin-top:30px;padding:26px}.tips h2{font-size:22px}.tips details{margin:0;border-bottom:1px solid var(--border);padding:15px 0}.tips details:last-child{border:0;padding-bottom:0}.tips summary{font-weight:500;font-size:14px}.tips details p{font-size:14px;margin:12px 0 0}.empty{border:1px dashed var(--border);border-radius:12px;padding:28px;color:var(--muted);font-size:14px;grid-column:1/-1}.empty p{margin:0 0 8px}.workspace-notice{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:14px 18px;margin:0 0 20px;font-size:14px}.workspace-notice a{margin-left:8px}#home-status:not(:empty){margin:18px 0;padding:14px 18px;background:var(--accent-bg);border-radius:8px}#home-status.error{color:var(--danger)}#card-search-section{margin-top:28px}.card-result{display:block;padding:18px 22px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:inherit;margin-bottom:12px}.card-result strong{display:block;font-size:16px;overflow-wrap:anywhere}.card-result p{font-size:13px;margin:5px 0 0;overflow-wrap:anywhere}.card-result small{display:block;margin-top:7px}#mark-read,#more-activity{font-size:12px;margin:0 0 10px}#more-activity{margin-top:20px;width:100%}.home-header a:focus-visible,.board-tile:focus-visible{outline-offset:4px}@media(max-width:1050px){.home-layout{grid-template-columns:minmax(0,1fr)}.finder{flex-wrap:wrap}.finder .search-label{flex-basis:100%}.finder label{flex:1}.activity-panel #activity-list{max-height:520px;overflow:auto}}@media(max-width:600px){.home-header{padding:16px;gap:16px}.home-header>nav{order:3;width:100%;gap:20px}.header-actions{gap:6px}.header-actions button{font-size:12px}.home-main{padding:0 16px 32px;margin-top:28px}.welcome h1{font-size:28px}.welcome{align-items:flex-start}.welcome>button{font-size:12px}.welcome p{font-size:14px}.finder{padding:18px;gap:14px}.finder label{min-width:120px}.boards-grid{grid-template-columns:1fr}.board-tile{min-height:180px}.section-heading{flex-wrap:wrap}.activity-panel,.tips{padding:22px}.home-layout{gap:24px}.activity-panel{order:initial}}

.home-create-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.home-create-actions .button-link{font-size:14px}@media(max-width:700px){.welcome{flex-direction:column}.home-create-actions{width:100%}}

#home-projects{margin-bottom:30px}
/* Compact organisation, project and board home. */
.home-hub{max-width:1600px;padding:0 24px 24px;margin:24px auto}.hub-shell{display:grid;grid-template-columns:210px minmax(0,1fr);background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:clip}.hub-sidebar{padding:24px 12px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:16px;min-width:0}.hub-sidebar h2{font-size:15px;margin:0 10px}.org-search{font-size:11px;margin:0 10px}.org-search input{width:100%;min-width:0;font-size:12px;padding:8px}.hub-sidebar>a{font-size:12px;padding:0 10px}.hub-sidebar #organisation-list{max-height:580px;overflow:auto}.hub-scope{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;margin:3px 0;padding:10px;border-radius:8px;background:transparent;color:var(--text)}.hub-scope[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.hub-scope:hover{background:var(--surface-subtle)}.hub-scope>span:last-child{min-width:0}.hub-scope strong{font-size:13px;font-weight:600;display:block;overflow-wrap:anywhere}.hub-scope small{display:block;font-size:11px;color:var(--muted)}.hub-orgmark{width:30px;height:30px;border-radius:8px;background:var(--surface-subtle);border:1px solid var(--border);display:grid;place-items:center;font-size:11px;flex-shrink:0}.hub-caption{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:20px 10px 8px}.hub-main{padding:26px;min-width:0;background:var(--bg,#f7f9fd)}.hub-main .welcome{margin-bottom:18px}.hub-main h1{font-size:28px}.hub-main .welcome p{font-size:13px}.hub-main .finder{margin:0 0 22px;padding:0;border:0;background:transparent;align-items:end;gap:12px}.hub-main .finder .search-label{min-width:0}.hub-mobile-scope{display:none}.hub-create{position:relative;flex-shrink:0;margin:0}.hub-create>summary{padding:9px 15px;border:1px solid var(--accent);color:var(--accent);background:var(--accent-bg);border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.hub-create>div{position:absolute;right:0;top:calc(100% + 6px);width:190px;z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px;box-shadow:0 8px 24px #0002}.hub-create a,.hub-create button{display:block;text-align:left;font-size:13px;width:100%;padding:10px;box-sizing:border-box;border:0;background:none;color:var(--text)}.hub-create a:hover,.hub-create button:hover{background:var(--accent-bg)}.hub-recent-section .section-heading{margin-bottom:10px}.hub-recent-section h2{font-size:14px}.hub-recent-section small{font-size:11px;color:var(--muted)}.hub-recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.hub-quick{display:flex;align-items:center;gap:10px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:10px;min-width:0;color:var(--text)}.hub-quick>span:last-child{min-width:0}.hub-quick strong{font-size:13px;display:block;overflow-wrap:anywhere}.hub-quick small{display:block}.hub-quick .board-glyph{width:30px;height:30px;font-size:13px;flex-shrink:0}.hub-tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);overflow-x:auto}.hub-tabs button{display:flex;align-items:center;gap:7px;white-space:nowrap;border:0;border-radius:0;background:transparent;padding:8px 0 12px;border-bottom:3px solid transparent;color:var(--muted);font-weight:600}.hub-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent)}.hub-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0;font-size:12px;color:var(--muted)}.hub-tools p{margin:0;margin-right:auto}.hub-tools label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}.hub-tools select{width:auto;font-size:12px;max-width:170px;padding:6px}.hub-tools input[type=checkbox]{width:auto;margin:0}.hub-main #home-projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:340px;align-content:start}.hub-project{padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);display:flex;flex-direction:column;gap:12px;min-height:160px;box-sizing:border-box}.hub-project h3{font-size:17px;margin:0;overflow-wrap:anywhere}.hub-project-top{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.hub-project-top span{overflow-wrap:anywhere}.hub-progress{display:flex;align-items:center;gap:12px;margin-top:auto}.hub-ring{display:block;width:44px;height:44px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--progress)*1%),var(--surface-subtle) 0);position:relative;flex-shrink:0}.hub-ring:after{content:'';position:absolute;inset:6px;border-radius:50%;background:var(--surface)}.hub-progress strong{font-size:23px;line-height:1.2}.hub-progress small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.hub-main #boards-grid{display:block;min-height:340px}.hub-main .hub-board-row{flex-direction:row;align-items:center;gap:14px;min-height:0;padding:14px 16px;margin:0 0 8px}.hub-board-row>div:not(.board-glyph){min-width:0}.hub-board-row h3{font-size:15px}.hub-board-row .board-glyph{flex-shrink:0}.hub-board-row .board-meta{margin:0 0 0 auto;display:block;text-align:right;flex-shrink:0}.hub-board-row small{display:block;font-size:11px}.hub-main .activity-panel{margin:0;padding:0;background:transparent;border:0;box-shadow:none}.hub-main .activity-entry{background:var(--surface);padding:12px 16px;border:1px solid var(--border);border-radius:8px;margin-bottom:8px}.hub-main .activity-entry p{font-size:12px}.hub-main .activity-entry blockquote{margin:6px 0;font-size:12px}.hub-main .feed-filters{margin-bottom:12px}.hub-main .feed-note{font-size:11px}.hub-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-top:18px}.hub-pagination>div{display:flex;align-items:center;gap:10px}.hub-pagination button{font-size:12px;padding:7px 10px}.hub-tips{margin:22px 0 0;border-top:1px solid var(--border);padding-top:16px}.hub-tips>summary{font-size:13px;font-weight:600;color:var(--accent);cursor:pointer}.hub-tips .tips{margin:12px 0 0}.home-hub [hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1100px){.hub-shell{grid-template-columns:180px minmax(0,1fr)}.hub-main{padding:20px}.hub-main #home-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-main .finder .search-label{flex-basis:auto}.hub-recent{gap:8px}.hub-quick{padding:10px}.hub-recent .board-glyph{display:none}}
@media(max-width:760px){.home-hub{margin:16px auto;padding:0 12px 16px}.hub-shell{display:block}.hub-sidebar{display:none}.hub-main{padding:16px}.hub-mobile-scope{display:block}.hub-main .finder{flex-wrap:wrap}.hub-main .finder .search-label{flex-basis:100%}.hub-main .finder label{min-width:0}.hub-main .welcome h1{font-size:24px}.hub-recent-section .section-heading small{display:none}.hub-board-row .board-meta{font-size:11px}.hub-board-row .board-meta small{display:none}.hub-board-row .board-glyph{display:none}}
@media(max-width:600px){.hub-main #home-projects-grid{grid-template-columns:1fr;min-height:340px}.hub-recent{grid-template-columns:1fr}.hub-quick{padding:9px 12px}.hub-quick>span:last-child{display:flex;justify-content:space-between;width:100%;gap:12px}.hub-recent .board-glyph{display:none}.hub-quick small{font-size:10px}.hub-tabs{gap:16px}.hub-tabs button{font-size:12px}.hub-tabs .count{font-size:10px;padding:2px 5px}.hub-pagination{flex-wrap:wrap}.hub-pagination>div{margin-left:auto}.hub-tools select{max-width:145px}.hub-board-row{flex-wrap:wrap}.hub-board-row .board-meta{width:100%;text-align:left}.hub-main .welcome{align-items:center}.hub-project{min-height:155px}}

/* Boards remain independent and get the same graphical overview as projects. */
.hub-main #boards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:340px;align-content:start}.hub-main .hub-board-tile{min-height:205px;padding:18px;gap:12px;transition:border-color .15s,box-shadow .15s}.hub-board-tile h3{font-size:17px;line-height:1.4}.hub-board-tile p{font-size:12px;margin-top:5px;color:var(--muted)}.hub-progress-note,.hub-board-updated{font-size:11px;color:var(--muted)}.hub-board-updated{border-top:1px solid var(--border);padding-top:10px}.hub-board-tile .hub-progress{margin-top:auto}@media(max-width:1100px){.hub-main #boards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hub-main #boards-grid{grid-template-columns:1fr}}
.hub-tools #standalone-label{flex-direction:row}

/* Label rows and their controls share a baseline, independent of native input metrics. */
.finder label{line-height:18px;gap:8px}
.finder :is(input,select,button){height:46px;min-height:46px;box-sizing:border-box}
.hub-tools label{flex-direction:row;line-height:20px}
.hub-tools #sort-label{gap:10px}
.hub-tools #standalone-label{gap:8px;min-height:36px}
.hub-tools select{height:36px;max-width:none;min-width:160px}
.home-create-actions .button-link{font-size:14px;line-height:20px}
.home-create-actions :is(button,.button-link){min-height:42px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
