@font-face{font-family:IRANYekanX;src:url('fonts/IRANYekanX-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:IRANYekanX;src:url('fonts/IRANYekanX-Bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{--font-body:IRANYekanX,Tahoma,sans-serif;--font-display:IRANYekanX,Tahoma,sans-serif;--font-mono:IRANYekanX,Tahoma,sans-serif;--fast:160ms;--normal:240ms;--entrance:480ms;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--thumb) var(--track)}
::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:var(--track)}
::-webkit-scrollbar-thumb{background:var(--thumb);border-radius:8px;border:2px solid var(--track)}
::-webkit-scrollbar-thumb:hover{background:var(--thumb-hover)}::-webkit-scrollbar-thumb:active{background:var(--thumb-active)}
html{scroll-padding-top:24px}body{margin:0;background:var(--background);color:var(--ink);font:400 15px/1.9 var(--font-body);-webkit-font-smoothing:antialiased}
a{color:var(--brand);text-underline-offset:5px;cursor:pointer;transition:color var(--fast),background var(--fast)}
a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 20px;border:1px solid transparent;border-radius:var(--control-radius);background:var(--primary);color:var(--on-primary);font-weight:700;text-decoration:none;cursor:pointer;touch-action:manipulation;transition:background var(--fast),color var(--fast),box-shadow var(--fast),transform var(--fast)}
button:hover,.button:hover{box-shadow:0 0 0 3px var(--accent);text-decoration:none}button:active,.button:active{transform:scale(.98)}
button:disabled{opacity:.5;cursor:wait;box-shadow:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.table-wrap:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.secondary{background:var(--surface);border-color:var(--border);color:var(--ink)}.secondary:hover{background:var(--hover)}
.danger{background:var(--danger);color:var(--surface)}:root[data-theme=dark] .danger{color:var(--background)}
.text-danger{color:var(--danger);background:none;padding:4px 8px;min-height:36px;font-size:13px;font-weight:400}.text-danger:hover{background:var(--danger-bg);box-shadow:none}
.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.skip-link{position:fixed;top:-100px;right:20px;z-index:20;padding:12px 20px;background:var(--primary);color:var(--on-primary)}.skip-link:focus{top:12px}
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}
aside{padding:36px 20px 22px;border-inline-end:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:34px}
.brand{display:flex;align-items:center;gap:12px;padding-inline:10px;text-decoration:none;color:var(--ink);font-size:24px;font-weight:700;line-height:1.5}
.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:43px;height:46px;background:var(--primary);color:var(--on-primary);border-radius:13px;transform:rotate(-5deg)}.brand-mark .icon{width:24px;height:24px;transform:rotate(5deg)}
.brand small{font-weight:400;font-size:11px;line-height:1.8;margin-top:3px}
.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:12px;padding:12px;font-size:12px;line-height:1.7}
.workspace small{font-size:10px;white-space:nowrap}.workspace-avatar{display:grid;place-items:center;width:30px;height:32px;background:var(--accent);color:var(--brand);border-radius:8px;font-size:15px;font-weight:700}
.workspace-dot{width:6px;height:6px;background:var(--brand);border-radius:50%;margin-inline-start:auto}
.nav-label{display:block;padding-inline:14px;margin-bottom:10px;font-size:11px;color:var(--muted)}nav{display:grid;gap:7px}
nav a{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:10px;text-decoration:none;color:var(--muted);font-size:13px;min-height:47px}
nav a:hover{background:var(--hover);color:var(--ink);text-decoration:none}nav a[aria-current]{background:var(--accent);color:var(--brand);font-weight:700}
.nav-active-dot{width:5px;height:5px;border-radius:50%;background:currentColor;margin-inline-start:auto}
.aside-foot{margin-top:auto;padding-top:60px}.sidebar-note{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;padding:16px 10px;border-block:1px solid var(--border);margin-bottom:16px}.sidebar-note small{font-size:10px}.sidebar-note .icon{width:18px;height:18px}
.logout{background:transparent;color:var(--muted);font-size:12px;font-weight:400;width:100%;justify-content:start;padding:10px 14px}.logout:hover{background:var(--hover);color:var(--ink);box-shadow:none}
main{min-width:0;width:100%;max-width:1530px;margin-inline:auto;padding:0 clamp(22px,3.2vw,52px) 48px}
.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:16px;margin-bottom:38px}
.breadcrumb{display:flex;align-items:center;gap:16px;font-size:11px;color:var(--muted)}.breadcrumb span{color:var(--input-border)}.breadcrumb b{color:var(--ink);font-weight:400}
.topbar-actions{display:flex;align-items:center;gap:16px}.timezone{font-size:11px;color:var(--muted)}.theme-toggle{padding:10px;width:42px;height:42px;min-height:42px;border-radius:12px}
.sun-icon{display:none}:root[data-theme=dark] .sun-icon{display:inline-flex}:root[data-theme=dark] .moon-icon{display:none}.moon-icon{display:inline-flex}
.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.eyebrow{font-size:10px;color:var(--muted);letter-spacing:.1px}h1{font-size:29px;line-height:1.6;font-weight:700;margin:5px 0 9px;letter-spacing:-.8px}h2{font-size:17px;font-weight:700;line-height:1.8;margin:0 0 21px;letter-spacing:-.3px}.page-description{font-size:12px;color:var(--muted);margin:0}.date{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);background:var(--surface);border:1px solid var(--border);padding:9px 13px;border-radius:9px;white-space:nowrap;font-variant-numeric:tabular-nums}.date .icon{width:16px;height:16px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:26px;min-width:0;margin-bottom:22px;box-shadow:var(--shadow)}
.day-strip{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:30px;display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:22px;overflow:hidden}
.day-strip::before{content:'';position:absolute;inset-block:24px;inset-inline-start:0;width:3px;background:var(--brand);border-radius:4px}
.status-line{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--brand)}
.day-intro h2{font-size:25px;letter-spacing:-.7px;margin:12px 0 6px}.day-intro p{font-size:12px;color:var(--muted);max-width:330px;margin-bottom:13px;line-height:2}
.day-link{display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:700;text-decoration:none}.day-link .icon{width:16px;height:16px;transition:transform var(--fast)}.day-link:hover .icon{transform:translateX(-4px)}
.day-summary{display:flex;align-items:center;gap:22px;border-inline-start:1px solid var(--border);padding-inline-start:30px;flex-shrink:0}.day-summary>div>strong{font-size:13px}.day-summary p{font-size:11px;color:var(--muted);margin:6px 0 10px}.reminder-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.reminder-label .icon{width:14px;height:14px}
.completion{position:relative;display:grid;place-items:center;width:94px;height:94px}.completion-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:5;stroke-linecap:round}.ring-track{stroke:var(--hover)}.ring-value{stroke:var(--brand)}.completion>span{display:flex;align-items:center}.completion strong{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.completion small{display:inline;font-size:12px;margin-inline-start:3px;color:var(--muted)}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stat{padding:21px 24px;position:relative}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.stat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--inset);color:var(--muted)}.stat-icon .icon{width:17px;height:17px}.stat>strong{display:block;font-size:38px;line-height:1.7;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:6px 0 0}.stat>small{font-size:10px}
.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.dashboard-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.columns>.card{height:auto}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-head h2{margin:4px 0 0}.inline-link{display:flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap;text-decoration:none}.inline-link .icon{width:15px;height:15px}.count-tag{display:grid;place-items:center;border:1px solid var(--border);border-radius:8px;min-width:30px;height:30px;color:var(--muted);font-size:11px}
.report{font:400 14px/2.5 var(--font-body);white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0 0;background:var(--inset);border:1px solid var(--border);border-radius:12px;padding:22px;text-align:start;unicode-bidi:plaintext}
.person{display:flex;align-items:center;gap:12px;padding:17px 0;border-top:1px solid var(--border);font-size:12px}.person-details{flex:1;min-width:0}.person-details small{margin-top:3px;font-size:10px}.avatar{display:grid;place-items:center;width:38px;height:40px;border-radius:11px;background:var(--accent);color:var(--brand);font-size:15px;font-weight:700;flex-shrink:0}
small,.muted{color:var(--muted)}small{display:block;font-size:11px;line-height:1.9}.muted{font-size:12px;line-height:2.1}p{margin:0 0 16px}strong,b{font-weight:700}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;line-height:1.8;color:var(--success);background:var(--success-bg);padding:4px 9px;border-radius:6px;white-space:nowrap}.badge::before{content:'';height:4px;width:4px;border-radius:50%;background:currentColor}.warning{color:var(--warning);background:var(--warning-bg)}
.field{margin-bottom:21px;min-width:0}label{display:block;margin-bottom:8px;font-size:12px;font-weight:700}.input-wrap{display:flex;gap:8px}input:not([type=checkbox]),select,textarea{display:block;min-width:0;width:100%;min-height:47px;border:1px solid var(--input-border);border-radius:var(--control-radius);padding:11px 13px;background:var(--surface);color:var(--ink);font-size:14px;transition:border-color var(--fast),box-shadow var(--fast)}
input:not([type=checkbox]):hover,select:hover,textarea:hover{border-color:var(--muted)}input:focus,select:focus,textarea:focus{border-color:var(--brand)}.field small{font-size:10px;margin-top:7px}input[type=password],input[type=tel],#base_url,#from,#to,#reminder_time{direction:ltr;text-align:left}textarea{resize:none;min-height:140px}select{cursor:pointer}fieldset{border:1px solid var(--border);border-radius:12px;margin:0 0 22px;padding:15px 18px}legend{font-size:12px;padding-inline:6px;color:var(--muted)}.check{display:flex;align-items:center;gap:10px;min-height:42px;font-size:12px;font-weight:400;margin:0}.check input{width:18px;height:18px;accent-color:var(--brand);cursor:pointer}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-block:20px}.actions>a:not(.button){font-size:12px;padding:10px}.actions>button,.actions>.button{font-size:12px}.reveal{padding:8px 12px;font-size:10px;font-weight:400;min-width:59px}
.notice{padding:15px 18px;border:1px solid var(--border);border-inline-start:3px solid var(--success);border-radius:10px;background:var(--surface);margin-bottom:22px;font-size:13px;color:var(--success)}.error{border-inline-start-color:var(--danger);color:var(--danger);background:var(--danger-bg)}
.filter{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:7px;margin-bottom:22px}.filter .field{flex:1;min-width:150px}.filter>button{font-size:12px}
.table-wrap{overflow:auto;min-height:200px;scrollbar-gutter:stable}table{width:100%;border-collapse:collapse;text-align:right;white-space:normal}td,th{padding:18px 10px;border-bottom:1px solid var(--border);vertical-align:top}th{font-size:10px;font-weight:400;color:var(--muted);background:var(--inset);padding-block:12px}td{font-size:12px;min-width:75px;transition:background var(--fast)}td:first-child{min-width:160px}td small{font-size:10px;margin-top:4px}td>a{display:inline-flex;align-items:center;min-height:36px;font-size:11px}td .text-danger{padding-inline:0;font-size:11px}tr:hover td{background:var(--inset)}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;font-size:10px;color:var(--muted)}.pagination a{padding:8px}.empty{color:var(--muted);padding:32px 0;font-size:12px;line-height:2.2}
.guest .shell{grid-template-columns:248px minmax(0,1fr)}.guest aside{background:var(--inset)}.guest .auth{max-width:440px;margin:42px auto;padding:36px}.guest .auth h2{font-size:24px;margin-bottom:8px}.auth button:not(.reveal){width:100%}.guest main>.card:not(.auth){max-width:920px;margin-inline:auto}.guest .columns{row-gap:0}
dialog{border:1px solid var(--border);border-radius:20px;padding:32px;max-width:min(460px,calc(100vw - 32px));max-height:85dvh;overflow:auto;background:var(--surface);color:var(--ink);box-shadow:var(--dialog-shadow)}dialog::backdrop{background:var(--scrim)}dialog h2{font-size:19px}dialog p{font-size:13px;color:var(--muted);line-height:2.2}dialog .actions{justify-content:flex-end;margin-bottom:0}
/* One content entrance per navigation; controls remain independently responsive. */
main>.page-header~.card,main>.day-strip,main>.columns,main>.stats{animation:content-in var(--entrance) var(--ease) both}.stats{animation-delay:55ms!important}.dashboard-columns{animation-delay:100ms!important}dialog[open]{animation:dialog-in 200ms var(--ease)}
@keyframes content-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1500px){main{padding-inline:56px}.day-strip{padding:34px}.day-summary{padding-inline-start:42px}}
@media(max-width:1180px){.shell,.guest .shell{grid-template-columns:210px minmax(0,1fr)}aside{padding-inline:14px}.workspace{padding:10px 8px}.workspace small{font-size:9px}.day-summary{gap:12px;padding-inline-start:20px}.completion{width:72px;height:72px}.completion strong{font-size:21px}.day-intro h2{font-size:23px}.day-strip{padding:24px;gap:20px}.dashboard-columns{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:18px}.columns:not(.dashboard-columns){grid-template-columns:1fr}}
@media(max-width:800px){.shell,.guest .shell{display:block}aside{padding:18px 22px;gap:20px;border-inline-end:0;border-bottom:1px solid var(--border)}.brand{padding:0;font-size:22px}.brand-mark{width:38px;height:40px}.brand small{font-size:10px}.workspace,.nav-label,.sidebar-note{display:none}.nav-group{min-width:0}nav{display:flex;overflow-x:auto;gap:6px;padding:4px 0}nav a{white-space:nowrap;min-height:43px;padding:9px 12px;font-size:12px;gap:8px}nav a .icon{width:17px;height:17px}.nav-active-dot{display:none}.aside-foot{padding:0;margin:0;position:absolute;top:18px;left:22px}.logout{width:44px;height:44px;padding:11px;font-size:0;justify-content:center;border:1px solid var(--border)}.logout .icon{width:18px;height:18px}main{padding:0 22px 32px}.topbar{height:68px;margin-bottom:25px}.page-header{margin-bottom:25px}.guest aside{background:var(--surface)}.guest .auth{margin-block:30px}.guest .columns{grid-template-columns:repeat(2,minmax(0,1fr))}.date{font-size:11px}h1{font-size:27px}}
@media(max-width:580px){body{font-size:16px}aside{padding:17px 16px;gap:17px}.aside-foot{left:16px;top:17px}.brand small{font-size:10px}main{padding-inline:16px}.breadcrumb{font-size:10px;gap:9px}.timezone{display:none}.topbar{height:64px;margin-bottom:23px}.theme-toggle{width:40px;height:40px;min-height:40px}.page-header{gap:12px;align-items:start;flex-wrap:wrap}h1{font-size:26px}.page-description{font-size:11px;line-height:2}.page-header .date{font-size:10px;padding:6px 10px;min-height:34px}.eyebrow{font-size:9px}.day-strip{padding:24px;display:block}.day-intro h2{font-size:25px}.day-intro p{font-size:12px;max-width:none}.day-link{font-size:12px;min-height:36px}.day-summary{margin-top:20px;border-inline-start:0;border-top:1px solid var(--border);padding:20px 0 0;gap:19px;justify-content:start}.completion{width:78px;height:78px}.day-summary>div>strong{font-size:13px}.day-summary p{font-size:11px}.stats{gap:8px}.stat{padding:14px 11px;border-radius:13px;margin-bottom:18px}.stat-top{font-size:9px;gap:4px}.stat-icon{width:24px;height:24px;border-radius:6px}.stat-icon .icon{width:14px;height:14px}.stat>strong{font-size:30px;line-height:1.9}.stat>small{display:none}.card{padding:22px 19px;margin-bottom:18px;border-radius:15px}.columns{gap:0}.section-head h2{font-size:16px}.inline-link{font-size:9px}.report{font-size:13px;padding:16px;line-height:2.5}.person{gap:10px;font-size:12px}.badge{font-size:9px}.field{margin-bottom:23px}.field label{font-size:13px}input:not([type=checkbox]),select,textarea{font-size:16px}.check{font-size:12px;min-height:46px}.field small{font-size:11px}.guest .columns{grid-template-columns:1fr}.guest .auth{padding:27px 22px;margin-top:24px}.filter{gap:0}.filter .field{flex-basis:100%}.filter>button{margin-bottom:16px}.actions{gap:10px}.actions>button,.actions>.button{font-size:11px;padding-inline:13px}.pagination{font-size:9px;gap:6px}td,th{padding-inline:8px}td:first-child{min-width:140px}td{min-width:62px}.table-wrap{margin-inline:-7px}.date .icon{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active,.button:active,.day-link:hover .icon{transform:none}}
@media(forced-colors:active){*{scrollbar-color:auto}button,.badge,.card{border:1px solid CanvasText}.status-dot,.nav-active-dot{background:CanvasText}}
@media print{aside,.topbar,.page-header,.filter,.actions,button,dialog,.notice,.skip-link{display:none!important}.shell{display:block}main{padding:0;max-width:none}.card,.report{border:0;padding:0;box-shadow:none;background:white;color:black}.report{font-size:12pt}body{background:white;color:black}}

.connection-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:24px 0}.connection-actions form{margin:0}.setup-details{border:1px solid var(--border);border-radius:12px;padding:12px 16px;margin:0 0 22px}.setup-details summary{cursor:pointer;color:var(--muted);font-size:12px;min-height:32px;line-height:32px}.setup-details[open] summary{margin-bottom:16px}.setup-card>form+form{margin-top:12px}.setup-details summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}


