:root{
  --lx-font-ui:'DM Sans',Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --lx-fs-micro:11px;
  --lx-fs-caption:12px;
  --lx-fs-meta:12.5px;
  --lx-fs-ui:13.5px;
  --lx-fs-body:14.5px;
  --lx-fs-reading:15.5px;
  --lx-fs-panel-title:16px;
  --lx-fs-page-title:22px;
  --lx-leading-tight:1.25;
  --lx-leading-ui:1.42;
  --lx-leading-reading:1.68;
  --lx-radius-control:8px;
  --lx-radius-panel:10px;
  --lx-radius-surface:12px;
  --lx-border-soft:rgba(22,22,22,.10);
  --lx-border-muted:rgba(22,22,22,.14);
  --lx-bg-page:#F7F7F6;
  --lx-bg-surface:#FFFFFF;
  --lx-bg-subtle:#F4F5F3;
  --lx-text:#171717;
  --lx-text-muted:#6B706C;
  --lx-text-faint:#9A9F9B;
  --lx-green:#1E4434;
  --lx-red:#8C1C1C;
  --lx-shadow-surface:0 8px 22px rgba(17,24,39,.045);
  --lx-shadow-popover:0 18px 42px rgba(17,24,39,.14);
}

html{
  font-size:14px;
  letter-spacing:0;
}

