.live-login{width:min(400px,calc(100% - 32px));margin:12vh auto;border:1px solid var(--line);border-radius:12px;padding:30px}.live-login h1{font-size:23px;margin:20px 0 12px}.live-login p{font-size:12px;line-height:1.9;color:#8a8295}.live-login label{display:block;margin:18px 0}.live-login button{width:100%;margin:8px 0 22px}.live-login small{font-size:10px;color:#9992a1}.live-directory{max-width:1400px;margin:auto}.live-directory header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:20px 28px;gap:14px}.live-directory .brand{padding:0}.live-directory main{padding:35px 40px}.directory-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:25px}.directory-heading h1{font-size:24px;margin:0 0 12px}.directory-heading p{color:#96909e;font-size:12px}.live-userbar{font-size:11px;color:#91879d;display:flex;align-items:center;gap:20px}.live-userbar>div{display:flex;gap:8px}.live-userbar button{font-size:11px}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.directory-card{padding:22px;text-align:left;justify-content:flex-start;align-items:flex-start;gap:16px;border-radius:10px}.directory-card strong{font-size:15px;display:block;line-height:1.6}.directory-card small{display:block;font-size:11px;color:#96909e;margin:10px 0}.directory-card .pill{margin-top:4px}.directory-card .company-logo{width:40px;height:40px;font-size:22px}.live-account-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:14px}.live-account-actions button{font-size:11px}.live-back{display:none}.employee-list{margin-top:25px}.employee-list>div{padding:15px 0;border-bottom:1px solid var(--line)}.employee-list strong{font-size:13px}.employee-list small{display:block;font-size:11px;color:#9990a3;margin:8px 0}.employee-list button{font-size:11px;margin-right:7px}.directory-card[hidden]{display:none!important}
@media(max-width:900px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-userbar{display:block}.live-userbar>div{margin-top:8px}}
@media(max-width:760px){.live-directory header{padding:18px;display:block}.live-userbar{margin-top:15px}.live-directory main{padding:25px 18px}.directory-heading{display:block}.directory-grid{grid-template-columns:1fr}.directory-card{padding:18px}.live-back{display:flex;margin-bottom:20px}}

.employee-list .employee-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.employee-details{flex:1;min-width:100px}
.employee-details strong,.employee-details small{overflow-wrap:anywhere}
.employee-details small{margin-bottom:0}
.employee-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-shrink:0}
.employee-actions button{margin:0;white-space:nowrap}
.employee-actions .employee-delete{border-color:#eedbd9;color:#b9615b}
.employee-actions .employee-delete:hover{background:#fff5f4;border-color:#deb9b5}
.employee-error:empty{display:none}
@media(max-width:480px){.employee-list .employee-row{flex-wrap:wrap;gap:10px}.employee-actions{margin-left:auto;flex-wrap:wrap;max-width:100%}}

/* Compact company cards: six desktop columns, half-height rows on phones. */
.directory-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:14px}
.directory-card{min-width:0;padding:8px 9px;gap:8px;align-items:center;border-radius:8px}
.directory-card .company-logo{width:24px;height:24px;min-width:24px;font-size:13px;border-radius:6px}
.directory-card-body{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0;text-align:left}
.directory-card strong{min-width:0;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.directory-card small{margin:0;font-size:10px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.directory-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}
.directory-card-bottom small{min-width:0}
.directory-card .pill{flex-shrink:0;margin:0;padding:2px 4px;font-size:9px}
@media(min-width:901px) and (max-width:1200px){.directory-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:900px){.directory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.directory-grid{grid-template-columns:1fr;gap:8px}.directory-card{padding:8px 9px}}

/* Shared notebook on the home page. */
.update-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.update-actions{display:inline-flex;gap:4px;margin-left:auto}
.update-actions button{font-size:10px;padding:2px 5px}
.home-tabs{display:flex;align-items:center;gap:4px;flex:1;margin-left:28px}
.home-tabs button{border:0;background:transparent;color:#888393;padding:8px 12px;font-size:12px;white-space:nowrap}
.home-tabs button[aria-current="true"]{background:var(--theme-soft,#f3f1fb);color:var(--accent);font-weight:650}
.notebook{max-width:900px;margin:0 auto}
.notebook-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.notebook-heading h1{font-size:24px;margin:0 0 9px}.notebook-heading p{color:#96909e;font-size:12px;margin:0;line-height:1.6}
.notebook-heading button{font-size:11px;white-space:nowrap}
.notebook-feed{height:clamp(260px,49vh,620px);overflow:auto;padding:22px 8px 18px 0;scrollbar-gutter:stable}
.notebook-empty{font-size:12px;color:#9c98a5;padding:35px 0;text-align:center}
.notebook-entry{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;min-width:0}
.notebook-avatar{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#2d3d45;color:#fff;font-size:13px}
.notebook-entry:nth-child(even) .notebook-avatar{background:#f2a01a}
.notebook-entry-main{min-width:0;max-width:calc(100% - 42px)}
.notebook-meta{display:flex;align-items:center;gap:9px;margin-bottom:4px;color:#92909a;font-size:10px}
.notebook-meta strong{font-weight:500}.notebook-meta time{color:#aaa5b0}
.notebook-delete{border:0;background:transparent;color:#ab7775;font-size:10px;padding:2px 5px}
.notebook-bubble{display:inline-block;width:fit-content;max-width:100%;padding:8px 11px;border-radius:4px 10px 10px 10px;background:#e6ebf1;color:#1f2730;overflow-wrap:anywhere}
.notebook-bubble p{margin:0;white-space:pre-wrap;line-height:1.6;font-size:12px}
.notebook-images{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}
.notebook-bubble .notebook-images:first-child{margin-top:0}
.notebook-image{padding:0;width:100px;height:100px;overflow:hidden;border-radius:6px;background:#fff}
.notebook-image img{width:100%;height:100%;display:block;object-fit:cover}
.notebook-composer{border-top:1px solid var(--line);padding-top:17px}
.notebook-composer>label{display:block;font-size:12px;color:#6c6873;margin-bottom:8px}
.notebook-composer textarea{display:block;width:100%;min-height:78px;resize:vertical;line-height:1.6;font-size:12px;padding:10px 12px}
.notebook-compose-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}
.notebook-compose-actions button{font-size:11px}
.notebook-compose-actions small{color:#9c97a5;font-size:10px;margin-left:4px}
.notebook-submit{margin-left:auto}
.notebook-previews{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.notebook-previews:empty{display:none}
.notebook-preview{width:100px;min-width:0;position:relative;border:1px solid var(--line);border-radius:7px;padding:4px;background:white}
.notebook-preview img{display:block;width:90px;height:70px;object-fit:cover;border-radius:4px}
.notebook-preview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#88818e;font-size:10px;margin-top:4px}
.notebook-preview button{position:absolute;right:2px;top:2px;border-radius:50%;width:20px;height:20px;padding:0;background:#fff;color:#8f5361}
.notebook-viewer{width:min(900px,calc(100% - 24px));max-height:90vh;padding:16px;border:1px solid var(--line);border-radius:10px}
.notebook-viewer::backdrop{background:#15171cb8}
.notebook-viewer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:12px}
.notebook-viewer-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notebook-viewer img{display:block;max-width:100%;max-height:75vh;margin:auto;object-fit:contain}
@media(max-width:760px){.home-tabs{margin:10px 0 0}.home-tabs button{font-size:12px}.notebook-heading h1{font-size:21px}.notebook-heading p{font-size:11px}.notebook-feed{height:45vh;min-height:230px}.notebook-compose-actions small{order:5;width:100%}.notebook-submit{margin-left:auto}.notebook-image{width:86px;height:86px}}