.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Report composer and connection workspace share the existing semantic theme. */
h3,h4{font-weight:700;margin:0}.section-title{display:flex;align-items:center;gap:13px;min-width:0}.section-title h2{margin:3px 0 0}.section-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border:1px solid var(--border);border-radius:12px;color:var(--brand);background:var(--inset)}.step-label{font-size:10px;color:var(--muted);padding:5px 10px;border:1px solid var(--border);border-radius:7px;white-space:nowrap}
.report-builder{padding:30px}.report-builder>.section-head{margin-bottom:28px;padding-bottom:23px;border-bottom:1px solid var(--border)}.report-setup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.report-date-section h3{font-size:13px;margin-bottom:9px}.report-date-section>.muted{font-size:11px;min-height:42px}.report-date-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.report-date-row .field{margin:0}.date-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.date-presets button{font-size:10px;font-weight:400;min-height:33px;padding:6px 11px;background:var(--inset)}
.team-selection{min-width:0;margin:0;padding:0;border:0;border-radius:0}.team-selection legend{font-size:13px;font-weight:700;padding:0;margin-bottom:8px;color:var(--ink)}.team-selection-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding-bottom:10px;margin-bottom:14px;gap:10px}.team-selection-head [data-team-count]{color:var(--muted);font-size:10px}.team-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:240px;overflow:auto;padding:3px}.team-option{display:flex;align-items:center;gap:8px;min-height:54px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;font-size:12px;font-weight:400;cursor:pointer;margin:0;transition:background var(--fast),border-color var(--fast)}.team-option:hover{background:var(--hover)}.team-option:has(input:checked){border-color:var(--brand);background:var(--accent)}.team-option input{accent-color:var(--brand);width:16px;height:16px;flex-shrink:0}.team-option-icon{display:flex;color:var(--muted)}.team-option-icon .icon{width:16px;height:16px}.team-option>span:last-child{overflow-wrap:anywhere}.team-option small{font-size:9px}.report-submit-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px;padding-top:22px;border-top:1px solid var(--border)}.report-submit-row p{margin:0;font-size:11px}.report-generate{min-width:170px}
.report-empty{text-align:center;padding:48px 24px}.empty-report-icon{display:grid;place-items:center;width:57px;height:60px;background:var(--accent);border:1px solid var(--border);border-radius:16px;color:var(--brand);margin:0 auto 18px}.empty-report-icon .icon{width:26px;height:26px}.report-empty h2{font-size:18px;margin-bottom:9px}.report-empty p{font-size:12px;color:var(--muted);line-height:2.1;margin:0}.report-empty.compact{padding:30px 15px}.report-results{padding:30px}.report-results>.section-head{margin-bottom:0}.report-results .section-head p{margin:9px 0}.result-tools{display:flex;gap:10px;flex-wrap:wrap}.result-tools button{font-size:11px;padding-inline:13px}.report-results #copy-status:empty{margin:0}.report-team{border:1px solid var(--border);border-radius:14px;margin-top:22px;overflow:hidden}.report-team-header{display:flex;align-items:center;gap:12px;padding:18px 22px;background:var(--inset);border-bottom:1px solid var(--border)}.report-team-header .section-icon{width:36px;height:38px;background:var(--surface);border-radius:9px}.report-team-header h3{font-size:15px}.report-team-header span:not(.section-icon){font-size:11px;color:var(--muted)}.report-people{padding:0 22px}.report-person{padding:22px 0}.report-person+.report-person{border-top:1px solid var(--border)}.report-person h4{display:flex;align-items:center;gap:10px;font-size:13px}.report-person .avatar{width:30px;height:32px;font-size:12px;border-radius:8px}.report-person ol{margin:12px 40px 0 0;padding:0 18px 0 0;list-style-type:persian}.report-person li{font-size:13px;line-height:2.3;padding-inline-start:5px;white-space:pre-wrap;overflow-wrap:anywhere}.report-person li::marker{color:var(--muted);font-size:12px}
/* Accessible React Aria calendar: all copy and calendar arithmetic use fa-IR Persian. */
.persian-date-picker{min-width:0}.persian-date-picker>label{font-size:12px;margin-bottom:8px}.date-control{display:flex;align-items:center;justify-content:space-between;min-height:49px;border:1px solid var(--input-border);border-radius:10px;background:var(--surface);padding:4px 6px 4px 12px;gap:4px}.date-control[data-focus-within]{border-color:var(--brand);box-shadow:0 0 0 3px var(--accent)}.react-aria-DateInput{display:flex;align-items:center;direction:rtl;font-size:15px;min-width:0;flex:1;justify-content:center;font-variant-numeric:tabular-nums}.date-segment{padding:3px 2px;outline:none;border-radius:4px;white-space:nowrap;min-width:1ch;text-align:center;cursor:text}.date-segment[data-focused]{background:var(--primary);color:var(--on-primary)}.date-segment[data-placeholder]{color:var(--muted)}.calendar-trigger{width:35px;height:35px;min-height:35px;padding:8px;border:0;background:var(--inset);color:var(--brand);border-radius:7px;flex-shrink:0}.calendar-trigger svg{width:19px;height:19px}.date-error{font-size:10px;color:var(--danger);margin-top:6px}.persian-calendar-popover{z-index:50;min-width:300px;max-width:calc(100vw - 24px);background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--dialog-shadow);font-family:var(--font-body);color:var(--ink);direction:rtl;overflow:auto;max-height:min(530px,85dvh)}.persian-calendar-popover .react-aria-Dialog{padding:16px;outline:0;min-width:0}.calendar-intro{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;padding-bottom:8px;border-bottom:1px solid var(--border)}.calendar-close{min-height:28px;height:28px;width:28px;padding:0;font-size:21px;font-weight:400;background:transparent;color:var(--muted);border-radius:7px}.persian-calendar header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:15px 0}.persian-calendar header h2{margin:0;font-size:14px;line-height:1.6}.persian-calendar header button{width:32px;height:32px;min-height:32px;padding:0;background:var(--inset);color:var(--ink);font-size:22px;font-weight:400}.persian-calendar table{border-collapse:separate;border-spacing:2px;width:100%;table-layout:fixed}.persian-calendar th,.persian-calendar td{padding:0;border:0;min-width:0;background:none;text-align:center;vertical-align:middle}.persian-calendar th{font-size:10px;color:var(--muted);height:32px}.react-aria-CalendarCell{width:35px;min-width:30px;height:35px;display:grid;place-items:center;border-radius:9px;font-size:12px;cursor:pointer;outline:0;transition:background var(--fast),color var(--fast);margin:auto}.react-aria-CalendarCell[data-hovered]{background:var(--hover)}.react-aria-CalendarCell[data-focused]{outline:2px solid var(--brand);outline-offset:1px}.react-aria-CalendarCell[data-selected]{background:var(--primary);color:var(--on-primary)}.react-aria-CalendarCell[data-outside-month]{color:var(--muted);opacity:.5}.react-aria-CalendarCell[data-disabled]{opacity:.4;cursor:default}.react-aria-CalendarCell[data-today]:not([data-selected]){box-shadow:inset 0 0 0 1px var(--brand);color:var(--brand);font-weight:700}.calendar-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px;margin-top:12px;gap:12px}.calendar-footer>span{font-size:10px;color:var(--muted)}.calendar-footer button{font-size:10px;min-height:32px;padding:6px 10px;background:var(--accent);color:var(--brand);font-weight:700}
.bot-workspace{display:grid;gap:22px}.bot-workspace .card{margin:0}.bot-identity{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 30px}.bot-identity-main{display:flex;align-items:center;gap:17px;min-width:0}.bot-avatar{width:62px;height:64px;display:grid;place-items:center;border-radius:18px;background:var(--accent);color:var(--brand);border:1px solid var(--border);flex-shrink:0}.bot-avatar .icon{width:31px;height:31px}.bot-identity h2{font-size:23px;line-height:1.5;margin:5px 0}.bot-identity bdi{font-size:11px;overflow-wrap:anywhere}.bot-main-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;align-items:start}.bot-config,.bot-controls{padding:28px}.bot-config>.muted{margin:20px 0 23px;font-size:11px}.bot-url-hint{display:flex;align-items:start;gap:9px;padding:13px 15px;background:var(--inset);border:1px solid var(--border);border-radius:10px;color:var(--muted);font-size:10px;line-height:2;margin-bottom:22px}.bot-url-hint .icon{width:15px;height:15px;margin-top:3px}.bot-replace{border-top:1px solid var(--border);padding-block:15px}.bot-replace summary,.diagnostic-details summary{cursor:pointer;font-size:12px;min-height:34px;line-height:34px;color:var(--muted)}.bot-replace p{margin-top:12px}.bot-save-row{border-top:1px solid var(--border);padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.bot-save-row>span{display:flex;align-items:center;gap:6px;font-size:10px}.bot-save-row>span .icon{width:14px;height:14px}.bot-save-row button{font-size:12px}.connection-facts{margin:24px 0}.connection-facts>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--border);font-size:11px}.connection-facts dt{color:var(--muted)}.connection-facts dd{margin:0;text-align:left;font-size:10px}.bot-control-list{display:grid;gap:14px}.bot-control-list form{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--inset);border:1px solid var(--border);border-radius:11px;padding:13px}.control-description strong{font-size:12px}.control-description small{font-size:9px;margin-top:4px}.bot-control-list button{font-size:10px;min-height:39px;padding:8px 12px;flex-shrink:0}.bot-remove-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);margin-top:24px;padding-top:16px}.bot-remove-row>span{font-size:9px}.bot-remove-row button{font-size:10px}.bot-no-connection{text-align:center;padding:32px 10px}.bot-no-connection h3{font-size:15px;margin-bottom:10px}.bot-no-connection .muted{max-width:290px;margin:auto}.bot-diagnostics{padding:28px}.diagnostics-note{font-size:10px;color:var(--muted)}.diagnostic-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.diagnostic-metric{display:flex;align-items:center;gap:12px;background:var(--inset);border:1px solid var(--border);border-radius:11px;padding:16px;min-width:0}.diagnostic-metric>span:last-child{font-size:10px;color:var(--muted);min-width:0}.diagnostic-metric bdi{display:block;font-size:11px;color:var(--ink);margin-top:5px;overflow-wrap:anywhere}.diagnostic-details{border-top:1px solid var(--border);margin-top:24px;padding-top:12px}.diagnostic-guide{padding-top:15px;max-width:850px}.diagnostic-guide p{font-size:12px;line-height:2.2;color:var(--muted)}.delivery-error{padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--inset);overflow-wrap:anywhere}.bot-replace summary:focus-visible,.diagnostic-details summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
@media(max-width:1180px){.report-setup-grid{gap:24px}.bot-main-grid{grid-template-columns:1fr}.bot-save-row{gap:12px}.diagnostic-metrics{gap:10px}.diagnostic-metric{padding:13px;gap:8px}.diagnostic-metric .stat-icon{display:none}}
@media(max-width:900px){.report-setup-grid{grid-template-columns:1fr;gap:28px}.report-date-section>.muted{min-height:0}.team-options{grid-template-columns:repeat(2,minmax(0,1fr))}.report-results>.section-head{align-items:start;flex-wrap:wrap}.diagnostic-metrics{grid-template-columns:1fr}.diagnostic-metric .stat-icon{display:grid}.diagnostic-metric bdi{margin:0;float:left}.diagnostic-metric>span:last-child{flex:1}}
@media(max-width:580px){.report-builder,.report-results{padding:22px 18px}.report-builder .section-head{gap:10px}.section-title{gap:10px}.section-title h2{font-size:15px}.section-icon{width:36px;height:38px;border-radius:9px}.step-label,.diagnostics-note{display:none}.report-date-row{gap:9px}.report-date-row label,.persian-date-picker>label{font-size:12px}.report-date-row input{font-size:13px;padding-inline:9px;min-height:49px}.report-date-row .field small{font-size:9px}.date-control{padding-inline:5px;gap:2px}.react-aria-DateInput{font-size:14px;direction:rtl}.date-segment{padding-inline:1px}.calendar-trigger{width:29px;height:31px;min-height:31px;padding:6px}.calendar-trigger svg{width:17px;height:17px}.date-presets{gap:6px}.date-presets button{font-size:9px;padding-inline:8px}.team-option{font-size:12px;padding:9px 10px;gap:7px}.team-option-icon{display:none}.report-submit-row{flex-direction:column;align-items:stretch;gap:13px}.report-submit-row p{font-size:10px}.report-submit-row button{width:100%;font-size:13px}.report-empty{padding:36px 20px}.report-empty h2{font-size:16px}.report-empty p{font-size:11px}.report-results>.section-head h2{font-size:18px}.result-tools{width:100%;gap:9px}.result-tools button{flex:1;font-size:10px}.report-team-header{padding:16px 14px}.report-team-header h3{font-size:14px}.report-people{padding-inline:16px}.report-person h4{font-size:12px}.report-person ol{margin-right:8px}.report-person li{font-size:12px;line-height:2.4}.bot-workspace,.bot-main-grid{gap:18px}.bot-identity{padding:20px;flex-wrap:wrap;gap:17px}.bot-identity-main{gap:12px}.bot-avatar{width:48px;height:51px;border-radius:13px}.bot-avatar .icon{width:25px;height:25px}.bot-identity h2{font-size:21px}.bot-identity .badge{margin-inline-start:60px;font-size:10px}.bot-config,.bot-controls,.bot-diagnostics{padding:22px 19px}.bot-save-row{align-items:stretch;flex-direction:column}.bot-save-row button{width:100%;font-size:12px}.bot-control-list form{padding:12px;gap:10px}.bot-control-list button{font-size:9px;padding-inline:10px}.control-description strong{font-size:11px}.control-description small{font-size:9px;max-width:115px}.bot-remove-row{flex-wrap:wrap}.diagnostic-metric bdi{float:none;display:block;margin-top:5px}.bot-config .field small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.persian-calendar-popover{animation:none!important}}
@media print{.report-builder,.report-empty,.result-tools,.report-results>.section-head .eyebrow,[data-report-stale],#copy-status{display:none!important}.report-results,.report-team{border:0;box-shadow:none;padding:0}.report-team-header{break-after:avoid}.report-person{break-inside:avoid}.report-team-header,.report-person,.report-person li{background:white;color:black}.report-team-header .section-icon,.report-person .avatar{display:none}}

.persian-calendar-popover{width:320px}.react-aria-DateInput{direction:ltr}@media(max-width:580px){.react-aria-DateInput{direction:ltr}}

.message-picker{display:flex;align-items:center;justify-content:space-between;gap:25px}.message-picker-controls{display:flex;align-items:end;gap:12px;min-width:350px}.message-picker-controls .field{margin:0;flex:1}.message-picker-controls>a{font-size:11px;min-height:47px}.message-editor-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}.message-editor-card textarea{min-height:220px;resize:none;line-height:2.2;font-size:14px}.message-field-footer{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-top:8px}.message-field-footer>span{font-size:10px;color:var(--muted);white-space:nowrap}.message-variables{margin:20px 0}.message-variables>span{font-size:11px;color:var(--muted);display:block;margin-bottom:10px}.message-variables>div{display:flex;gap:7px;flex-wrap:wrap}.variable-chip{font-size:11px;direction:ltr;min-height:32px;padding:5px 10px;background:var(--inset);font-weight:400}.message-variables p{font-size:10px;margin-top:10px}.message-save-row{border-top:1px solid var(--border);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.message-save-row>span{font-size:10px}.message-save-row>button{font-size:12px;flex-shrink:0}.message-reset-row{margin-top:18px}.message-reset-row button{font-size:10px;min-height:36px;font-weight:400;padding:7px 10px}.preview-tag{font-size:10px;border:1px solid var(--border);padding:4px 9px;border-radius:6px;color:var(--muted)}.message-preview-stage{border:1px solid var(--border);border-radius:14px;background:var(--inset);padding:20px;margin-bottom:18px}.message-preview-sender{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:700;margin-bottom:20px}.message-preview-sender small{font-weight:400;font-size:9px}.message-preview-sender .avatar{width:35px;height:38px}.message-preview-text{font:400 14px/2.2 var(--font-body);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--border);border-radius:12px 12px 3px 12px;padding:18px;margin:0 0 12px;min-height:100px;max-height:480px;overflow:auto}.message-preview-meta{font-size:9px;color:var(--muted)}.message-preview-card>.muted{font-size:11px}.message-default{border-top:1px solid var(--border);padding-top:14px}.message-default summary{font-size:11px;color:var(--muted);cursor:pointer;line-height:34px}.message-default pre{font:400 12px/2 var(--font-body);white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;background:var(--inset);border:1px solid var(--border);border-radius:9px}.message-reset-all,.text-settings-link{display:flex;align-items:center;justify-content:space-between;gap:20px}.message-reset-all h2,.text-settings-link h2{font-size:15px;margin-bottom:8px}.message-reset-all p,.text-settings-link p{margin:0;font-size:11px}.message-reset-all button{font-size:11px;white-space:nowrap}.text-settings-link>a{font-size:12px;flex-shrink:0}.message-default summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
@media(max-width:1180px){.message-picker{align-items:start;flex-direction:column}.message-picker-controls{width:100%;min-width:0}.message-editor-grid{grid-template-columns:1fr}.message-preview-card{max-width:none}.text-settings-link{flex-wrap:wrap}}
@media(max-width:580px){.message-picker{gap:20px}.message-picker .section-title h2{font-size:14px}.message-picker-controls{gap:8px}.message-picker-controls>a{padding-inline:10px;font-size:10px}.message-editor-card textarea{font-size:16px}.message-save-row{flex-direction:column;align-items:stretch}.message-save-row>button{width:100%}.message-reset-all{align-items:start;flex-direction:column;gap:12px}.message-reset-all button{white-space:normal}.message-preview-text{font-size:13px}.message-preview-stage{padding:16px}.message-reset-row button{width:100%;font-size:10px}.message-editor-grid{gap:0}}

