@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('/squared/assets/ibm-plex-sans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('/squared/assets/ibm-plex-sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/squared/assets/ibm-plex-sans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/squared/assets/ibm-plex-serif-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/squared/assets/ibm-plex-serif-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Minimal standalone adaptation of Persona's Orbital shell. See docs/ui-shell.md. */
:root{--bg:oklch(.954 .015 260.7);--ink:oklch(.223 .052 258.3);--muted:oklch(.457 .048 258.7);--navy:oklch(.241 .068 260.6);--primary:oklch(.488 .217 264.4);--line:oklch(.892 .022 259.2);--gold:oklch(.834 .141 85.4);--serif:'IBM Plex Serif',Georgia,serif;--sans:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-family:var(--sans);color:var(--ink);background:var(--bg);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--primary);text-decoration:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #7aa4ff;outline-offset:4px}button{color:inherit}sup{font-size:.6em;vertical-align:super;line-height:0;color:var(--gold);font-family:var(--sans);font-weight:600}h1,h2,p{margin:0}h1{font-family:var(--serif);font-weight:400;font-size:30px;letter-spacing:-.75px;line-height:1.2}h2{font-weight:600;font-size:17px;letter-spacing:-.25px}p{line-height:1.65}p+ p{margin-top:8px}[hidden]{display:none!important}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.skip{position:fixed;left:255px;top:-80px;z-index:10;background:white;padding:12px}.skip:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:var(--navy);color:#edf2fa;display:flex;flex-direction:column;z-index:5;padding:0 12px}.brand{height:83px;display:flex;align-items:center;gap:10px;color:inherit;padding:0 12px;font-family:var(--serif);font-size:25px;letter-spacing:-.8px;flex-shrink:0}.brand img{object-fit:contain}.brand small{font:9px var(--sans);letter-spacing:1.4px;margin:4px 0 0 auto;color:#9bb0d1;border:1px solid #ffffff26;padding:4px;border-radius:4px}.brand sup{margin-left:2px}.nav-scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent;flex:1}.search{display:flex;align-items:center;gap:9px;background:#ffffff08;border:1px solid #ffffff12;border-radius:7px;margin:3px 4px 25px;padding:10px 8px;color:#a5b3cc;font-size:12px;width:calc(100% - 8px);opacity:.5}.nav-section{margin:0 0 24px}.nav-section h2{text-transform:uppercase;letter-spacing:1.7px;font:10px ui-monospace,SFMono-Regular,monospace;color:#91a5c5;padding:0 12px;margin:0 0 10px}.nav-item{display:flex;align-items:center;gap:11px;min-height:39px;width:100%;padding:9px 12px;font-size:13px;background:none;border:0;border-radius:6px;text-align:left;color:#d4ddef;margin:2px 0}.nav-item svg,.search svg{width:17px;height:17px;flex-shrink:0;stroke-width:1.7}.nav-item sup{margin-left:-7px}.nav-item:not(:disabled):hover{background:#ffffff0c}.nav-item.active{background:oklch(.327 .086 261.1);color:white;box-shadow:inset 2px 0 0 #608eff}.nav-item:disabled{color:#9bacc6;opacity:.4}.soon{font:9px ui-monospace,SFMono-Regular,monospace;letter-spacing:.1px;margin-left:auto;border:1px solid currentColor;border-radius:4px;padding:2px 4px;font-weight:400;line-height:1}.nav-item.child{margin-left:26px;width:calc(100% - 26px);padding-left:12px;font-size:12px;min-height:32px}.nav-item.child svg{width:14px;height:14px}.sidebar-footer{border-top:1px solid #ffffff14;padding:10px 0 max(16px,env(safe-area-inset-bottom));margin-top:8px}.account{display:flex;gap:10px;align-items:center;margin:14px 5px 0}.avatar{width:32px;height:32px;border-radius:50%;background:#dae5fb;color:#244991;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex-shrink:0}.account>div{min-width:0;flex:1}.account strong{display:block;font-size:12px;font-weight:500}.account small{display:block;font-size:10px;color:#91a5c5;max-width:145px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-top:3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:inherit;width:30px;height:32px;border-radius:5px;padding:5px}.icon-button:hover{background:#ffffff12}.icon-button svg{width:18px;height:18px}.workspace{position:relative;margin-left:240px;min-height:100dvh;display:flex;flex-direction:column}#menu{display:none}main#main{width:100%;max-width:1190px;margin:0 auto;flex:1;padding:40px 40px 24px;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.eyebrow{text-transform:uppercase;font:10px ui-monospace,SFMono-Regular,monospace;letter-spacing:1.8px;color:var(--muted);margin-bottom:11px}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:10px;font-size:14px}.button{min-height:39px;padding:10px 15px;border-radius:6px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:12px;font-weight:500;white-space:nowrap;line-height:1.3}.button.primary{background:var(--primary);color:white;box-shadow:0 1px 2px #12254515}.button.primary:hover{background:oklch(.448 .217 264.4)}.button.secondary{border-color:var(--line);background:white;color:var(--ink)}.button.secondary:hover{background:#f7f9ff}.button:disabled{opacity:.5}.card{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 3px #1b346004}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 25px;border-bottom:1px solid var(--line)}.persona-heading{display:flex;align-items:center;gap:12px}.avatar.large{width:40px;height:40px;font-size:13px}.persona-heading h2{font-size:18px}.subtle{color:var(--muted);font-size:12px;line-height:1.7}.persona-heading .subtle{font-size:11px;margin-top:4px}.badge{font-size:10px;letter-spacing:.2px;color:#61718c;background:#f1f4fa;border:1px solid #e1e7f0;padding:5px 9px;border-radius:4px;white-space:nowrap}.badge.connected{color:#347054;background:#eff7f1;border-color:#d8e9dd}.chat{min-height:260px;max-height:50dvh;overflow:auto;padding:15px 25px;scrollbar-width:thin}.empty-chat{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:230px;text-align:center;gap:10px;color:var(--muted)}.empty-chat .tile-icon{margin-bottom:4px}.empty-chat h3{font-family:var(--serif);font-weight:400;font-size:23px;color:var(--ink);margin:0}.empty-chat p{max-width:330px;font-size:12px}.message{max-width:90%;width:fit-content;margin:14px 0;padding:13px 16px;background:#f3f6fc;border:1px solid #e7ecf6;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px}.message.user{margin-left:auto;background:#edf2ff;border-color:#dce5fd}.message strong{font-size:10px;display:block;margin-bottom:5px;color:var(--muted);font-weight:500}.conversation-card form{padding:10px 25px 20px}.composer{display:flex;border:1px solid #c4cfe3;align-items:flex-end;border-radius:8px;padding:10px;gap:12px;box-shadow:0 1px 3px #1b346008}.composer:focus-within{outline:2px solid #9fb9f2;outline-offset:1px}.composer textarea{padding:4px 3px;flex:1;width:100%;resize:vertical;min-height:54px;max-height:200px;border:0;background:transparent;outline:none!important;font-size:13px;line-height:1.6;color:var(--ink)}.composer textarea::placeholder{color:#8792a7}.composer-note{font-size:10px;color:#8590a3;text-align:center;margin-top:10px}.error{font-size:12px;color:#a63f37;line-height:1.6}.error:empty{display:none}.conversation-card>.error{padding:0 25px 20px}.source-shortcut{margin-top:20px;padding:19px 23px;display:flex;align-items:center;gap:15px;color:var(--ink)}.source-shortcut h2{font-size:13px}.source-shortcut p{font-size:12px;color:var(--muted);margin-top:5px}.source-shortcut>span:last-child{margin-left:auto;color:var(--muted)}.shortcut-icon,.tile-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;color:#5272b1;border-radius:7px;background:#f0f4fd;flex-shrink:0}.shortcut-icon svg,.tile-icon svg{width:19px;height:19px;stroke-width:1.6}.profile-card{display:flex;align-items:center;gap:22px;padding:28px}.profile-avatar{width:72px;height:72px;font:26px var(--serif)}.profile-card h2{font:29px var(--serif);letter-spacing:-.6px;margin-bottom:7px}.profile-card .eyebrow{font-size:9px;margin-bottom:7px}.profile-card .badge{margin-left:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.detail-grid .card{padding:25px}.detail-grid h2{margin:18px 0 9px}.detail-grid p{font-size:13px;color:var(--muted);margin-bottom:20px}.inline-note{border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:11px;line-height:1.8}.runtime-card{padding:24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px}.runtime-card p{color:var(--muted);font-size:12px;margin-top:7px}#dashboard-result:empty{display:none}#dashboard-result{flex-basis:100%;overflow-wrap:anywhere}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-top:-5px;margin-bottom:29px;overflow-x:auto}.tabs>a,.tabs>button{display:flex;gap:7px;align-items:center;white-space:nowrap;padding:0 0 14px;color:var(--muted);font-size:12px;border:0;background:none}.tabs>button:disabled{opacity:.4}.tabs>a{color:var(--primary);border-bottom:2px solid var(--primary);font-weight:500}.tabs .soon{font-size:8px}.section-heading{margin-bottom:20px}.section-heading p{color:var(--muted);font-size:13px;margin-top:7px}.connection-card{max-width:800px}.connection-heading{display:flex;align-items:center;gap:15px;padding:25px}.connection-heading h2{font-size:18px}.connection-heading p{font-size:12px;color:var(--muted);margin-top:5px}.google-mark{width:43px;height:43px;display:grid;place-items:center;font:bold 27px Arial,sans-serif;color:#4285f4;border:1px solid #e2e7f0;border-radius:8px}.connection-heading>.badge{margin-left:auto}.connection-body{padding:0 25px 24px}.connection-body>p:first-child{font-size:13px;color:var(--muted)}.scope-tags{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 23px}.scope-tags span{font-size:10px;border:1px solid var(--line);padding:4px 8px;border-radius:4px;color:var(--muted)}.scope-tags .read-only{background:#f5f7fc;border-color:transparent}.connection-status{font-size:13px;font-weight:500}.connection-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fbfcff;border-radius:0 0 10px 10px;border-top:1px solid var(--line);padding:18px 25px}.connection-footer>.subtle{font-size:10px}.actions{display:flex;gap:9px}.notice{padding:12px 16px;border:1px solid #cfdcf5;background:#f1f6ff;border-radius:6px;color:#344d7a;font-size:12px;margin-bottom:24px}.login-page,.callback{min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:radial-gradient(ellipse at top right,#dde7fa,transparent 60%),var(--bg)}.login-card{max-width:490px;width:100%;padding:40px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 50px #152d5910}.login-card .brand{height:auto;padding:0;margin-bottom:45px;font-size:30px}.login-card h1{font-size:35px;margin-bottom:19px}.login-card>p:not(.eyebrow):not(.error){color:var(--muted);font-size:13px;margin-bottom:25px}.login-card>.button{width:100%;margin-bottom:20px}.login-card>.error{margin-bottom:15px}.callback .login-card a{display:inline-block;margin-top:20px}.scrim{position:fixed;inset:0;border:0;background:#06132d66;z-index:4}
@media(min-width:1500px){main#main{padding-top:48px}.chat{min-height:340px}}
@media(max-width:1050px){main#main{padding:30px 26px}.page-heading h1{font-size:32px}.badge{font-size:9px}.card-heading{padding:20px}.connection-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .18s ease-out}.sidebar.open{transform:none}.workspace{margin-left:0}#menu{display:inline-flex;position:absolute;top:20px;right:18px;width:40px;height:40px;z-index:3;background:white;border:1px solid var(--line);border-radius:8px}.page-heading>div{padding-right:48px}main#main{padding:28px 18px 20px}.page-heading{align-items:flex-start;gap:14px;margin-bottom:24px}.page-heading h1{font-size:30px}.page-heading>.button{display:none}.page-heading p:not(.eyebrow){font-size:12px}.eyebrow{font-size:9px}.card-heading{padding:18px 16px}.card-heading .badge{display:none}.chat{padding:10px 16px;max-height:50dvh}.conversation-card form{padding:8px 14px 15px}.composer{gap:7px;padding:8px}.composer .button{padding:10px;gap:9px}.composer-note{font-size:9px}.source-shortcut{padding:18px 16px}.source-shortcut p{font-size:11px}.source-shortcut h2{font-size:12px}.profile-card{gap:15px;padding:22px 18px;flex-wrap:wrap}.profile-card .badge{margin-left:0}.detail-grid{grid-template-columns:1fr;gap:16px}.detail-grid .card{padding:22px}.runtime-card{padding:22px}.tabs{gap:22px}.connection-heading{padding:20px 18px;gap:12px;flex-wrap:wrap}.connection-heading>.badge{margin-left:55px}.connection-body{padding:0 18px 20px}.connection-footer{padding:18px}.connection-heading p{font-size:11px}.connection-footer .actions{width:100%;flex-wrap:wrap}.login-card{padding:30px 25px}.login-card h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Personalization and media settings */
.settings-editors{display:grid;gap:20px;margin:20px 0}.settings-form{padding:24px;margin-bottom:20px}.settings-form h3,.pending-settings h3{font:600 15px var(--sans);margin:0 0 15px}.settings-form>label:not(.sr-only){display:block;font-size:12px;font-weight:500;margin:16px 0 7px}.settings-form>input,.settings-form>textarea,.settings-form select{width:100%;border:1px solid #c4cfe3;background:white;border-radius:6px;padding:11px 12px;color:var(--ink);font-size:13px;line-height:1.6}.settings-form>textarea{resize:vertical}.settings-form>textarea:disabled{background:#f6f8fc}.settings-form .section-heading p{font-size:12px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:17px}.save-status{font-size:12px;line-height:1.7;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}.save-status:empty{display:none}.save-status.failed{color:#a63f37}#reload-settings{margin-bottom:22px}.appearance-layout{display:grid;grid-template-columns:160px minmax(0,1fr);gap:28px}.secondary-nav{display:flex;flex-direction:column;gap:5px;align-self:start;border-right:1px solid var(--line);padding-right:14px}.secondary-nav a{padding:11px 12px;border-radius:6px;color:var(--muted);font-size:12px}.secondary-nav a[aria-current]{color:var(--primary);background:#dce6fb;font-weight:500}.mobile-section-select{display:none}.appearance-content{min-width:0}.editable-profile{padding:25px;display:flex;gap:25px;align-items:center;margin-bottom:20px}.photo-wrap{display:flex;align-items:center;flex-direction:column;gap:10px;flex-shrink:0}.photo-wrap .subtle{font-size:9px}.photo-label{font-size:10px;cursor:pointer}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.card-preview h2{font:25px var(--serif);margin-bottom:10px;overflow-wrap:anywhere}.card-preview p{font-size:13px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.voice-mode{display:flex;gap:20px;border:0;padding:14px 0;margin:0}.voice-mode label{font-size:12px;display:flex;align-items:center;gap:7px}.settings-form .actions{margin-top:16px;flex-wrap:wrap}.voice-tuning{border-top:1px solid var(--line);margin-top:20px;padding-top:6px}.tuning-row{display:grid;grid-template-columns:1fr 45px;gap:4px 12px;margin-top:17px}.tuning-row label{font-size:12px}.tuning-row output{font-size:11px;text-align:right;color:var(--muted)}.tuning-row input{grid-column:1/-1;width:100%;accent-color:var(--primary)}.consent{font-size:11px!important;font-weight:400!important;line-height:1.8;display:flex!important;align-items:flex-start;gap:8px}.consent input{margin-top:4px;flex-shrink:0}.settings-form audio[controls]{width:100%;margin-top:14px;max-height:40px}.replica-stage{width:100%;aspect-ratio:16/10;max-height:380px;background:#111f38;border-radius:8px;color:#b7c7e1;display:grid;place-items:center;overflow:hidden;position:relative;margin-bottom:17px}.replica-stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.replica-stage>div{text-align:center;padding:20px;font-size:13px}.replica-stage audio{display:none}.settings-form .inline-note{margin-top:24px}.pending-settings{padding:20px}.pending-settings p{font-size:12px;color:var(--muted)}.pending-settings button{margin-top:10px}
@media(max-width:1100px){.appearance-layout{grid-template-columns:130px minmax(0,1fr);gap:20px}.form-footer{align-items:flex-start;flex-direction:column}.editable-profile{flex-direction:column;align-items:flex-start}.card-preview h2{font-size:23px}}
@media(max-width:760px){.appearance-layout{display:block}.secondary-nav{display:none}.mobile-section-select{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:24px}.mobile-section-select select{flex:1;border:1px solid var(--line);border-radius:6px;padding:10px;background:white;color:var(--ink)}.settings-form{padding:19px 17px}.settings-form>textarea{font-size:16px}.editable-profile{flex-direction:row;align-items:center;padding:19px 17px;gap:17px}.card-preview h2{font-size:22px}.card-preview p{font-size:12px}.photo-wrap .profile-avatar{width:60px;height:60px}.photo-wrap .subtle{display:none}.photo-label{padding:8px;min-height:32px}.voice-mode{gap:15px}.replica-stage{aspect-ratio:1}}
.conflict-box{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.conflict-box summary{font-size:12px;cursor:pointer}.conflict-box pre{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;padding:12px;background:#f5f7fc;border-radius:6px}.voice-tuning input[type=range]{min-height:28px}

/* Ported from globals.css .light/.app-canvas and Sidebar/NavLink/ProfileCard
   at f732b95415375ca6969ba41ae5ff3adaa230a1f6. Keep the original orbit artwork. */
:root{  --page-wash: radial-gradient(1100px 640px at 82% -10%, oklch(0.856 0.071 287 / 0.85) 0, transparent 62%),
    radial-gradient(900px 600px at 4% 110%, oklch(0.904 0.052 231 / 0.85) 0, transparent 62%);
  /* Planet centres lie on the ellipses and share their rotation. */
  --page-orbit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='640' viewBox='0 0 1000 640'%3E%3Cg fill='none' stroke='%232563eb' stroke-width='1.25' transform='rotate(-10 720 60)'%3E%3Cellipse cx='720' cy='60' rx='117' ry='73' stroke-opacity='.30'/%3E%3Cellipse cx='720' cy='60' rx='195' ry='121' stroke-opacity='.25'/%3E%3Cellipse cx='720' cy='60' rx='286' ry='177' stroke-opacity='.20'/%3E%3Cellipse cx='720' cy='60' rx='390' ry='242' stroke-opacity='.15'/%3E%3Cellipse cx='720' cy='60' rx='507' ry='314' stroke-opacity='.11'/%3E%3Cellipse cx='720' cy='60' rx='637' ry='395' stroke-opacity='.07'/%3E%3C/g%3E%3Cg fill='%232563eb' transform='rotate(-10 720 60)'%3E%3Ccircle cx='774.444' cy='124.615' r='4' fill-opacity='.7'/%3E%3Ccircle cx='559.591' cy='128.802' r='3.6' fill-opacity='.55'/%3E%3Ccircle cx='946.961' cy='256.800' r='3.2' fill-opacity='.45'/%3E%3Ccircle cx='436.270' cy='37.744' r='2.8' fill-opacity='.35'/%3E%3C/g%3E%3C/svg%3E");}
.workspace{background-color:var(--bg);background-image:var(--page-orbit),var(--page-wash);background-repeat:no-repeat,no-repeat,no-repeat;background-position:right -80px top -40px,0 0,0 0;background-size:1000px auto,100% 100%,100% 100%;background-attachment:local,scroll,scroll}
.page-heading .eyebrow{display:none}.page-heading p:not(.eyebrow){font-size:14px;margin-top:4px}.appearance-content>.section-heading h2,.appearance-content>section>.section-heading h2{font:400 20px var(--serif);letter-spacing:-.5px}.section-heading p{font-size:14px;line-height:1.5}.page-heading{margin-bottom:36px}
.editable-profile{display:flex;flex-direction:row;align-items:flex-start;gap:16px;padding:16px;border-radius:8px;margin-bottom:0}.photo-wrap{position:relative;display:block}.photo-trigger{position:relative;display:block;padding:0;border:0;border-radius:8px;background:none}.photo-wrap .profile-avatar{width:64px;height:64px;border-radius:8px;font:25px var(--serif)}.photo-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:5px;border-radius:8px;background:#0e1c328c;color:white;font-size:10px;font-weight:500;opacity:0;transition:opacity .15s}.photo-trigger:hover .photo-overlay,.photo-trigger:focus-visible .photo-overlay{opacity:1}.camera-badge{position:absolute;bottom:-2px;right:-2px;display:grid;place-items:center;width:24px;height:24px;background:var(--primary);border:2px solid white;border-radius:50%;color:white}.camera-badge svg{width:13px;height:13px}.photo-menu{position:absolute;left:0;top:calc(100% + 8px);width:176px;padding:4px 0;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 18px #1225451f;z-index:3}.photo-menu button{display:block;width:100%;padding:9px 12px;border:0;background:none;text-align:left;font-size:13px}.photo-menu button:hover,.photo-menu button:focus-visible{background:#f0f3fa}.photo-menu #remove-photo{color:#a63f37}.inline-profile-form{min-width:0;flex:1}.profile-name-row{display:flex;align-items:center;gap:2px;min-height:30px}.inline-edit{display:block;border:0;border-radius:6px;background:none;text-align:left;padding:2px 4px;margin-left:-4px;transition:background .15s;color:var(--ink)}.inline-edit:hover,.inline-edit:focus-visible{background:oklch(.962 .011 256.7)}.profile-name-display{font:400 20px var(--serif);letter-spacing:-.5px;line-height:1.4}.profile-name-display sup{margin-left:2px}.profile-bio-display{margin-top:4px;width:calc(100% + 4px);font-size:14px;line-height:1.5;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;min-height:28px}#profile-name{max-width:100%;width:220px;font:20px var(--serif);letter-spacing:-.5px;padding:3px 8px;border:1px solid #9fb6e3;border-radius:6px;color:var(--ink);background:white}#profile-bio{display:block;width:100%;margin-top:6px;padding:7px 10px;font:14px/1.5 var(--sans);border:1px solid #9fb6e3;border-radius:6px;resize:vertical;color:var(--ink);background:white}.inline-edit-hint{color:var(--muted);font-size:10px;margin-top:5px}.inline-profile-form #profile-retry{margin-top:8px}#profile-status{min-height:18px;margin:8px 4px 0}#profile-status:empty{display:block}#photo-dialog{max-width:min(448px,calc(100vw - 32px));width:448px;border:1px solid var(--line);border-radius:12px;padding:24px;color:var(--ink);box-shadow:0 18px 52px #12254538}#photo-dialog::backdrop{background:#0006}#photo-dialog h2{font:24px var(--serif);margin-bottom:8px}#photo-dialog p{font-size:12px;color:var(--muted)}#photo-dialog .error{color:#a63f37;margin-top:12px}#photo-crop{display:block;width:100%;height:auto;margin:18px 0;border-radius:8px;touch-action:none;cursor:grab}#photo-crop:active{cursor:grabbing}#photo-zoom{width:100%;accent-color:var(--primary);min-height:32px}#photo-dialog label{font-size:12px}#photo-dialog .actions{justify-content:flex-end;margin-top:16px}
@media(max-width:760px){.page-heading h1{font-size:28px}.page-heading p:not(.eyebrow){font-size:13px}.page-heading{margin-bottom:28px}.appearance-content>section>.section-heading h2{font-size:20px}.section-heading p{font-size:13px}.editable-profile{gap:16px;padding:16px}.photo-wrap .profile-avatar{width:64px;height:64px}.profile-name-display{font-size:20px}.profile-bio-display{font-size:14px}#profile-name,#profile-bio{font-size:16px}}
/* Chat workspace: adapted from the original ChatComposer, ChatMessages and ChatTopBar. */
body.on-chat{background:white}.on-chat #main{padding:0;max-width:none;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.on-chat .workspace{background:white;min-height:100dvh}.on-chat #notice{flex-shrink:0;margin:8px 20px}.chat-workspace{display:flex;flex-direction:column;min-height:0;flex:1;background:white}.chat-topbar{height:58px;min-height:58px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:8px 24px;font-size:16px}.chat-topbar .chat-face{width:32px;height:32px;border-radius:10px}.chat-topbar strong{white-space:nowrap}.chat-divider{color:#96a4bd}.chat-topbar #new-chat{background:#edf2fc;border:1px dashed var(--line);border-radius:12px}.chat-topbar #chat-title-button{min-width:0;max-width:65%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;border:0;background:none;font-size:16px;text-align:left;padding:8px 0}.chat-topbar #chat-title-button:not(:disabled):after{content:'⌄';margin-left:12px;color:var(--muted)}.chat-topbar #chat-title-button:disabled{opacity:1}.chat-icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:white;padding:7px}.chat-icon svg,.chat-send svg{width:20px;height:20px;stroke-width:1.8}.chat-icon:hover:not(:disabled){background:#edf2fc}.chat-icon:disabled{opacity:.4}.chat-icon[aria-pressed=false]#auto-audio,.chat-icon[aria-pressed=false]#auto-video{color:var(--muted);background:linear-gradient(45deg,transparent 47%,#526582 48%,#526582 51%,transparent 52%)}.chat-icon[aria-pressed=true]{background:#e1eaff;color:#2058d5}.chat-icon.recording{color:#c22e35;background:#fff0f0}.chat-transcript{flex:1;min-height:0;overflow-y:auto;scrollbar-gutter:stable;padding:28px max(28px,calc((100% - 900px)/2)) 16px;scroll-behavior:smooth;overflow-wrap:anywhere}.chat-message{display:flex;gap:14px;margin:0 0 30px;line-height:1.6;font-size:16px}.chat-face{width:42px;height:42px;flex-shrink:0;border-radius:12px;font-size:18px}.chat-face img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.message-column{min-width:0;flex:1}.message-heading{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:14px;min-height:26px}.message-heading strong{font-weight:600}.message-heading time{font-size:12px;color:var(--muted);white-space:nowrap}.message-actions{margin-left:auto;display:flex;gap:2px}.message-actions .chat-icon{width:26px;height:26px;padding:5px;border:0;background:none;color:var(--muted)}.message-actions .chat-icon svg{width:16px;height:16px}.message-actions .chat-icon:hover{background:#edf2fc}.message-body{min-width:0;line-height:1.65}.message-body p{line-height:inherit;margin:0 0 12px}.message-body p:last-child{margin:0}.message-body h1,.message-body h2,.message-body h3,.message-body h4{font-family:var(--sans);font-size:1.1em;margin:16px 0 8px;letter-spacing:normal;font-weight:600}.message-body pre{max-width:100%;overflow:auto;border:1px solid var(--line);background:#f5f7fb;padding:14px;border-radius:8px;font-size:12px;line-height:1.55}.message-body :not(pre)>code{font-size:.85em;background:#edf2fc;padding:2px 5px;border-radius:4px}.message-body table{display:block;overflow:auto;border-collapse:collapse;font-size:14px;margin:12px 0}.message-body th,.message-body td{border:1px solid var(--line);padding:8px 12px}.message-body blockquote{border-left:3px solid var(--line);margin:12px 0;padding-left:15px;color:var(--muted)}.message-body ul,.message-body ol{padding-left:24px}.message-media:empty{display:none}.message-media{margin-top:14px}.message-media audio{max-width:100%}.message-files{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.message-files a{border:1px solid var(--line);padding:5px 10px;border-radius:8px;font-size:12px}.chat-empty{display:flex;min-height:100%;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--muted);padding:28px}.chat-empty h1{color:var(--ink);font-size:30px;margin-bottom:12px}.reply-status{padding:0 56px 20px;color:var(--muted)}.chat-bottom{flex-shrink:0;padding:0 max(24px,calc((100% - 940px)/2)) max(16px,env(safe-area-inset-bottom));background:white}.chat-bottom #chat-error{font-size:12px;line-height:1.5;margin:0 10px 6px;max-height:80px;overflow:auto}.chat-bottom #chat-error:empty{display:none}.chat-composer{border:1px solid var(--line);box-shadow:0 2px 4px #0f172a20;border-radius:20px;padding:14px 14px 10px;background:white}.chat-composer.dragover{outline:3px solid #7aa4ff}.chat-composer textarea{display:block;width:100%;min-height:55px;max-height:180px;resize:none;border:0;box-shadow:none;background:none;font:16px/1.5 var(--sans);padding:0 4px 10px;color:var(--ink)}.chat-composer textarea:focus-visible{outline:0}.chat-composer:focus-within{border-color:#9bb2e6}.chat-composer textarea::placeholder{color:#8a94a6}.composer-toolbar{display:flex;align-items:center;gap:8px}.composer-hints{font-size:10px;color:var(--muted)}.composer-hints kbd{background:#eef3fb;border:1px solid var(--line);border-radius:4px;padding:1px 4px;font:10px var(--sans)}.composer-options{margin-left:auto;display:flex;align-items:center;gap:6px}.chat-send{display:grid;place-items:center;flex-shrink:0;border:0;border-radius:50%;background:#2563eb;color:white;width:44px;height:44px;padding:9px}.chat-send:disabled{background:#94a7eb;cursor:default}.chat-send svg{width:24px;height:24px}.microphone-control{display:flex;position:relative}.microphone-control #dictate{border-radius:9px 0 0 9px}.microphone-control #microphones{border-left:0;border-radius:0 9px 9px 0;width:28px;padding:5px}.microphone-menu{position:absolute;bottom:calc(100% + 10px);right:0;min-width:230px;max-width:80vw;padding:8px;background:white;box-shadow:0 4px 24px #15264630;border:1px solid var(--line);border-radius:10px;z-index:4}.microphone-menu strong{display:block;padding:8px;font-size:12px}.microphone-menu button{display:block;width:100%;border:0;background:white;padding:10px;text-align:left;border-radius:5px;font-size:12px}.microphone-menu button[aria-checked=true]{background:#e8efff}.dictation-panel{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:8px 4px;color:var(--muted)}.dictation-panel canvas{width:120px;height:24px}.dictation-panel button{border:0;border-radius:6px;padding:6px 10px;background:#edf2fc}.draft-files{display:flex;flex-wrap:wrap;gap:6px}.attachment-chip{display:flex;align-items:center;gap:4px;background:#f0f4fc;border:1px solid var(--line);border-radius:8px;max-width:100%;padding:3px 5px;margin-bottom:10px;font-size:11px}.attachment-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.attachment-chip .chat-icon{width:24px;height:24px;border:0;background:none;padding:5px}#editing-message{padding:8px;font-size:11px;color:var(--muted)}#editing-message button{margin-left:8px;background:none;border:0;color:var(--primary)}.recent-section h2{padding:8px}.recent-chat{min-width:0}.recent-chat>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-chat svg{width:16px;height:16px}.chat-avatar-stage{max-width:320px;background:#101b30;color:white;border-radius:14px;overflow:hidden;position:relative}.chat-avatar-stage video{display:block;width:100%;max-height:340px;object-fit:cover}.chat-avatar-stage span{font-size:10px;padding:8px;display:inline-block}.chat-avatar-stage button{float:right;margin:4px;font-size:11px;padding:5px}.chat-avatar-stage audio{display:none}#rename-chat{border:1px solid var(--line);border-radius:14px;max-width:calc(100vw - 32px);width:360px;padding:24px;color:var(--ink)}#rename-chat::backdrop{background:#10203b55}#rename-title{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;margin:18px 0}#rename-chat .actions{justify-content:flex-end}.on-chat .mobile-menu{z-index:3}
@media(max-width:1150px){.composer-hints{display:none}.chat-transcript{padding:24px}.chat-bottom{padding-left:20px;padding-right:20px}}
@media(max-width:760px){.chat-topbar{padding:8px 14px 8px 54px;gap:8px;height:60px;min-height:60px;font-size:14px}.chat-topbar #chat-header-avatar{display:none}.chat-topbar #chat-title-button{font-size:14px;max-width:45%}.chat-transcript{padding:20px 14px 8px}.chat-message{gap:10px;font-size:15px;margin-bottom:24px}.chat-face{width:28px;height:28px;border-radius:8px;font-size:13px}.message-heading{font-size:12px;gap:6px;flex-wrap:wrap}.message-heading time{font-size:10px}.message-actions{gap:0}.message-actions .chat-icon{width:25px;height:25px}.chat-message.user{margin-left:16%;padding:12px;background:#f0f4fc;border-radius:14px}.chat-message.user>.chat-face{display:none}.chat-bottom{padding:0 10px max(10px,env(safe-area-inset-bottom))}.chat-composer{border-radius:16px;padding:12px 10px 8px}.chat-composer textarea{font-size:16px;min-height:45px}.composer-options{gap:5px}.chat-icon{width:34px;height:34px}.chat-send{width:38px;height:38px}.chat-empty h1{font-size:26px}.chat-avatar-stage{max-width:260px}.on-chat .mobile-menu{top:13px}.message-body table{font-size:12px}.reply-status{padding-left:38px}}
.microphone-menu meter{display:block;width:calc(100% - 16px);height:12px;margin:8px}.microphone-menu button:focus-visible{outline-offset:0}
#restore-chat-draft{font-size:11px;margin:0 8px 8px;padding:5px 10px}@media(max-width:760px){.on-chat .mobile-menu{left:12px;right:auto}}
/* Contacts: adapted from the original ContactsPage's compact persona rows. */
.contact-search{max-width:38rem;margin:0 0 1.5rem}.contact-search>label{display:block;margin-bottom:.6rem;font-weight:500}.contact-search input{min-width:0;flex:1}.contact-section{margin:2rem 0}.contact-section h2{margin-bottom:1rem}.contact-row{display:flex;align-items:center;gap:.9rem;border:1px solid var(--border,#d4deed);background:white;border-radius:12px;padding:1rem;margin:.65rem 0;box-shadow:0 1px 2px #10203a06}.contact-copy{min-width:0;flex:1}.contact-copy p{margin:.35rem 0 0;overflow-wrap:anywhere}.contact-row .avatar{flex-shrink:0;width:44px;height:44px}.contact-empty{border:1px dashed #cbd5e1;border-radius:12px;text-align:center;padding:2rem}.contact-room-link{display:block;padding:.8rem 0;border-bottom:1px solid #d4deed}.room-roster{display:flex;flex-wrap:wrap;gap:.6rem;padding:.55rem 1.5rem;border-bottom:1px solid #d4deed;background:white;font-size:.85rem}.room-person{display:inline-flex;align-items:center;gap:.3rem}.room-presence{height:7px;width:7px;border-radius:50%;background:#9ca8bb}.room-presence.present{background:#4e866b}.room-context{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:.6rem;font-size:.85rem}.room-notice{margin:0;color:#53647e}.chat-message .quoted-message{border-left:2px solid #cbd5e1;padding:.4rem .65rem;color:#64748b;font-size:.85rem;margin:.35rem 0}.chat-message .chat-face.persona-face{outline:2px solid #d6dff0;outline-offset:2px}
@media(max-width:760px){.contact-row{flex-wrap:wrap;padding:.8rem}.contact-row .actions{width:100%;justify-content:flex-end}.contact-search .actions{flex-wrap:wrap}.contact-search input{width:100%;flex-basis:100%}.room-roster{padding:.5rem .75rem;gap:.4rem}.room-context .button{padding:.35rem .5rem;font-size:.8rem}}
.on-chat .workspace{height:100dvh;min-height:0}.on-chat #main{min-height:0}.room-roster{flex-shrink:0}.contact-search input{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);min-height:44px}

/* Google source accounts */
/* Ephemeral activity is separate from message and speech rendering. */
.reply-activity{margin:0 0 12px;font-size:.875rem;overflow-wrap:anywhere}
.chat-message.assistant:has(.reply-activity) .message-heading{min-height:22px;line-height:22px;margin-bottom:0}
.chat-message.assistant:has(.reply-activity) .message-actions{height:22px;align-items:center}
.activity-timer{color:var(--muted,#777);margin:0;line-height:20px}
.activity-line{color:var(--muted,#777);margin:0 0 5px}
.activity-progress{margin:6px 0;line-height:1.5}
.activity-progress em,.reply-activity li em{font-style:italic;font-synthesis:style}
.reply-activity summary{cursor:pointer;color:var(--muted,#777);padding:0;display:flex;width:fit-content;align-items:center;gap:6px;list-style:none;line-height:20px}
.reply-activity summary::-webkit-details-marker{display:none}
.activity-chevron{display:inline-flex;align-items:center;justify-content:center;height:20px;transform:rotate(-90deg);transition:transform .15s}
.activity-chevron svg,.activity-step-icon svg{width:15px;height:15px;flex:none}
.reply-activity details[open] .activity-chevron{transform:rotate(0)}
.reply-activity ul{list-style:none;margin:4px 0 8px;padding:0;max-height:280px;overflow:auto;line-height:1.5}
.reply-activity li{display:flex;align-items:flex-start;gap:9px;margin:8px 0}
.reply-activity li:first-child{margin-top:0}
.activity-step-icon{display:inline-flex;color:var(--muted);padding-top:3px;flex:none}
@media(max-width:760px){.chat-message.assistant:has(.reply-activity)>.chat-face{width:42px;height:42px}}
.chat-face.persona-face{position:relative;overflow:visible}
.chat-message .chat-face.persona-face{outline:none}
.chat-face.persona-face::after{content:'2';position:absolute;top:-7px;right:-7px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:white;border:1px solid var(--line);box-shadow:0 0 0 3px white;color:var(--gold);font-size:11px;line-height:1;font-weight:500}
.message-heading .persona-mark{color:var(--gold);font-size:.65em;font-weight:500;vertical-align:super;line-height:0;margin-left:1px}

.room-reply-preview{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f7f9fd}
.room-reply-preview .chat-face{display:flex;width:36px;height:36px;font-size:16px;border-radius:10px}
#room-reply-avatar{padding-top:2px;flex-shrink:0}
.room-reply-copy{flex:1;min-width:0;line-height:1.4}
.room-reply-copy strong{font-size:14px;font-weight:600}
.room-reply-copy p{margin:4px 0 0;color:var(--muted);font-size:14px;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#room-cancel-reply{border:0;background:transparent;color:var(--muted);width:32px;height:32px;padding:5px}
#room-cancel-reply svg{width:22px;height:22px}

.chat-message button.quoted-message{display:block;max-width:100%;border:0;border-left:2px solid #cbd5e1;background:transparent;border-radius:0;text-align:left;white-space:pre-wrap;font:inherit;font-size:.85rem;line-height:1.5}
.chat-message button.quoted-message:hover{background:#f0f4fc;border-left-color:var(--primary)}
.chat-message .message-column{border-radius:8px;transition:background-color .25s}
.chat-message.message-highlight .message-column{background:#fff3cf;box-shadow:0 0 0 8px #fff3cf}
@media(prefers-reduced-motion:reduce){.chat-message .message-column{transition:none}}

.inline-message-editor{border:1px solid var(--line);border-radius:18px;background:#f5f7fb;padding:16px;min-width:0}
.inline-message-editor textarea{display:block;width:100%;min-height:100px;max-height:40vh;resize:vertical;border:0;background:transparent;color:var(--ink);padding:0;font:inherit;line-height:1.6}
.inline-message-editor textarea:focus-visible{outline:none}
.inline-message-editor:focus-within{border-color:#91aaf0;box-shadow:0 0 0 2px #e6ecfc}
.inline-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.inline-editor-actions .button{min-height:40px;padding:8px 16px;border-radius:12px}
@media(max-width:760px){.inline-message-editor{padding:12px}.inline-editor-actions .button{min-height:44px}}
