@font-face{font-family:LocalSans;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f5f3ed;color:#20332e;font:15px/1.5 LocalSans,'Segoe UI',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3.6vw,43px);font-weight:650;letter-spacing:-1.4px;line-height:1.15;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}small,.muted{color:#68776f}small{font-size:12px}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:#123f38;color:#eef3e9;padding:30px 20px;position:fixed;inset:0 auto 0 0;width:230px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:700;letter-spacing:-1px;margin:0 12px 32px}.brand img{width:35px;height:35px}.brand span{color:#e9b976}.nav-label{font-size:10px;letter-spacing:2px;color:#a1b7ad;margin:10px 13px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;border-radius:9px;background:transparent;color:#c4d4cd;text-align:left;padding:11px 13px;display:flex;align-items:center;gap:12px}.nav button.active{background:#e9b976;color:#173f36;font-weight:650}.nav button:hover:not(.active){background:#ffffff0d}.nav .symbol{font-size:18px;width:22px;text-align:center}.sidebar-footer{margin-top:auto;padding:20px 12px 0;border-top:1px solid #ffffff20;font-size:12px;color:#b2c8be}.sidebar-footer strong{color:#fff;display:block;margin:8px 0}.workspace{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid #dfdfd4;padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#fbfaf6;gap:15px}.topbar .company{font-weight:600}.top-actions{display:flex;align-items:center;gap:15px}.avatar{display:inline-flex;border-radius:50%;background:#e9e8dd;color:#29483e;align-items:center;justify-content:center;width:36px;height:36px;font-weight:700}.top-actions small{max-width:180px}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px}.status:before{content:'';width:7px;height:7px;border-radius:50%;background:#4a9770}.status.offline:before{background:#cf8a32}.main{max-width:1500px;margin:auto;padding:34px 38px 70px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:#7c8c7b;margin-bottom:12px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-head p{margin-bottom:0;color:#708075}.primary,.secondary,.ghost,.danger{border-radius:8px;padding:10px 17px;font-weight:600;white-space:nowrap}.primary{border:1px solid #123f38;background:#123f38;color:#fff}.primary:hover{background:#20574b}.secondary{background:#fff;border:1px solid #d8ddd1;color:#24463b}.ghost{border:0;background:transparent;color:#61766a;padding:7px}.danger{border:1px solid #dfbfb8;background:#fff7f3;color:#993d29}.hero{background:#e3e9df;border-radius:15px;padding:30px 32px;display:grid;grid-template-columns:1.5fr 1fr;gap:24px;margin-bottom:25px;position:relative;overflow:hidden}.hero h2{font-size:26px;max-width:450px;line-height:1.25}.hero p{color:#53685a;max-width:420px}.hero-art{display:flex;align-items:center;justify-content:center;min-height:125px}.building{width:150px;height:110px;position:relative;border:3px solid #123f38;border-top:0;background:repeating-linear-gradient(90deg,transparent 0 27px,#123f3818 28px 30px),repeating-linear-gradient(0deg,transparent 0 27px,#123f3818 28px 30px);transform:skewY(-5deg)}.building:before{content:'';position:absolute;width:174px;height:3px;background:#123f38;left:-15px;top:-12px;transform:rotate(-10deg)}.building:after{content:'';position:absolute;width:30px;height:48px;background:#123f38;bottom:0;left:57px;box-shadow:-45px -45px 0 -4px #e9b976,45px -45px 0 -4px #e9b976}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:#fff;border:1px solid #e5e6dc;border-radius:12px;padding:19px 22px}.stat label{font-size:12px;color:#6c7d70}.stat strong{display:block;font-size:29px;letter-spacing:-.9px;margin:6px 0 2px}.stat small{font-size:11px}.grid-two{display:grid;grid-template-columns:1.35fr 1fr;gap:23px}.panel{background:#fff;border:1px solid #e5e6dc;border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 15px;gap:12px}.panel-title h2{margin:0}.panel-body{padding:0 23px 23px}.project-card{background:#fff;border:1px solid #e1e4d8;border-radius:13px;padding:23px;position:relative}.project-card:before{content:'';display:block;width:35px;height:4px;background:#dca96c;border-radius:3px;margin-bottom:20px}.project-card h2{font-size:20px;margin:14px 0 8px}.project-card p{color:#788377;font-size:13px;min-height:20px}.card-foot{border-top:1px solid #efefe6;padding-top:15px;margin-top:22px;display:flex;justify-content:space-between;align-items:center}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.badge{display:inline-block;border-radius:5px;padding:4px 8px;font-size:11px;font-weight:600;background:#eaf1e7;color:#3b6e48}.badge.warn{background:#faf0d9;color:#886323}.badge.neutral{background:#eee;text-transform:none;color:#647467}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.7px;color:#7c8b80;text-transform:uppercase;background:#fafbf7;font-weight:650}td,th{padding:14px 19px;border-bottom:1px solid #eef0e7}td{font-size:13px}td small{display:block}tbody tr:last-child td{border-bottom:0}.empty{text-align:center;padding:44px 24px;color:#7c897f;white-space:normal}.empty strong{display:block;color:#3a5546;margin-bottom:6px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.toolbar input,.toolbar select{max-width:280px}.search{flex:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}label{font-size:12px;font-weight:600;color:#516a59}input,select,textarea{border:1px solid #d5dccc;border-radius:7px;padding:10px 12px;background:#fff;color:#20332e;width:100%;min-width:0}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:auto;accent-color:#123f38}.check{display:flex;gap:10px;align-items:center;padding:10px 0}.check label{font-size:13px}dialog{border:0;border-radius:15px;padding:0;max-width:650px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 20px 80px #092c3d33;background:#fbfcf7}dialog::backdrop{background:#122d2877;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:22px 25px;border-bottom:1px solid #e3e7dc}.dialog-head h2{margin:0}.dialog-body{padding:24px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.error{color:#9f3e2a;background:#fff1e9;border-radius:8px;padding:12px;font-size:13px}.notice{background:#f8efd9;color:#765b26;border:1px solid #e8d6a9;padding:14px 18px;border-radius:9px;font-size:13px;margin-bottom:20px}.notice.green{background:#e9efe3;color:#47603e;border-color:#d6e1cc}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.photo-card{border:1px solid #e0e5d8;background:#fff;border-radius:12px;overflow:hidden}.photo-card img{width:100%;height:200px;object-fit:cover;display:block}.photo-card .photo-info{padding:16px}.photo-placeholder{height:180px;background:#e8ece2;display:flex;align-items:center;justify-content:center;font-size:30px}.diary{border-left:3px solid #c49d6a;padding-left:18px;margin:0 0 24px}.diary p{white-space:pre-wrap;font-size:14px}.bar-row{display:grid;grid-template-columns:150px 1fr 70px;align-items:center;gap:15px;margin:18px 0;font-size:12px}.bar{height:9px;background:#edf0e7;border-radius:5px;overflow:hidden}.bar span{height:100%;display:block;background:#578171;border-radius:5px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#123f38;color:#f4f2e9;padding:65px;display:flex;flex-direction:column;justify-content:space-between}.auth-art .brand{margin:0}.auth-art h1{font-size:clamp(35px,4vw,60px);max-width:520px;line-height:1.12;font-weight:500}.auth-art h1 span{color:#e9b976}.auth-art p{max-width:430px;color:#b2c8b8}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-inner{width:100%;max-width:410px}.auth-inner h2{font-size:29px}.auth-inner .field{margin:16px 0}.auth-inner button.primary{width:100%;margin-top:15px}.footnote{font-size:11px;color:#8a9287;margin-top:22px}#toast{position:fixed;bottom:25px;right:25px;background:#123f38;color:#fff;border-radius:10px;padding:14px 20px;box-shadow:0 8px 30px #0002;z-index:100;display:none;max-width:400px}.loading{padding:80px;text-align:center}.sync-item{padding:17px 22px;border-bottom:1px solid #eee}.sync-item p{margin:5px 0}.timer{font-variant-numeric:tabular-nums;font-size:38px;letter-spacing:-1px;color:#123f38}.version{font-size:10px;color:#b8c8bb}.mobile-brand{display:none}.nowrap{white-space:nowrap}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-card{padding:24px}.profile-card h2{margin-top:15px}.report-total{padding:28px;background:#123f38;color:#fff;border-radius:12px;margin-bottom:23px;display:flex;align-items:center;justify-content:space-between}.report-total strong{font-size:36px}.report-total p{margin:0;color:#d1dccf}.split-action{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.divider{margin:24px 0;border:0;border-top:1px solid #e3e7db}.file-note{font-size:12px;margin:8px 0;color:#798576}
progress.bar{appearance:none;border:0;width:100%;color:#578171}progress.bar::-webkit-progress-bar{background:#edf0e7;border-radius:5px}progress.bar::-webkit-progress-value{background:#578171;border-radius:5px}progress.bar::-moz-progress-bar{background:#578171;border-radius:5px}
@media(max-width:1150px){.cards{grid-template-columns:repeat(2,1fr)}.photo-grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:200px;padding:25px 12px}.layout{grid-template-columns:200px minmax(0,1fr)}.main{padding:28px 25px 80px}.topbar{padding:0 25px}.stats{gap:10px}.stat{padding:16px}.grid-two{grid-template-columns:1fr}.auth-art{padding:40px}}
@media(max-width:740px){.layout{display:block}.sidebar{position:fixed;top:auto;bottom:0;width:100%;padding:5px 3px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #ffffff22;height:auto}.sidebar>.brand,.nav-label,.sidebar-footer{display:none}.nav{flex-direction:row;overflow-x:auto;gap:2px}.nav button{flex:0 0 68px;flex-direction:column;gap:2px;padding:7px 4px;font-size:9px;border-radius:7px}.nav .symbol{font-size:19px}.workspace{padding-bottom:36px}.topbar{height:65px;padding:0 17px}.topbar .company{font-size:12px;max-width:140px}.top-actions{gap:9px}.top-actions small{display:none}.top-actions .ghost{font-size:11px;padding:3px}.main{padding:25px 17px 90px}.page-head{align-items:flex-start;gap:12px}.page-head h1{font-size:29px}.page-head p{font-size:12px}.page-head .primary{padding:9px 12px;font-size:12px}.stats{grid-template-columns:repeat(2,1fr)}.stat strong{font-size:25px}.hero{padding:23px;grid-template-columns:1fr}.hero h2{font-size:24px}.hero-art{display:none}.cards,.photo-grid,.profile-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.dialog-body{padding:19px}.auth{display:block}.auth-art{padding:25px;min-height:190px}.auth-art h1{font-size:30px;margin:22px 0 0}.auth-art p,.auth-art>.footnote{display:none}.auth-art .brand{font-size:22px}.auth-form{padding:30px 24px}.bar-row{grid-template-columns:100px 1fr 55px;gap:8px}.status{font-size:10px}.panel-title{padding:17px}.panel-body{padding:0 17px 20px}.report-total{padding:21px}.toolbar input,.toolbar select{max-width:100%}#toast{bottom:90px;right:15px;left:15px;max-width:100%}}

.music-link{display:inline-flex;flex-direction:column;gap:2px;color:inherit;text-decoration:none;padding:8px 12px;border:1px solid currentColor;border-radius:12px;font-size:13px}.music-link:hover{background:#c9a76122}.music-link small{font-size:10px;opacity:.75}.auth-art .music-link{align-self:flex-start;margin:16px 0}@media(max-width:650px){.top-actions .music-link small{display:none}.top-actions .music-link{padding:6px;font-size:11px}}

.plan-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0}.plan-toolbar label{font-size:12px;display:flex;align-items:center;gap:8px}.plan-toolbar input,.plan-toolbar select{padding:9px;border:1px solid #d7ddd8;border-radius:8px;background:white}.plan-scroll{overflow:auto;max-height:72vh;border:1px solid #dfe4de;border-radius:14px;background:white;margin-bottom:24px}.plan-table{border-collapse:separate;border-spacing:0;min-width:100%;table-layout:fixed}.plan-table th,.plan-table td{border-right:1px solid #e6e9e3;border-bottom:1px solid #e6e9e3;padding:10px;min-width:145px;vertical-align:top}.plan-table thead th{position:sticky;top:0;z-index:2;background:#eaf0e8;color:#123f38;font-size:12px;text-transform:none}.plan-table th:first-child{position:sticky;left:0;z-index:1;background:#f8f9f5;min-width:195px;max-width:220px;white-space:normal}.plan-table thead th:first-child{z-index:3}.plan-table th small{display:block;font-weight:400;margin-top:6px}.plan-table .weekend{background:#f5f4ee}.plan-entry{display:block;width:100%;text-align:left;border:0;border-left:3px solid #247264;border-radius:6px;padding:9px;background:#e3f0e9;color:#163f37;margin-bottom:6px;white-space:normal;min-width:145px}.plan-entry strong{font-size:12px}.plan-entry small{display:block;font-size:10px;margin-top:5px;line-height:1.5}.plan-entry.absence{background:#fff0d7;border-color:#c99a47}.plan-entry:disabled{opacity:1;cursor:default}.plan-add{border:1px dashed #c5d2c6;background:transparent;color:#517060;width:100%;border-radius:6px;padding:5px;min-height:30px}.plan-add:hover{background:#eaf0e8}.field select[multiple]{height:auto;min-height:130px}@media(max-width:700px){.plan-table th:first-child{min-width:135px;max-width:150px}.plan-toolbar{align-items:stretch}.plan-scroll{max-height:65vh}}

.plan-workspace{display:flex;gap:16px;align-items:flex-start;min-width:0}.plan-workspace>.plan-scroll{flex:1;min-width:0}.plan-palette{width:220px;flex:0 0 220px;background:#fff;border:1px solid #dfe4de;border-radius:14px;padding:14px;position:sticky;top:12px}.plan-palette h2{font-size:16px;margin:0 0 6px}.plan-palette p{font-size:12px;line-height:1.5}.plan-palette label{font-size:11px;display:block;margin-bottom:6px}.plan-palette select,.plan-palette input{width:100%;box-sizing:border-box;margin-bottom:10px;padding:9px;border-radius:8px;border:1px solid #d7ddd8}.plan-palette-list{max-height:51vh;overflow:auto}.plan-palette-item{display:flex;gap:8px;width:100%;border:1px solid #dfe7df;background:#f4f8f2;color:#163f37;padding:10px;border-radius:7px;text-align:left;margin-bottom:7px;font-size:12px;cursor:grab;touch-action:none;user-select:none}.plan-palette-item small{display:block;font-size:10px;opacity:.7;margin-top:3px}.plan-event{display:flex;position:relative;align-items:stretch;margin-bottom:6px}.plan-event .plan-entry{margin-bottom:0;min-width:130px;flex:1}.plan-drag-handle{touch-action:none;user-select:none;cursor:grab;border:0;border-radius:5px 0 0 5px;background:#d0e2d5;color:#194b40;width:24px;flex:0 0 24px;font-size:19px;padding:0;min-height:38px}.plan-drag-handle:focus-visible,.plan-palette-item:focus-visible{outline:3px solid #d6ab5d;outline-offset:2px}.plan-dragging{opacity:.35}.plan-drag-active{cursor:grabbing!important;user-select:none}.plan-drop-target{outline:3px solid #247264;outline-offset:-3px;background:#dceddf!important}.plan-drag-ghost{position:fixed;left:0;top:0;pointer-events:none;z-index:99999;padding:12px 16px;border-radius:10px;max-width:240px;background:#143e35;color:white;box-shadow:0 5px 18px #0003;font-size:13px}.plan-drag-help{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#456659;margin-bottom:10px}#plan-drag-status{min-height:18px;font-size:12px;margin:4px 0 10px}@media(max-width:900px){.plan-workspace{flex-direction:column}.plan-palette{position:static;width:100%;box-sizing:border-box;flex:auto}.plan-palette-list{max-height:170px;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:7px}.plan-workspace>.plan-scroll{width:100%}.plan-drag-handle{width:32px;flex-basis:32px;min-height:44px}}
.plan-event .plan-entry{min-width:0;overflow-wrap:anywhere}
.plan-table{table-layout:auto;width:max-content}.plan-table th,.plan-table td{width:190px;min-width:190px;max-width:210px}
.role-polier{--role-bg:#f7c6c6;--role-text:#771c25;--role-edge:#b93141}
.role-geselle{--role-bg:#c9dff9;--role-text:#174d86;--role-edge:#3379bc}
.role-lehrling{--role-bg:#ffe89a;--role-text:#674800;--role-edge:#c49310}
.plan-role-legend{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}
.plan-person-badge{display:inline-block;padding:4px 7px;border-radius:5px;background:var(--role-bg,#edf0e9);color:var(--role-text,#163f37);font-size:11px;line-height:1.4}
.plan-table th:first-child[class*="role-"]{background:var(--role-bg);color:var(--role-text);box-shadow:inset 4px 0 var(--role-edge)}
.plan-event[class*="role-"] .plan-entry{background:var(--role-bg);color:var(--role-text);border-left-color:var(--role-edge)}
.plan-event[class*="role-"] .plan-drag-handle{background:var(--role-bg);color:var(--role-text);border-right:1px solid var(--role-edge)}
.plan-palette-item[class*="role-"]{background:var(--role-bg);color:var(--role-text);border-color:var(--role-edge)}
