:root{
    --bg:#020913;
    --bg2:#061525;
    --panel:rgba(5,20,35,.92);
    --panel2:rgba(7,29,49,.94);
    --line:#123a5b;
    --line-bright:#1b73ad;
    --ice:#66c8ff;
    --ice2:#bcecff;
    --text:#eaf8ff;
    --muted:#7fa8c2;
    --input:#020b14;
    --red:#ff3e52;
    --green:#57d8a2;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    min-height:100vh;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at 50% -10%,rgba(0,145,255,.25),transparent 35%),
        radial-gradient(circle at 10% 40%,rgba(0,90,160,.13),transparent 30%),
        linear-gradient(145deg,#01060c 0%,#03111f 45%,#020912 100%);
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.18;
    background-image:
        linear-gradient(rgba(90,190,255,.11) 1px,transparent 1px),
        linear-gradient(90deg,rgba(90,190,255,.11) 1px,transparent 1px);
    background-size:42px 42px;
    mask-image:linear-gradient(to bottom,black,transparent 85%);
}

a{color:inherit}

.top{
    position:sticky;
    top:0;
    z-index:20;
    min-height:84px;
    padding:12px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:rgba(2,10,19,.94);
    border-bottom:1px solid #14527c;
    box-shadow:0 5px 28px rgba(0,0,0,.55),0 0 25px rgba(0,130,230,.08);
    backdrop-filter:blur(12px);
}

.titleblock{display:flex;align-items:center;gap:14px;min-width:0}
.title-icon{
    width:48px;height:48px;flex:0 0 48px;
    display:grid;place-items:center;
    border:1px solid #2b91ce;
    color:var(--ice2);
    border-radius:8px;
    font-size:29px;
    text-shadow:0 0 14px #1ea6ff;
    background:linear-gradient(145deg,rgba(24,117,173,.24),rgba(1,13,25,.9));
    box-shadow:inset 0 0 18px rgba(40,168,255,.12),0 0 16px rgba(0,128,220,.12);
}

.eyebrow,.panel-label{
    color:#49baf4;
    letter-spacing:1.6px;
    font-size:10px;
    font-weight:bold;
}

.top h1{
    margin:2px 0 3px;
    font-size:23px;
    line-height:1.1;
    letter-spacing:.2px;
    text-shadow:0 0 12px rgba(60,190,255,.18);
}

.titleblock span{color:var(--muted);font-size:12px}
.top-actions{display:flex;align-items:center;gap:14px;flex:0 0 auto}

.ice-button,.fu-button{
    text-decoration:none;
    border:1px solid #3194d2;
    background:linear-gradient(145deg,rgba(15,69,106,.9),rgba(2,19,34,.98));
    box-shadow:inset 0 0 15px rgba(85,198,255,.09),0 0 13px rgba(0,126,220,.12);
    transition:.18s ease;
}

.ice-button{
    min-width:86px;
    padding:7px 12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:2px;
    border-radius:7px;
    color:#d9f6ff;
    font-size:11px;
    font-weight:bold;
    letter-spacing:1.2px;
    clip-path:polygon(12% 0,88% 0,100% 18%,100% 82%,88% 100%,12% 100%,0 82%,0 18%);
}

.ice-button:hover,.fu-button:hover{border-color:#7bd7ff;box-shadow:0 0 18px rgba(40,174,255,.3),inset 0 0 18px rgba(65,191,255,.14);transform:translateY(-1px)}
.ice-symbol{font-size:21px;line-height:18px;color:#bfeeff;text-shadow:0 0 10px #32b8ff}

.user{color:#7ea6be;font-size:12px;white-space:nowrap}
.user a{margin-left:8px;color:#ff7180;text-decoration:none}
.user a:hover{text-decoration:underline}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 9px var(--green);margin-right:5px}

main{position:relative;z-index:1;padding:18px;max-width:1900px;margin:auto}

.intro-panel{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 15px;
    margin-bottom:15px;
    border:1px solid #12466c;
    border-left:3px solid #35aef2;
    background:linear-gradient(90deg,rgba(7,39,64,.86),rgba(3,18,31,.9));
    box-shadow:0 0 18px rgba(0,115,190,.08);
}
.ag-info{min-width:0;overflow-x:auto}
.ag-list{
    display:flex;
    flex-direction:column;
    gap:3px;
    margin-top:4px;
    color:#dff7ff;
    font-size:13px;
    line-height:1.2;
    min-width:0;
}
.ag-row{
    display:grid;
    grid-template-columns:repeat(9,minmax(0,1fr));
    gap:3px 14px;
    width:100%;
}
.ag-row > div{white-space:nowrap;min-width:0}
.ag-col{display:contents}
.ag-col div{white-space:nowrap}
.panel-status{color:#73a6c1;font-size:11px;letter-spacing:.8px;align-self:flex-start;margin-top:2px;white-space:nowrap}

.ag-edit-form{width:100%;overflow-x:auto;}
.ag-edit-grid{display:grid;grid-template-columns:repeat(9,minmax(105px,1fr));grid-template-rows:repeat(2,min-content);gap:6px 12px;margin-top:5px;min-width:1050px;}
.ag-edit-grid label{display:flex;align-items:center;gap:4px;color:#dff7ff;font-size:12px;white-space:nowrap;}
.ag-edit-grid label span{color:#73cfff;}
.ag-edit-grid input{width:125px;box-sizing:border-box;border:1px solid #185579;background:rgba(2,18,31,.8);color:#e8fbff;border-radius:4px;padding:5px 7px;}
.ag-save{margin-top:8px;border:1px solid rgba(70,190,255,.45);background:rgba(8,46,65,.72);color:#bdefff;border-radius:5px;padding:6px 10px;cursor:pointer;font-size:11px;}
.ag-save:hover{border-color:#69d2ff;color:#fff;}
.week{
    background:linear-gradient(145deg,rgba(5,22,38,.96),rgba(2,12,22,.96));
    border:1px solid #124265;
    margin:0 0 18px;
    padding:11px;
    box-shadow:0 8px 30px rgba(0,0,0,.28),inset 0 0 35px rgba(20,108,170,.035);
}

.week h2{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 10px;
    padding:0 2px;
    color:#dff7ff;
    font-size:18px;
}
.week h2>span:last-child{font-size:13px;color:#7199b1;font-weight:normal}
.week-heading{justify-content:space-between;gap:14px;}
.week-heading-main{display:flex;align-items:center;gap:8px;min-width:0;}
.week-number{white-space:nowrap;}
.week-date{font-size:13px;color:#7199b1;font-weight:normal;white-space:nowrap;}
.weekly-total{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;color:#9ddfff;font-size:13px;font-weight:normal;white-space:nowrap;margin-left:auto;}
.weekly-total strong{color:#e8f9ff;font-weight:bold;}
.week-badge{
    padding:4px 7px;
    border:1px solid #267eb0;
    color:#65caff;
    background:rgba(15,102,153,.15);
    font-size:9px!important;
    letter-spacing:1px;
    font-weight:bold!important;
}

.scroll{overflow-x:auto;padding-bottom:3px}
.scroll::-webkit-scrollbar{height:9px}
.scroll::-webkit-scrollbar-track{background:#020a12}
.scroll::-webkit-scrollbar-thumb{background:#14527a;border:2px solid #020a12}

table{border-collapse:collapse;min-width:1160px;width:100%;table-layout:fixed}
th,td{border:1px solid #123956}

/* Helle Trennlinien zwischen den einzelnen Wochentagen */
.dayhead:not(:last-child){border-right:2px solid #1c6389}
.subhead th:nth-child(6n){border-right:2px solid #1c6389}
tbody td:nth-child(6n){border-right:2px solid #1c6389}
.info-row td:not(:last-child){border-right:2px solid #1c6389}
th{padding:7px;font-size:12px}
.dayhead{
    color:#d9f6ff;
    background:linear-gradient(180deg,#0a3452,#062238);
    font-size:13px;
    letter-spacing:.2px;
    border-color:#1b6794;
}
.dayhead span{display:block}
.dayhead small{display:block;margin-top:2px;color:#6ca0ba;font-weight:normal;font-size:10px}
.subhead th{background:#061727;color:#63bce9;font-size:10px;letter-spacing:.35px;text-transform:uppercase;padding:5px 3px}
.subhead .count-head{width:52px}
.subhead .multiply-head{width:12px;padding-left:0;padding-right:0;color:#8bcff0;letter-spacing:0}
.subhead .liter-head{width:62px}

td{height:48px;padding:3px;position:relative;background:rgba(1,10,18,.7)}
tbody tr:nth-child(even) td{background:rgba(5,25,41,.65)}

.entryform{display:grid;grid-template-columns:52px 12px minmax(58px,.8fr) minmax(82px,1.5fr) 58px 34px;gap:2px;align-items:center}
.multiply-sign{display:block;text-align:center;color:#8bcff0;font-size:13px;font-weight:700;margin:0;padding:0;line-height:1}
.save-placeholder{width:34px;height:32px;display:block}
input{
    width:100%;
    min-width:0;
    height:32px;
    background:var(--input);
    color:#e9f8ff;
    border:1px solid #1b4968;
    border-radius:3px;
    padding:7px 6px;
    font-size:12px;
    outline:none;
    box-shadow:inset 0 0 7px rgba(0,0,0,.45);
}
input::placeholder{color:#496d82}
input:focus{border-color:#42baf7;box-shadow:0 0 9px rgba(42,174,243,.2),inset 0 0 7px rgba(0,0,0,.4)}
input:disabled{color:#697d89;background:#101b24;border-color:#243846}

.save,.lock{
    height:32px;
    border:1px solid #245777;
    border-radius:3px;
    cursor:pointer;
    color:#e9faff;
    background:#062238;
    transition:.15s ease;
}
.save:hover{border-color:#54c9ff;background:#0a3a5a;box-shadow:0 0 10px rgba(49,177,244,.18)}
.lock:hover{border-color:#739ab0;background:#152a39}
.lock.is-locked{background:#35131a;border-color:#a43c4a}

.locked{background:rgba(53,12,19,.68)!important}
.redline{position:absolute;left:0;right:0;top:50%;height:2px;background:var(--red);box-shadow:0 0 7px rgba(255,50,70,.6);z-index:3;pointer-events:none}

.info-row td{
    height:144px;
    min-height:144px;
    padding:7px;
    background:linear-gradient(180deg,rgba(4,25,41,.96),rgba(2,14,25,.96))!important;
    border-top:2px solid #1c6389;
    vertical-align:middle;
}
.day-info-cell{position:relative}
.info-title{
    display:inline-block;
    margin:0 0 4px 1px;
    color:#62c8f5;
    font-size:9px;
    font-weight:bold;
    letter-spacing:1.2px;
}
.infoform{
    display:grid;
    grid-template-columns:minmax(0,1fr) 34px;
    gap:4px;
    align-items:center;
}
.infoform textarea{
    width:100%;
    min-width:0;
    height:112px;
    resize:vertical;
    background:var(--input);
    border:1px solid #1b4968;
    border-radius:3px;
    color:#e9f8ff;
    font-family:inherit;
    font-size:11px;
    line-height:1.35;
    padding:7px 8px;
    outline:none;
    box-shadow:inset 0 0 7px rgba(0,0,0,.45);
}
.infoform textarea:focus{border-color:#42baf7;box-shadow:0 0 9px rgba(42,174,243,.2),inset 0 0 7px rgba(0,0,0,.4)}
.info-save{
    height:30px;
    border:1px solid #287da9;
    border-radius:3px;
    cursor:pointer;
    color:#dff8ff;
    background:#07304a;
    font-weight:bold;
}
.info-save:hover{
    border-color:#62d0ff;
    background:#0a4566;
    box-shadow:0 0 10px rgba(49,177,244,.18);
}
.day-info-text{
    min-height:112px;
    height:112px;
    padding:7px 8px;
    border:1px solid #1b4968;
    background:var(--input);
    color:#e9f8ff;
    border-radius:3px;
    font-size:11px;
    line-height:1.35;
    white-space:normal;
}
.empty-info{color:#496d82;font-style:italic}

footer{
    position:relative;
    z-index:1;
    text-align:center;
    padding:15px 15px 28px;
}

.fu-button{
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-width:300px;
    min-height:70px;
    padding:8px 15px;
    color:#e9f9ff;
    clip-path:polygon(5% 0,95% 0,100% 18%,100% 82%,95% 100%,5% 100%,0 82%,0 18%);
}

.fu-logo-box{
    width:58px;
    height:58px;
    flex:0 0 58px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #64cfff;
    background:#edfaff;
    box-shadow:0 0 13px rgba(81,198,255,.2);
    overflow:hidden;
}
.fu-logo-box img{
    display:block;
    width:52px;
    height:52px;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
.fu-caption{font-size:13px;letter-spacing:1px;font-weight:bold;text-transform:uppercase;color:#bfeeff}
.fu-arrow{margin-left:auto;color:#69cfff;font-size:18px}
.footer-note{margin-top:9px;color:#547b91;font-size:10px;letter-spacing:.6px}
.weekly-total{display:inline-flex;gap:8px;margin-left:14px;padding:5px 10px;border:1px solid rgba(70,190,255,.35);border-radius:5px;color:#9edcf7;font-size:12px;letter-spacing:.2px}
.weekly-total strong{color:#e4f8ff}

/* Login */
.login{display:grid;place-items:center;padding:20px;min-height:100vh}
.loginbox{
    position:relative;
    width:min(470px,94vw);
    background:linear-gradient(145deg,rgba(5,25,42,.97),rgba(2,11,20,.98));
    border:1px solid #1d6591;
    border-top:2px solid #4ec4ff;
    padding:32px;
    box-shadow:0 0 40px rgba(0,99,165,.18),inset 0 0 35px rgba(26,142,207,.05);
}
.login-snowflake{font-size:42px;color:#8bdcff;text-align:center;text-shadow:0 0 18px #22a9ff;margin-bottom:4px}
.login-kicker{text-align:center;color:#4fb9ed;font-size:10px;letter-spacing:2px;font-weight:bold}
.loginbox h1{text-align:center;font-size:25px;line-height:1.15;margin:8px 0 7px}
.loginbox>p{text-align:center;color:#7198ad;font-size:13px;margin:0 0 18px}
.loginbox input{height:42px;margin:0 0 12px;font-size:14px}
.loginbox button{width:100%;height:42px;border:1px solid #36a8e5;background:linear-gradient(180deg,#0b4e76,#06283f);color:#e6f9ff;font-weight:bold;letter-spacing:1px;cursor:pointer}
.loginbox button:hover{box-shadow:0 0 18px rgba(41,176,245,.25);border-color:#80d9ff}
.error{margin-bottom:13px;padding:9px 10px;background:#3c151c;border:1px solid #a43d4c;color:#ffabb5;font-size:12px}
.login-info{display:block;width:max-content;margin:15px auto 0;color:#76cfff;text-decoration:none;font-size:11px;letter-spacing:1px}
.login-info:hover{text-decoration:underline}

@media(max-width:850px){
    .top{align-items:flex-start}
    .titleblock{align-items:flex-start}
    .title-icon{width:40px;height:40px;flex-basis:40px;font-size:24px}
    .top h1{font-size:18px}
    .eyebrow{font-size:8px}
    .top-actions{flex-direction:column-reverse;align-items:flex-end;gap:5px}
}

@media(max-width:700px){
    .top{padding:10px}
    .top-actions .user{font-size:10px}
    main{padding:8px}
    .intro-panel{padding:10px}
    .week{padding:7px}
    .week h2{font-size:15px;flex-wrap:wrap}
    .week h2>span:last-child{font-size:11px}
    table{min-width:1120px}
    .entryform{grid-template-columns:48px 12px 76px 110px 58px 32px;gap:2px}
    input{font-size:11px;padding:6px 5px}
    .fu-button{min-width:250px;min-height:64px}.fu-logo-box{width:50px;height:50px;flex-basis:50px}.fu-logo-box img{width:45px;height:45px}
}

/* ---------------------------------------------------------
   Tages-Sperre / Info-Sperre
   --------------------------------------------------------- */
.dayhead{position:relative;}
.dayhead-locked{
    box-shadow:inset 0 -3px 0 rgba(255,70,90,.72);
}
.lock-label{
    color:#ff7382;
    font-size:.72em;
    letter-spacing:.7px;
}
.day-lock-form{
    margin-top:5px;
}
.day-lock{
    border:1px solid rgba(255,105,120,.45);
    background:rgba(65,12,20,.55);
    color:#ff9da9;
    padding:3px 7px;
    font-size:9px;
    cursor:pointer;
}
.day-lock:hover{
    border-color:#ff7382;
    color:#fff;
}
.day-lock.is-locked{
    border-color:rgba(100,210,255,.5);
    background:rgba(8,46,65,.6);
    color:#91dcff;
}
.day-locked{
    position:relative;
    background:rgba(105, 12, 22, .46) !important;
    box-shadow:inset 0 0 0 1px rgba(255,55,75,.32);
}
.day-locked::before{
    content:"";
    position:absolute;
    inset:0;
    background:repeating-linear-gradient(135deg,rgba(255,45,65,.07) 0,rgba(255,45,65,.07) 7px,transparent 7px,transparent 14px);
    pointer-events:none;
    z-index:0;
}
.day-locked .entryform{position:relative;z-index:1;}
.day-locked .entryform input:disabled{
    cursor:not-allowed;
}
.field-wrap{
    position:relative;
    display:block;
}
.field-wrap.empty-locked::after{
    content:"";
    position:absolute;
    left:3px;
    right:3px;
    top:50%;
    height:2px;
    background:rgba(255,45,65,.88);
    box-shadow:0 0 4px rgba(255,45,65,.25);
    pointer-events:none;
}
.day-locked .field-wrap.empty-locked input:disabled{
    color:rgba(180,190,195,.28);
    -webkit-text-fill-color:rgba(180,190,195,.28);
}
.info-locked{
    box-shadow:inset 0 -3px 0 rgba(255,70,90,.65);
}
.info-lock{
    border:1px solid rgba(255,105,120,.45);
    background:rgba(65,12,20,.55);
    color:#ff9da9;
    cursor:pointer;
    padding:4px 7px;
}
.info-lock:hover{border-color:#ff7382;color:#fff;}
.info-lock.is-locked{
    border-color:rgba(100,210,255,.5);
    background:rgba(8,46,65,.6);
    color:#91dcff;
}
.day-locked .entryform input:disabled{
    opacity:.55;
    filter:saturate(.45);
}

@media(max-width:700px){
    .intro-panel{display:block}
    .ag-info{overflow-x:auto;padding-bottom:2px}
    .panel-status{margin-top:8px}
}

@media(max-width:700px){
    .week-heading{flex-wrap:wrap;}
    .week-heading-main{flex-wrap:wrap;gap:6px;}
    .week-date{font-size:11px;}
    .week-heading .weekly-total{margin-left:auto;font-size:12px;}
}


/* ---------------------------------------------------------
   FU-inspiriertes helles Farbschema
   Farben: Weiß/Schwarz, FU-Grün sparsam, Blau als Basisfarbe.
   Das Logo selbst bleibt unverändert; die Umschaltung betrifft die Oberfläche.
   --------------------------------------------------------- */
.theme-toggle{
    display:inline-flex;align-items:center;justify-content:center;gap:7px;
    min-height:36px;padding:7px 11px;border:1px solid #8b9aa7;border-radius:4px;
    background:transparent;color:inherit;font:600 12px/1.2 Arial,Helvetica,sans-serif;
    cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s;
}
.theme-toggle:hover{border-color:#65a300;background:rgba(153,204,0,.12)}
.theme-icon{font-size:17px;line-height:1}

body[data-theme="light"]{
    --bg:#ffffff;--bg2:#f3f6f8;--panel:#ffffff;--panel2:#f4f7f9;
    --line:#c6d0d8;--line-bright:#003366;--ice:#003366;--ice2:#003366;
    --text:#15191d;--muted:#536574;--input:#ffffff;--red:#c62838;--green:#659900;
    background:#f1f4f6;color:#171b1f;
}
body[data-theme="light"]::before{opacity:.18;background-image:linear-gradient(rgba(0,51,102,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(0,51,102,.06) 1px,transparent 1px);}
body[data-theme="light"] .top{background:rgba(255,255,255,.97);border-bottom:3px solid #99cc00;box-shadow:0 3px 12px rgba(0,0,0,.08);}
body[data-theme="light"] .title-icon{border-color:#003366;color:#ccff00;text-shadow:none;background:#f2f6f8;box-shadow:none;border-radius:3px;}
body[data-theme="light"] .eyebrow,body[data-theme="light"] .panel-label{color:#003366;}
body[data-theme="light"] .top h1{color:#111820;text-shadow:none;}
body[data-theme="light"] .titleblock span{color:#526575;}
body[data-theme="light"] .theme-toggle{border-color:#aebbc5;color:#003366;background:#fff;}
body[data-theme="light"] .ice-button,body[data-theme="light"] .fu-button{background:#fff;border:1px solid #003366;color:#003366;box-shadow:none;clip-path:none;border-radius:3px;}
body[data-theme="light"] .ice-button:hover,body[data-theme="light"] .fu-button:hover{background:#f2f7e8;border-color:#659900;box-shadow:none;transform:none;}
body[data-theme="light"] .ice-symbol{color:#ccff00;text-shadow:none;}
body[data-theme="light"] .user{color:#4d5c68;}
body[data-theme="light"] .user a{color:#003366;}
body[data-theme="light"] .status-dot{background:#659900;box-shadow:none;}
body[data-theme="light"] .intro-panel{background:#fff;border:1px solid #c8d2da;border-left:4px solid #99cc00;box-shadow:0 2px 8px rgba(0,0,0,.04);}
body[data-theme="light"] .ag-list{color:#202830;}
body[data-theme="light"] .ag-edit-grid label{color:#202830;}
body[data-theme="light"] .ag-edit-grid label span{color:#003366;}
body[data-theme="light"] .ag-edit-grid input{background:#fff;color:#171b1f;border-color:#b8c5cf;}
body[data-theme="light"] .ag-save{background:#f3f6f8;color:#003366;border-color:#9aaebb;}
body[data-theme="light"] .panel-status{color:#4d5c68;}
body[data-theme="light"] .week{background:#fff;border:1px solid #c8d2da;box-shadow:0 2px 8px rgba(0,0,0,.05);}
body[data-theme="light"] .week h2{color:#171b1f;}
body[data-theme="light"] .week h2>span:last-child,body[data-theme="light"] .week-date{color:#526575;}
body[data-theme="light"] .weekly-total{color:#003366;background:#f5f8fa;border:1px solid #c8d2da;border-radius:3px;}
body[data-theme="light"] .weekly-total strong{color:#003366;}
body[data-theme="light"] .week-badge{color:#314900;background:#edf5db;border:1px solid #b8d47a;border-radius:2px;}
body[data-theme="light"] .scroll::-webkit-scrollbar-track{background:#e8edf1;}
body[data-theme="light"] .scroll::-webkit-scrollbar-thumb{background:#8b9eac;border:2px solid #e8edf1;}
body[data-theme="light"] th,body[data-theme="light"] td{border-color:#cbd4dc;}
body[data-theme="light"] .dayhead{color:#fff;background:#003366;border-color:#003366;}
body[data-theme="light"] .dayhead small{color:#dbe8f3;}
body[data-theme="light"] .dayhead:not(:last-child),body[data-theme="light"] .subhead th:nth-child(6n),body[data-theme="light"] tbody td:nth-child(6n),body[data-theme="light"] .info-row td:not(:last-child){border-right:2px solid #99cc00;}
body[data-theme="light"] .subhead th{background:#e8eef3;color:#003366;}
body[data-theme="light"] .subhead .multiply-head,body[data-theme="light"] .multiply-sign{color:#426780;}
body[data-theme="light"] td{background:#fff;}
body[data-theme="light"] tbody tr:nth-child(even) td{background:#f5f7f9;}
body[data-theme="light"] input{background:#fff;color:#171b1f;border-color:#aebbc5;box-shadow:none;}
body[data-theme="light"] input::placeholder{color:#7a8790;}
body[data-theme="light"] input:focus{border-color:#003366;box-shadow:0 0 0 2px rgba(0,51,102,.12);}
body[data-theme="light"] input:disabled{color:#6f7b84;background:#e9edf0;border-color:#cbd4dc;}
body[data-theme="light"] .save,body[data-theme="light"] .lock{background:#f0f4f7;color:#003366;border-color:#9aabb8;}
body[data-theme="light"] .save:hover{background:#e5eef5;border-color:#003366;box-shadow:none;}
body[data-theme="light"] .lock.is-locked{background:#f9e9eb;border-color:#c62838;color:#8f1725;}
body[data-theme="light"] .info-row td{background:#f4f7f9!important;border-top:2px solid #99cc00;}
body[data-theme="light"] .info-title{color:#003366;}
body[data-theme="light"] .infoform textarea,body[data-theme="light"] .infoform input{background:#fff;color:#171b1f;border-color:#aebbc5;}
body[data-theme="light"] footer{color:#526575;}
body[data-theme="light"] .footer-note{color:#526575;}
body[data-theme="light"] .day-locked{background:rgba(198,40,56,.10)!important;box-shadow:inset 0 0 0 1px rgba(198,40,56,.35);}
body[data-theme="light"] .day-locked::before{background:repeating-linear-gradient(135deg,rgba(198,40,56,.07) 0,rgba(198,40,56,.07) 7px,transparent 7px,transparent 14px);}
body[data-theme="light"] .day-locked .field-wrap.empty-locked input:disabled{color:rgba(70,75,80,.38);-webkit-text-fill-color:rgba(70,75,80,.38);}
body[data-theme="light"] .day-lock,body[data-theme="light"] .info-lock{background:#fff0f1;color:#9b1c2b;border-color:#d99aa1;}
body[data-theme="light"] .day-lock.is-locked,body[data-theme="light"] .info-lock.is-locked{background:#e8f0f5;color:#003366;border-color:#91a8b8;}
body[data-theme="light"] .lock-label{color:#a31f2d;}
body[data-theme="light"] .locked{background:rgba(198,40,56,.12)!important;}

@media(max-width:900px){
    .theme-toggle{padding:7px 9px;}
    .theme-label{display:none;}
    .top-actions{gap:8px;}
}

/* FU Corporate Design – verfeinerte helle Variante
   Sanfte Grünflächen, grüne Tabellenlinien und kräftigere Schrift. */
body[data-theme="light"]{
    background:#f3f5ef;
    color:#263126;
}
body[data-theme="light"]::before{
    opacity:.10;
    background-image:linear-gradient(rgba(91,124,35,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(91,124,35,.055) 1px,transparent 1px);
}
body[data-theme="light"] .week{
    background:#fbfcf8;
    border:1px solid #8aa64b;
    box-shadow:0 1px 5px rgba(49,68,20,.07);
}
body[data-theme="light"] .week h2{
    background:#dce8bf;
    color:#263b12;
    border:1px solid #8aa64b;
    border-radius:3px;
    padding:9px 11px;
    font-weight:800;
}
body[data-theme="light"] .week h2>span:last-child,
body[data-theme="light"] .week-date{color:#3f512a;font-weight:700;}
body[data-theme="light"] .week-badge{
    color:#263b12;
    background:#edf4dc;
    border:1px solid #8aa64b;
    font-weight:800;
}
body[data-theme="light"] .weekly-total{
    color:#263b12;
    background:#edf4dc;
    border:1px solid #8aa64b;
    font-weight:800;
}
body[data-theme="light"] .weekly-total strong{color:#263b12;font-weight:800;}
body[data-theme="light"] table{border-color:#8aa64b;}
body[data-theme="light"] th,
body[data-theme="light"] td{border-color:#9bb568;font-weight:700;}
body[data-theme="light"] .dayhead{
    color:#263b12;
    background:#dce8bf;
    border-color:#8aa64b;
    font-weight:800;
}
body[data-theme="light"] .dayhead small{color:#465b2b;font-weight:700;}
body[data-theme="light"] .dayhead:not(:last-child),
body[data-theme="light"] .subhead th:nth-child(6n),
body[data-theme="light"] tbody td:nth-child(6n),
body[data-theme="light"] .info-row td:not(:last-child){border-right:2px solid #8aa64b;}
body[data-theme="light"] .subhead th{
    background:#edf3e1;
    color:#344923;
    border-color:#9bb568;
    font-weight:800;
}
body[data-theme="light"] td{background:#fbfcf8;}
body[data-theme="light"] tbody tr:nth-child(even) td{background:#f1f5e9;}
body[data-theme="light"] input{
    background:#fbfcf8;
    color:#263126;
    border-color:#a0b777;
    font-weight:700;
}
body[data-theme="light"] input:focus{border-color:#789b32;box-shadow:0 0 0 2px rgba(120,155,50,.15);}
body[data-theme="light"] .info-row td{background:#edf3e1!important;border-top:2px solid #8aa64b;}
body[data-theme="light"] .info-title{color:#344923;font-weight:800;}
body[data-theme="light"] .infoform textarea,
body[data-theme="light"] .infoform input{background:#fbfcf8;color:#263126;border-color:#a0b777;font-weight:700;}
body[data-theme="light"] .intro-panel{background:#fbfcf8;border-color:#a0b777;border-left-color:#8aa64b;}
body[data-theme="light"] .ag-list,
body[data-theme="light"] .ag-edit-grid label,
body[data-theme="light"] .panel-status{color:#34432b;font-weight:700;}
body[data-theme="light"] .theme-toggle{border-color:#8aa64b;color:#344923;background:#f7f9f1;font-weight:800;}
body[data-theme="light"] .ice-button,
body[data-theme="light"] .fu-button{border-color:#8aa64b;color:#344923;background:#f7f9f1;font-weight:800;}
body[data-theme="light"] .save,
body[data-theme="light"] .lock{border-color:#9bb568;font-weight:800;}

/* FU Corporate Design – durchgängige sanfte Grünflächen mit kräftigem FU-Grün als Akzent */
body[data-theme="light"] .week{
    background:#edf3e1;
    border:1px solid #8aa64b;
}
body[data-theme="light"] td,
body[data-theme="light"] tbody tr:nth-child(even) td{
    background:#edf3e1;
}
body[data-theme="light"] .subhead th,
body[data-theme="light"] .info-row td,
body[data-theme="light"] .week-badge,
body[data-theme="light"] .weekly-total{
    background:#dce8bf !important;
}
body[data-theme="light"] .week-badge,
body[data-theme="light"] .weekly-total{
    border-color:#8aa64b;
}
body[data-theme="light"] .ag-info,
body[data-theme="light"] .intro-panel .ag-list{
    background:#dce8bf;
    border:1px solid #8aa64b;
    border-radius:3px;
}
body[data-theme="light"] .ag-info{padding:10px 12px;}
body[data-theme="light"] .ag-list{padding:7px 9px;}
body[data-theme="light"] .ag-list,
body[data-theme="light"] .ag-list div{color:#263b12;font-weight:800;}
body[data-theme="light"] .info-row td{border-top:2px solid #8aa64b;}

/* Feinschliff im hellen Design: dunkle Akzentflächen und besser lesbarer Footer */
body[data-theme="light"] .title-icon{
    background:#003366;
    border-color:#003366;
    color:#ccff00;
    box-shadow:none;
    border-radius:3px;
}
body[data-theme="light"] .ice-button{
    background:#003366;
    border-color:#003366;
    color:#ffffff;
}
body[data-theme="light"] .ice-button .ice-symbol{
    color:#ccff00;
}
body[data-theme="light"] .ice-button:hover{
    background:#08294a;
    border-color:#08294a;
    color:#ffffff;
}
body[data-theme="light"] .footer-note{
    color:#263126;
    font-weight:800;
}

/* Liter- und Anzahl-Dropdowns in der 3-Wochenansicht: lesbare weiße Werte. */
html body select[name="anzahl"],
html body select[name="liter"],
html body select[name="anzahl"]:focus,
html body select[name="liter"]:focus,
html body select[name="anzahl"]:active,
html body select[name="liter"]:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: #102536 !important;
    color-scheme: dark !important;
}
html body select[name="anzahl"] option,
html body select[name="liter"] option {
    color: #ffffff !important;
    background-color: #102536 !important;
}

/* Helles Design: Liter- und Anzahl-Dropdowns wie die normalen Eingabefelder. */
html body[data-theme="light"] select[name="anzahl"],
html body[data-theme="light"] select[name="liter"],
html body[data-theme="light"] select[name="anzahl"]:focus,
html body[data-theme="light"] select[name="liter"]:focus,
html body[data-theme="light"] select[name="anzahl"]:active,
html body[data-theme="light"] select[name="liter"]:active {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    background-color: #d7dbde !important;
    border: 2px solid #3d9e49 !important;
    color-scheme: light !important;
}
html body[data-theme="light"] select[name="anzahl"] option,
html body[data-theme="light"] select[name="liter"] option {
    color: #111111 !important;
    background-color: #d7dbde !important;
}
