/* ================= SINIF PUSULASI · KÜÇÜK EKRAN TASARIMI (telefon, ≤599px) =================
   Genel görünüm aynı kalır. İlke: sade, dengeli, simetrik; az kaydırma; başparmakla erişim.
   Üst ve alt çubuk aynı "damla" (yüzen, yuvarlak beyaz şerit) biçiminde.
   Yalnız dar ekranlarda devreye girer; tablet, bilgisayar ve akıllı tahta görünümü değişmez. */
@media (max-width:599px){
  :root{--mbar:54px;--msafe:env(safe-area-inset-bottom,0px);--mgap:12px}

  /* ---------- yazı ölçeği (sakin, okunur) ---------- */
  body{font-size:15px;line-height:1.42;-webkit-text-size-adjust:100%}
  .mut,p.mut,div.mut{font-size:13px!important;line-height:1.4}
  small{font-size:12px}
  .pill{font-size:12px!important}
  .card h3,.mb h3{font-size:17px!important;line-height:1.25}
  .sec,.rggh{font-size:11.5px!important;letter-spacing:.08em;line-height:1;margin:18px 4px 8px!important;padding:0!important}

  /* ---------- üst çubuk: damla ---------- */
  /* kök öğe zaten güvenli alan kadar boşluk bırakıyor; başlık ikinci kez eklemesin */
  html body.mbar header.hd,html body.sptop.mbar header.hd{padding:6px var(--mgap) 6px!important}
  html body.sptop.mbar header.hd div.in,html body.mbar header.hd div.in{
    grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;height:48px;padding:0 6px 0 8px!important;border-radius:24px!important}
  html body.sptop.mbar header.hd .sptl,html body.mbar header.hd .sptl{justify-content:flex-start!important;gap:8px!important;padding:0!important;min-width:0;height:100%}
  html body.mbar header.hd .sptl svg,html body.mbar header.hd .sptl img{width:32px!important;height:32px!important;flex:none}
  html body.sptop.mbar header.hd .sptl>div,html body.mbar header.hd .sptl>div{display:block!important;min-width:0}
  html body.mbar header.hd h1{font-size:17px!important;line-height:1!important;margin:0!important;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#25406B!important}
  html body.sptop.mbar header.hd .sptr,html body.mbar header.hd .sptr{justify-content:flex-end!important;gap:6px!important;padding:0!important;height:100%}
  html body.sptop.mbar header.hd .hun,html body.mbar header.hd .hun{display:inline-block!important;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px!important;color:#62789B!important}
  html body.mbar header.hd #spAB{width:36px!important;height:36px!important}

  /* ---------- alt çubuk: damla ---------- */
  #mnav{position:fixed;left:var(--mgap);right:var(--mgap);bottom:calc(8px + var(--msafe));z-index:35;padding:3px;
    background:linear-gradient(180deg,#FFFFFF,#FBFDFF);border:1px solid var(--glb,rgba(37,64,107,.12));border-radius:24px;
    box-shadow:var(--gls,0 8px 24px rgba(20,40,80,.12)),var(--glh,0 1px 0 rgba(255,255,255,.8) inset)}
  #mnav #nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;
    background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    position:static!important;width:auto!important;max-width:none!important;border-radius:0!important;height:auto!important}
  #mnav #nav>button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:var(--mbar)!important;min-height:0!important;
    padding:0!important;margin:0!important;border:0!important;border-radius:20px!important;background:none!important;box-shadow:none!important;color:#62789B!important;position:relative;min-width:0;width:auto!important}
  #mnav #nav>button .ni{display:grid;place-items:center;width:40px;height:26px;border-radius:13px;transition:background .18s}
  #mnav #nav>button .ni .ico,#mnav #nav>button .ni svg{width:20px!important;height:20px!important}
  #mnav #nav>button .ni img.bbni{width:21px!important;height:21px!important;border-radius:50%}
  #mnav #nav>button .nl{display:none!important}
  #mnav #nav>button .ns{display:block!important;font-size:10.5px!important;font-weight:800;line-height:1;letter-spacing:0;white-space:nowrap}
  #mnav #nav>button.on{color:#25406B!important}
  #mnav #nav>button.on .ni{background:var(--yl,#FFE08A)}
  #mnav #nav>button[data-t="kulup"],#mnav #nav>button[data-t="evrak"],#mnav #nav>button[data-t="settings"]{display:none!important}
  #mnav #nav>button .bbnb,#mnav #nav>button .nbd{position:absolute;top:2px;right:calc(50% - 22px);transform:scale(.85)}
  html.mbar{padding-bottom:calc(var(--mbar) + 6px + 8px + 14px + var(--msafe))!important}

  /* yüzen düğmeler alt çubuğun üstünde, aynı kenar boşluğunda */
  body.mbar .fab{right:var(--mgap)!important;bottom:calc(var(--mbar) + 6px + 8px + 12px + var(--msafe))!important;width:52px!important;height:52px!important;font-size:24px!important}
  body.mbar .cmp,body.mbar .dice,body.mbar.ishome .dice{bottom:calc(var(--mbar) + 6px + 8px + 12px + var(--msafe))!important}
  body.mbar .cmp{left:var(--mgap)!important;width:48px!important;height:48px!important}
  body.mbar .ts{bottom:calc(var(--mbar) + 6px + 8px + 12px + var(--msafe))!important}

  /* kurulum rehberi: pencerelerin ve "Daha"nın altında, kenarlar hizalı, kompakt */
  html body.mbar #wzP{z-index:38!important;left:var(--mgap)!important;right:var(--mgap)!important}
  html body.mbar #wzP .wzpanel{width:auto!important;max-height:calc(100vh - 210px)!important;padding:14px!important;border-radius:24px!important}
  html body.mbar #wzP .wzpanel .wzart{display:none!important}
  html body.mbar #wzP.wzpanel{width:auto!important;max-height:calc(100vh - 210px)!important;padding:14px!important;border-radius:24px!important}
  html body.mbar #wzP.wzpanel .wzart{display:none!important}
  /* kapalıyken yalnız ilerleme halkası; pusulanın üstünde, solda */
  html body.mbar #wzP.wzchip{right:auto!important;bottom:calc(var(--mbar) + 6px + 8px + 12px + var(--msafe))!important}
  html body.mbar #wzP.wzchip .wzct{display:none!important}
  html body.mbar #wzP.wzchip .wzc{padding:3px!important;border-radius:50%!important;gap:0!important;width:auto!important}

  /* "Daha" sayfası */
  #mmore{position:fixed;inset:0;z-index:45;background:rgba(20,40,80,.24);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:flex-end;padding:0 var(--mgap) calc(8px + var(--msafe))}
  #mmore[hidden]{display:none}
  #mmore .msh{width:100%;background:linear-gradient(180deg,#FFFFFF,#FBFDFF);border:1px solid var(--glb,#D5E5F8);border-radius:24px;padding:6px;box-shadow:var(--gls,0 8px 24px rgba(20,40,80,.12));animation:mUp .22s cubic-bezier(.2,.9,.25,1)}
  #mmore .mit{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-radius:18px;background:none;color:#25406B;font:inherit;font-size:15px;font-weight:800;text-align:left}
  #mmore .mit+.mit{margin-top:2px}
  #mmore .mit:active,#mmore .mit.on{background:#F3F8FF}
  #mmore .mit .mi{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#F3F8FF;border:1px solid var(--glb,#D5E5F8);flex:none;color:#25406B}
  #mmore .mit .mi svg,#mmore .mit .mi .ico{width:20px;height:20px}
  #mmore .mit small{display:block;font-weight:600;color:#62789B;font-size:12px;margin-top:1px}
  #mmore .mit.on .mi{background:var(--yl,#FFE08A)}
  @keyframes mUp{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

  /* ---------- pencereler: alttan açılan damla ---------- */
  .md{align-items:flex-end!important;padding:0 8px calc(8px + var(--msafe))!important}
  .md .mb{max-width:none!important;width:100%!important;border-radius:24px!important;max-height:calc(88vh - env(safe-area-inset-top,0px))!important;
    padding:14px!important;animation:mUp .22s cubic-bezier(.2,.9,.25,1)!important;border-width:1px!important}

  /* ---------- içerik kenarları ve kartlar ---------- */
  /* içerik kenarı = üst ve alt çubuğun kenarı */
  html body main{padding-left:0!important;padding-right:0!important;max-width:none!important}
  html body #view{padding-left:var(--mgap)!important;padding-right:var(--mgap)!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
  .card{padding:12px 14px!important;margin-bottom:10px!important;border-radius:20px!important}
  input,select,textarea{font-size:16px!important}

  /* ---------- Ana Sayfa ---------- */
  .hl .hr{min-height:0!important;padding:7px 0!important}
  .hl .hr .el{font-size:13.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cal .calw,.cal .calt{font-size:11.5px!important}
  .hq .qtxt{font-size:16px!important;line-height:1.35!important}
  html body .hr2 .bempty{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;position:static!important;padding:4px 0 0!important;margin:0!important}
  html body .hr2 .row{flex-wrap:nowrap!important;gap:6px}
  html body .hr2 .row .ft{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
  html body .hr2 .bshow{overflow:hidden}
  html body .hr2 .row .tag{padding:2px 6px!important;font-size:11px!important;flex:none}
  html body .hr2 .bempty .bl{display:flex!important;flex-wrap:nowrap;justify-content:center;gap:2px;position:static!important;margin:0!important;transform:none!important;font-size:15px;line-height:1}
  html body .hr2 .bempty .bl span{position:static!important;transform:none!important;margin:0!important}
  html body .hr2 .bempty small{text-align:center;font-size:10.5px!important;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

  /* ---------- Sınıf merkezi: sınıf seçici + sekmeler ---------- */
  .hub .hubc{display:flex!important;gap:6px!important;padding:4px!important}
  .hub .hubc>button{flex:1 1 auto;min-height:40px!important;height:40px}
  .hub .hubc>button.hubadd{flex:0 0 40px!important;width:40px!important;max-width:40px;padding:0!important;border-style:solid!important;font-size:20px!important}
  .hub .hubt>button{font-size:11.5px!important;min-height:52px!important;height:auto!important;padding:6px 0!important;gap:2px!important}
  .hub .hubt .hti{font-size:16px!important;height:20px!important}

  /* ---------- Sınıf listesi: tek satır, dokununca açılır ---------- */
  html body .srow:not(.h){grid-template-columns:36px 44px minmax(0,1fr) 36px!important;grid-template-areas:"av no nm x"!important;gap:4px 8px!important;padding:6px 0!important;align-items:center}
  html body .srow:not(.h)>input{height:38px!important;padding:0 8px!important;min-width:0}
  html body .srow:not(.h)>.sph{width:36px!important;height:36px!important}
  html body .srow:not(.h)>input:nth-of-type(1){text-align:center;padding:0 2px!important}
  html body .srow:not(.h) .srcard{width:36px!important;height:36px!important}
  html body .srow:not(.h):not(:focus-within)>input:nth-of-type(3),html body .srow:not(.h):not(:focus-within)>input:nth-of-type(4),html body .srow:not(.h):not(:focus-within)>.srdel{display:none!important}
  html body .srow:not(.h):not(:focus-within)>input{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
  html body .srow:not(.h):not(:focus-within)>input:nth-of-type(1){color:#62789B;font-weight:700}
  html body .srow:not(.h):not(:focus-within)>input:nth-of-type(2){font-weight:800}
  html body .srow:not(.h):focus-within{grid-template-areas:"av no nm x" ". pa pa y" ". ph ph y"!important;background:#F3F8FF;border-radius:16px;padding:6px!important;margin:2px -6px}
  html body .srow:not(.h):focus-within>.srdel{display:grid!important;place-self:center}
  .srow.h{display:none!important}

  /* ---------- Rehberlik: tek sütun, sade liste ---------- */
  .rgtiles{display:block!important;background:linear-gradient(180deg,#FFFFFF,#FBFDFF);border:1px solid var(--glb,#D5E5F8);border-radius:20px;padding:2px 0;overflow:hidden;box-shadow:var(--gls,none)}
  .rgtile{display:grid!important;grid-template-columns:32px minmax(0,1fr) 12px;grid-template-rows:auto auto;column-gap:12px;row-gap:1px;align-items:center;width:100%;
    min-height:56px!important;height:auto;padding:9px 14px!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;text-align:left;position:relative}
  .rgtile+.rgtile:before{content:"";position:absolute;left:58px;right:0;top:0;height:1px;background:var(--bd,#E3ECF8)}
  .rgtile:after{content:"›";grid-column:3;grid-row:1/3;color:#9AACC7;font-size:20px;line-height:1;font-weight:700}
  .rgtile .rgti{grid-column:1;grid-row:1/3;width:32px!important;height:32px!important;border-radius:10px!important}
  .rgtile .rgti .ico{width:17px!important;height:17px!important}
  .rgtile b{grid-column:2;grid-row:1;font-size:14.5px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-self:end}
  .rgtile small{grid-column:2;grid-row:2;font-size:12px!important;line-height:1.25!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;align-self:start;color:#62789B}
  .rgtile small *{font-size:11px!important}
  .rgtile:active{background:#F3F8FF!important}
  .rghero{padding:14px 16px!important}
  .rghero .rgt{font-size:21px!important}

  /* ---------- Birebir: menü üstte, adlı ve kaydırılabilir sekme şeridi ---------- */
  .bbL.col{display:block!important}
  html body .bbL .bbside{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:4px!important;width:auto!important;height:auto!important;min-height:0!important;
    overflow-x:auto;overflow-y:hidden;position:sticky!important;top:calc(env(safe-area-inset-top,0px) + 60px)!important;z-index:5;padding:4px!important;margin:0 0 10px!important;border-radius:20px!important;scrollbar-width:none;
    scroll-snap-type:x proximity;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 18px),transparent)}
  .bbL .bbside::-webkit-scrollbar{display:none}
  html body .bbL .bbside .bbsh,html body .bbL .bbside .bbsi.bbtog,html body .bbL .bbside .bbsep{display:none!important}
  html body .bbL .bbside .bbsi{flex:none!important;width:auto!important;min-width:0!important;height:38px!important;padding:0 12px 0 10px!important;display:flex!important;align-items:center;justify-content:center;gap:6px;border-radius:14px!important;margin:0!important;scroll-snap-align:center;position:relative}
  html body .bbL .bbside .bbsi .bbsic{width:18px!important;height:18px!important;display:grid;place-items:center}
  html body .bbL .bbside .bbsi .bbsic .ico{width:17px!important;height:17px!important}
  html body .bbL .bbside .bbsi .bbsl3{display:inline!important;font-size:13px!important;font-weight:800;white-space:nowrap;opacity:1!important;width:auto!important;max-width:none!important;position:static!important}
  html body .bbL .bbside .bbsi .bbnc{position:static!important;margin-left:2px;transform:none!important}
  html body .bbL .bbside .bbsimb{flex:none!important;width:auto!important;min-width:0!important;height:30px!important;padding:0 10px!important;border-radius:12px!important;margin:0 2px 0 0!important;font-size:10.5px!important}
  html body .bbL .bbside .bbsimb .bbsl3{display:none!important}
  .bbL .bbmain{width:auto!important;margin:0!important}

  /* ---------- Birebir: tek başlıkta açılır menü + öğrenci seçimi yan yana ---------- */
  html body #view .bbmrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0 0 10px;position:relative;z-index:8}
  html body #view .bbmrow.solo{grid-template-columns:minmax(0,1fr)}
  html body #view .bbmrow .bbside{display:block!important;position:relative!important;top:auto!important;width:auto!important;height:auto!important;min-height:0!important;
    padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body #view .bbmrow .bbside:not(.bbopen)>*:not(.on){display:none!important}
  html body #view .bbmrow .bbside>.bbsi.on{display:flex!important;width:100%!important;height:44px!important;padding:0 12px!important;gap:8px;align-items:center;justify-content:flex-start!important;border-radius:16px!important;margin:0!important;
    background:linear-gradient(180deg,#FFFFFF,#FBFDFF)!important;border:1px solid var(--glb,#D5E5F8)!important;box-shadow:var(--gls,none)!important;color:#25406B!important}
  html body #view .bbmrow .bbside>.bbsi.on .bbsl3{display:inline!important;font-size:14px!important;font-weight:800;flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html body #view .bbmrow .bbside>.bbsi.on:after{content:"";width:8px;height:8px;border-right:2px solid #62789B;border-bottom:2px solid #62789B;transform:translateY(-2px) rotate(45deg);flex:none;transition:transform .18s}
  html body #view .bbmrow .bbside .bbsi .bbsic{width:18px!important;height:18px!important;display:grid;place-items:center;flex:none}
  html body #view .bbmrow .bbside .bbsi .bbnc{position:static!important;transform:none!important;margin-left:2px}
  /* açık menü: satırın tamamını kaplayan damla liste */
  html body #view .bbmrow .bbside.bbopen{position:absolute!important;left:0;right:0;top:0;z-index:30;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px;padding:6px!important;
    background:linear-gradient(180deg,#FFFFFF,#FBFDFF)!important;border:1px solid var(--glb,#D5E5F8)!important;border-radius:20px!important;box-shadow:0 16px 40px rgba(20,40,80,.18)!important;max-height:72vh;overflow-y:auto!important}
  html body #view .bbmrow .bbside.bbopen>.bbsi{display:flex!important;width:auto!important;height:42px!important;padding:0 10px!important;gap:8px;align-items:center;justify-content:flex-start!important;border-radius:14px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;color:#25406B}
  html body #view .bbmrow .bbside.bbopen>.bbsi .bbsl3{display:inline!important;font-size:13.5px!important;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body #view .bbmrow .bbside.bbopen>.bbsi.on{grid-column:1/-1;order:-1;background:var(--yl,#FFE08A)!important;height:44px!important}
  html body #view .bbmrow .bbside.bbopen>.bbsi.on:after{transform:translateY(2px) rotate(-135deg)}
  html body #view .bbmrow .bbside.bbopen>.bbsi.bbtog,html body #view .bbmrow .bbside.bbopen>.bbsh,html body #view .bbmrow .bbside.bbopen>.bbsep{display:none!important}
  html body #view .bbmrow .bbside.bbopen>.bbsimb{display:flex!important;grid-column:1/-1;order:-2;height:32px!important;justify-content:center;border-radius:12px!important;margin:0 0 4px!important}
  html body #view .bbmrow .bbside.bbopen>.bbsimb .bbsl3{display:inline!important;margin-left:6px}
  html body #view .bbmrow .bbstc{width:100%!important;height:44px!important;margin:0!important;border-radius:16px!important;justify-content:center;gap:6px;position:relative}
  html body #view .bbmrow .bbstc b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  html body #view .bbmrow .bbstc .bbnc{position:absolute!important;top:-6px;right:-4px}
  /* program: hafta ve görev ekle yan yana */
  html body #view .bbtb2{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:5px!important;align-items:stretch!important;margin-bottom:10px;padding-right:0!important}
  html body .bbtb2>.bbdt{flex:1 1 auto!important}
  html body .bbtb2>.bbaddw,html body .bbtb2>.bbfx{flex:none!important}
  html body .bbtb2>*{margin:0!important;min-width:0}
  html body .bbtb2 .bbdt{width:auto!important;height:44px;display:flex!important;align-items:center}
  html body .bbtb2 .bbdt .bbwl b{font-size:12px!important;white-space:nowrap;letter-spacing:-.01em}
  html body .bbtb2 .bbdt .bbwl small{font-size:10.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
  html body #view .bbtb2 .bbaddw{width:auto!important;display:flex!important;gap:5px;align-items:stretch}
  html body .bbtb2 .bbaddw>button{height:44px!important;min-height:44px!important;padding:0 12px!important;font-size:13.5px!important;white-space:nowrap;margin:0!important}
  html body #view .bbtb2 .bbfx{position:relative!important;top:auto!important;right:auto!important;align-self:stretch;display:flex!important;align-items:center;justify-content:center;width:34px!important;min-width:34px!important;padding:0!important}
  html body .bbtb2 .bbfx>button{width:34px!important;height:44px!important;min-width:34px!important;padding:0!important;border-radius:14px!important}
  html body .bbtb2 .bbdt{padding:0 2px!important;gap:0!important}
  html body .bbtb2 .bbdt .bbnv{width:22px!important;min-width:22px!important;height:40px!important;padding:0!important;flex:none}
  html body .bbtb2 .bbdt .bbwl{flex:1;min-width:0;text-align:center}
  html body #view .bbtb2 .bbaddw>.bbadd{width:auto!important;flex:none!important;font-size:0!important;padding:0 9px!important;gap:0!important}
  html body .bbtb2 .bbaddw>.bbadd>*{display:none!important}
  html body .bbtb2 .bbaddw>.bbadd:before{content:"＋ Görev";font-size:12.5px;font-weight:800}
  html body .bbtb2 .bbaddw>button:not(.bbadd){width:34px!important;min-width:34px!important;padding:0!important;justify-content:center}
  /* program: bir gün tam görünür, yanındaki gün ucundan görünür; kaydırınca güne oturur */
  html body .bbwgw{overflow-x:auto!important;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(-1 * var(--mgap));padding:0 var(--mgap)!important;scroll-padding:0 var(--mgap)}
  html body .bbwgw::-webkit-scrollbar{display:none}
  html body .bbwg{grid-template-columns:repeat(7,calc(100vw - 2 * var(--mgap) - 44px))!important;width:max-content!important;gap:10px!important}
  html body .bbwg .bbcol{scroll-snap-align:start}
  /* analiz dönem seçimi + PDF düğmesi */
  html body .bbanh{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center}
  html body .bbanh>.chips{flex:1 1 100%!important;min-width:0}
  html body .bbanh>.btn,html body .bbanh>button:not(.chip){margin-left:auto}
  /* denemeler eylemleri */
  html body .bbact2{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}
  html body .bbact2 .btn{font-size:12.5px!important;padding:0 6px!important;white-space:nowrap;min-height:44px!important;height:44px;flex-direction:row!important;gap:5px!important;justify-content:center}
  /* muhasebe alt sekmeleri */
  html body .dtnav{display:flex!important;overflow-x:auto;gap:4px!important;scrollbar-width:none;flex-wrap:nowrap!important}
  html body .dtnav::-webkit-scrollbar{display:none}
  html body .dtnav>button{flex:1 0 auto!important;padding:0 12px!important;font-size:13px!important;white-space:nowrap;min-height:36px;width:auto!important}
  .bbkp{gap:8px!important}
  .bbkp small{font-size:11.5px!important}
  .bbkp b{font-size:19px!important}

  /* ---------- seçim çipleri: tek satır, simetrik ---------- */
  .chips:not(:has(>:nth-child(5))){display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px!important}
  .chips:not(:has(>:nth-child(5)))>.chip{white-space:normal;text-align:center;justify-content:center;line-height:1.15;padding:6px 8px!important;margin:0!important;min-width:0}
  .chip{font-size:13px!important;min-height:36px}
  /* eylem düğmesi sıraları: eşit genişlik */
  .acts.trbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}
  .acts.trbar>:first-child{grid-column:1/-1}
  .acts.trbar>.btn{font-size:13px!important;padding:0 6px!important;white-space:nowrap;justify-content:center;min-height:40px!important;height:40px;display:flex!important;align-items:center;margin:0!important}
  .acts.xa2{gap:6px!important}
  .acts.xa2 .btn{font-size:13px!important;padding:0 8px!important;white-space:nowrap;gap:4px!important}
  .acts.xa2 .btn.ib{flex:0 0 40px!important;width:40px!important;min-width:40px!important}
  .acts.xa2 .btn.grow{flex:1 1 0;min-width:0}

  /* ---------- liste satırları (denemeler, görevler) ---------- */
  .lr .pill{font-size:11.5px!important;padding:3px 7px!important;flex:none}
  .lr .le.dt{font-size:12px!important;min-width:32px}
  .lr .lt b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}

  /* ---------- kontrol girişi: ad tek satır ---------- */
  .pr{gap:6px!important}
  .pr .pn{min-width:0;gap:8px!important}
  .pr .pn b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.2}
  .pr .pn .mut{font-size:12px!important}
  .pr .seg{gap:4px!important;flex:none}
  .pr .seg button{width:34px!important;min-width:34px!important;height:36px!important;padding:0!important;font-size:14px!important}
  .pr .seg button.a{width:38px!important;font-size:12px!important}

  /* tanıtım zaman makinesi rozeti üstü kapatmasın */
  body.mbar #simbar{top:auto!important;bottom:calc(var(--mbar) + 6px + 8px + 10px + var(--msafe))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;height:auto!important;width:auto!important;max-width:70vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px!important;padding:5px 12px!important;border-radius:14px!important}

  /* ---------- Görevler ---------- */
  .lst .lr{min-height:0!important;padding:9px 2px!important}
  .lst .lr .lt{font-size:15px!important}
}
@media (max-width:599px) and (prefers-color-scheme:dark){
  #mnav,#mmore .msh{background:linear-gradient(180deg,#FFFFFF,#FBFDFF)}
}
@media (max-width:360px){
  :root{--mgap:10px}
  #mnav #nav>button .ns{font-size:10px!important}
  #mnav #nav>button .ni{width:36px}
  html body.mbar header.hd h1{font-size:16px!important}
  html body.mbar header.hd .hun{display:none!important}
}