/* Member directory: a quiet roster with a dedicated editing dialog. */
.people-directory{padding:0;overflow:hidden}.people-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px 20px}.people-heading h2{margin:0}.people-heading>.button{font-size:12px}.people-summary{display:flex;gap:24px;flex-wrap:wrap;align-items:center;padding:0 28px 24px;color:var(--muted);font-size:12px}.people-summary>span{display:inline-flex;align-items:center;gap:8px}.people-summary strong{font-size:19px;color:var(--ink)}.people-summary .icon{width:16px;height:16px;color:var(--brand)}
.people-filters{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(120px,1fr) minmax(160px,1fr) auto;gap:16px;align-items:start;background:var(--inset);border-block:1px solid var(--border);padding:22px 28px}.people-filters .field{margin:0}.people-filters .actions{margin:30px 0 0;gap:8px;flex-direction:column;align-items:stretch}.people-filters .people-clear{padding:0;font-size:10px;text-align:center}.people-filters .field small{font-size:11px}.people-result-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 28px 12px}.people-result-head h3{margin:0;font-size:13px}.people-result-head>span{font-size:11px}.people-table{margin:0;padding:0 28px}.people-table table{width:100%;table-layout:fixed}.people-table th{font-size:11px;background:var(--inset);font-weight:400}.people-table th:first-child{width:35%}.people-table th:nth-child(2){width:24%}.people-table th:last-child{width:244px}.people-table td{padding-block:22px;vertical-align:middle;font-size:12px;min-width:0;overflow-wrap:anywhere}.people-table tbody tr:hover{background:var(--inset)}.person-identity{display:flex;align-items:start;gap:13px}.person-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:46px;border:1px solid var(--border);border-radius:14px 14px 5px 14px;background:var(--accent);color:var(--brand);font-size:19px;font-weight:700}.person-identity strong{display:block;font-size:13px}.person-phone{display:block;text-align:right;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:4px}.person-verification{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:6px}.person-verification .icon{width:13px;height:13px;flex-shrink:0}.person-verification.verified{color:var(--success)}.person-team{display:block;font-weight:700;font-size:12px}.person-role{display:block;color:var(--muted);font-size:10px;margin-top:7px}.people-directory .badge{font-size:11px;padding:5px 11px}.person-inactive{background:var(--hover);color:var(--muted)}.person-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0;max-width:100%}.person-actions form{margin:0}.person-actions .button{font-size:11px;padding:9px 13px;white-space:nowrap}.person-actions .icon{width:16px;height:16px}.person-actions .person-deactivate{width:44px;height:44px;min-height:44px;padding:0;color:var(--danger);background:transparent}.person-actions .person-deactivate:hover{background:var(--danger-bg);border-color:var(--danger)}.people-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:20px 28px}.people-pagination>span{font-size:11px}.people-pagination nav{display:flex;gap:8px;padding:0}.people-pagination .button{font-size:11px}.people-empty{text-align:center;padding:38px 24px 48px;max-width:480px;margin:auto}.people-empty>.section-icon{margin:0 auto 15px}.people-empty h3{font-size:16px}.people-empty p{font-size:12px}.people-empty .button{font-size:12px;margin-top:10px}.people-footnote{display:flex;align-items:start;gap:8px;color:var(--muted);font-size:11px;margin:16px 6px}.people-footnote .icon{width:17px;height:17px;flex-shrink:0;margin-top:3px}
.member-dialog{width:min(620px,calc(100vw - 32px));max-width:620px;max-height:90dvh;padding:28px;scrollbar-gutter:stable}.member-modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.member-modal-head h2{margin:3px 0 0;font-size:21px}.member-close{width:42px;height:42px;min-height:42px;padding:0}.member-dialog #member-description{font-size:12px;margin:14px 0 24px}.member-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.member-access{padding:14px 18px;background:var(--inset)}.member-access legend{color:var(--ink);font-weight:700}.member-access .check{font-size:13px}.member-access p{font-size:11px;margin:0 28px 14px 0}.member-access p:last-child{margin-bottom:2px}.member-phone-note{display:flex;align-items:start;gap:8px;font-size:11px;color:var(--muted);margin-bottom:22px}.member-phone-note .icon{width:18px;height:18px;flex-shrink:0}.member-modal-footer{display:flex;align-items:center;gap:10px;padding-top:22px;border-top:1px solid var(--border)}.member-modal-footer button{font-size:12px}
@media(max-width:1180px) and (min-width:801px){.people-filters{grid-template-columns:1fr 1fr}.people-filters .actions{margin-top:30px;flex-direction:row}.people-table{overflow-x:auto}.people-table table{min-width:700px}}
@media(max-width:800px){.people-filters{grid-template-columns:1fr 1fr}.people-filters .actions{flex-direction:row;align-items:center}.people-filters .people-clear{padding:8px}.people-table table{table-layout:auto}.people-table th:last-child{width:auto}.person-actions{flex-wrap:wrap}}
@media(max-width:580px){.people-heading{padding:22px 18px 16px;gap:12px}.people-heading .section-icon{display:none}.people-heading h2{font-size:16px}.people-heading>.button{font-size:11px;padding-inline:12px;gap:5px}.people-heading>.button .icon{width:16px}.people-summary{padding:0 18px 18px;gap:10px 18px;font-size:11px}.people-summary>span:first-child{flex-basis:100%}.people-summary strong{font-size:18px}.people-filters{padding:18px;gap:14px}.people-filters>.field:first-of-type{grid-column:1/-1}.people-filters .field label{font-size:11px}.people-filters .actions{grid-column:1/-1;margin:0;flex-wrap:wrap}.people-filters input,.people-filters select{font-size:16px}.people-result-head{padding:20px 18px 8px}.people-pagination{padding:18px;align-items:start}.people-pagination nav{max-width:100%}.people-footnote{font-size:11px}.member-dialog{padding:22px 18px;max-height:90dvh}.member-fields{grid-template-columns:1fr;gap:0}.member-modal-head h2{font-size:19px}.member-modal-footer>button:first-child{flex:1}.member-dialog .field input,.member-dialog select{font-size:16px}.member-access{padding:10px 12px}.member-access .check{font-size:12px}}

