/*
Theme Name: EuNet-HRD Zielmanagement Portal
Description: Institutionelles Design für das EuNet-HRD Zielmanagement-Plugin.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Author: EuNet-HRD
License: GPL-2.0-or-later
Text Domain: eunet-hrd-zielmanagement-theme
*/
:root{--nav:#173654;--nav2:#244c79;--blue:#245b96;--bg:#f4f7fb;--ink:#172e47;--line:#dce4ec}.sidebar{background:linear-gradient(180deg,#173654,#102941)}.hero{background:linear-gradient(110deg,#173654,#2e5b91)}
:root{--nav:#173654;--nav2:#244c79;--ink:#172e47;--muted:#60748a;--line:#dce4ec;--bg:#f4f7fb;--blue:#245b96;--white:#fff;--green:#28845c;--shadow:0 3px 14px #18365709;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #347fc0}h1,h2,h3,p{margin:0}h1{font-size:clamp(24px,3vw,34px);line-height:1.2;letter-spacing:-.7px}h2{font-size:17px;line-height:1.4}h3{font-size:14px;margin-top:18px}p{line-height:1.6}small,.muted{color:var(--muted);font-size:12px}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;z-index:100;background:white;padding:10px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:254px;background:linear-gradient(180deg,#173654,#102941);color:#e7edf5;display:flex;flex-direction:column;z-index:5}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:24px 19px;border-bottom:1px solid #ffffff20}.sidebar-brand strong,.public-header strong{font-size:20px;letter-spacing:.3px;display:block}.sidebar-brand small{color:#bdcde0;display:block}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #f1ce7b;border-radius:12px;color:#f1ce7b;font-size:30px;flex-shrink:0}.brand-logo{width:44px;height:44px;object-fit:contain}.sidebar nav{overflow-y:auto;flex:1;padding:10px}.navgroup{font-size:10px;color:#9eb4cd;letter-spacing:1.05px;font-weight:650;padding:16px 10px 6px}.navlink{display:flex;align-items:center;gap:9px;color:#e3eaf3;padding:10px 9px;border-radius:6px;line-height:1.25;font-size:12.5px;min-height:36px}.navlink:hover,.navlink.selected{background:#ffffff17;text-decoration:none}.navlink.selected{background:#2e5e90;box-shadow:inset 3px 0 #f1ce7b;color:white}.navicon{width:20px;text-align:center;font-size:18px;flex-shrink:0;color:#b9d1eb}.sidebar-foot{padding:15px 19px;border-top:1px solid #ffffff20;color:#a6bad0;font-size:10px}.workspace{margin-left:254px;min-height:100vh;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:14px;background:#fff;border-bottom:1px solid var(--line);padding:14px 26px;min-height:72px}.top-title{flex:1;min-width:0}.top-title strong{display:block;font-size:13px}.top-title small{display:block;margin-top:3px}.secure{color:#287351;font-size:11px;white-space:nowrap}.user-name{font-weight:600;white-space:nowrap;font-size:12px}.iconbutton{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:38px;height:38px;display:inline-grid;place-items:center;color:var(--ink);font-size:19px;cursor:pointer}.main{max-width:1640px;width:100%;margin:0 auto;padding:24px 28px 42px;flex:1}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:20px}.breadcrumb span{margin:0 6px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#577695;margin-bottom:8px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.page-title p{color:var(--muted);margin-top:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #d2dce7;border-radius:7px;padding:9px 14px;background:white;color:#214a75;font-size:12px;font-weight:650;cursor:pointer;min-height:37px;text-decoration:none;white-space:nowrap}.button:hover{background:#edf3f9;text-decoration:none}.button.primary{background:#24588d;border-color:#24588d;color:#fff}.button.primary:hover{background:#193f66}.button.ghost{background:transparent}.button.light{background:white;color:#173654}.button.outline-light{background:transparent;color:#fff;border-color:#ffffff75}.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#173654,#2e5b91);border-radius:11px;padding:26px 30px;color:white;margin-bottom:18px;min-height:170px}.hero h2{font-size:25px;max-width:75%;letter-spacing:-.5px}.hero p{color:#deebfb;margin:8px 0 18px;max-width:78%}.hero .eyebrow{color:#d8e6f7}.hero-motif{position:absolute;right:20px;top:-58px;font-size:280px;color:#e3edf514;pointer-events:none}.hero-actions{display:flex;gap:8px;flex-wrap:wrap}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:16px 0}.kpi,.panel,.table-card{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.kpi{padding:17px;display:grid;gap:6px}.kpi-icon{color:#35699b;background:#e8f0f8;width:33px;height:33px;border-radius:7px;display:grid;place-items:center;font-size:21px}.kpi strong{font-size:29px;font-weight:650;letter-spacing:-1px}.panel{padding:20px;margin-bottom:15px;min-width:0}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.text-link{font-size:12px;font-weight:650}.purpose-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.purpose{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;border:1px solid var(--line);border-radius:8px;background:#f8fafc;padding:15px;color:var(--ink);font-size:12px}.purpose span{font-size:26px;color:#245b96}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.goal-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #edf1f5;padding:12px 0}.goal-row>div:first-child{display:grid;gap:5px;min-width:0}.goal-title{color:var(--ink);font-weight:600;font-size:13px;overflow-wrap:anywhere}.progress{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;min-width:120px}.progress progress{height:8px;width:95px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e1e8ee}.progress progress::-webkit-progress-bar{background:#e1e8ee}.progress progress::-webkit-progress-value{background:#31855c;border-radius:8px}.progress progress::-moz-progress-bar{background:#31855c}.donut{margin:18px auto;width:150px;height:150px;border-radius:50%;background:conic-gradient(#2c8a60 var(--score),#e2e8ef 0);padding:13px;display:grid;place-items:center}.donut>div{width:100%;height:100%;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut strong{font-size:26px}.donut small{font-size:10px}.status{display:inline-block;width:fit-content;border-radius:5px;background:#e9eef3;color:#52667c;padding:4px 7px;font-size:10px;font-weight:650;white-space:nowrap}.s-done,.s-approved{background:#e1f3e8;color:#216b46}.s-active,.s-review{background:#e4eef9;color:#235e92}.s-risk,.s-partial{background:#fff1d7;color:#9c620e}.s-failed,.s-cancelled{background:#fce5e5;color:#a42d36}.s-archived{background:#e9e9ef;color:#54566a}.filter,.actions{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin:0 0 14px}.filter label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.filter input{width:125px}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}.table-tools input{max-width:310px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{background:#f2f6fa;color:#4f647a;font-weight:650;white-space:nowrap}td,th{padding:13px 12px;border-bottom:1px solid #e8edf2;vertical-align:middle}td small,td strong{display:block}td strong{margin-top:3px;min-width:125px;max-width:380px;overflow-wrap:anywhere}tr:last-child td{border-bottom:0}td .text-link{display:block;margin:4px 0}tr:hover td{background:#fafcfe}.empty{padding:26px;text-align:center;color:var(--muted)}input,textarea,select{width:100%;border:1px solid #ccd8e4;border-radius:6px;background:#fff;color:var(--ink);padding:10px 12px;min-height:40px}textarea{resize:vertical;line-height:1.5}.record-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.record-form label,.auth-form label{display:grid;gap:7px;font-size:12px;font-weight:650}.wide{grid-column:1/-1}dl{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:10px 16px;line-height:1.6}dt{font-weight:650;color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.child-link{display:block;padding:7px 0}.notice{border-left:3px solid #a93d3d;background:#fff0f0;border-radius:5px;padding:13px;margin-bottom:14px;color:#8b2d32}.notice.success{border-color:#2b8156;background:#e8f6ed;color:#21663e}.notice.info{border-color:#356a9e;background:#eaf1fa;color:#264c72}.gantt-scroll{overflow:auto}.gantt{min-width:850px}.gantt-header,.gantt-row{display:grid;grid-template-columns:240px 1fr;align-items:center;border-bottom:1px solid var(--line);min-height:44px}.months{display:flex;height:44px;align-items:center}.months span{text-align:center;border-left:1px solid var(--line);font-size:11px}.timeline{height:38px;position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(8.333% - 1px),#e1e7ef calc(8.333% - 1px),#e1e7ef 8.333%)}.gantt-bar{position:absolute;top:9px;height:20px;border-radius:4px;background:#3677ad;min-width:3px}.footer{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:20px;border-top:1px solid var(--line);background:#fff}.public{min-height:100vh;background:radial-gradient(ellipse at 70% 20%,#e0ebf9,transparent 60%),#f4f7fb;display:flex;flex-direction:column}.public-header{display:flex;align-items:center;gap:14px;padding:22px 5vw;background:#173654;color:white}.public-header small{color:#d7e5f5;display:block;margin-top:3px}.auth-main{display:grid;place-items:center;flex:1;padding:36px 16px}.auth-card{width:min(100%,480px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 15px 65px #18365712;padding:34px}.auth-card p{color:var(--muted);margin:14px 0}.auth-card .auth-form{display:grid;gap:17px;margin:22px 0}.auth-form button{width:100%;justify-content:space-between;font-size:14px;padding:13px 16px}.auth-note{border-top:1px solid var(--line);padding-top:16px;margin-top:25px;font-size:11px;color:var(--muted)}.qr{width:190px;height:190px;margin:12px auto}.qr canvas{width:100%;height:100%;image-rendering:pixelated}.secret{text-align:center;overflow-wrap:anywhere;font-size:13px}.recovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.recovery-grid code{background:#edf3f8;padding:8px;font-size:12px}.legal{width:min(100%,780px)}.prose{line-height:1.8;margin:20px 0;overflow-wrap:anywhere}.sidebar-closed .sidebar{transform:translateX(-100%)}.sidebar-closed .workspace{margin-left:0}@media(max-width:1050px){.kpis{grid-template-columns:repeat(2,1fr)}.topbar{padding:12px 17px}.user-name{display:none}.main{padding:20px}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .18s}.workspace{margin-left:0}.sidebar-open .sidebar{transform:translateX(0)}.topbar{gap:8px}.top-title strong{font-size:11px}.secure{display:none}.main{padding:14px}.page-title{align-items:flex-start;flex-direction:column}.hero{padding:20px}.hero h2{font-size:20px;max-width:100%}.hero p{max-width:100%}.record-form{grid-template-columns:1fr}.auth-card{padding:24px}.kpi{padding:12px}.kpi strong{font-size:24px}.panel{padding:14px}.progress{min-width:95px}.progress progress{width:65px}.footer{padding:15px}.gantt-scroll{padding:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.footer,.button,.filter,.table-tools,.breadcrumb{display:none!important}.workspace{margin:0}.main{padding:0}.panel,.table-card{border:0;box-shadow:none}.gantt{min-width:0}.gantt-scroll{overflow:visible}.gantt-bar{print-color-adjust:exact}body{background:white}@page{size:A4 landscape;margin:12mm}}
