/* InnoOffice – klassische Ansicht (hell, flach, Menüband) */
html[data-ui=classic]{
  --bg:#f3f2f1; --bg2:#ffffff; --panel:#ffffff; --panel2:#f3f2f1; --line:#e1dfdd; --line2:#c8c6c4;
  --text:#201f1e; --muted:#605e5c; --dim:#8a8886; --accent:#1f5fa8; --accent2:#1f5fa8;
  --grad:#1f5fa8; --r:4px; --shadow:0 6px 18px rgba(0,0,0,.14);
  --font:'Segoe UI','Segoe UI Variable',system-ui,-apple-system,Arial,sans-serif;
  color-scheme:light;
}
html[data-ui=classic] body{font-size:14px}
html[data-ui=classic] body::before,html[data-ui=classic] body::after{display:none}
html[data-ui=classic] .btn{border-radius:2px;height:32px;font-weight:400;background:#fff;border-color:var(--line2)}
html[data-ui=classic] .btn:hover{background:#f3f2f1;border-color:var(--line2)}
html[data-ui=classic] .btn.pri{background:var(--rc,#1f5fa8);color:#fff;box-shadow:none;font-weight:600}
html[data-ui=classic] .btn.pri:hover{filter:brightness(1.08)}
html[data-ui=classic] .in,html[data-ui=classic] .search,html[data-ui=classic] .fld{border-radius:2px}
html[data-ui=classic] .dialog{border-radius:6px}
html[data-ui=classic] .tabs,html[data-ui=classic] .tabs button{border-radius:2px}
html[data-ui=classic] .card,html[data-ui=classic] .tpl,html[data-ui=classic] .box,html[data-ui=classic] .table,html[data-ui=classic] .kpi,html[data-ui=classic] .app,html[data-ui=classic] .tool{border-radius:4px;box-shadow:none}
html[data-ui=classic] .card:hover,html[data-ui=classic] .tpl:hover,html[data-ui=classic] .app:hover,html[data-ui=classic] .tool:hover{transform:none;box-shadow:0 2px 8px rgba(0,0,0,.12)}
html[data-ui=classic] .menu{border-radius:2px;padding:4px}
html[data-ui=classic] .menu button{border-radius:0}
html[data-ui=classic] .toast{border-radius:2px;background:#323130;color:#fff;border:0}
html[data-ui=classic] .mika-fab{background:var(--rc,#1f5fa8);box-shadow:0 4px 14px rgba(0,0,0,.25)}
html[data-ui=classic] .hello h2 span,html[data-ui=classic] .auth .hero h1 span,html[data-ui=classic] .bigkey code{background:none;-webkit-text-fill-color:var(--rc,#1f5fa8);color:var(--rc,#1f5fa8)}

/* Start im Stil der Office-Startseite: farbige Leiste links */
html[data-ui=classic] .shell{grid-template-columns:220px 1fr}
html[data-ui=classic] .side{background:var(--rc,#1f5fa8);border:0;backdrop-filter:none;padding:16px 0}
html[data-ui=classic] .side .brand{padding:4px 18px 20px}
html[data-ui=classic] .side .brand b{color:#fff}
html[data-ui=classic] .side .brand small{color:rgba(255,255,255,.75)}
html[data-ui=classic] .side .brand .logo{background:#fff;box-shadow:none}
html[data-ui=classic] .side .brand .appicon{box-shadow:none}
html[data-ui=classic] .nav{color:rgba(255,255,255,.92);border-radius:0;padding:10px 20px}
html[data-ui=classic] .nav:hover{background:rgba(255,255,255,.12);color:#fff}
html[data-ui=classic] .nav.on{background:rgba(0,0,0,.18);color:#fff;box-shadow:inset 4px 0 0 #fff}
html[data-ui=classic] .side .sep{background:rgba(255,255,255,.25)}
html[data-ui=classic] .usage{color:rgba(255,255,255,.85);border-color:rgba(255,255,255,.3);margin:0 12px}
html[data-ui=classic] .usage .bar{background:rgba(255,255,255,.25)}html[data-ui=classic] .usage .bar i{background:#fff}
html[data-ui=classic] .nav.allapps{border-color:rgba(255,255,255,.35);margin:0 12px 10px;width:auto}
html[data-ui=classic] .main{padding:28px 40px 60px}
html[data-ui=classic] .hello h2{font-size:28px;font-weight:600}
html[data-ui=classic] .apps .app{padding:16px}
html[data-ui=classic] .app::after{display:none}
html[data-ui=classic] .hub-hero{background:#fff;border-radius:4px}
html[data-ui=classic] .hub-hero::after{display:none}
html[data-ui=classic] .hub-ic{width:96px;height:96px;filter:none}
html[data-ui=classic] .hub-eyebrow{color:var(--rc)}
html[data-ui=classic] .feats span{border-radius:2px;background:#f3f2f1;border-color:var(--line)}
html[data-ui=classic] .card .pv{background:#f3f2f1}
html[data-ui=classic] .avatar{background:var(--rc,#1f5fa8);color:#fff}
html[data-ui=classic] .auth .hero{background:var(--rc,#1f5fa8);color:#fff}
html[data-ui=classic] .auth .hero p,html[data-ui=classic] .auth .hero small{color:rgba(255,255,255,.85)}
html[data-ui=classic] .auth .hero h1 span{-webkit-text-fill-color:#fff;color:#fff}
html[data-ui=classic] .chips span{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);color:#fff}

/* Menüband */
body.has-rb{display:flex;flex-direction:column;height:100vh;overflow:hidden}
.rb{flex:none;background:#fff;border-bottom:1px solid var(--line);font-family:var(--font);user-select:none;z-index:6}
.rb-title{height:36px;display:flex;align-items:center;gap:10px;padding:0 10px 0 4px;background:var(--rc);color:#fff;font-size:13px}
.rb-back{width:32px;height:32px;border:0;background:none;color:#fff;cursor:pointer;display:grid;place-items:center;border-radius:2px}
.rb-back:hover{background:rgba(255,255,255,.15)}
.rb-back svg{width:16px;height:16px}
.rb-title img{width:20px;height:20px;border-radius:4px}
.rb-doc{font-weight:600;cursor:text;max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-app{opacity:.8}.rb-app::before{content:"–";margin-right:8px}
.rb-grow{flex:1}.rb-st{opacity:.85;font-size:12px}
.rb-tabs{display:flex;gap:2px;padding:0 8px;background:#fff;border-bottom:1px solid var(--line)}
.rb-tabs button{border:0;background:none;padding:8px 14px 7px;font-size:13px;cursor:pointer;color:#323130;border-bottom:3px solid transparent}
.rb-tabs button:hover{background:#f3f2f1}
.rb-tab.on{border-bottom-color:var(--rc);font-weight:600;color:var(--rc)}
.rb-file{background:var(--rc)!important;color:#fff!important;margin:4px 6px 4px 0;padding:4px 16px!important;border-radius:2px;border:0!important}
.rb-panel{display:flex;align-items:stretch;min-height:94px;padding:4px 6px 0;background:#fff;overflow-x:auto}
.rb-g{display:flex;flex-direction:column;padding:0 6px;border-right:1px solid var(--line);flex:none}
.rb-items{flex:1;display:flex;flex-wrap:wrap;flex-direction:column;align-content:flex-start;max-height:72px;gap:0 2px}
.rb-gl{text-align:center;font-size:11px;color:var(--dim);padding:3px 0 4px}
.rb-b{display:flex;align-items:center;gap:6px;border:1px solid transparent;background:none;color:#323130;cursor:pointer;border-radius:2px;font-size:12px;padding:2px 6px;height:24px;white-space:nowrap;font-family:inherit}
.rb-b svg{width:16px;height:16px;flex:none;color:#424242}
.rb-b:hover:not(:disabled){background:#f3f2f1;border-color:#e1dfdd}
.rb-b.on{background:#e1dfdd;border-color:#c8c6c4}
.rb-b:disabled{opacity:.4;cursor:default}
.rb-b.big{flex-direction:column;justify-content:flex-start;height:72px;width:auto;min-width:56px;padding:4px 6px;gap:4px;text-align:center;white-space:normal;line-height:1.15}
.rb-b.big svg{width:30px;height:30px;color:var(--rc)}
.rb-b.big span{max-width:76px}
.rb-custom{display:flex;align-items:center;height:24px}
.rb-custom select,.rb-custom input{height:24px;border:1px solid var(--line2);border-radius:2px;background:#fff;font-size:12px;padding:0 6px;font-family:inherit}
/* Backstage */
.rb-bs{position:fixed;inset:0;z-index:150;display:grid;grid-template-columns:220px 1fr;background:#fff;font-family:var(--font)}
.rb-bs-nav{background:var(--rc);color:#fff;display:flex;flex-direction:column;padding:12px 0}
.rb-bs-nav button{display:flex;align-items:center;gap:12px;border:0;background:none;color:#fff;font-size:14px;padding:12px 24px;cursor:pointer;text-align:left;font-family:inherit}
.rb-bs-nav button:hover{background:rgba(255,255,255,.15)}
.rb-bs-nav svg{width:18px;height:18px}
.rb-bs-nav hr{border:0;border-top:1px solid rgba(255,255,255,.3);margin:8px 20px}
.rb-bs-back{margin-bottom:12px}
.rb-bs-main{padding:40px 54px;overflow:auto;color:#201f1e}
.rb-bs-main h1{font-weight:300;font-size:38px;margin:0 0 8px}
.rb-bs-main .info{margin-top:24px;display:grid;grid-template-columns:160px 1fr;gap:8px 16px;font-size:14px;max-width:600px}
.rb-bs-main .info span{color:var(--dim)}

/* Programme in klassischer Ansicht: eigene Kopfleiste ausblenden */
html[data-ui=classic] body.has-rb .lo-top,html[data-ui=classic] body.has-rb .nb-top,html[data-ui=classic] body.has-rb .nb-tools{display:none!important}
html[data-ui=classic] body.has-rb .lo,html[data-ui=classic] body.has-rb .nb{height:auto;flex:1;min-height:0}
html[data-ui=classic] body.has-rb .ml{height:auto;flex:1;min-height:0}
html[data-ui=classic] .lo-pages,html[data-ui=classic] .lo-props,html[data-ui=classic] .nb-secs,html[data-ui=classic] .nb-pages,html[data-ui=classic] .ml-nav{background:#faf9f8}
html[data-ui=classic] .lo-stage{background:#e6e6e6}
html[data-ui=classic] .lo-canvas>svg{box-shadow:0 2px 10px rgba(0,0,0,.2)}
html[data-ui=classic] .nb-scroll{background:#fff}
html[data-ui=classic] .nb-ptitle{border-bottom-width:1px}
html[data-ui=classic] .sec{border-radius:0}
html[data-ui=classic] .sec.on{background:#fff;box-shadow:inset 4px 0 0 var(--sc)}
html[data-ui=classic] .pg{border-radius:0;border:0;border-bottom:1px solid var(--line)}
html[data-ui=classic] .pg.on{background:#e1dfdd}
/* Mail im klassischen Stil */
html[data-ui=classic] body.has-rb .ml-brand,html[data-ui=classic] body.has-rb .ml-new{display:none}
html[data-ui=classic] .ml-nav{padding-top:10px}
html[data-ui=classic] .fold{border-radius:0}
html[data-ui=classic] .fold.on{background:#cfe4fa;color:#201f1e}
html[data-ui=classic] .ml-list{background:#fff}
html[data-ui=classic] .mi{padding:8px 12px 8px 14px}
html[data-ui=classic] .mi .av{width:30px;height:30px;font-size:12px}
html[data-ui=classic] .mi.on{background:#cfe4fa}
html[data-ui=classic] .mi.unread .r1 b,html[data-ui=classic] .mi.unread .sub{color:#0a6cb3}
html[data-ui=classic] .rd-bar{display:none}
html[data-ui=classic] .rd-body{border-radius:0}
html[data-ui=classic] .cmp,html[data-ui=classic] .drawer{border-radius:4px}

/* Editor-Seite: farbige Titelleiste wie in Office */
html[data-ui=classic] .ed-top{height:38px;background:var(--rc);border:0;color:#fff}
html[data-ui=classic] .ed-top .icon-btn{color:#fff}html[data-ui=classic] .ed-top .icon-btn:hover{background:rgba(255,255,255,.15)}
html[data-ui=classic] .ed-top .fic{background:rgba(255,255,255,.18);color:#fff;width:26px;height:26px;border-radius:4px}
html[data-ui=classic] .ed-top .st{color:rgba(255,255,255,.8)}
html[data-ui=classic] .ed-top .btn{height:28px;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:#fff}
html[data-ui=classic] .ed-top .btn.ghost{background:none;border-color:transparent}