/* Shared list navigation: stable five-row default, explicit page size. */
.list-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px 0;margin-top:12px;border-top:1px solid var(--border)}.people-directory>.list-pagination{padding:20px 28px;margin:0;border-top:0}.pagination-range{font-size:11px;color:var(--muted);white-space:nowrap}.pagination-pages{display:flex;align-items:center;gap:5px;flex-wrap:wrap;overflow:visible;padding:0}.pagination-pages .button{min-width:40px;min-height:40px;padding:7px 10px;font-size:11px;font-weight:400;border-radius:8px}.pagination-pages a[aria-current]{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.pagination-pages [aria-disabled]{opacity:.45;cursor:default;pointer-events:none}.pagination-gap{font-size:12px;color:var(--muted);padding:4px}.page-size-form{display:flex;align-items:center;gap:8px}.page-size-form label{font-size:10px;font-weight:400;color:var(--muted);margin:0;white-space:nowrap}.page-size-form select{width:65px;min-height:40px;padding:6px 8px;font-size:12px}.page-size-form button{font-size:10px;min-height:40px;padding:6px 10px}
.text-list{padding-bottom:0}.text-list>.section-head{margin-bottom:20px}.text-list .section-head p{font-size:12px;margin:8px 0 0}.text-list-search{display:flex;align-items:end;gap:12px;padding-bottom:24px}.text-list-search .field{flex:1;max-width:520px;margin:0}.text-list-search button{font-size:12px}.text-list-search>a{font-size:11px;padding:10px}.text-list-row{padding:24px 0;border-top:1px solid var(--border);scroll-margin-top:24px}.text-row-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.text-row-heading h3{font-size:15px;margin:4px 0 0}.text-row-heading .badge{flex-shrink:0}.text-list-row .field{margin-bottom:10px}.text-list-row textarea{min-height:100px;max-height:320px;overflow:auto;font-size:14px;line-height:2.1;resize:none}.text-list-row textarea[readonly]{background:var(--inset)}.text-row-help{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-top:6px;color:var(--muted);font-size:10px}.text-row-help small{font-size:10px;margin:0}.text-row-help>span{white-space:nowrap}.text-row-variables{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.text-row-variables>span{font-size:10px;color:var(--muted);margin-inline-end:4px}.text-row-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}.text-row-footer p{margin:0;font-size:11px;color:var(--muted);min-height:24px;overflow-wrap:anywhere}.text-row-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.text-row-actions button{font-size:11px;min-height:42px;padding:8px 15px;min-width:90px}.text-row-actions .text-reset{min-width:auto;font-weight:400;color:var(--muted)}.text-row-footer .text-row-success{color:var(--success)}.text-row-footer .text-row-error{color:var(--danger)}.text-list-row textarea[aria-invalid]{border-color:var(--danger)}
@media(min-width:801px){.panel aside{position:sticky;top:0;height:100dvh;align-self:start;min-width:0;overflow-y:auto;scrollbar-gutter:stable}.panel aside>.brand,.panel aside>.workspace,.panel aside>.nav-group,.panel aside>.aside-foot{flex-shrink:0}.panel aside .aside-foot{padding-top:28px}}
@media(max-width:580px){.list-pagination{justify-content:start;gap:16px}.pagination-pages{width:100%;order:2;gap:4px}.pagination-pages .button{min-width:36px;min-height:42px;padding:7px 9px;font-size:11px}.people-directory>.list-pagination{padding:18px}.page-size-form{margin-inline-start:auto}.page-size-form select{font-size:16px;min-height:42px}.text-list-search{flex-wrap:wrap;gap:10px}.text-list-search .field{flex-basis:100%;max-width:none}.text-list-search input,.text-list-row textarea{font-size:16px}.text-row-heading{gap:10px;align-items:start}.text-row-heading h3{font-size:14px}.text-row-heading .badge{font-size:9px}.text-row-footer{align-items:stretch;flex-direction:column;gap:10px}.text-row-actions{justify-content:end}.text-row-actions button{min-height:44px}.text-row-footer p{min-height:22px}.text-row-help{font-size:10px}.text-list .section-title h2{font-size:16px}.text-list>.section-head{gap:12px}}
html{scrollbar-gutter:stable}.text-list-total{white-space:nowrap;flex-shrink:0;font-size:10px;border:1px solid var(--border);padding:4px 9px;border-radius:6px;color:var(--muted)}

/* Use member cards when the sidebar leaves insufficient room for all table actions. */
@media(max-width:1050px){.people-table{padding:0 18px;overflow:visible;scrollbar-gutter:auto}.people-table table,.people-table tbody,.people-table tr,.people-table td{display:block;min-width:0;width:100%}.people-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.people-table tr{padding:18px 0;border-bottom:1px solid var(--border)}.people-table td{border:0;padding:8px 0}.people-table td:first-child{padding-top:0}.people-table td[data-label]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.people-table td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:11px;margin-inline-end:auto}.person-role{margin:0}.person-team{font-size:12px}.person-identity strong{font-size:14px}.person-identity{gap:12px}.person-phone{font-size:13px}.person-actions{justify-content:end;flex-wrap:wrap}.person-actions .button{flex:1 1 96px;font-size:12px}}
