.agents-page{min-height:100dvh}.agents-header{border-bottom:1px solid var(--line);align-items:center;gap:32px;max-width:1480px;margin:auto;padding:28px 42px;display:flex}.agents-header .brand{margin-right:10px}.agent-allowance{color:var(--muted);margin-left:auto;font-size:11px}.agents-main{max-width:1480px;margin:auto;padding:48px 42px 60px}.agents-heading{justify-content:space-between;align-items:center;gap:25px;margin-bottom:32px;display:flex}.agents-heading h1{font-family:var(--serif);margin:15px 0;font-size:clamp(42px,5vw,64px);line-height:1.05}.agents-heading p{max-width:660px;color:var(--muted);margin:0}.agents-heading>.button{flex-shrink:0}.team-layout{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:220px minmax(0,1fr);min-height:550px;display:grid;overflow:hidden}.team-list{background:var(--sidebar);border-right:1px solid var(--line);min-width:0;padding:24px 12px}.team-list h2{text-transform:uppercase;letter-spacing:1.4px;color:var(--muted);margin:0 12px 18px;font-size:10px;font-weight:600}.team-list>p{padding:10px}.team-list>button{text-align:left;border-radius:6px;align-items:center;gap:10px;width:100%;margin-bottom:4px;padding:13px 12px;display:flex}.team-list>button:hover,.team-list>button.selected{background:var(--accent-soft)}.team-list>button>span{text-overflow:ellipsis;min-width:0;font-size:12px;overflow:hidden}.team-list small{color:var(--muted);margin-top:4px;font-size:9px;display:block}.team-list svg{color:var(--muted);flex-shrink:0}.team-workspace{min-width:0}.agents-empty{text-align:center;max-width:600px;margin:55px auto;padding:35px}.agents-empty>svg{color:var(--accent);margin-bottom:25px}.agents-empty h2{font-family:var(--serif);margin-bottom:15px;font-size:37px}.agents-empty p{color:var(--muted);font-size:13px}.agents-empty .button{margin-top:12px}.team-loading{min-height:400px;color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.team-summary{border-bottom:1px solid var(--line);background:var(--canvas);justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 28px;display:flex}.team-summary>div:first-child{min-width:0}.team-summary h2{overflow-wrap:anywhere;margin:0 0 9px;font-size:23px}.team-summary p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;margin:0;font-size:12px;overflow:auto}.team-summary-actions{flex-shrink:0;gap:2px;display:flex}.agent-tabs{border-bottom:1px solid var(--line);gap:5px;padding:0 20px;display:flex;overflow:auto}.agent-tabs>button{white-space:nowrap;color:var(--muted);border-bottom:2px solid #0000;align-items:center;gap:8px;padding:17px 11px;font-size:11px;display:flex}.agent-tabs>button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}.agent-state{color:var(--muted);display:inline-flex}.agent-state.running,.agent-state.complete{color:var(--accent)}.agent-panel{min-width:0;padding:24px 28px 28px}.agent-panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:20px;display:flex}.agent-panel-heading>div{min-width:0}.agent-panel-heading h3{overflow-wrap:anywhere;margin:0 0 6px;font-size:16px}.agent-panel-heading p{color:var(--muted);overflow-wrap:anywhere;margin:0 0 6px;font-size:12px}.agent-panel-heading small{color:var(--muted);overflow-wrap:anywhere;font-size:10px}.agent-panel-heading small.agent-model{color:var(--ink);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12px;font-weight:500;display:inline-flex}.agent-panel-heading>.button{flex-shrink:0;min-height:38px;font-size:10px}.agent-output-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:180px;padding:25px 5px;display:flex}.agent-output-empty svg{color:var(--accent);margin-bottom:15px}.agent-output-empty p{margin-bottom:8px;font-size:12px}.agent-output-empty span{color:var(--muted);font-size:11px}.agent-messages{overscroll-behavior:contain;scrollbar-width:thin;min-height:160px;max-height:60dvh;padding:0 8px 0 0;overflow:auto}.agent-message{overflow-wrap:anywhere;border-bottom:1px solid var(--line);min-width:0;padding:23px 0}.agent-message:last-child{border-bottom:0}.agent-message>header{align-items:center;gap:12px;margin-bottom:13px;display:flex}.agent-message>header strong{font-size:11px}.agent-message>header span{color:var(--muted);margin-left:auto;font-size:9px}.agent-message>header .icon-button{width:28px;height:28px}.agent-message .user-content{max-width:100%;margin:0;font-size:12px}.agent-message .markdown{font-size:var(--chat-size)}.team-composer{background:var(--canvas);border-top:1px solid var(--line);padding:23px 28px}.team-composer>label{margin-bottom:10px;font-size:11px;font-weight:500;display:block}.team-composer>label span{color:var(--muted);margin-left:8px;font-size:9px;font-weight:400}.team-composer textarea{width:100%;min-height:90px;max-height:260px;font-size:13px;line-height:1.6;display:block}.team-composer>div{justify-content:space-between;align-items:center;gap:20px;margin-top:15px;display:flex}.team-composer p{color:var(--muted);max-width:490px;margin:0;font-size:9px}.team-composer .button{flex-shrink:0;font-size:10px}.agent-editors{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0;display:grid}.agent-editor{border:1px solid var(--line);border-radius:8px;min-width:0;margin:0;padding:15px}.agent-editor legend{text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:0 8px;font-size:9px}.agent-editor .stacked{margin-bottom:15px;font-size:10px}.agent-editor .stacked:last-child{margin-bottom:0}.agent-editor .stacked input,.agent-editor .stacked select,.agent-editor .stacked textarea{width:100%;padding:10px;font-size:12px}.agent-editor-title{align-items:center;gap:5px;display:flex}.agent-editor-title>label{flex:1;min-width:0}.agent-editor-title>button{flex-shrink:0}.agent-nav{color:var(--ink)}.agent-nav>svg:last-child{margin-left:auto}@media (max-width:1000px){.agents-header{padding:24px}.agents-main{padding:35px 24px}.team-layout{grid-template-columns:180px minmax(0,1fr)}.team-summary,.team-composer{padding:23px}.agent-panel{padding:22px}.team-composer>div{flex-direction:column-reverse;align-items:flex-start;gap:12px}}@media (max-width:767px){.agents-header{flex-wrap:wrap;gap:15px;padding:24px 20px}.agents-header>.inline-link{margin-left:auto;font-size:11px}.agent-allowance{width:100%;margin:0;font-size:9px}.agents-main{padding:30px 16px 40px}.agents-heading{flex-wrap:wrap;gap:20px;margin-bottom:25px}.agents-heading .eyebrow{font-size:7px}.agents-heading h1{margin:12px 0;font-size:44px}.agents-heading p{font-size:12px}.agents-heading>.button{min-height:42px}.team-layout{flex-direction:column;display:flex}.team-list{border-right:0;border-bottom:1px solid var(--line);align-items:center;gap:7px;padding:15px 12px;display:flex;overflow:auto}.team-list h2{display:none}.team-list>button{flex-shrink:0;width:auto;min-width:135px;max-width:210px;margin:0;padding:10px}.team-list>p{margin:0;font-size:10px}.team-summary{gap:8px;padding:20px 16px}.team-summary h2{font-size:21px}.team-summary p{max-height:120px;font-size:11px}.team-summary-actions{flex-direction:column}.team-summary-actions>.icon-button{width:32px;height:32px}.agent-tabs{gap:3px;padding:0 10px}.agent-tabs>button{padding:15px 10px;font-size:10px}.agent-panel{padding:20px 16px}.agent-panel-heading{flex-direction:column;gap:15px}.agent-panel-heading .button{min-height:40px}.agent-messages{max-height:55dvh;padding-right:3px}.agent-message>header{flex-wrap:wrap;gap:7px}.agent-message>header span{font-size:8px}.agent-message .markdown{font-size:14px}.team-composer{padding:20px 16px}.team-composer>label span{margin:5px 0 0;font-size:8px;display:block}.team-composer textarea{font-size:16px}.team-composer>div{width:100%}.team-composer .button{justify-content:center;width:100%;min-height:44px}.team-composer p{font-size:9px}.agents-empty{margin:35px auto;padding:20px}.agents-empty h2{font-size:32px}.agents-empty p{font-size:12px}.agent-editors{grid-template-columns:1fr;gap:15px}.agent-editor .stacked input,.agent-editor .stacked select,.agent-editor .stacked textarea{font-size:16px}}
