/* Proje Avlusu: scoped theme; existing workspace and administration stay usable. */
body.chat-page{--ink:#48204e;--muted:#786878;--brand:#612469;--border:#e6d9df;color:var(--ink);background:#fbf5ef;grid-template-columns:240px minmax(0,1fr);grid-template-rows:76px minmax(0,1fr);font-family:Arial,Helvetica,sans-serif}
.chat-page *{box-sizing:border-box}.chat-page button,.chat-page a,.chat-page summary{ -webkit-tap-highlight-color:transparent}.chat-page button:focus-visible,.chat-page a:focus-visible,.chat-page summary:focus-visible,.chat-page textarea:focus-visible{outline:3px solid #c27843;outline-offset:3px}.chat-page button:disabled{opacity:.5;cursor:not-allowed}
.chat-page .site-topbar{grid-column:2;grid-row:1;background:transparent;border:0;padding:16px 34px;gap:20px;min-width:0}.chat-page .site-wordmark{color:#57235f;font-size:17px;letter-spacing:0;line-height:1.3}.chat-page .site-wordmark span{font-size:12px;color:#827280;margin-top:3px}.chat-page .site-navigation{margin-left:auto;gap:4px}.chat-page .site-navigation a,.chat-page .site-navigation button{border:0;background:transparent;color:#6d586e;font-size:12px;padding:8px 10px;border-radius:12px}.chat-page .site-navigation a[aria-current]{display:none}.chat-page .site-navigation a:hover,.chat-page .site-navigation button:hover:not(:disabled){background:#f0e2e9}.chat-page .connection{gap:8px;white-space:nowrap}.chat-page .connection #status{font-size:11px;max-width:160px;overflow:hidden;text-overflow:ellipsis;color:#73636d}.chat-page #check-connection{font-size:10px;color:#71546d;border:1px solid #e7d6dd;background:transparent}.chat-page .account-menu{margin:0;position:relative;color:#53265b}.chat-page .account-menu summary{list-style:none;border-radius:24px;background:#f2e4e4;padding:10px 18px;font-weight:700;font-size:13px}.chat-page .account-menu summary::after{content:'⌄';margin-left:14px}.chat-page .account-menu>div{z-index:30;right:0;left:auto;background:#fff9f4;border-color:#e6d5df}.chat-page .account-menu a,.chat-page .account-menu button{color:#56255c}.chat-page #avlu-menu-toggle{display:none}
.chat-page .sidebar{display:flex;grid-column:1;grid-row:1 / -1;width:auto;min-height:0;padding:30px 20px 18px;background:linear-gradient(160deg,#491448 0%,#58225a 62%,#74427a 100%);border:0;color:#fff6ed;position:relative;overflow:hidden}.chat-page .sidebar::after{content:'';position:absolute;pointer-events:none;bottom:-80px;left:-45px;width:330px;height:230px;border-radius:50% 55% 0 0;transform:rotate(-18deg);background:linear-gradient(30deg,#a16caa70,#c8a1d33a)}.chat-page .sidebar>*{position:relative;z-index:1}.chat-page .brand{margin:0;color:#fff4e9}.chat-page .brand strong{font-size:43px;letter-spacing:-2px;position:relative}.chat-page .brand strong span{position:absolute;top:-7px;left:26px;font-size:18px;color:#ffd3ac}.chat-page .avlu-brand-note{font-size:12px;line-height:1.55;color:#f2dce9;margin:4px 0 28px}.chat-page .avlu-nav{display:grid;gap:5px}.chat-page .avlu-nav button,.chat-page .avlu-nav a{display:flex;align-items:center;gap:13px;width:100%;padding:12px 13px;border:0;background:transparent;color:#fff1ee;font-size:14px;text-align:left;border-radius:12px;text-decoration:none;min-height:44px;margin:0;font-weight:400}.chat-page .avlu-nav span{width:22px;text-align:center;font-size:23px;line-height:1}.chat-page .avlu-nav button:hover,.chat-page .avlu-nav a:hover{background:#ffffff16}.chat-page.home-view #new-chat{background:linear-gradient(110deg,#b47cb9b0,#a16da7a0);box-shadow:inset 0 1px #ffffff20}.chat-page .side-label{color:#d7bbd7;border-top:1px solid #e8cce52c;padding-top:20px;margin:22px 12px 8px;font-size:9px;letter-spacing:1.4px}.chat-page .sidebar-status{color:#e1cce0;font-size:11px;margin:2px 12px}.chat-page .sidebar-chats{min-height:36px;flex:1;margin:0}.chat-page .chat-action{color:#f6e6ee;border:0;border-radius:8px;background:transparent;font-size:12px}.chat-page .chat-action:hover,.chat-page .chat-action.active{background:#ffffff14;color:white}.chat-page .side-bottom{margin-top:10px;padding:0;border:0}.chat-page .side-bottom>p{display:none}.chat-page .avlu-bottom-nav{display:flex;gap:8px;margin:12px 0;border-top:1px solid #ffffff26;padding-top:12px}.chat-page .avlu-bottom-nav button,.chat-page #open-demo{color:#f3dfee;background:transparent;border:0;padding:8px 5px;font-size:12px;text-align:left}.chat-page .personal{gap:9px;margin:9px 0 0}.chat-page .personal .avatar{width:30px;height:30px;background:#e6c7de;color:#54235b;font-size:13px}.chat-page .personal div{font-size:12px;overflow-wrap:anywhere}.chat-page .personal small{color:#d1b6d3;font-size:10px}
.chat-page main{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-height:0;padding:0 34px 0;overflow:hidden;background:transparent}.chat-page .panorama{display:none}.chat-page .chat-navigation{height:42px;min-height:42px;border-bottom:1px solid #e9dde3;padding:0;gap:14px;background:transparent;margin-bottom:12px}.chat-page .chat-navigation button,.chat-page .chat-navigation a{color:#775b77;border:0;background:transparent;font-size:12px}.chat-page .chat-navigation #chat-title{color:#6a506d;font-size:12px;margin-left:auto}.chat-page.home-view .chat-navigation{display:none}.chat-page .scroll-area{flex:1;min-height:0;overflow:auto;scrollbar-color:#cdb7cd transparent;padding:0 0 12px}.chat-page .welcome{max-width:1500px;width:100%;margin:0 auto;padding:0;text-align:left}.chat-page .avlu-hero{position:relative;min-height:210px;display:flex;align-items:center}.chat-page .avlu-hero-copy{position:relative;z-index:1;max-width:75%;padding:22px 0}.chat-page .eyebrow{font-size:14px;letter-spacing:0;color:#69356e;font-weight:700;margin:0 0 10px}.chat-page .welcome h1{font-size:clamp(36px,4.2vw,66px);line-height:1.02;letter-spacing:-2.5px;color:#4d2056;margin:0 0 16px;font-weight:800;max-width:none}.chat-page .welcome h1>span{color:#e49f78}.chat-page .avlu-hero-copy>p{font-size:16px;line-height:1.5;color:#65436c;margin:0}.chat-page .avlu-hero-copy .avlu-greeting{font-size:13px;color:#877184;margin:11px 0 0;line-height:1.5;overflow-wrap:anywhere}.chat-page .avlu-hero-art{position:absolute;right:-34px;bottom:0;width:52%;max-height:220px;object-fit:contain;object-position:right bottom;opacity:.9;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 16%)}
.chat-page .avlu-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:12px 0 28px}.chat-page .avlu-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:22px 22px 138px;min-height:268px;border:1px solid #c9addc30;border-radius:20px;overflow:hidden;isolation:isolate;color:#4b2257;background:linear-gradient(135deg,#e9d3ee,#dbc2e5);transition:transform .18s ease,box-shadow .18s ease;cursor:pointer}.chat-page .avlu-water,.chat-page .avlu-writing{background:linear-gradient(135deg,#ffdcc3,#f8d0bb);border-color:#ebc6b950}.chat-page .avlu-card:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 10px 24px #753b6b16}.chat-page .avlu-card strong{font-size:24px;line-height:1.1;letter-spacing:-.7px;font-weight:750;z-index:1}.chat-page .avlu-card>span{font-size:13px;line-height:1.45;margin-top:13px;max-width:180px;z-index:1}.chat-page .avlu-card>svg{position:absolute;bottom:0;left:0;width:100%;height:150px;z-index:-1}.chat-page .avlu-card>b{position:absolute;bottom:19px;left:21px;border-radius:22px;background:#fff9f1;padding:1px 15px;font-weight:400;font-size:24px;line-height:30px;box-shadow:0 3px 7px #713b6b15}.chat-page .recent-work{border:0;margin:0 0 20px;padding:0}.chat-page .recent-work-heading{margin:0 0 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.chat-page .recent-work h2{color:#54245e;font-size:21px;letter-spacing:-.4px;margin:0}.chat-page .recent-work h2::before{content:'▱';font-size:27px;margin-right:10px;font-weight:400}.chat-page #home-history{color:#6c3774;background:transparent;font-size:12px;border:0}.chat-page #recent-work-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chat-page #recent-work-list button{display:flex;align-items:center;gap:15px;justify-content:space-between;min-width:0;min-height:68px;border-radius:14px;border:1px solid #e7d3dd;background:#fffaf470;color:#57365b;font-size:12px;line-height:1.4;padding:15px;text-align:left;overflow-wrap:anywhere}.chat-page #recent-work-list button>span{flex:none;color:#8a5c93;font-size:20px}.chat-page #recent-work-status{font-size:13px;color:#8c7588;background:#fff9f470;border:1px dashed #e3cfdc;padding:18px;border-radius:14px}.chat-page .avlu-quick-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0 8px}.chat-page .avlu-quick-actions button{border:1px solid #e8d8e0;background:#fff9f4;color:#745273;border-radius:20px;padding:8px 13px;font-size:11px}.chat-page .welcome .sample-shortcut{display:inline-block;margin:6px 0 9px;color:#7f647d;font-size:11px}.chat-page .powered{display:none}
.chat-page #home-composer-slot:empty{display:none}.chat-page #home-composer-slot{flex:none;width:100%;max-width:1500px;margin:auto auto 0}.chat-page .composer-wrap{width:100%;max-width:1500px;margin:0 auto;padding:10px 0 8px;background:transparent;flex:none}.chat-page .composer{border:1px solid #a579a4;background:linear-gradient(110deg,#532056,#653369 65%,#522052);border-radius:30px;padding:14px 17px 11px;box-shadow:0 7px 17px #65306123;color:#fff1ed}.chat-page .composer textarea{background:transparent;color:#fff4ee;min-height:34px;max-height:180px;padding:5px 7px;font-size:16px;line-height:1.5}.chat-page .composer textarea::placeholder{color:#e8d1e6}.chat-page .composer-toolbar{padding:4px 4px 0;margin:0;gap:8px;min-height:39px}.chat-page .composer .tool-button{color:#f2deeb;border:1px solid #ac7fa72e;background:#ffffff0b;border-radius:18px;padding:7px 12px;font-size:11px;min-height:32px}.chat-page .composer #send{background:#ffd49c;color:#502455;border:0;width:40px;height:40px;border-radius:50%;font-size:23px;box-shadow:0 2px 6px #32153325}.chat-page .composer #stop{background:#f8d1ac;color:#542459}.chat-page .composer-options{background:#fff8f0;color:#513451;border:1px solid #e1cbdc;border-radius:18px;padding:16px;margin-top:8px;max-height:min(45vh,360px);overflow:auto}.chat-page .composer-options .tool-button{color:#67426c;background:#f1e2ed}.chat-page .composer-options select{background:#fffdf9;color:#523b56;border:1px solid #dac8d9}.chat-page .composer-options small,.chat-page .composer-options p,.chat-page .composer-options span{color:#806a7e}.chat-page .composer-selection{color:#f4dfec}.chat-page .attachment{background:#fff8f0;color:#5c3c62}.chat-page .footnote{color:#9a8695;font-size:9px;margin:7px 0 0;text-align:center}.chat-page .developer-credit{font-size:9px;color:#978290;margin:4px 0 0;line-height:1.6;text-align:center}.chat-page .developer-credit span{color:#72566f}.chat-page .developer-credit a{color:#826a7c}.chat-page .notice{background:#f3e6ee;color:#603a66;border-color:#dac2da}.chat-page .active-topic{color:#775077;background:#f3e8f0;border-color:#e3ccde}.chat-page .messages{max-width:1100px;margin:auto;padding:12px 0 22px}.chat-page .message .bubble{border-color:#e3d5df;background:#fffaf5}.chat-page .message.user .bubble{background:#ecddec;color:#542a5d}.chat-page .message.assistant .bubble{background:#fffaf5}.chat-page .message .avatar{background:#e8d6ea;color:#643b6e}.chat-page .source-panel{background:#fffaf5;color:#57375c;border-color:#e4d2df}.chat-page .source-panel-heading,.chat-page .source-list{border-color:#e5d5e1}.chat-page .source-content{color:#523f55}.chat-page #avlu-nav-backdrop[hidden]{display:none}
@media(min-width:1050px){.chat-page.sources-open{grid-template-columns:220px minmax(0,1fr) 350px}.chat-page.sources-open main{padding-left:24px;padding-right:24px}.chat-page.sources-open .site-topbar{grid-column:2 / -1}.chat-page.sources-open .source-panel[open]{grid-column:3;grid-row:2}.chat-page.sources-open .avlu-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1200px) and (min-width:901px){body.chat-page{grid-template-columns:210px minmax(0,1fr)}.chat-page .sidebar{padding:25px 14px 16px}.chat-page main,.chat-page .site-topbar{padding-left:24px;padding-right:24px}.chat-page .avlu-cards{gap:12px}.chat-page .avlu-card{padding:19px 16px 120px;min-height:260px}.chat-page .avlu-card strong{font-size:21px}.chat-page .avlu-card>span{font-size:12px}.chat-page .connection #check-connection{display:none}.chat-page .avlu-hero-art{width:48%;opacity:.65}.chat-page .avlu-hero-copy{max-width:88%}.chat-page .avlu-hero-copy>p{max-width:470px}}
@media(max-width:900px){body.chat-page,body.chat-page.home-view,body.chat-page.sources-open{grid-template-columns:minmax(0,1fr);grid-template-rows:64px minmax(0,1fr)}.chat-page .site-topbar{grid-column:1;grid-row:1;padding:10px 18px;gap:12px}.chat-page #avlu-menu-toggle{display:block;background:#f0e0eb;color:#602b67;border:0;border-radius:12px;width:38px;height:38px;font-size:21px;flex:none}.chat-page .site-wordmark{font-size:16px}.chat-page .site-wordmark span{font-size:10px}.chat-page .connection{display:none}.chat-page .site-navigation{margin-left:auto}.chat-page .site-navigation>a{display:none}.chat-page .site-navigation button{font-size:11px;padding:8px}.chat-page .account-menu summary{font-size:11px;padding:9px 12px}.chat-page .account-menu summary::after{margin-left:7px}.chat-page .sidebar{display:flex;position:fixed;top:0;bottom:0;left:0;width:min(290px,84vw);z-index:101;transform:translateX(-105%);transition:transform .2s ease;padding:27px 22px 20px;box-shadow:10px 0 40px #49204a38}.chat-page.avlu-menu-open .sidebar{transform:translateX(0)}.chat-page #avlu-nav-backdrop{position:fixed;inset:0;background:#2c122c66;border:0;z-index:100}.chat-page main{grid-column:1;grid-row:2;padding:0 20px}.chat-page .avlu-hero{min-height:190px}.chat-page .avlu-hero-copy{max-width:90%;padding:20px 0}.chat-page .avlu-hero-copy>p{font-size:14px;max-width:400px}.chat-page .avlu-hero-art{right:-20px;width:49%;opacity:.42}.chat-page .welcome h1{font-size:clamp(35px,6.5vw,54px);letter-spacing:-1.7px}.chat-page .eyebrow{font-size:12px}.chat-page .avlu-cards{gap:12px;margin-top:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.chat-page .avlu-card{min-height:240px;padding:20px 19px 120px}.chat-page .avlu-card strong{font-size:25px}.chat-page .avlu-card>span{font-size:13px;max-width:200px}.chat-page .avlu-card>svg{height:140px}.chat-page .source-panel[open]{position:fixed}.chat-page .composer-wrap{padding-top:7px}.chat-page .chat-navigation #mobile-new-chat,.chat-page .chat-navigation>a{display:none}.chat-page .chat-navigation{gap:10px}.chat-page .messages{padding-top:4px}.chat-page .recent-work h2{font-size:20px}}
@media(max-width:540px){.chat-page .site-topbar{padding:10px 13px;gap:8px}.chat-page .site-wordmark{font-size:14px}.chat-page .site-wordmark span{font-size:9px}.chat-page .site-navigation{margin-left:auto}.chat-page .site-navigation button{padding:5px;font-size:10px}.chat-page .account-menu summary{padding:9px 11px;font-size:10px}.chat-page .account-menu summary::after{display:none}.chat-page main{padding:0 15px}.chat-page .avlu-hero{min-height:185px;align-items:flex-start}.chat-page .avlu-hero-copy{max-width:100%;padding:22px 0 18px}.chat-page .welcome h1{font-size:40px;margin-bottom:13px;letter-spacing:-1.6px;max-width:330px}.chat-page .avlu-hero-copy>p{font-size:12px;max-width:270px;line-height:1.5}.chat-page .avlu-hero-copy .avlu-greeting{font-size:11px;max-width:100%;padding-right:18px}.chat-page .avlu-hero-art{width:65%;max-height:140px;right:-15px;opacity:.2}.chat-page .avlu-cards{gap:10px;margin-bottom:22px}.chat-page .avlu-card{border-radius:16px;padding:17px 14px 112px;min-height:232px}.chat-page .avlu-card strong{font-size:21px;line-height:1.08}.chat-page .avlu-card>span{font-size:11px;margin-top:10px}.chat-page .avlu-card>svg{height:112px;width:114%;left:-7%}.chat-page .avlu-card>b{left:14px;bottom:14px;padding:0 11px;font-size:21px;line-height:27px}.chat-page #recent-work-list{grid-template-columns:1fr}.chat-page #recent-work-list button{min-height:54px;padding:12px 14px}.chat-page .recent-work h2{font-size:19px}.chat-page .recent-work h2::before{font-size:23px;margin-right:6px}.chat-page #home-history{font-size:11px}.chat-page .avlu-quick-actions{gap:6px}.chat-page .avlu-quick-actions button{font-size:10px;padding:8px 11px}.chat-page .composer{border-radius:24px;padding:10px 11px 8px}.chat-page .composer textarea{font-size:16px;min-height:32px;max-height:110px;padding:3px 5px}.chat-page .composer-toolbar{padding:3px 0 0;gap:5px}.chat-page .composer .tool-button{font-size:10px;padding:6px 9px;min-height:30px}.chat-page .composer #send{width:35px;height:35px}.chat-page .composer .document-tools{gap:5px}.chat-page .footnote{font-size:8px;margin-top:5px}.chat-page .developer-credit{font-size:8px;margin-top:3px}.chat-page .composer-wrap{padding-bottom:max(6px,env(safe-area-inset-bottom))}.chat-page .chat-navigation button{font-size:10px}.chat-page .chat-navigation #chat-title{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-page .message{gap:7px}.chat-page .message .bubble{font-size:14px}.chat-page .message .avatar{width:26px;height:26px;flex:none}.chat-page .source-panel[open]{inset:8px 8px auto;width:calc(100vw - 16px);height:calc(var(--app-h,100dvh) - 16px);max-height:calc(var(--app-h,100dvh) - 16px)}}
@media(prefers-reduced-motion:reduce){.chat-page .sidebar,.chat-page .avlu-card{transition:none}}
body.login-page{background:#faf3ed;color:#512658;background-image:url('/avlu-hero.svg'),radial-gradient(ellipse at 5% 80%,#e8cfe8,transparent 55%);background-position:right 12% center,center;background-size:min(53vw,820px),cover;background-repeat:no-repeat}.login-page .login-brand a{color:#59265f}.login-page .login-brand a strong{color:#59265f}.login-page .login-brand a span{color:#816780}.login-page .login-card{background:#fff9f3ed;border:1px solid #e9d7e3;box-shadow:0 15px 60px #69326512;border-radius:24px}.login-page .login-card h1{color:#54225e}.login-page .login-eyebrow{color:#935e95}.login-page .login-card>p{color:#80667e}.login-page .login-card input{background:#fffdf8;border-color:#e0cbdc;color:#59335e}.login-page .login-card input:focus{outline-color:#b181b5;border-color:#9d6fa5}.login-page #login-button{background:#622969;color:#fff6ee;border-radius:12px}.login-page .login-credit,.login-page .login-credit span,.login-page .login-credit a{color:#856580}
@media(max-width:700px){body.login-page{background-size:90vw,cover;background-position:center bottom,center}.login-page .login-card{background:#fff9f3f5}}
/* Explicit home-state overrides of the original panorama layout. */
body.chat-page.home-view{grid-template-columns:240px minmax(0,1fr)}.chat-page.home-view>.sidebar{display:flex}.chat-page.home-view #main-workspace{grid-column:2}.chat-page .brand{padding:0}.chat-page .home-view #home-composer-slot,.chat-page.home-view #home-composer-slot{max-width:1500px;margin:0 auto}.chat-page.home-view .composer-wrap{padding:10px 0 8px}.chat-page.home-view .composer{padding:14px 17px 11px}.chat-page .bubble-content{color:#54365b}.chat-page .bubble.user{background:#efdfed;border-color:#e5cbdf}.chat-page .bubble.assistant{border-bottom-color:#e4d5df}.chat-page .bubble-label{color:#8d5796}.chat-page .sidebar .history-row{border-radius:8px}.chat-page .sidebar .history-row:hover,.chat-page .sidebar .history-row.active{background:#ffffff16}.chat-page .sidebar .history-open{color:#f1ddea;font-size:11px;padding:10px 8px}.chat-page .sidebar .history-remove{color:#dbb8d9}.chat-page .sidebar .history-row.active .history-open{color:#fff5ef}.chat-page .source-kicker{color:#89618d}.chat-page .inspect-sources{color:#72407b;border-color:#d8bfdc;background:#f6eaf4}.chat-page .source-list button{color:#6a4971}.chat-page .source-list button[aria-pressed="true"]{background:#eee0ef}.chat-page .site-topbar{min-height:0}.chat-page .site-wordmark{display:flex;flex-direction:column;align-items:flex-start;gap:0;white-space:normal}.chat-page .site-wordmark span{display:block}
@media(max-width:1200px) and (min-width:901px){body.chat-page.home-view{grid-template-columns:210px minmax(0,1fr)}}
@media(min-width:1050px){body.chat-page.home-view.sources-open{grid-template-columns:220px minmax(0,1fr) 350px}}
@media(max-width:900px){body.chat-page.home-view{grid-template-columns:minmax(0,1fr)}.chat-page.home-view #main-workspace{grid-column:1}.chat-page>.sidebar{display:flex}.chat-page .site-wordmark span{display:block}}
@media(max-width:540px){.chat-page.home-view .composer-wrap{padding:7px 0 max(6px,env(safe-area-inset-bottom))}.chat-page.home-view .composer{padding:10px 11px 8px}.chat-page .composer .tool-button{height:34px}.chat-page .composer #send{min-height:38px;min-width:38px}.chat-page .chat-navigation #chat-title{flex-basis:auto}.chat-page .composer-toolbar{flex-wrap:nowrap}.chat-page .welcome{margin:0;padding:0}}

/* Tablet conversation placement and short-screen drawer accessibility. */
@media(max-width:900px){.chat-page #main-workspace{grid-column:1}.chat-page .sidebar{overflow-y:auto;overscroll-behavior:contain}.chat-page .sidebar>*{flex-shrink:0}.chat-page .sidebar-chats{overflow:visible;flex:none}.chat-page .side-bottom{margin-top:auto}}
/* Live visual acceptance: reset inherited editorial typography and SVG fill. */
.chat-page .sidebar .brand{display:flex}.chat-page .brand strong,.chat-page .site-wordmark,.chat-page .welcome h1,.chat-page .recent-work h2{font-family:Arial,Helvetica,sans-serif}.chat-page .site-wordmark span{border:0;padding:0}.chat-page .avlu-card svg{fill:none}.chat-page .recent-work{max-width:none}.chat-page .recent-work-heading{border:0;padding-bottom:0}.login-page .login-brand strong,.login-page .login-card h1{font-family:Arial,Helvetica,sans-serif}
.chat-page .avlu-hero{overflow:hidden}
.chat-page .brand strong{color:#fff4e9}

/* Source reading follows the Proje Avlusu palette and real pressed state. */
body.chat-page{--blue:#713a79;--paper:#fbf5ef}
.chat-page .source-panel-heading h2,.chat-page .source-content h3{font-family:Arial,Helvetica,sans-serif}
.chat-page .source-panel-heading button{min-height:44px;color:#603767;border-color:#d9bfd8;background:#fff9f4}
.chat-page .source-list .source-tab{min-height:44px;border-color:#dfcddd;background:#fffaf5;color:#6a4971}
.chat-page .source-list .source-tab[aria-pressed="true"]{background:#eeddef;color:#57245f;border-color:#a778af;font-weight:700}
.chat-page .source-tab:hover{background:#f5eaf3}
.chat-page .source-content p,.chat-page .source-content li{font-size:14px;line-height:1.8}
.chat-page .source-content .source-time{color:#887180}
.chat-page .source-explanation{background:#f3e8ef;color:#71556f}
.chat-page .source-excerpt{background:#f4e9f3;border-left-color:#a573ad;color:#54365b}
.chat-page .source-note{border-bottom-color:#e4d2e0}
.chat-page .source-original{border-color:#d7bfd7;background:#fff9f4;color:#713a79;min-height:44px}
.chat-page .source-panel::backdrop{background:#2c122c66}
/* Gece yönetim masası — selected reference 4. */
body.chat-page{--ink:#f1f0ed;--muted:#a7acb6;--brand:#f5b54d;--blue:#f5b54d;--paper:#10151e;--border:#303744;color:#f1f0ed;background:radial-gradient(ellipse at 80% 0,#202733 0,transparent 60%),#0e131c;color-scheme:dark}
.chat-page .site-topbar{background:#111720;border-bottom:1px solid #2b323e}.chat-page .site-wordmark,.chat-page .site-wordmark span{color:#d9dbe1}.chat-page .site-wordmark{font-size:17px}.chat-page .site-navigation a,.chat-page .site-navigation button,.chat-page .connection #status{color:#bdc1ca}.chat-page .site-navigation a:hover,.chat-page .site-navigation button:hover:not(:disabled){background:#282d36}.chat-page #check-connection{color:#c8cbd2;border-color:#363b45}.chat-page .account-menu summary{color:#f1e6d6;background:#292b31}.chat-page .account-menu>div{background:#1d232d;border-color:#3c414b}.chat-page .account-menu a,.chat-page .account-menu button{color:#e8e5df}.chat-page #avlu-menu-toggle{color:#ffc15d;background:#282a30}
.chat-page .sidebar{background:linear-gradient(160deg,#0a0f17,#151b25 74%,#26222a);border-right:1px solid #30343d}.chat-page .sidebar::after{background:linear-gradient(20deg,#c5975129,#b88b3520 45%,#191d2900);bottom:-80px}.chat-page .sidebar .brand{padding-top:45px;position:relative}.chat-page .brand::before{content:'';position:absolute;left:7px;top:5px;width:130px;height:30px;background:linear-gradient(130deg,#f8c66e,#9a662f);clip-path:polygon(0 100%,28% 70%,35% 56%,40% 60%,43% 15%,49% 0,55% 15%,58% 7%,64% 20%,72% 12%,76% 33%,79% 30%,85% 65%,100% 95%,72% 80%,50% 83%)}.chat-page .brand strong{color:#f7ecdc;font-size:45px}.chat-page .brand strong span{display:none}.chat-page .avlu-brand-note{color:#c2c3c9}.chat-page .avlu-nav button,.chat-page .avlu-nav a{color:#e3e3e7}.chat-page .avlu-nav button:hover,.chat-page .avlu-nav a:hover{background:#ffffff09}.chat-page.home-view #new-chat{border-left:3px solid #ffb735;background:linear-gradient(100deg,#a875303b,#40352d65);color:#fff0d8;box-shadow:none}.chat-page .side-label{color:#b7a78c;border-color:#35343a}.chat-page .sidebar-status,.chat-page .personal small{color:#a5a7b0}.chat-page .sidebar .history-open{color:#babec7}.chat-page .sidebar .history-remove{color:#c5b291}.chat-page .sidebar .history-row:hover,.chat-page .sidebar .history-row.active{background:#ffffff09}.chat-page .sidebar .history-row.active .history-open{color:#ffe1a9}.chat-page .avlu-bottom-nav{border-color:#35343a}.chat-page .avlu-bottom-nav button,.chat-page #open-demo{color:#c8c4bd}.chat-page .personal .avatar{color:#ffcc76;background:#423727}
.chat-page main{background:transparent}.chat-page .avlu-hero{min-height:170px}.chat-page .avlu-hero-copy{max-width:100%;padding:24px 0}.chat-page .avlu-hero-art{display:none}.chat-page .eyebrow{color:#d4aa64;font-size:11px;letter-spacing:1.2px;text-transform:uppercase}.chat-page .welcome h1{font-size:clamp(27px,3vw,42px);line-height:1.25;letter-spacing:-1px;color:#f5f2ed;max-width:1050px;overflow-wrap:anywhere}.chat-page .avlu-hero-copy>p{color:#aeb4c0;max-width:740px}.chat-page .avlu-cards{gap:14px;margin-top:0}.chat-page .avlu-card,.chat-page .avlu-water,.chat-page .avlu-writing{background:linear-gradient(145deg,#262d39,#1b212c);border:1px solid #353d4c;color:#f0eeea;min-height:220px;padding-bottom:100px}.chat-page .avlu-card strong{color:#f1d7aa;font-size:21px}.chat-page .avlu-card>span{color:#b6bcc6}.chat-page .avlu-card>svg{filter:grayscale(1) sepia(.4);opacity:.22;height:115px}.chat-page .avlu-card>b{background:#463a2a;color:#ffd084;box-shadow:none}.chat-page .avlu-card:hover:not(:disabled){border-color:#967744;box-shadow:0 8px 28px #0003}.chat-page .recent-work h2{color:#e7dfd4}.chat-page #home-history{color:#d8b575}.chat-page #recent-work-list button{background:#1a202a;color:#d6d8dd;border-color:#343b46}.chat-page #recent-work-list button>span{color:#d8b575}.chat-page #recent-work-list button:hover{background:#242c38}.chat-page #recent-work-status{color:#a6adb8;background:#1a202a;border-color:#3c4048}.chat-page .avlu-quick-actions button{background:#1b212b;border-color:#393e49;color:#d8c6a6}.chat-page .welcome .sample-shortcut{color:#a7a29a}.chat-page .chat-navigation{border-color:#303744}.chat-page .chat-navigation button,.chat-page .chat-navigation a,.chat-page .chat-navigation #chat-title{color:#b6bdc9}.chat-page .active-topic{background:#28262a;color:#e4c385;border-color:#50432e}
.chat-page .composer,.chat-page.home-view .composer{background:linear-gradient(120deg,#252b36,#202630);border:1px solid #5e626b;border-radius:18px;box-shadow:0 8px 28px #0002}.chat-page .composer:focus-within{border-color:#c4974e;box-shadow:0 0 0 3px #f5b54d12}.chat-page .composer textarea{color:#f0f0f1}.chat-page .composer textarea::placeholder{color:#aeb2bc}.chat-page .composer .tool-button{background:#ffffff05;border-color:#555a663f;color:#d1d4dd}.chat-page .composer #send{background:linear-gradient(140deg,#ffc666,#eda238);color:#251b0d;border:1px solid #ffd27f;border-radius:11px;width:100px;min-width:100px;font-size:14px;font-weight:700}.chat-page .composer #stop{color:#241b10;background:#f5bd63}.chat-page .composer-selection{color:#d7c5a5}.chat-page .composer-options{background:#1c232e;color:#e1e4e9;border-color:#454956}.chat-page .composer-options small,.chat-page .composer-options p,.chat-page .composer-options span{color:#b1b6c2}.chat-page .composer-options .tool-button{color:#edcf99;background:#2e3038}.chat-page .composer-options select{background:#252c38;color:#f0ede8;border-color:#555966}.chat-page .attachment{background:#30343d;color:#e4d5ba}.chat-page .footnote,.chat-page .developer-credit{color:#9298a5}.chat-page .developer-credit span,.chat-page .developer-credit a{color:#b7aa94}.chat-page .notice{color:#f2d49c;background:#343027;border-color:#5d4f37}
.chat-page .bubble-content{color:#e2e5ec}.chat-page .bubble-label{color:#e2ba74}.chat-page .bubble.user{background:#282e39;border-color:#424856}.chat-page .bubble.assistant{background:#151c27;border:1px solid #303846;border-radius:15px;padding:22px;margin-top:15px}.chat-page .bubble.error .bubble-content{color:#ffc4b3}.chat-page .bubble-meta{color:#9da6b4}.chat-page .reply-actions button{color:#b9c1cd;background:#242b35;border-color:#414956}.chat-page .inspect-sources{color:#ebc78a;background:#2d2a27;border-color:#6b5636}.chat-page .source-card,.chat-page .research-result{background:#202734;border-color:#3b4454;color:#dce0e7}
.chat-page .source-panel[open]{background:#191f2a;color:#e9e9ed;border-color:#363e4c}.chat-page .source-panel-heading,.chat-page .source-list{border-color:#343d4c}.chat-page .source-panel-heading h2{color:#eeece7;font-family:Arial,Helvetica,sans-serif;font-size:20px}.chat-page .source-panel-heading button{background:#292f39;color:#d7dbe3;border-color:#464d5a;min-height:44px}.chat-page .source-kicker{color:#c8aa77}.chat-page .source-list .source-tab{background:#242c38;color:#c6cdd8;border-color:#3e4758;min-height:44px}.chat-page .source-list .source-tab[aria-pressed="true"]{background:#493a25;color:#ffe0a6;border-color:#aa8249;font-weight:700}.chat-page .source-tab:hover{background:#333844}.chat-page .source-content{color:#29251f;background:#f5f0e7;margin:14px;border-radius:12px;border:1px solid #ddd2c3}.chat-page .source-content h3{font:700 23px/1.4 Georgia,serif;color:#24211c}.chat-page .source-content p,.chat-page .source-content li{color:#433b30;font-size:14px;line-height:1.8}.chat-page .source-content .source-time{color:#736651}.chat-page .source-explanation{color:#675941;background:#e9e0d3}.chat-page .source-excerpt{color:#332b20;background:#fffaf1;border-left-color:#b28237}.chat-page .source-warning{background:#f9e3b9;border-color:#b7852e;color:#5d4014}.chat-page .source-note{border-color:#ddcfba}.chat-page .source-original{background:#fffbf3;border-color:#c9ad79;color:#6d4a16;min-height:44px}.chat-page .source-panel::backdrop{background:#030810b3}.chat-page #avlu-nav-backdrop{background:#030810b3}
.chat-page dialog:not(.source-panel){color:#eee9df;background:#1e2531;border:1px solid #48505f;border-radius:18px}.chat-page dialog::backdrop{background:#030810b3}.chat-page dialog button,.chat-page dialog input{color:#e8dfcf;background:#303440;border-color:#535a67}.chat-page .demo-card{background:#29313e;color:#eee3d0;border-color:#4e5664}.chat-page .demo-card strong{color:#eed09a}.chat-page .demo-card span,.chat-page .demo-note{color:#b3bac7}.chat-page dialog a{color:#f0c47d}
@media(max-width:900px){.chat-page .avlu-hero{min-height:150px}.chat-page .avlu-card{min-height:205px}.chat-page .avlu-hero-copy>p{font-size:14px}}
@media(max-width:540px){.chat-page .avlu-hero{min-height:155px}.chat-page .welcome h1{font-size:27px;letter-spacing:-.5px}.chat-page .avlu-card{min-height:188px;padding:16px 13px 80px}.chat-page .avlu-card strong{font-size:19px}.chat-page .avlu-card>span{font-size:11px}.chat-page .avlu-card>svg{height:95px}.chat-page .composer #send{width:78px;min-width:78px;font-size:12px}.chat-page .source-content{margin:8px;padding:20px 16px}.chat-page .bubble.assistant{padding:16px}.chat-page .site-wordmark span{color:#a4aab4}}
body.login-page{color-scheme:dark;color:#eee7dc;background:radial-gradient(ellipse at 80% 20%,#34302a55,transparent 55%),#10151e}.login-page::before{background:none}.login-page .login-brand{background:#111720;border-color:#323a48}.login-page .login-brand a,.login-page .login-brand a strong{color:#f7e5c7}.login-page .login-brand a span{color:#aeb2bd}.login-page .login-card{background:#1c2330;border-color:#414956;box-shadow:0 15px 60px #0004}.login-page .login-card h1{color:#f7eee0}.login-page .login-eyebrow{color:#e2b66e}.login-page .login-card>p{color:#b6bdc9}.login-page .login-card input{background:#282f3c;color:#f4eee5;border-color:#525a69}.login-page #login-button{color:#2b1d09;background:linear-gradient(140deg,#ffd087,#e9a43e)}.login-page .login-credit,.login-page .login-credit span,.login-page .login-credit a{color:#bbab90}
/* Reference layout: persistent greeting, chat workspace, right reading surface. */
body.chat-page.night-theme{grid-template-rows:100px minmax(0,1fr)}
.night-theme .site-topbar{gap:15px;padding:15px 24px}.night-theme .site-wordmark{display:none}.night-theme .desk-greeting{display:flex;align-items:center;gap:16px;min-width:0;margin-right:auto}.night-theme .desk-sun{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:16px;color:#ffbf54;background:#49382066;font-size:34px}.night-theme .desk-greeting h1{color:#f5f5f4;font:700 clamp(17px,1.7vw,26px)/1.3 Arial,Helvetica,sans-serif;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}.night-theme .desk-greeting p{color:#afb6c3;font-size:12px;line-height:1.5;margin:6px 0 0}.night-theme .site-navigation{flex:none;margin-left:0}.night-theme .site-navigation>a,.night-theme #check-connection{display:none}.night-theme .connection #status{max-width:95px;font-size:9px}
.night-theme .welcome{margin:0;max-width:none;padding:0}.night-theme .desk-start{padding:30px 12px 16px;text-align:center}.night-theme .desk-start>span{color:#e9b660;display:block;font-size:32px}.night-theme .desk-start h2{font-size:23px;color:#efebe5;margin:12px 0 10px}.night-theme .desk-start p{color:#b3bac6;font-size:13px;line-height:1.6;margin:0}.night-theme .avlu-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 24px}.night-theme .avlu-card{min-height:74px;padding:16px 36px 16px 16px;border-radius:10px;background:#202734}.night-theme .avlu-card strong{font-size:14px;line-height:1.4;letter-spacing:0;color:#e1c591}.night-theme .avlu-card>span,.night-theme .avlu-card>svg{display:none}.night-theme .avlu-card>b{left:auto;right:11px;bottom:calc(50% - 12px);padding:0;background:none;color:#ad926b;font-size:20px;line-height:24px}.night-theme .recent-work h2{font-size:16px}.night-theme #recent-work-list{grid-template-columns:1fr;gap:7px}.night-theme #recent-work-list button{min-height:48px;padding:12px 14px}.night-theme .recent-work h2::before{font-size:22px}.night-theme .avlu-quick-actions{gap:7px}.night-theme .chat-navigation{min-height:38px;height:auto;flex-wrap:wrap}.night-theme .messages{width:100%;margin:0;padding:12px 0 24px}.night-theme .bubble.user{margin-left:48px;padding:17px 20px}.night-theme .bubble.assistant{margin-left:48px;position:relative}.night-theme .bubble.assistant::before{content:'✦';position:absolute;left:-48px;top:0;width:34px;height:40px;display:grid;place-items:center;background:#4a3724;border-radius:12px;color:#ffc164;font-size:22px}.night-theme .bubble-label{color:#d1ac6d}.night-theme .bubble-content{font-size:15px;line-height:1.85}.night-theme .source-panel-heading h2{font-size:18px}.night-theme .source-panel-heading{padding:16px}.night-theme .source-content{box-shadow:0 10px 35px #0002}.night-theme .composer-wrap{padding-top:10px}.night-theme .composer{border-radius:13px}.night-theme .composer textarea{font-size:14px}
.night-theme .desk-source-empty{display:none}.night-theme .desk-source-empty-heading{display:flex;gap:12px;align-items:center;padding:19px 20px;border-bottom:1px solid #343d4c;color:#efede8}.night-theme .desk-source-empty-heading>span{color:#edb951;font-size:25px}.night-theme .desk-source-empty h2{font-size:18px;margin:0}.night-theme .desk-source-paper{flex:1;min-height:0;margin:16px;padding:35px 25px;border:1px solid #ddd2c3;border-radius:10px;color:#51483b;background:linear-gradient(170deg,#faf5ed,#eee3d4);overflow:auto}.night-theme .desk-source-paper>span{font-size:48px;color:#ad8a51}.night-theme .desk-source-paper h3{font:700 23px/1.4 Georgia,serif;color:#342c21;margin:25px 0 15px}.night-theme .desk-source-paper p{font-size:14px;line-height:1.8}.night-theme .desk-source-paper p:last-child{font-size:12px;color:#84745c;border-top:1px solid #d7c8b1;margin-top:24px;padding-top:16px}
@media(min-width:1050px){body.chat-page.night-theme,body.chat-page.night-theme.sources-open{grid-template-columns:240px minmax(340px,1fr) minmax(320px,34%)}.chat-page.night-theme #main-workspace{grid-column:2;grid-row:2;padding:0 20px}.night-theme .site-topbar{grid-column:2 / -1}.night-theme .desk-source-empty{display:flex;flex-direction:column;grid-column:3;grid-row:2;margin:0 20px 18px 0;border:1px solid #343d4c;border-radius:15px;background:#191f2a;min-height:0;overflow:hidden}.night-theme.sources-open .desk-source-empty{display:none}.chat-page.night-theme .source-panel[open]{grid-column:3;grid-row:2;position:static;margin:0 20px 18px 0;height:auto;width:auto;border:1px solid #343d4c;border-radius:15px}.night-theme .source-list{max-height:105px}.night-theme .sidebar::after{bottom:95px;left:0;width:100%;height:160px;transform:none;border-radius:0;background:linear-gradient(175deg,#ae844531,#141b28 90%);clip-path:polygon(0 25%,15% 40%,28% 34%,47% 55%,61% 47%,76% 65%,100% 40%,100% 100%,0 100%)}.night-theme .sidebar-chats{position:relative;z-index:2}}
@media(min-width:1050px) and (max-width:1250px){body.chat-page.night-theme,body.chat-page.night-theme.sources-open{grid-template-columns:210px minmax(320px,1fr) 330px}.night-theme .desk-greeting p{display:none}.night-theme .connection{display:none}.night-theme .desk-sun{width:44px;height:44px;font-size:27px}.night-theme .desk-greeting{gap:11px}}
@media(max-width:1049px){body.chat-page.night-theme,body.chat-page.night-theme.sources-open{grid-template-columns:210px minmax(0,1fr)}.night-theme .site-topbar{grid-column:2}.night-theme .connection{display:none}.night-theme .desk-greeting p{display:none}.night-theme .desk-sun{width:42px;height:42px;font-size:26px}.night-theme .desk-source-empty{display:none}}
@media(max-width:900px){body.chat-page.night-theme,body.chat-page.night-theme.sources-open{grid-template-columns:minmax(0,1fr);grid-template-rows:82px minmax(0,1fr)}.night-theme .site-topbar{grid-column:1;padding:12px 16px}.night-theme .desk-greeting{gap:9px}.night-theme .desk-sun{display:none}.night-theme .desk-greeting h1{font-size:18px;letter-spacing:0}.night-theme .site-navigation button{font-size:10px}.night-theme .site-navigation{margin-left:auto}.night-theme .account-menu summary{font-size:10px}.night-theme .desk-start{padding-top:22px}.night-theme .composer textarea{font-size:16px}}
@media(max-width:540px){.night-theme .site-topbar{gap:8px;padding:10px 12px}.night-theme .desk-greeting h1{font-size:14px;line-height:1.4}.night-theme .site-navigation button{padding:6px;font-size:9px}.night-theme .account-menu summary{padding:9px;font-size:9px}.night-theme .desk-start h2{font-size:20px}.night-theme .avlu-card{min-height:70px;padding:13px 30px 13px 13px}.night-theme .avlu-card strong{font-size:13px}.night-theme .bubble.user,.night-theme .bubble.assistant{margin-left:34px}.night-theme .bubble.assistant::before{left:-35px;width:26px;height:34px;font-size:18px}.night-theme .bubble-content{font-size:14px}.night-theme .source-panel-heading{padding:14px}.night-theme .composer #send{width:74px;min-width:74px}}
@media(prefers-reduced-motion:reduce){.night-theme *{scroll-behavior:auto}}
