/* Personal AI app approvals, using AgencyOS grouped settings surfaces. */
.cn-workspace{min-width:0;font:13px/1.6 var(--body);color:var(--ink)}
.cn-workspace :is(h3,h4),.cn-guide :is(h3,h4),.cn-revoke-confirm h3{font-family:var(--display);color:var(--ink)}
.cn-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 24px}
.cn-eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.6px;color:var(--muted);margin-bottom:7px}
.cn-intro h3{font-size:22px;line-height:1.3;font-weight:650;letter-spacing:-.5px;margin:0 0 10px}
.cn-intro p{color:var(--muted);max-width:650px;margin:0;font-size:13px;line-height:1.7}
.cn-access-label{display:inline-flex;align-items:center;gap:7px;flex:none;color:var(--muted);font-size:11px;margin-top:6px;white-space:nowrap}
.cn-availability{display:flex;align-items:flex-start;gap:13px;border-radius:18px;border:1px solid var(--line);background:var(--surface);padding:18px 20px;margin-bottom:20px}
.cn-availability>svg{flex:none;color:var(--muted);margin-top:3px}
.cn-availability>div{flex:1;min-width:0}
.cn-availability strong{display:block;font-size:13px;font-weight:600}
.cn-availability p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.65}
.cn-availability>span{font-size:10px;color:var(--muted);background:var(--surface-subtle);padding:4px 9px;border-radius:999px}
.cn-apps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cn-app-card{padding:24px;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);background:var(--surface);display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;row-gap:23px;min-width:0}
.cn-app-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--surface-subtle);color:var(--ink);flex:none}
.cn-app-mark>svg{width:25px;height:25px}
.cn-app-mark-claude{color:var(--muted)}
.cn-app-copy{min-width:0}
.cn-app-copy h4{font-size:18px;line-height:1.3;letter-spacing:-.3px;font-weight:650;margin:1px 0 7px}
.cn-app-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.65;max-width:360px}
.cn-app-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:19px;border-top:1px solid var(--line)}
.cn-app-bottom>span{font-size:11px;color:var(--muted)}
.cn-workspace .btn,.cn-guide .btn{min-height:40px;white-space:nowrap}
.cn-address{margin:22px 0;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:19px 20px;min-width:0}
.cn-address>label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}
.cn-address>div{display:flex;align-items:center;gap:10px;min-width:0}
.cn-address input{flex:1;min-width:0;width:0;background:var(--surface-subtle);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:12px/1.5 var(--body);color:var(--ink);min-height:42px}
.cn-address p{font-size:11px;line-height:1.55;color:var(--muted);margin:9px 0 0}
.cn-boundary{display:flex;align-items:flex-start;gap:11px;padding:20px 2px 25px}
.cn-boundary>svg{flex:none;color:var(--muted);margin-top:3px}
.cn-boundary p{color:var(--muted);font-size:12px;line-height:1.7;margin:0;max-width:800px}
.cn-boundary strong{color:var(--ink);font-weight:600}
.cn-approvals{border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--shadow);padding:24px;min-width:0}
.cn-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.cn-section-head h3{font-size:17px;line-height:1.4;font-weight:650;letter-spacing:-.25px;margin:0 0 5px}
.cn-section-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.cn-empty{padding:26px 20px;text-align:center;border-radius:16px;background:var(--surface-subtle);color:var(--muted);font-size:12px;line-height:1.7}
.cn-empty strong{color:var(--ink);font-weight:550}
.cn-empty p{margin:4px 0 12px}
.cn-empty p:last-child{margin-bottom:0}
.cn-grants{min-width:0}
.cn-grant{display:flex;align-items:flex-start;gap:13px;padding:19px 0;border-top:1px solid var(--line);min-width:0}
.cn-grant:first-child{border-top:0;padding-top:0}
.cn-grant:last-child{padding-bottom:0}
.cn-grant-mark{flex:none;display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:var(--surface-subtle);color:var(--muted)}
.cn-grant-body{flex:1;min-width:0}
.cn-grant-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cn-grant h4{font-size:14px;line-height:1.5;font-weight:600;margin:0;overflow-wrap:anywhere}
.cn-grant-body>p{color:var(--muted);font-size:11px;line-height:1.6;margin:4px 0 0;overflow-wrap:anywhere}
.cn-grant-body>small{display:block;font-size:10px;color:var(--muted);margin-top:9px}
.cn-grant-state{font-size:10px;line-height:1.5;padding:3px 8px;border-radius:999px;background:var(--surface-subtle);color:var(--muted)}
.cn-grant-state.is-active{color:var(--accent);background:var(--accent-soft)}
.cn-permissions{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.cn-permissions>span{font-size:10px;line-height:1.5;padding:3px 8px;border-radius:7px;background:var(--surface-subtle);color:var(--muted)}
.cn-grant .cn-revoke{color:var(--muted);flex:none;margin-top:1px}
.cn-grant .cn-revoke:hover{color:var(--ink)}
.cn-history{border-top:1px solid var(--line);margin-top:20px;padding-top:15px}
.cn-history>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:12px;color:var(--muted);min-height:34px}
.cn-history>summary::-webkit-details-marker{display:none}
.cn-history>summary>span{background:var(--surface-subtle);padding:1px 7px;border-radius:999px;font-size:10px}
.cn-history>summary>svg{margin-left:auto}
.cn-history[open]>.cn-grants{margin-top:16px}
.cn-footnote{font-size:11px;line-height:1.65;color:var(--muted);margin:14px 2px 0}
.cn-error{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:13px;background:var(--surface-subtle);padding:13px 15px;margin-bottom:17px}
.cn-error p{margin:0;font-size:12px;color:var(--ink)}
.cn-guide{font:13px/1.65 var(--body);color:var(--ink)}
.cn-guide-lead{font-size:14px;line-height:1.7;color:var(--muted);margin:17px 0 22px}
.cn-guide-unavailable{padding:15px 17px;border:1px solid var(--line);border-radius:15px;background:var(--surface-subtle);margin-bottom:24px}
.cn-guide-unavailable strong{font-size:12px;font-weight:600}
.cn-guide-unavailable p{margin:4px 0 0;font-size:12px;color:var(--muted)}
.cn-steps{counter-reset:connection-step;list-style:none;margin:0;padding:0;display:grid;gap:20px}
.cn-steps>li{counter-increment:connection-step;position:relative;padding-left:38px;min-height:29px}
.cn-steps>li:before{content:counter(connection-step);display:grid;place-items:center;position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:var(--surface-subtle);color:var(--muted);font-size:11px;font-weight:600}
.cn-steps strong{font-size:13px;font-weight:600}
.cn-steps p{margin:4px 0 0;font-size:12px;line-height:1.7;color:var(--muted)}
.cn-guide-link{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-size:12px;font-weight:550;min-height:44px;margin:17px 0 0;text-decoration:none}
.cn-guide-link:hover{text-decoration:underline}
.cn-guide-note{font-size:11px;line-height:1.7;color:var(--muted);padding-top:15px;border-top:1px solid var(--line);margin:12px 0 0}
.cn-guide-actions{display:flex;justify-content:flex-end;margin-top:22px}
.cn-revoke-confirm{font:13px/1.7 var(--body);color:var(--muted);padding-bottom:5px}
.cn-revoke-confirm>svg{color:var(--muted);margin-bottom:13px}
.cn-revoke-confirm h3{font-size:19px;font-weight:650;letter-spacing:-.3px;margin:0 0 10px;overflow-wrap:anywhere}
.cn-revoke-confirm p{font-size:13px;line-height:1.7;margin:0 0 13px}
.cn-revoke-confirm strong{color:var(--ink);font-weight:600}
.cn-workspace :is(button,input,summary,a):focus-visible,.cn-guide :is(button,input,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1050px){.cn-intro{display:block}.cn-access-label{margin-top:14px}.cn-app-card{padding:21px;column-gap:13px;grid-template-columns:42px minmax(0,1fr)}.cn-app-mark{width:42px;height:42px;border-radius:14px}.cn-app-bottom{align-items:flex-start;flex-direction:column;gap:11px}.cn-app-bottom .btn{width:100%}}
@media(max-width:600px){.cn-intro{margin-bottom:20px}.cn-intro h3{font-size:21px;max-width:290px}.cn-intro p{font-size:13px}.cn-availability{padding:16px;gap:11px}.cn-availability>span{display:none}.cn-apps{grid-template-columns:1fr;gap:14px}.cn-app-card{padding:21px;grid-template-columns:44px minmax(0,1fr);row-gap:19px}.cn-app-bottom{flex-direction:row;align-items:center;gap:10px;padding-top:16px}.cn-app-bottom .btn{width:auto}.cn-app-bottom>span{font-size:10px}.cn-app-copy h4{font-size:18px}.cn-app-copy p{font-size:12px}.cn-approvals{padding:19px}.cn-section-head{gap:12px}.cn-section-head h3{font-size:16px}.cn-section-head .btn{padding-left:9px;padding-right:9px;min-height:36px}.cn-section-head p{font-size:11px}.cn-empty{padding:23px 15px}.cn-grant{gap:11px;flex-wrap:wrap}.cn-grant-mark{width:34px;height:34px;border-radius:11px}.cn-grant .cn-revoke{margin-left:45px;margin-top:0;min-height:36px}.cn-grant-title{gap:6px}.cn-grant-body{flex-basis:calc(100% - 45px)}.cn-address{padding:17px;margin:18px 0}.cn-address>div{align-items:stretch;flex-direction:column}.cn-address input{width:100%;flex:auto;font-size:16px}.cn-address .btn{align-self:flex-start}.cn-boundary{padding:19px 1px 22px}.cn-error{flex-wrap:wrap;gap:8px}.cn-guide .cn-address{padding:15px}.cn-guide .cn-address input{font-size:16px}}
