#gboards{--gb-bg:#18181b;--gb-card:#202023;--gb-line:#ffffff13;--gb-red:#e31937;--gb-muted:#a5a5af;color:#eee;font-size:14px;min-width:0}#gboards *{box-sizing:border-box}#gboards button,#gboards input,#gboards select,#gboards textarea,.gb-dialog button,.gb-dialog input,.gb-dialog select,.gb-dialog textarea{font:inherit}#gboards button,.gb-dialog button{cursor:pointer;background:#29292f;color:#eee;border:1px solid #ffffff16;border-radius:7px;padding:8px 12px}#gboards button:hover,.gb-dialog button:hover{background:#35353d}#gboards button:disabled,.gb-dialog button:disabled{opacity:.45;cursor:default}#gboards .gb-primary,.gb-dialog .gb-primary{background:#df1934;border-color:#df1934;color:white}#gboards input,#gboards select,#gboards textarea,.gb-dialog input,.gb-dialog select,.gb-dialog textarea{background:#111114;border:1px solid #ffffff22;color:#eee;padding:9px;border-radius:6px;max-width:100%}#gboards input:focus,.gb-dialog input:focus,.gb-dialog textarea:focus{outline:2px solid #e31937;outline-offset:2px}.gb-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.gb-top h1{font-size:24px;margin:0 auto 0 0;font-weight:750}.gb-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.gb-toolbar input[type=search]{flex:1;min-width:170px}.gb-boardgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.gb-boardtile{padding:22px;background:var(--gb-bg);border:1px solid var(--gb-line);border-radius:9px;display:grid;gap:12px;text-align:left}.gb-columns{display:flex;align-items:flex-start;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 2px 22px;min-height:55vh;scrollbar-color:#50505b #141416}.gb-column{flex:0 0 310px;width:310px;border:1px solid var(--gb-line);border-radius:10px;background:#151517;padding:11px}.gb-columnheader{display:flex;align-items:center;gap:8px;padding:3px 2px 12px}.gb-columnheader h2{font-size:14px;font-weight:700;margin:0;flex:1}.gb-count{color:var(--gb-muted);font-size:12px}.gb-cardlist{min-height:40px;display:grid;gap:8px}.gb-card{width:100%;text-align:left;border:1px solid var(--gb-line)!important;background:var(--gb-card)!important;border-radius:8px!important;padding:12px!important;box-shadow:0 1px 2px #0002;line-height:1.45}.gb-card:hover{border-color:#e3193766!important;transform:translateY(-1px)}.gb-card[draggable=true]{cursor:grab!important}.gb-cardtitle{font-weight:600;display:block;overflow-wrap:anywhere}.gb-badges{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 0}.gb-label{font-size:11px;border-radius:4px;padding:2px 6px;background:var(--label,#46464d);color:white;text-shadow:0 1px 3px #000;max-width:100%;overflow:hidden;text-overflow:ellipsis}.gb-meta{color:var(--gb-muted);font-size:11px;display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.gb-column>.gb-add{width:100%;margin-top:10px;text-align:left;background:transparent!important;border-color:transparent!important;color:#aaa!important}.gb-note{padding:12px 16px;border:1px solid #7f622b;background:#302514;border-radius:8px;margin-bottom:16px;color:#e9c78e}.gb-empty{padding:28px;text-align:center;color:var(--gb-muted)}.gb-error{background:#451925;color:#ffb7c3;padding:12px;border-radius:7px;margin:12px 0}.gb-dialog{background:#18181c;color:#eee;border:1px solid #414149;border-radius:12px;width:min(940px,95vw);max-height:92vh;padding:0;box-shadow:0 24px 90px #0009;font-family:inherit;font-size:14px}.gb-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.gb-dialogheader{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid #ffffff12;position:sticky;top:0;background:#18181c;z-index:2}.gb-dialogheader h2{font-size:20px;margin:0;overflow-wrap:anywhere}.gb-dialogbody{padding:22px}.gb-detailgrid{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:24px}.gb-detailmain{min-width:0}.gb-aside{display:flex;flex-direction:column;gap:9px}.gb-field{display:grid;gap:6px;margin-bottom:15px}.gb-field>span{font-weight:600;font-size:12px;color:#b4b4bf}.gb-field textarea{width:100%;min-height:100px;resize:vertical}.gb-section{margin:0 0 24px}.gb-section h3{font-size:14px;margin:0 0 12px}.gb-description{line-height:1.7;overflow-wrap:anywhere}.gb-description p{margin:0 0 12px}.gb-description pre{white-space:pre-wrap;background:#0e0e10;padding:12px;border-radius:5px}.gb-description a,.gb-dialog a{color:#f27686}.gb-comment{padding:13px 0;border-top:1px solid #ffffff12}.gb-commentheader{font-size:12px;color:#aaa;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.gb-commentheader strong{color:#eee}.gb-origin{font-size:10px;background:#323239;padding:2px 5px;border-radius:4px}.gb-file{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #ffffff16;border-radius:7px;margin:6px 0;overflow-wrap:anywhere}.gb-file img{height:50px;width:70px;object-fit:cover;border-radius:4px}.gb-check{display:flex;gap:9px;align-items:flex-start;padding:6px 0}.gb-check input{margin-top:3px}.gb-check .done{text-decoration:line-through;color:#888}.gb-event{font-size:12px;color:#a5a5af;border-left:2px solid #38383e;padding:6px 12px;margin:0 0 6px}.gb-event strong{color:#ddd}.gb-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.gb-memberchips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.gb-settingsrow{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:center;margin:12px 0}.gb-settingsrow select[multiple]{min-height:85px;width:100%}.gb-dialog small{color:#aaa}.gb-dragover{outline:2px dashed #e31937;outline-offset:2px}.gb-loader{padding:20px;color:#aaa}@media(max-width:700px){.gb-column{flex-basis:85vw;width:85vw;max-width:330px}.gb-detailgrid{display:flex;flex-direction:column-reverse;gap:20px}.gb-aside{flex-direction:row;flex-wrap:wrap}.gb-aside>*{flex:1 1 130px}.gb-dialogbody{padding:15px}.gb-dialogheader{padding:14px}.gb-top h1{font-size:21px}.gb-settingsrow{grid-template-columns:1fr;gap:4px}.gb-toolbar{gap:6px}.gb-columns{margin-right:-12px}}@media(prefers-reduced-motion:reduce){.gb-card:hover{transform:none}}
/* Compact board workspace: scoped to board pages, with no horizontal strip. */
body:has(#gboards) .ipsWidth--main-content{width:80%!important;max-width:none!important}
body:has(#gboards) .ipsLayout__columns{padding-top:18px!important;padding-bottom:30px!important}
body:has(#gboards) #ipsLayout__main{min-width:0}
#gboards{font-size:12px}
#gboards .gb-top{margin-bottom:10px;gap:8px}
#gboards .gb-top h1{font-size:21px}
#gboards .gb-toolbar{margin-bottom:12px;gap:7px}
#gboards .gb-toolbar input,#gboards .gb-toolbar select{padding:7px}
#gboards .gb-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr));gap:8px;overflow-x:visible;padding:0 0 12px;align-items:start;min-height:0;margin-right:0}
#gboards .gb-column{display:flex;flex-direction:column;width:auto;min-width:0;max-width:none;max-height:74vh;padding:7px;border-radius:8px}
#gboards .gb-columnheader{padding:2px 1px 7px;gap:5px;flex:none}
#gboards .gb-columnheader h2{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#gboards .gb-columnheader button{padding:3px 7px}
#gboards .gb-cardlist{gap:5px;min-height:18px;grid-auto-rows:max-content;align-content:start;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
#gboards .gb-card{padding:7px 8px!important;border-radius:6px!important;line-height:1.3;flex:none}
#gboards .gb-cardtitle{font-size:12px}
#gboards .gb-card:hover{transform:none}
#gboards .gb-badges{gap:3px;margin-top:5px}
#gboards .gb-label{font-size:10px;padding:1px 4px}
#gboards .gb-meta{font-size:10px;margin-top:5px;gap:5px}
#gboards .gb-column>button{padding:5px 7px;margin-top:5px;font-size:11px;flex:none}
@media(max-width:700px){#gboards .gb-columns{grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))}#gboards .gb-column{max-height:65vh}#gboards .gb-columnheader button{min-height:32px;min-width:32px}#gboards .gb-toolbar input[type=search]{min-width:100%}.gb-aside>*{align-self:start}}

#gboards .gb-cardtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

@media(max-width:900px){body:has(#gboards) .ipsWidth--main-content{width:96%!important}}

/* Direct manipulation and image cards. */
#gboards .gb-card{position:relative;cursor:pointer;background:#242428;color:#eee;border:1px solid #ffffff12;text-align:left;outline-offset:2px}
#gboards .gb-card:focus-visible{outline:2px solid #ee4b61}
#gboards .gb-cardtitle{padding-right:12px}
#gboards .gb-cardcover{display:block;width:calc(100% + 16px);max-width:none;height:auto;max-height:190px;object-fit:contain;background:#101012;margin:-7px -8px 8px;border-radius:6px 6px 0 0;aspect-ratio:16/10;pointer-events:none}
#gboards .gb-cardmenu{position:absolute;right:3px;top:3px;padding:0 5px!important;min-height:24px;min-width:24px;background:#111d!important;border:0!important;border-radius:4px;color:#ddd;opacity:0;line-height:1.2}
#gboards .gb-card:hover .gb-cardmenu,#gboards .gb-card:focus-within .gb-cardmenu{opacity:1}
.gb-draghandle{cursor:grab;touch-action:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px;color:#a8a8b3;flex:none}
#gboards .gb-card>.gb-draghandle{position:absolute;bottom:2px;right:2px;opacity:0;background:#242428e8;border-radius:4px}
#gboards .gb-card:hover>.gb-draghandle,#gboards .gb-card:focus-within>.gb-draghandle{opacity:1}
#gboards .gb-columnheader[draggable=true]{cursor:grab}
#gboards .gb-columnheader:has(.gb-draghandle){cursor:grab;user-select:none}
.gb-dragging{opacity:.7;cursor:grabbing!important}
#gboards .gb-columnheader>.gb-draghandle{order:-1;min-width:16px;width:16px}
#gboards .gb-columnheader{position:relative}
#gboards .gb-columnheader h2{overflow-wrap:normal;word-break:normal}
#gboards .gb-columnheader>.gb-draghandle{position:absolute;left:-9px;top:-10px;opacity:0;background:#202024;border-radius:4px;z-index:2}
#gboards .gb-columnheader:hover>.gb-draghandle,#gboards .gb-columnheader:focus-within>.gb-draghandle{opacity:1}
#gboards .gb-drop-before{box-shadow:0 -3px #ee4b61!important}
#gboards .gb-saving{opacity:.65;pointer-events:none}
.gb-context{position:fixed;z-index:100000;width:215px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;padding:5px;border:1px solid #44444c;border-radius:8px;background:#202024;color:#eee;box-shadow:0 12px 40px #0008;font-size:13px}
.gb-context button{display:block;text-align:left;width:100%;padding:9px 12px;border:0;background:transparent;border-radius:4px;color:inherit;font:inherit;cursor:pointer}
.gb-context button:hover,.gb-context button:focus-visible{background:#36363d;outline:none}
.gb-toast{position:fixed;z-index:10001;bottom:20px;left:50%;transform:translateX(-50%);padding:10px 18px;background:#29292f;border:1px solid #4b4b55;border-radius:8px;color:#eee;box-shadow:0 6px 20px #0005}
.gb-file-image{display:block;padding:0;overflow:hidden;background:#111114}
.gb-file-image .gb-attachment-image{display:block;width:100%;text-align:center;background:#0c0c0e}
.gb-file-image img{width:auto;max-width:100%;height:auto;max-height:430px;object-fit:contain;display:block;margin:auto;border-radius:0}
.gb-file-image>a:not(.gb-attachment-image),.gb-file-image>small{display:inline-block;padding:10px}
.gb-inline-image{max-width:100%;height:auto;max-height:480px;object-fit:contain;border-radius:6px;display:block}
.gb-image-unavailable{display:block;padding:15px;color:#aaa;font-size:12px}
@media(hover:none){#gboards .gb-cardmenu,#gboards .gb-card>.gb-draghandle{opacity:1}#gboards .gb-cardmenu{min-width:30px;min-height:30px}.gb-draghandle{min-width:30px;min-height:30px}}