body,
button,
input,
textarea,
select{
  font-family:var(--lx-font-ui) !important;
  letter-spacing:0 !important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.shared-sidebar,
body.public-page,
body[data-app-shell="true"]{
  color:var(--lx-text);
  font-size:var(--lx-fs-ui) !important;
  line-height:var(--lx-leading-ui) !important;
}

body.shared-sidebar :where(p,li,td,th,input,textarea,select,button),
body.public-page :where(p,li,td,th,input,textarea,select,button),
body[data-app-shell="true"] :where(p,li,td,th,input,textarea,select,button){
  font-size:var(--lx-fs-ui) !important;
  line-height:var(--lx-leading-ui) !important;
  letter-spacing:0 !important;
}

body.shared-sidebar :where(.main,.chat-area,.app-module-page,.mv-main,.ic-main,.dosya-main,.content),
body[data-app-shell="true"] :where(.main,.app-module-page),
body.public-page{
  background:var(--lx-bg-page) !important;
}

body.shared-sidebar :where(.sidebar,.sidebar-logo,.sidebar-bottom){
  background:#EEF1F3 !important;
}

body.shared-sidebar .sidebar{
  width:260px !important;
  border-right:1px solid rgba(17,24,39,.08) !important;
}

body.shared-sidebar .sidebar-logo{
  height:58px !important;
  padding:0 16px !important;
}

body.shared-sidebar .logo-icon,
body.public-page :where(.logo-mark,.nav-logo img),
body[data-app-shell="true"] .logo-icon{
  width:32px !important;
  height:32px !important;
}

body.shared-sidebar .logo-icon img,
body.public-page :where(.logo-mark img,.nav-logo img){
  width:100% !important;
  height:100% !important;
}

body.shared-sidebar .logo-text,
body.public-page :where(.logo-name,.nav-logo-text),
body[data-app-shell="true"] .logo-text{
  font-family:var(--lx-font-ui) !important;
  font-size:19px !important;
  font-weight:700 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
}

body.shared-sidebar .modul-nav{
  gap:4px !important;
  padding:10px 10px !important;
}

body.shared-sidebar .modul-btn,
body.shared-sidebar .sidebar-section-toggle,
body.shared-sidebar .chat-item,
body.shared-sidebar .user-info,
body.shared-sidebar .trial-info,
body.shared-sidebar .chat-bulk-toolbar{
  border-radius:var(--lx-radius-control) !important;
}

body.shared-sidebar .modul-btn{
  min-height:36px !important;
  padding:8px 10px !important;
  font-size:var(--lx-fs-ui) !important;
  font-weight:600 !important;
  color:#3E4541 !important;
}

body.shared-sidebar .modul-btn.aktif{
  background:rgba(30,68,52,.10) !important;
  color:var(--lx-green) !important;
  box-shadow:inset 2px 0 0 var(--lx-green) !important;
}

body.shared-sidebar .sidebar-section-toggle{
  min-height:34px !important;
  padding:8px 10px !important;
  font-size:var(--lx-fs-caption) !important;
  font-weight:700 !important;
  color:var(--lx-text-muted) !important;
  text-transform:none !important;
}

body.shared-sidebar .chat-list{
  padding:0 8px 10px !important;
}

body.shared-sidebar .chat-item{
  min-height:36px !important;
  padding:5px 8px !important;
  margin-bottom:1px !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
}

body.shared-sidebar .chat-item:hover,
body.shared-sidebar .chat-item.active{
  background:rgba(255,255,255,.66) !important;
  border-color:rgba(17,24,39,.08) !important;
}

body.shared-sidebar .chat-item-title{
  font-size:12.5px !important;
  font-weight:450 !important;
  line-height:1.25 !important;
}

body.shared-sidebar .chat-item.active .chat-item-title{
  font-weight:650 !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item{
  min-height:36px !important;
  padding:5px 8px !important;
  margin-bottom:1px !important;
  gap:6px !important;
  align-items:center !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item .chat-item-title{
  font-size:12.5px !important;
  font-weight:450 !important;
  line-height:1.22 !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item.active .chat-item-title{
  font-weight:650 !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item .chat-item-menu{
  display:flex !important;
  align-items:center !important;
  height:24px !important;
  line-height:0 !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item[data-research-state]{
  min-height:40px !important;
  padding:4px 8px !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item .chat-item-body{
  gap:0 !important;
}

body.shared-sidebar.shared-sidebar .chat-list .chat-item.chat-item .chat-item-subtitle{
  height:13px !important;
  margin-top:0 !important;
  font-size:10.5px !important;
  line-height:13px !important;
}

body.shared-sidebar .chat-item-subtitle,
body.shared-sidebar .chat-list-empty,
body.shared-sidebar .trial-text,
body.shared-sidebar .user-plan,
body.shared-sidebar .user-email,
body.shared-sidebar .user-mail{
  font-size:var(--lx-fs-caption) !important;
  color:var(--lx-text-faint) !important;
}

body.shared-sidebar .topbar,
body[data-app-shell="true"] .topbar,
.studio-topbar{
  min-height:58px !important;
  height:58px !important;
  padding:0 20px !important;
  border-bottom:1px solid rgba(17,24,39,.08) !important;
  background:rgba(255,255,255,.76) !important;
  box-shadow:none !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

@media (min-width:769px){
  body.shared-sidebar.sidebar-collapsed .sidebar{
    width:var(--sidebar-rail,58px) !important;
    min-width:var(--sidebar-rail,58px) !important;
    flex:0 0 var(--sidebar-rail,58px) !important;
    border-right-color:var(--shell-line,#E5E7EB) !important;
    box-shadow:var(--shadow-rail,8px 0 22px rgba(22,22,22,.045)) !important;
    overflow:visible !important;
    z-index:240 !important;
  }

  body.shared-sidebar.sidebar-collapsed .sidebar > *{
    opacity:1 !important;
    pointer-events:auto !important;
  }

  body.shared-sidebar.sidebar-collapsed .desktop-sidebar-open{
    display:none !important;
    width:0 !important;
    height:0 !important;
  }

  body.shared-sidebar.sidebar-collapsed .sidebar-logo{
    width:var(--sidebar-rail,58px) !important;
    height:62px !important;
    padding:0 !important;
    position:relative !important;
    justify-content:center !important;
    gap:0 !important;
    overflow:visible !important;
    cursor:pointer !important;
  }

  body.shared-sidebar.sidebar-collapsed .logo-text{
    display:none !important;
  }

  body.shared-sidebar.sidebar-collapsed .logo-icon,
  body.shared-sidebar.sidebar-collapsed .logo-icon img{
    width:36px !important;
    height:36px !important;
  }

  body.shared-sidebar.sidebar-collapsed .desktop-sidebar-close{
    width:40px !important;
    height:40px !important;
    min-height:40px !important;
    margin:0 !important;
    position:absolute !important;
    inset:50% auto auto 50% !important;
    transform:translate(-50%,-50%) !important;
    opacity:0 !important;
    pointer-events:none !important;
    z-index:2 !important;
    border-radius:10px !important;
  }

  body.shared-sidebar.sidebar-collapsed .desktop-sidebar-close .icon-collapse{
    display:none !important;
  }

  body.shared-sidebar.sidebar-collapsed .desktop-sidebar-close .icon-expand{
    display:block !important;
  }

  body.shared-sidebar.sidebar-collapsed .sidebar-logo:hover .desktop-sidebar-close,
  body.shared-sidebar.sidebar-collapsed .desktop-sidebar-close:hover,
  body.shared-sidebar.sidebar-collapsed .desktop-sidebar-close:focus-visible{
    opacity:1 !important;
    pointer-events:auto !important;
  }

  body.shared-sidebar.sidebar-collapsed .sidebar-logo:hover .logo-icon,
  body.shared-sidebar.sidebar-collapsed .sidebar-logo:has(.desktop-sidebar-close:focus-visible) .logo-icon{
    opacity:0 !important;
    transform:scale(.94) !important;
  }

  body.shared-sidebar.sidebar-collapsed .modul-nav{
    padding:10px 0 !important;
    align-items:center !important;
    overflow:visible !important;
  }

  body.shared-sidebar.sidebar-collapsed .modul-btn{
    width:44px !important;
    min-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    justify-content:center !important;
    gap:0 !important;
    font-size:0 !important;
    border-radius:10px !important;
    box-shadow:none !important;
  }

  body.shared-sidebar.sidebar-collapsed .modul-btn svg{
    width:19px !important;
    height:19px !important;
  }

  body.shared-sidebar.sidebar-collapsed .modul-btn.aktif{
    box-shadow:inset 3px 0 0 var(--lx-green) !important;
  }

  body.shared-sidebar.sidebar-collapsed .sidebar-section-toggle,
  body.shared-sidebar.sidebar-collapsed #panel-asistan-icerik,
  body.shared-sidebar.sidebar-collapsed .trial-info{
    display:none !important;
  }

  body.shared-sidebar.sidebar-collapsed .sidebar-bottom{
    height:78px !important;
    padding:0 !important;
    justify-content:center !important;
  }

  body.shared-sidebar.sidebar-collapsed .user-info{
    width:44px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    justify-content:center !important;
    border-radius:14px !important;
  }

  body.shared-sidebar.sidebar-collapsed .user-info > div:not(.user-avatar),
  body.shared-sidebar.sidebar-collapsed .user-plan,
  body.shared-sidebar.sidebar-collapsed .user-info > svg{
    display:none !important;
  }
}

body.shared-sidebar :where(.topbar-title,.topbar-left h1,.topbar h1,.welcome h2),
body[data-app-shell="true"] :where(.app-module-head h2,.app-card-title),
.studio-title h1,
.studio-pane-title h2{
  font-family:var(--lx-font-ui) !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  color:var(--lx-text) !important;
}

body.shared-sidebar :where(.topbar-title,.topbar-left h1,.topbar h1),
body[data-app-shell="true"] .app-module-head h2,
.studio-title h1{
  font-size:var(--lx-fs-page-title) !important;
  line-height:var(--lx-leading-tight) !important;
}

body.shared-sidebar .welcome h2{
  font-size:20px !important;
}

body[data-app-shell="true"] .app-module-page{
  padding:22px !important;
}

body[data-app-shell="true"] .app-module-inner{
  max-width:1120px !important;
}

body[data-app-shell="true"] .app-module-head{
  margin-bottom:14px !important;
  gap:12px !important;
}

body[data-app-shell="true"] .app-module-head p,
.studio-title p,
.studio-copy,
.studio-pane-title p{
  max-width:760px;
  color:var(--lx-text-muted) !important;
  font-size:var(--lx-fs-ui) !important;
  line-height:1.5 !important;
}

body.shared-sidebar :where(.panel,.kart,.ic-kart,.mv-kart,.mv-sonuc-kart,.ic-sonuc-kart,.ictihat-sonuc-kart,.mv-doc-meta,.ic-plan,.ic-rapor-detay,.ic-rapor-bolum,.ic-rapor-sonuc,.suggestion,.web-source-item,.dosya-item,.dosya-karti,.sonuc-kart,.doc-item,.uretim-belge,.aksiyon-kart,.uretim-blok,.bos-kutu,.ozet-metin,.assistant-panel-card),
body[data-app-shell="true"] :where(.app-card,.app-list-item,.app-preview,.app-file-input,.app-document-tile),
body.public-page :where(.card,.kart),
.studio-document-pane,
.studio-output-pane,
.studio-output-section,
.studio-step,
.studio-upload,
.studio-notice-channel,
.studio-aym-requests,
.studio-file-item{
  border-radius:var(--lx-radius-panel) !important;
  border-color:var(--lx-border-soft) !important;
  box-shadow:var(--lx-shadow-surface) !important;
  background:var(--lx-bg-surface) !important;
}

body.shared-sidebar :where(.modal,.chat-delete-modal,.mv-modal,.ictihat-modal,.editor-confirm-modal,.editor-modal),
.studio-annotation-popover{
  border-radius:var(--lx-radius-surface) !important;
  box-shadow:var(--lx-shadow-popover) !important;
}

body.shared-sidebar :where(.input-box,.ortak-panel-input,.ortak-panel-readonly,input:not([type="checkbox"]):not([type="radio"]),textarea,select),
body[data-app-shell="true"] :where(.app-form-grid input,.app-form-grid select,.app-form-grid textarea,.app-search-grid input,.app-search-grid select),
body.public-page :where(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.fake-input),
.studio-field textarea,
.studio-field input,
.studio-field select{
  min-height:38px !important;
  border-radius:var(--lx-radius-control) !important;
  border-color:var(--lx-border-muted) !important;
  background:#FFFFFF !important;
  box-shadow:none !important;
  font-size:var(--lx-fs-ui) !important;
}

body.shared-sidebar textarea,
body[data-app-shell="true"] textarea,
.studio-field textarea{
  line-height:1.55 !important;
}

body.shared-sidebar :where(button,.btn,.btn-submit,.btn-hero,.btn-ol,.trial-upgrade,.chat-bulk-action,.chat-bulk-cancel),
body.public-page :where(.btn,.btn-submit,.btn-hero,.btn-ol,.public-nav-link),
body[data-app-shell="true"] :where(.app-primary-btn,.app-secondary-btn,.app-action-btn),
.studio-button,
.studio-link,
.studio-mode-btn{
  min-height:34px !important;
  border-radius:var(--lx-radius-control) !important;
  font-size:var(--lx-fs-ui) !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
}

body.shared-sidebar :where(.badge,.chip,.pill,.assistant-signal,.assistant-source-filter-tab,.assistant-source-filter-count,.pending-job-source-chip,.pending-job-status,.research-live-duration,.research-source-chip,.research-planner-chip,.msg-dosya-kind),
body[data-app-shell="true"] :where(.app-document-kicker,.app-status-badge,.app-chip),
.studio-status,
.studio-upload-hint,
.studio-file-meta{
  min-height:22px !important;
  border-radius:999px !important;
  font-size:var(--lx-fs-caption) !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}

body.shared-sidebar .msg .msg-bubble:not(.pending-job-bubble){
  font-size:var(--lx-fs-body) !important;
  line-height:1.62 !important;
  border-radius:12px !important;
  box-shadow:none !important;
}

body.shared-sidebar .msg.ai .msg-bubble:not(.pending-job-bubble){
  background:#FFFFFF !important;
  border-color:rgba(17,24,39,.08) !important;
}

body.shared-sidebar .msg.user .msg-bubble:not(.pending-job-bubble){
  background:#F0F2F1 !important;
  color:var(--lx-text) !important;
}

body.shared-sidebar :where(.msg .msg-bubble:not(.pending-job-bubble) p,.msg .msg-bubble:not(.pending-job-bubble) li){
  font-size:var(--lx-fs-body) !important;
  line-height:1.62 !important;
}

body.shared-sidebar :where(.msg .msg-bubble h1,.msg .msg-bubble h2,.msg .msg-bubble h3){
  font-family:var(--lx-font-ui) !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}

body[data-app-shell="true"] .app-document-tile{
  min-height:124px !important;
  padding:15px !important;
  gap:7px !important;
}

body[data-app-shell="true"] .app-document-tile strong{
  font-size:16px !important;
  line-height:1.25 !important;
}

body[data-app-shell="true"] .app-document-tile > span:last-child{
  font-size:var(--lx-fs-ui) !important;
  line-height:1.45 !important;
}

.studio-shell{
  padding:20px !important;
  background:var(--lx-bg-page) !important;
}

.studio-entry-card{
  min-height:176px !important;
  padding:22px !important;
  border-radius:12px !important;
  box-shadow:var(--lx-shadow-surface) !important;
}

.studio-entry-card-title,
.studio-brand-line{
  font-family:var(--lx-font-ui) !important;
  font-size:22px !important;
  line-height:1.18 !important;
  letter-spacing:0 !important;
}

.studio-entry-card-copy{
  font-size:var(--lx-fs-ui) !important;
  line-height:1.5 !important;
  font-weight:600 !important;
}

.studio-pane-title h2{
  font-size:18px !important;
}

.studio-document-view{
  border-radius:12px !important;
  box-shadow:none !important;
}

.studio-document-page,
.studio-native-document,
.madde-modal-icerik,
.mv-modal-content,
.ictihat-modal-content,
.editor-document,
.editor-paper{
  font-size:var(--lx-fs-reading) !important;
  line-height:var(--lx-leading-reading) !important;
}

body.public-page .public-topbar{
  min-height:58px !important;
  padding:0 24px !important;
  border-bottom:1px solid rgba(17,24,39,.08) !important;
  background:rgba(255,255,255,.82) !important;
  box-shadow:none !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

body.public-page .container{
  max-width:960px !important;
}

body.public-page .card{
  padding:24px !important;
}

body.public-page :where(.card-title,.container h1,.container h2){
  font-family:var(--lx-font-ui) !important;
  font-size:24px !important;
  line-height:1.2 !important;
  font-weight:750 !important;
  letter-spacing:0 !important;
}

body.public-page :where(.card-sub,.meta,.subtitle,.container p,.container li,.kart-deger,footer,.alt-link){
  font-size:var(--lx-fs-ui) !important;
  line-height:1.58 !important;
}

body.public-page .hero{
  min-height:auto !important;
  padding:72px 24px 54px !important;
}

body.public-page .hero :where(h1,.hero-title),
body.public-page .hero :where(.h1-line1,.h1-line2){
  font-family:var(--lx-font-ui) !important;
  font-size:clamp(34px,5vw,54px) !important;
  line-height:1.02 !important;
  letter-spacing:0 !important;
}

body.public-page .hero-lead{
  max-width:680px !important;
  font-size:15px !important;
  line-height:1.65 !important;
}

body.public-page :where(.section-h2,.sec-h2,.usecases-head h2,.workflow-h2,.cta-h2){
  font-family:var(--lx-font-ui) !important;
  font-size:clamp(24px,2.6vw,34px) !important;
  line-height:1.16 !important;
  font-weight:750 !important;
  letter-spacing:0 !important;
}

body.public-page :where(.fc h3,.feat4-card h3,.uc-card h4){
  font-family:var(--lx-font-ui) !important;
  font-size:15px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}

body.public-page :where(.dark-section,.features,.usecases,.workflow,.cta){
  padding-top:56px !important;
  padding-bottom:56px !important;
}

body.public-page :where(.dark-card,.feat4-card,.uc-card,.fc){
  border-radius:var(--lx-radius-surface) !important;
}

/* Final premium polish: quieter chrome, denser forms, flatter app modules. */
body.public-page .public-topbar{
  height:62px !important;
  min-height:62px !important;
  padding:0 48px !important;
  background:rgba(250,250,248,.88) !important;
  border-bottom-color:rgba(17,24,39,.075) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.72) inset !important;
  backdrop-filter:blur(16px) saturate(120%);
  -webkit-backdrop-filter:blur(16px) saturate(120%);
}

body.public-page :where(.logo-mark,.logo-mark img,.nav-logo img){
  width:34px !important;
  height:34px !important;
}

body.public-page :where(.logo-name,.nav-logo-text){
  font-family:var(--lx-font-ui) !important;
  font-size:32px !important;
  font-weight:750 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
}

body.public-page .hero{
  min-height:calc(100vh - 62px) !important;
  padding:76px 40px 62px !important;
  background:#FAFAF8 !important;
}

body.public-page .hero-inner,
body.public-page :where(.features-inner,.workflow-inner,.usecases-inner,.cta-inner,.footer-inner){
  max-width:1168px !important;
}

body.public-page .hero :where(h1,.hero-title),
body.public-page .hero :where(.h1-line1,.h1-line2){
  font-size:clamp(38px,4.1vw,52px) !important;
  line-height:1.04 !important;
  font-weight:760 !important;
}

body.public-page .hero-lead{
  max-width:560px !important;
  font-size:14px !important;
  line-height:1.7 !important;
  color:#5F6762 !important;
}

body.public-page :where(.btn-hero,.btn-ol,.btn-submit,.btn-w,.btn-wg){
  min-height:40px !important;
  padding:10px 22px !important;
  border-radius:8px !important;
  font-size:13.5px !important;
  box-shadow:none !important;
}

body.public-page :where(.app-mockup,.feat4-card,.dark-card,.uc-card,.fc,.card,.kart){
  border-radius:10px !important;
  box-shadow:0 1px 2px rgba(17,24,39,.035) !important;
}

body.public-page .app-mockup{
  background:#F5F6F4 !important;
  border-color:#E1E5E1 !important;
}

body.public-page :where(.features,.workflow,.usecases,.cta,.dark-section){
  padding-top:64px !important;
  padding-bottom:64px !important;
}

body.public-page .card{
  max-width:430px !important;
  padding:28px !important;
  border-radius:10px !important;
  background:#FFFFFF !important;
  border-color:#E3E7E3 !important;
  box-shadow:0 20px 46px rgba(17,24,39,.055) !important;
}

body.public-page .card-title{
  font-size:23px !important;
  line-height:1.2 !important;
  margin-bottom:6px !important;
}

body.public-page .card-sub{
  font-size:13px !important;
  line-height:1.55 !important;
  margin-bottom:22px !important;
}

body.public-page :where(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.fake-input){
  min-height:42px !important;
  height:42px !important;
  border-radius:8px !important;
  font-size:13.5px !important;
  border-color:#DDE3DE !important;
  background:#FFFFFF !important;
}

body.public-page :where(label,.sifre-unut,.hatirla-label,.alt-link){
  font-size:12.5px !important;
}

body.shared-sidebar :where(.ic-ic,.mv-ic){
  width:min(1040px, calc(100% - 112px)) !important;
  padding:28px 0 56px !important;
}

body.shared-sidebar :where(.ic-source-switch,.mv-search-panel){
  border-radius:10px !important;
  border-color:#E2E6E2 !important;
  background:#F4F6F4 !important;
  box-shadow:none !important;
}

body.shared-sidebar :where(.ic-source-btn){
  min-height:36px !important;
  border-radius:8px !important;
  padding:7px 12px !important;
}

body.shared-sidebar :where(.ic-source-btn strong){
  font-size:13.5px !important;
  font-weight:700 !important;
}

body.shared-sidebar :where(.ic-kart,.mv-kart){
  padding:16px 18px !important;
  border-radius:9px !important;
  border-color:#E3E7E3 !important;
  background:#FFFFFF !important;
  box-shadow:0 1px 2px rgba(17,24,39,.035) !important;
}

body.shared-sidebar :where(.ic-kart-label,.mv-kart-label,.panel-head h2,.panel-head h3){
  font-size:14px !important;
  line-height:1.25 !important;
  font-weight:720 !important;
  color:#171D19 !important;
}

body.shared-sidebar :where(.ic-kart-desc,.mv-kart-desc,.ic-toggle-desc,.ic-arama-ipucu,.mv-hint,.ic-quality-empty){
  font-size:12.5px !important;
  line-height:1.5 !important;
  color:#747D76 !important;
}

body.shared-sidebar :where(.ic-input-row,.mv-input-row,.mv-search-grid){
  gap:8px !important;
}

body.shared-sidebar :where(.ic-input-box,.mv-input-box){
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  border-radius:8px !important;
  border-color:#DDE3DE !important;
  background:#FFFFFF !important;
}

body.shared-sidebar :where(.ic-input-box input,.mv-input-box input){
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  line-height:38px !important;
  font-size:13.5px !important;
}

body.shared-sidebar :where(.ic-ara-btn,.mv-ara-btn,.ic-temizle-btn,.mv-temizle-btn,.ic-secondary-btn){
  height:38px !important;
  min-height:38px !important;
  border-radius:8px !important;
  font-size:13.5px !important;
  font-weight:700 !important;
  padding:0 16px !important;
}

body.shared-sidebar :where(.ic-mantik-btn){
  height:26px !important;
  padding:0 11px !important;
  font-size:12px !important;
}

body.shared-sidebar .ic-kart-semantik{
  --lx-accent-line:var(--lx-red);
}

body.shared-sidebar .ic-kart-akilli{
  --lx-accent-line:#171717;
}

body.shared-sidebar :where(.ic-kart-semantik,.ic-kart-akilli){
  box-shadow:inset 2px 0 0 var(--lx-accent-line), 0 1px 2px rgba(17,24,39,.035) !important;
}

body.shared-sidebar :where(.ic-toggle-label){
  font-size:14px !important;
  font-weight:720 !important;
}

body.shared-sidebar :where(.ic-toggle-sw){
  width:36px !important;
  height:20px !important;
}

body.shared-sidebar :where(.ic-toggle-sw-top){
  width:16px !important;
  height:16px !important;
}

body.shared-sidebar :where(.ic-limit-sec,.mv-limit-sec){
  min-height:36px !important;
  height:36px !important;
  border-radius:8px !important;
  font-size:12.5px !important;
  background:#FFFFFF !important;
}

body.shared-sidebar :where(.ic-limit-sec select,.mv-limit-sec select){
  height:28px !important;
  border-radius:7px !important;
  font-size:12.5px !important;
}

body.shared-sidebar :where(.assistant-side-panel){
  background:#F4F6F4 !important;
  border-left-color:#E7EAE7 !important;
}

body.shared-sidebar :where(.assistant-source-filter-tab){
  height:30px !important;
  border-radius:8px !important;
  font-size:11px !important;
  box-shadow:none !important;
}

body.shared-sidebar :where(.welcome){
  padding-top:44px !important;
}

body.shared-sidebar :where(.welcome h2){
  font-size:21px !important;
}

body.shared-sidebar :where(.welcome p){
  font-size:13.5px !important;
  max-width:420px !important;
}

/* Final specificity lock: keep the premium layer above shared shell and embedded module styles. */
body.public-page > nav.public-topbar.public-topbar{
  height:62px !important;
  min-height:62px !important;
  padding:0 48px !important;
  padding-inline:48px !important;
  background:rgba(250,250,248,.88) !important;
  border-bottom-color:rgba(17,24,39,.075) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.72) inset !important;
}

body.public-page > nav.public-topbar.public-topbar :is(.logo,.nav-logo){
  gap:9px !important;
}

body.public-page > nav.public-topbar.public-topbar :is(.logo-mark,.logo-mark img,.nav-logo img){
  width:34px !important;
  height:34px !important;
  flex-basis:34px !important;
}

body.public-page > nav.public-topbar.public-topbar :is(.logo-name,.nav-logo-text){
  font-family:var(--lx-font-ui) !important;
  font-size:32px !important;
  font-weight:750 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
}

body.shared-sidebar[data-active-module] :is(.ic-ic,.mv-ic),
body.shared-sidebar:not([data-active-module]) :is(.ic-ic,.mv-ic){
  width:min(1040px, calc(100% - 112px)) !important;
  max-width:none !important;
  padding:28px 0 56px !important;
}

body.shared-sidebar:not(.theme-dark) :is(
  .ic-kart.ic-kart,
  .mv-kart.mv-kart,
  #ictihat-pool-panel > .ic-kart.ic-kart,
  #ictihat-official-panel .ic-kart.ic-kart,
  .mv-ic > .mv-kart.mv-kart
){
  padding:16px 18px !important;
  border:1px solid #E3E7E3 !important;
  border-radius:9px !important;
  background:#FFFFFF !important;
  box-shadow:0 1px 2px rgba(17,24,39,.035) !important;
}

body.shared-sidebar:not(.theme-dark) :is(
  .ic-kart.ic-kart-semantik,
  #ictihat-pool-panel > .ic-kart.ic-kart-semantik:nth-of-type(2)
){
  --lx-accent-line:var(--lx-red);
  box-shadow:inset 2px 0 0 var(--lx-accent-line), 0 1px 2px rgba(17,24,39,.035) !important;
}

body.shared-sidebar:not(.theme-dark) :is(
  .ic-kart.ic-kart-akilli,
  #ictihat-pool-panel > .ic-kart.ic-kart-akilli:nth-of-type(3)
){
  --lx-accent-line:#171717;
  box-shadow:inset 2px 0 0 var(--lx-accent-line), 0 1px 2px rgba(17,24,39,.035) !important;
}

body.shared-sidebar[data-active-module="ictihat"] .ic-input-box.ic-input-box,
body.shared-sidebar[data-active-module="mevzuat"] .mv-input-box.mv-input-box,
body.shared-sidebar :is(.ic-input-box.ic-input-box,.mv-input-box.mv-input-box){
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  border-radius:8px !important;
  background:#FFFFFF !important;
}

body.shared-sidebar[data-active-module="ictihat"] :is(.ic-ara-btn,.ic-temizle-btn,.ic-secondary-btn),
body.shared-sidebar[data-active-module="mevzuat"] :is(.mv-ara-btn,.mv-temizle-btn),
body.shared-sidebar :is(.ic-ara-btn,.mv-ara-btn,.ic-temizle-btn,.mv-temizle-btn,.ic-secondary-btn){
  height:38px !important;
  min-height:38px !important;
  border-radius:8px !important;
  padding:0 16px !important;
  font-size:13.5px !important;
  box-shadow:none !important;
}

body.shared-sidebar:not(.theme-dark) .ic-source-btn.ic-source-btn.aktif{
  box-shadow:0 1px 2px rgba(17,24,39,.045) !important;
}

body.shared-sidebar:not(.theme-dark) .ic-source-btn.ic-source-btn[data-ictihat-source="pool"].aktif{
  background:#1E4434 !important;
  border-color:#1E4434 !important;
  color:#FFFFFF !important;
}

body.shared-sidebar:not(.theme-dark) .ic-source-btn.ic-source-btn[data-ictihat-source="official"].aktif{
  background:#171717 !important;
  border-color:#171717 !important;
  color:#FFFFFF !important;
}

body.shared-sidebar .ic-source-btn.ic-source-btn:focus-visible{
  outline:1px solid rgba(30,68,52,.26) !important;
  outline-offset:2px !important;
  box-shadow:0 0 0 3px rgba(30,68,52,.08), 0 1px 2px rgba(17,24,39,.045) !important;
}

@media (max-width:768px){
  body.public-page > nav.public-topbar.public-topbar{
    height:58px !important;
    min-height:58px !important;
    padding-inline:16px !important;
  }

  body.public-page > nav.public-topbar.public-topbar :is(.logo-name,.nav-logo-text){
    font-size:28px !important;
  }

  body.shared-sidebar[data-active-module] :is(.ic-ic,.mv-ic),
  body.shared-sidebar:not([data-active-module]) :is(.ic-ic,.mv-ic){
    width:100% !important;
    padding:24px 16px 52px !important;
  }
}

body.public-page.theme-dark{
  --lx-bg-page:#15191B;
  --lx-bg-surface:#20262A;
  --lx-text:#F2F6F3;
  --lx-text-muted:#B6C2BC;
  --lx-border-soft:rgba(242,246,243,.12);
}

body.public-page.theme-dark .public-topbar,
body.public-page.theme-dark .card,
body.public-page.theme-dark :where(.app-mockup,.feat4-card,.fc){
  background:var(--lx-bg-surface) !important;
  border-color:var(--lx-border-soft) !important;
}

body.theme-dark.shared-sidebar,
body.theme-dark[data-app-shell="true"]{
  --lx-bg-page:#14191B;
  --lx-bg-surface:#1E2528;
  --lx-bg-subtle:#242C30;
  --lx-border-soft:rgba(242,246,243,.10);
  --lx-border-muted:rgba(242,246,243,.16);
  --lx-text:#F2F6F3;
  --lx-text-muted:#B9C4BE;
  --lx-text-faint:#87938D;
}

body.theme-dark.shared-sidebar :where(.sidebar,.sidebar-logo,.sidebar-bottom){
  background:#151B1E !important;
}

body.theme-dark.shared-sidebar .topbar,
body.theme-dark[data-app-shell="true"] .topbar,
body.theme-dark .studio-topbar{
  background:rgba(30,37,40,.78) !important;
  border-bottom-color:rgba(242,246,243,.10) !important;
}

body.theme-dark.shared-sidebar :where(.msg.ai .msg-bubble:not(.pending-job-bubble),.panel,.kart,.ic-kart,.mv-kart,.dosya-karti,.sonuc-kart,.assistant-panel-card),
body.theme-dark[data-app-shell="true"] :where(.app-card,.app-document-tile),
body.theme-dark .studio-document-pane,
body.theme-dark .studio-output-pane,
body.theme-dark .studio-output-section{
  background:var(--lx-bg-surface) !important;
  border-color:var(--lx-border-soft) !important;
}

body.theme-dark.shared-sidebar :where(.input-box,.ortak-panel-input,input:not([type="checkbox"]):not([type="radio"]),textarea,select),
body.theme-dark[data-app-shell="true"] :where(input:not([type="checkbox"]):not([type="radio"]),textarea,select),
body.theme-dark .studio-field textarea,
body.theme-dark .studio-field input,
body.theme-dark .studio-field select{
  background:#263035 !important;
  color:var(--lx-text) !important;
}

/* Mevzuat/ictihat control lock: outrank the older shared 44px select/input rules. */
body.shared-sidebar[data-active-module="ictihat"] .ic-input-box.ic-input-box,
body.shared-sidebar[data-active-module="mevzuat"] .mv-input-box.mv-input-box,
body.shared-sidebar[data-active-module="mevzuat"] .mv-select.mv-select,
body.shared-sidebar :is(.ic-input-box.ic-input-box,.mv-input-box.mv-input-box,.mv-select.mv-select){
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  border-radius:8px !important;
  font-size:13.5px !important;
  box-shadow:none !important;
}

body.shared-sidebar[data-active-module="ictihat"] .ic-input-box.ic-input-box > input,
body.shared-sidebar[data-active-module="mevzuat"] .mv-input-box.mv-input-box > input,
body.shared-sidebar :is(.ic-input-box.ic-input-box,.mv-input-box.mv-input-box) > input{
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  line-height:38px !important;
  font-size:13.5px !important;
}

body.shared-sidebar[data-active-module="mevzuat"] .mv-select-wrapper{
  min-height:38px !important;
}

body.shared-sidebar[data-active-module="mevzuat"] .mv-select.mv-select,
body.shared-sidebar .mv-select.mv-select{
  padding:0 34px 0 12px !important;
  line-height:normal !important;
  border-width:1px !important;
  border-color:#DDE3DE !important;
  background-color:#FFFFFF !important;
  background-image:url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%239A9F9B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 12px center !important;
  background-size:14px 14px !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

body.theme-dark.shared-sidebar[data-active-module="mevzuat"] .mv-select.mv-select,
body.theme-dark.shared-sidebar .mv-select.mv-select{
  border-color:#3F4A50 !important;
  background-color:#263035 !important;
  background-image:url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23B9C4BE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  color:#F2F6F3 !important;
}

html body.shared-sidebar select.mv-select.mv-select,
html body.shared-sidebar[data-active-module="mevzuat"] select.mv-select.mv-select,
html body.theme-dark.shared-sidebar select.mv-select.mv-select{
  background-repeat:no-repeat !important;
  background-position:right 12px center !important;
  background-size:14px 14px !important;
}

body.shared-sidebar[data-active-module="mevzuat"] .mv-field-label{
  font-size:12.5px !important;
  line-height:1.3 !important;
  font-weight:650 !important;
  margin-bottom:6px !important;
}

@media (max-width: 900px){
  body[data-app-shell="true"] .app-module-page,
  .studio-shell{
    padding:16px !important;
  }

  body.shared-sidebar .topbar,
  body[data-app-shell="true"] .topbar,
  .studio-topbar{
    padding:0 14px !important;
  }

  body.public-page .hero{
    padding:52px 18px 36px !important;
  }
}
