/* DC 5.3: the owner's Android reference, with DC's own destinations. */
body,button,input,textarea,select{font-family:Roboto,"Noto Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
.sidebar{
 width:min(360px,80vw);background:#fff!important;color:#111;border:0!important;
 padding:calc(12px + var(--safe-top)) 24px calc(12px + var(--safe-bottom)) calc(24px + var(--safe-left));
 box-shadow:none;font-weight:400;
}
.history-backdrop{background:#0008;backdrop-filter:none}
.sidebar-top{min-height:64px;gap:12px;padding:0;margin-bottom:12px}
.sidebar-brand{font-size:26px;font-weight:650;letter-spacing:-.6px;color:#111}
#closeHistory{display:none!important}
.drawer-search{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;color:#111;background:#fafafa;padding:10px}
.drawer-search svg,.drawer-destination svg,#newChatSide svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.drawer-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.drawer-destinations{display:flex;flex-direction:column;gap:2px;padding-bottom:25px;border-bottom:1px solid #e2e2e2;margin-bottom:20px}
.drawer-destination{display:flex;align-items:center;gap:19px;min-height:52px;width:100%;padding:12px 0;background:transparent;color:#151515;text-align:left;font-size:18px;font-weight:500;line-height:1.35;border-radius:10px}
.drawer-destination svg{flex:0 0 25px}.drawer-destination:hover{background:#f5f5f5}
.sidebar .project-picker,.sidebar>.sidebar-utility,.sidebar .sidebar-label{display:none!important}
.sidebar #historyList{overflow:visible;flex:none;min-height:0}
.sidebar .history-row{margin:0 0 6px;background:transparent;border-radius:12px;min-height:46px;align-items:center}
.sidebar .history-chat{min-height:46px;font-size:16px;font-weight:400;padding:10px 0;color:#171717!important;background:transparent!important;line-height:1.5}
.sidebar .history-row.selected{background:#f0f2f5!important}
.sidebar .history-row.selected .history-chat{padding-left:10px}
.sidebar .history-menu{color:#666;background:transparent;min-width:36px;min-height:44px}
.sidebar .history-empty{font-size:14px;line-height:1.6;color:#777}
.sidebar #historySearch{background:#f4f4f4!important;border:1px solid #dedede;color:#111!important;font-size:16px;min-height:48px;margin:0 0 16px}
.drawer-searching .drawer-destinations{display:none}
.sidebar #moreHistory{padding:12px 0;color:#666;background:transparent;font-size:15px;min-height:44px;text-align:left}
.sidebar-footer{background:#fff!important;border:0!important;padding:12px 0 0;margin:0;min-height:72px;gap:12px;justify-content:space-between}
.sidebar #newChatSide{display:flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:30px;background:#3563e9!important;color:white!important;padding:12px 18px;min-height:50px;font-size:17px;font-weight:550;width:auto;flex:0 1 auto;line-height:1.25;box-shadow:none}
.sidebar .profile-trigger{display:grid;place-items:center;border:0;width:48px;height:48px;min-width:48px;border-radius:50%;background:#f2f4f8;color:#164b8c;font-size:16px;padding:4px;margin:0}
.sidebar .profile-trigger img{border-radius:50%;width:40px;height:40px;object-fit:cover}
dialog.app-screen[open],dialog.next-dialog.app-screen[open],#projectDialog.app-screen[open],#filesDialog.app-screen[open],#controlsDialog.app-screen[open],#continueDialog.app-screen[open]{
 top:calc(var(--view-top) + var(--safe-top));left:var(--safe-left);right:var(--safe-right);bottom:auto;
 width:calc(100% - var(--safe-left) - var(--safe-right))!important;max-width:none!important;height:calc(var(--view-height) - var(--safe-top) - var(--safe-bottom));
 max-height:calc(var(--view-height) - var(--safe-top) - var(--safe-bottom));
 margin:0;padding:0;border:0;border-radius:0;background:#fff!important;color:#151515!important;
 color-scheme:light;box-shadow:none;scroll-padding-top:76px;
}
html .app-screen .settings-head{position:sticky;top:0;display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:72px;padding:12px 16px;margin:0;border:0;background:#fff!important;color:#111!important;z-index:3}
html .app-screen .settings-head h2{font-size:23px;font-weight:550;letter-spacing:-.25px;color:#111!important;margin:0;line-height:1.35}
html .app-screen .settings-head .screen-back{order:-1;flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;padding:10px;background:transparent;color:#111}
.screen-back svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html .app-screen .settings-content{padding:8px 24px 28px;background:#fff!important;color:#111!important}
html .app-screen h3,html .app-screen label,html .app-screen strong{color:#171717!important}
html .app-screen h3{font-weight:550;font-size:17px}
html .app-screen .fine,html .app-screen p,html .app-screen small{color:#666!important;line-height:1.55}
html .app-screen input:not([type=checkbox]),html .app-screen textarea,html .app-screen select{color:#111!important;background:#f7f7f7!important;border:1px solid #dedede!important;min-height:48px;border-radius:12px;font-size:16px;padding:12px}
html .app-screen .profile-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 16px;border:0!important;background:white!important;color:#111;padding:8px 0 22px!important;margin:0;border-radius:0}
.app-screen .profile-avatar{width:52px;height:52px;border-radius:50%}
.app-screen .profile-card h3{font-size:21px!important;font-weight:550}
html .app-screen .profile-card p{font-size:13px}
html .app-screen .profile-card>button{background:transparent;border:0;color:#3563e9;padding:5px 0;font-size:14px;min-height:40px}
.app-screen .settings-launcher{border:0!important;padding:0!important}
.app-screen .settings-grid{display:flex;flex-direction:column;gap:0;border:0;margin:16px 0 0;border-radius:0}
html .app-screen .settings-grid .settings-tile{display:grid;grid-template-columns:26px minmax(0,1fr) 12px;gap:5px 18px;align-items:center;min-height:80px;padding:16px 0!important;border:0;background:#fff!important;color:#111;box-shadow:none}
.app-screen .settings-tile strong{font-size:17px;font-weight:500;line-height:1.35}.app-screen .settings-tile small{font-size:13px}
.app-screen .setting-icon,.app-screen .setting-chevron{color:#171717}.app-screen .setting-icon svg{width:25px;height:25px;stroke-width:1.8}
.settings-detail .settings-content>section,.settings-detail #prefsForm{padding:8px 0 24px!important;border:0}
.settings-detail .settings-content>section>h3:first-child,.settings-detail #prefsForm>h3:first-child{display:none}
html .app-screen .secondary,html .app-screen .quiet{background:#f3f4f6;color:#202020;border-color:#dedede;min-height:44px;border-radius:12px}
html .app-screen .primary{background:#3563e9;color:#fff;min-height:48px;border-radius:14px}
.app-screen>.next-card,.app-screen>.next-actions,.app-screen>.fine,.app-screen>.secondary{margin:12px 24px 24px}
.app-screen .next-card{background:white;border:0;padding:0;box-shadow:none}
.app-screen .next-card>.secondary{margin:6px 8px 6px 0}
.app-screen>form:not(:has(.settings-head)){margin:0 24px 24px}
.app-screen #fileList,.app-screen #sessionList,.app-screen #usageSummary,.app-screen #agentCapabilities,.app-screen #agentRoutines,.app-screen #agentMemories,.app-screen #agentComputers{padding:0 24px}
.schedule-row{padding:16px 0;border-bottom:1px solid #eee}.schedule-row p{margin:7px 0}
@media(min-width:800px){dialog.app-screen[open],dialog.next-dialog.app-screen[open],#projectDialog.app-screen[open],#filesDialog.app-screen[open],#controlsDialog.app-screen[open],#continueDialog.app-screen[open]{left:50%;right:auto;transform:translateX(-50%);width:640px!important;max-width:calc(100% - 48px)!important;top:calc(var(--view-top) + var(--safe-top) + 16px);height:calc(var(--view-height) - var(--safe-top) - var(--safe-bottom) - 32px);max-height:calc(var(--view-height) - var(--safe-top) - var(--safe-bottom) - 32px);border-radius:22px}}
@media(max-width:350px){.sidebar{padding-left:18px;padding-right:18px}.drawer-destination{gap:14px;font-size:17px}.sidebar #newChatSide{font-size:15px;padding-inline:14px}.app-screen .settings-content{padding-inline:18px!important}}
