/* Cloud version additions on top of app.css (which is the same file as web/app.css) */
.crown{display:inline-block;width:16px;height:16px;margin-left:6px;vertical-align:-2px;color:var(--accent);flex:none}
.who{display:flex;align-items:center;gap:8px;min-width:0}
.who .nm{font-size:14px;color:var(--text2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px;background:none;border:none;cursor:pointer;padding:6px 4px;display:inline-flex;align-items:center}
.who .nm:hover{color:var(--text)}
.signin{max-width:440px;margin:40px auto;display:flex;flex-direction:column;gap:18px}
.gbtn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 20px;border-radius:8px;border:1px solid var(--line2);background:#fff;color:#1F1F1F;font-weight:700;font-size:16px;cursor:pointer}
.gbtn:hover{background:#F2F2F2}
.gbtn svg{width:20px;height:20px}
.people .host{color:var(--accent)}
.note .who .crown,.revrow .crown{width:13px;height:13px;margin-left:4px}
.who .nm{flex:none}
@media (max-width:760px){.who .nm{max-width:110px}#conn{display:none!important}}
/* archive and delete (Hosts) */
.menu{position:relative}
.menu>summary{list-style:none;cursor:pointer;min-width:36px}
.menu>summary::-webkit-details-marker{display:none}
.menupop{position:absolute;right:0;top:calc(100% + 6px);z-index:30;display:flex;flex-direction:column;min-width:160px;padding:6px;border-radius:8px;background:var(--card2);border:1px solid var(--line2);box-shadow:0 10px 30px rgba(0,0,0,.45)}
.menupop button{background:none;border:none;text-align:left;padding:10px 12px;border-radius:6px;font-size:14px;cursor:pointer;color:var(--text)}
.menupop button:hover{background:var(--card)}
.menupop button.danger{color:var(--bad)}
.runrow.isarchived{opacity:.65}
.linkbtn{align-self:flex-start;background:none;border:none;padding:4px 0;color:var(--accent);cursor:pointer;font-size:14px}
.linkbtn:hover{color:var(--accent2)}
details.archived>summary{cursor:pointer;color:var(--muted);font-weight:700;padding:6px 0;margin-bottom:10px}
details.archived .projcard{opacity:.75}
.archnote{color:var(--amber);border-color:var(--line2)}
/* All notes sheet: department column */
.shtable td.dcell{white-space:nowrap}
.shtable td.dcell .shdot{width:8px;height:8px;margin-right:6px}
/* Phase 2: settings editor */
.statusrow{display:grid;grid-template-columns:minmax(0,1fr) auto 36px;gap:10px;align-items:center}
.statusrow input[type=text]{min-height:40px;font-size:15px}
.dlg h3{margin:0;font-size:15px;font-weight:700}
dialog{overflow-y:auto}
input[type=number]{min-height:40px;padding:0 10px;border-radius:8px;border:1px solid var(--line2);background:var(--bg);color:var(--text);font-size:15px}
.statusrow input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}
/* removed people */
.people details.removed summary{cursor:pointer;color:var(--muted);font-size:13px;padding-top:6px}
.people details.removed div{min-height:40px}
/* other TANCK projects (not joined yet) */
.projcard.other{border-style:dashed}
.projcard.other h2{color:var(--text2)}
/* header: the TANCK logo goes to the landing page, "Show Notes" to the start of Show Notes */
.top .brand{margin-right:-4px}
.brand-app{font-weight:500;font-size:18px;color:var(--muted);text-decoration:none;white-space:nowrap}
.brand-app:hover{color:var(--text)}
@media (max-width:760px){.brand-app{font-size:15px}}
/* project settings box */
.setlist{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.setitem{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;background:transparent;border:none;border-top:1px solid var(--line);color:var(--text);text-align:left;cursor:pointer}
.setitem:first-child{border-top:none}
.setitem:hover{background:var(--card2)}
.setitem .nm{font-weight:700;font-size:15px}
.setitem .faint{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
.setitem .chev{color:var(--faint);font-size:20px}
.projset details.more summary{cursor:pointer;color:var(--muted);font-size:13px;font-weight:700}
/* the stopwatch panel */
.swbtns{display:grid;grid-template-columns:2fr 1fr;gap:10px}
.swbtns .btn{min-height:64px;font-size:18px}
.btn.swgo{background:var(--okBg);color:var(--ok);border:1px solid #214331;font-size:28px;letter-spacing:.08em}
.btn.swgo:hover{background:#1b3024;color:var(--ok)}
.btn.swgo.hold{background:var(--accentBg);color:var(--accent);border-color:var(--accent)}
.btn.swgo.hold:hover{background:#3a2818;color:var(--accent2)}
