
:root{--ink:#523943;--muted:#9a828a;--rose:#b56f7f;--rose-dark:#925365;--rose-pale:#f8e9e7;--gold:#c5a17e;--line:#ecdcd9;--bg:#fbf5f1;--paper:#fffdfa;--green:#698b7a;--shadow:0 18px 50px rgba(120,65,83,.10)}
*{box-sizing:border-box} html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 0 2%,#f3dcd8 0,transparent 36%),radial-gradient(ellipse at 100% 14%,#f6e6d9 0,transparent 33%),linear-gradient(160deg,#fdfaf8,#faf1ee);color:var(--ink);font:13px 'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button,input,select,textarea{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d19fa8}h1,h2,h3,h4,p{margin:0}svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{color:var(--rose-dark)}
.app-root{min-height:100vh;transition:filter .3s ease,transform .3s ease}body.locked .app-root{filter:blur(10px);transform:scale(1.007);pointer-events:none;user-select:none}.wide{width:min(calc(100% - 64px),1600px);margin-inline:auto}.bar{height:76px;display:flex;align-items:center;border-bottom:1px solid #efe1dc;background:rgba(255,253,251,.84);backdrop-filter:blur(15px)}.bar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:11px}.brand-emblem{width:45px;height:45px;border-radius:14px 14px 14px 5px;background:linear-gradient(145deg,#e6b9af,#bf7b8c 65%,#a85c73);display:grid;place-items:center;box-shadow:0 5px 15px #b8788a30;color:white;font:italic 25px Georgia,serif;position:relative}.brand-emblem:after{content:'✦';position:absolute;font:11px Georgia,serif;right:5px;top:4px}.brand-main{font:600 20px 'Playfair Display',Georgia,serif;letter-spacing:-.04em}.brand-sub{font-size:9px;color:var(--rose);letter-spacing:.23em;font-weight:800;margin-top:4px}.bar-actions{display:flex;align-items:center;gap:9px}.header-pill{display:flex;align-items:center;gap:7px;color:#8a747d;font-size:11px;margin-right:9px}.header-pill span{width:7px;height:7px;border-radius:50%;background:#86b393}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fffaf8;color:#8b6675;position:relative}.icon-button:hover{background:#f8eae6}.icon-button svg{width:17px;height:17px}.avatar{height:36px;min-width:36px;padding:0 8px;display:grid;place-items:center;border-radius:50%;font-weight:800;font-size:11px;color:#87546a;background:#ecd0c9;border:2px solid white}.profile-label{margin-left:2px;font-weight:700;font-size:12px}.badge-count{position:absolute;background:#b56979;color:white;right:-4px;top:-6px;border-radius:12px;min-width:16px;height:16px;font-size:9px;display:grid;place-items:center;border:2px solid white}
.main{padding:35px 0 48px}.topline{display:flex;gap:20px;justify-content:space-between;align-items:end;margin-bottom:25px}.eyebrow{text-transform:uppercase;letter-spacing:.23em;color:#bf8790;font-size:10px;font-weight:800;margin-bottom:10px}.eyebrow:before{content:'';height:1px;width:23px;background:#bc8090;display:inline-block;vertical-align:middle;margin-right:10px}h1{font:500 clamp(30px,3vw,43px)/1.2 'Playfair Display',Georgia,serif;letter-spacing:-.045em}h1 em{font-weight:500;color:var(--rose);font-style:italic}.subtitle{color:var(--muted);line-height:1.7;margin-top:9px;font-size:12px}.section-tabs{display:flex;align-items:center;gap:6px;background:#f4e7e3;padding:5px;border-radius:14px}.section-tab{display:flex;align-items:center;gap:7px;padding:10px 16px;border-radius:10px;color:#92747e;background:transparent;border:0;font-weight:800;font-size:11px}.section-tab.active{background:#fffdfa;box-shadow:0 3px 9px #ae778317;color:var(--rose-dark)}
.btn{min-height:39px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:0 15px;font-size:12px;font-weight:800;border:1px solid transparent;white-space:nowrap;transition:.15s ease}.btn svg{width:15px;height:15px}.btn.primary{background:linear-gradient(110deg,#cd9499,#b47283);color:white;box-shadow:0 6px 16px #af667830}.btn.primary:hover{filter:brightness(.97);transform:translateY(-1px)}.btn.outline{background:#fffdfb;color:#946574;border-color:#e9d7d2}.btn.plain{background:transparent;color:#957781}.btn.danger{background:#fff1f0;color:#ac5961;border-color:#efcecd}.btn.small{min-height:32px;padding:0 11px;font-size:11px}.btn.icononly{width:38px;padding:0}.row{display:flex;align-items:center;gap:10px}.spacer{flex:1}.muted{color:var(--muted)}.small{font-size:11px}.tip{font-size:11px;color:#a08b91;line-height:1.6}.hidden{display:none!important}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.stat{border:1px solid var(--line);border-radius:18px;background:#fffdfaec;min-height:100px;padding:18px 20px;box-shadow:0 7px 18px #b67f7b0b;display:flex;align-items:center;justify-content:space-between;gap:10px}.stat h3{font-size:11px;color:#9a858a;font-weight:600;margin-bottom:8px}.stat strong{font:600 27px 'Playfair Display',Georgia,serif}.stat .stat-icon{width:39px;height:39px;border-radius:14px;background:#f7e9e6;color:#b57c89;display:grid;place-items:center}.stat .stat-icon.green{background:#eaf1ec;color:#779581}.stat .stat-icon.gold{background:#f6ede1;color:#bc9c6e}
.surface{border:1px solid #e9d8d3;border-radius:23px;background:#fffdfbe9;box-shadow:var(--shadow);overflow:hidden}.surface-head{padding:21px 23px 18px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px}.surface-title{font:600 29px 'Playfair Display',Georgia,serif;letter-spacing:-.04em;text-transform:capitalize}.surface-kicker{text-transform:uppercase;letter-spacing:.18em;font-weight:800;color:#bc8893;font-size:9px;margin-bottom:5px}.calendar-tools{display:flex;justify-content:space-between;align-items:center;padding:13px 23px;gap:12px;border-block:1px solid #f3e8e3;flex-wrap:wrap;background:#fffcfa}.filters{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.filter{font-size:11px;font-weight:800;padding:8px 12px;border:0;background:transparent;border-radius:9px;color:#9b858d}.filter.active{background:#f7e8e5;color:#9e5f71}.searchbox{height:34px;border:1px solid #ebded8;border-radius:10px;display:flex;align-items:center;gap:7px;padding:0 11px;background:white}.searchbox svg{width:14px;height:14px;color:#b2929a}.searchbox input{width:188px;border:0;outline:0;background:transparent;color:#64444f;font-size:11px}
.calendar-scroll{overflow-x:auto;scrollbar-color:#e7c9c4 transparent}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:9px 12px 13px;min-width:1290px}.weekday{padding:9px 7px 11px;text-align:center;font-weight:800;font-size:11px;color:#9d7b85}.weekday.weekend{color:#b77984}.day{height:148px;background:#fffaf8;border:1px solid #efe1dc;border-radius:13px;padding:9px 8px 8px;min-width:0;position:relative;transition:box-shadow .15s,border-color .15s}.day:hover{box-shadow:0 4px 18px #cb9ba127}.day.outside{background:#fbf6f3;opacity:.43}.day.today{background:#ffefeb}.day.absent{border:2px solid var(--absenceColor,#c38597);padding:8px 7px 7px;box-shadow:inset 0 0 0 1px #fff9f7}.day-head{height:20px;display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:6px}.day-num{font-weight:800;font-size:12px}.day-absences{display:flex;align-items:center;gap:3px}.absence-dot{width:7px;height:7px;border-radius:50%;background:var(--dotColor);border:1px solid #fff}.day-count{font-size:9px;color:#b19ba0;white-space:nowrap}.day-events{display:flex;flex-direction:column;gap:3px}.event-chip{width:100%;height:31px;min-width:0;text-align:left;border:1px solid transparent;border-radius:6px;background:#edf4ed;color:#52775f;display:block;padding:3px 6px;position:relative;overflow:hidden}.event-chip:hover{filter:brightness(.97)}.event-chip.mine{background:#edf0fc;color:#6b76a2}.event-chip.other{background:#f5ece2;color:#9c7e5c}.event-chip.pending{background:#fbe9ec;color:#a96c7b}.event-chip .one{display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden}.event-chip .client{font-size:9px;line-height:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-chip .meta{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:11px;opacity:.9}.note-alert{display:inline-grid;place-items:center;flex:0 0 11px;width:11px;height:11px;border-radius:3px;background:#cc5262;color:white;font-size:8px;font-weight:800}.event-chip.emptyinfo{font-weight:700}.day-free{font-size:10px;color:#c5abb0;padding-top:14px;text-align:center}.mobile-quick{display:none}.calendar-footer{border-top:1px solid #f0e2dd;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.legend{display:flex;gap:14px;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:5px;font-size:10px;color:#99838a}.legend i{width:9px;height:9px;display:inline-block;border-radius:3px;background:#b7d4ba}.legend i.mine{background:#b5c1ec}.legend i.other{background:#e1c8a8}.legend i.pending{background:#e7afba}.legend i.absent{background:#e1b0c0;border:1px solid #ad667e}
.footer-note{margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#b49a9c;font-size:10px}.footer-note strong{letter-spacing:.18em;font-size:9px}
/* Login */
.login-layer{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:rgba(88,56,67,.18);backdrop-filter:blur(6px);padding:20px}.login-panel{width:min(100%,425px);border:1px solid rgba(255,255,255,.9);border-radius:27px;background:linear-gradient(150deg,rgba(255,253,251,.98),rgba(255,247,243,.98));box-shadow:0 40px 90px #68414e40;padding:37px 38px 30px;text-align:center}.login-emblem{width:58px;height:58px;margin:0 auto 17px;border-radius:19px 19px 19px 8px;display:grid;place-items:center;background:linear-gradient(145deg,#edc4b9,#c38991,#9f6677);color:white;font:italic 33px Georgia,serif;box-shadow:0 10px 23px #b7778a40}.login-kicker{font-size:10px;font-weight:800;letter-spacing:.2em;color:#ba8490;margin-bottom:10px}.login-title{font:500 34px 'Playfair Display',Georgia,serif;letter-spacing:-.05em;margin-bottom:11px}.login-description{color:#a0878e;font-size:12px;line-height:1.75;margin-bottom:25px}.field{display:grid;gap:7px;text-align:left}.field label{font-size:11px;color:#8c6976;font-weight:800}.field input,.field select,.field textarea{background:white;width:100%;min-height:40px;padding:9px 11px;border:1px solid #eadbd6;border-radius:10px;color:#694a55;outline:none}.field textarea{resize:vertical;min-height:77px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#c98798;box-shadow:0 0 0 3px #f6e3e7}.login-form{display:grid;gap:14px}.login-form .btn{margin-top:5px;min-height:44px;width:100%}.login-hint{border-top:1px solid #efe1dc;margin-top:23px;padding-top:17px;text-align:left}.login-hint strong{display:block;font-size:10px;color:#ac7784;letter-spacing:.07em;margin-bottom:9px}.demo-accounts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.demo-account{border:1px solid #ebdad6;background:#fffdfb;padding:9px 8px;border-radius:10px;text-align:left;color:#85636f;line-height:1.5;font-size:10px}.demo-account b{display:block;color:#91596d;font-size:11px}.login-error{min-height:16px;color:#bb5968;font-size:11px;text-align:left}.login-warning{font-size:9px;line-height:1.6;color:#b69da1;margin-top:17px}
/* modal */
.modal-backdrop{position:fixed;inset:0;z-index:60;background:#3d253470;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:18px}.modal-card{background:#fffdfa;border:1px solid #f4e4df;border-radius:25px;box-shadow:0 30px 75px #3f26384d;width:min(100%,655px);max-height:min(92vh,850px);overflow:auto}.modal-card.settings{width:min(100%,700px)}.modal-head{display:flex;gap:16px;align-items:start;justify-content:space-between;border-bottom:1px solid #f0e3df;padding:23px 25px 18px}.modal-kicker{color:#bc8790;font-weight:800;font-size:10px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:6px}.modal-head h2{font:500 29px 'Playfair Display',Georgia,serif;letter-spacing:-.04em}.modal-body{padding:22px 25px 25px}.modal-close{flex:0 0 34px;height:34px;background:#f9eeeb;border:1px solid #eedbd5;border-radius:10px;color:#9d6878;display:grid;place-items:center}.modal-sub{color:#9c858b;line-height:1.7;margin-top:7px}.detail-status{font-size:10px;font-weight:800;border-radius:20px;background:#edf4ed;color:#567b65;display:inline-flex;align-items:center;gap:6px;padding:7px 10px}.detail-status.mine{background:#ecf0fc;color:#6675a2}.detail-status.other{background:#f5ece2;color:#937652}.detail-status.pending{background:#fbe9ec;color:#ac6879}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.detail-entry{border-bottom:1px solid #f3e7e2;padding-bottom:12px;min-width:0}.detail-entry dt{color:#b099a0;text-transform:uppercase;font-size:9px;letter-spacing:.07em;font-weight:800;margin-bottom:6px}.detail-entry dd{margin:0;line-height:1.5;font-size:12px;font-weight:700;overflow-wrap:anywhere}.note-box{border:1px solid #efddd6;background:#fff8f4;padding:14px 15px;border-radius:13px;margin-top:12px;line-height:1.7}.note-box.admin-note{background:#fff0f0;border-color:#f1cfd0}.note-title{font-weight:800;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#ae7983;margin-bottom:5px;display:flex;align-items:center;gap:7px}.note-title .note-alert{width:15px;height:15px;flex:0 0 15px}.modal-actions{display:flex;align-items:center;gap:9px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #f0e3df;margin-top:19px;padding-top:17px}.setting-section{padding:2px 0 20px}.setting-section+.setting-section{border-top:1px solid #f0e3df;padding-top:21px}.setting-section h3{font:600 21px 'Playfair Display',Georgia,serif;margin-bottom:8px}.palette{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 15px}.swatch{width:30px;height:30px;border-radius:10px;background:var(--c);border:3px solid white;box-shadow:0 0 0 1px #dac4bf;position:relative}.swatch.selected{box-shadow:0 0 0 2px #9a687c}.swatch.selected:after{content:'✓';color:white;font-weight:900;position:absolute;inset:0;display:grid;place-items:center}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-row{display:grid;gap:10px}.absence-list{display:grid;gap:8px;margin-top:15px}.absence-entry{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 12px;border:1px solid #efdfdb;background:#fffaf8;border-radius:10px;font-size:11px}.absence-entry .line{display:flex;align-items:center;gap:8px}.absence-entry .dot{width:9px;height:9px;border-radius:50%;background:var(--dotColor)}.absence-entry button{background:transparent;border:0;color:#b66d7b;padding:4px}
/* admin */
.admin-layout{display:grid;grid-template-columns:218px minmax(0,1fr);gap:19px;align-items:start}.admin-sidebar{padding:17px 12px;border:1px solid var(--line);border-radius:18px;background:#fffdfbec;position:sticky;top:16px}.admin-sidebar-heading{color:#bc8790;font-weight:800;letter-spacing:.16em;font-size:9px;text-transform:uppercase;margin:7px 10px 13px}.admin-nav{width:100%;min-height:42px;display:flex;align-items:center;gap:11px;background:transparent;border:0;border-radius:10px;padding:0 12px;color:#98808a;font-weight:800;font-size:11px;text-align:left}.admin-nav svg{width:16px;height:16px}.admin-nav.active{background:#f9eae7;color:#a76074}.admin-nav:hover:not(.active){background:#fcf4f1}.admin-side-tip{font-size:10px;line-height:1.6;color:#ae9198;border-top:1px solid #f0e3df;margin-top:18px;padding:15px 10px 2px}.admin-content{min-width:0}.panel{border:1px solid var(--line);background:#fffdfbea;border-radius:19px;padding:24px;box-shadow:0 8px 22px #ad748010;margin-bottom:16px}.panel-header{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:18px}.panel h2{font:600 25px 'Playfair Display',Georgia,serif;letter-spacing:-.03em;margin-bottom:6px}.panel-desc{color:#a18a91;font-size:11px;line-height:1.6}.admin-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:16px}.admin-kpi{padding:18px 18px;border:1px solid #ecded9;border-radius:15px;background:#fff9f7}.admin-kpi strong{font:600 26px 'Playfair Display',Georgia,serif;display:block}.admin-kpi span{font-size:10px;color:#a48a92}.timeline{display:grid;gap:10px}.timeline-row{display:flex;align-items:flex-start;gap:11px;padding:12px;background:#fff9f6;border:1px solid #f3e7e1;border-radius:11px}.timeline-mark{width:27px;height:27px;display:grid;place-items:center;background:#f7e7e6;border-radius:9px;color:#b27380}.timeline-row strong{display:block;font-size:11px;margin-bottom:5px}.timeline-row span{font-size:10px;color:#ad959a}.admin-table-wrap{overflow:auto}.admin-table{border-collapse:collapse;width:100%;min-width:560px;font-size:11px;text-align:left}.admin-table th{padding:11px 10px;color:#b18d96;font-size:9px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid #f0e2dc}.admin-table td{padding:12px 10px;border-bottom:1px solid #f4e9e4;vertical-align:middle}.admin-table tr:last-child td{border-bottom:0}.admin-table td b{font-weight:800}.color-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:7px;vertical-align:middle}.status-pill{display:inline-block;padding:5px 8px;border-radius:99px;background:#edf4ed;color:#6a9277;font-size:10px;font-weight:800}.status-pill.wait{background:#faf0e2;color:#af8d5b}.status-pill.off{background:#f5e7e8;color:#aa6477}.admin-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.6fr) auto;gap:11px;align-items:end}.section-split{display:grid;grid-template-columns:1fr 1fr;gap:13px}.admin-toggle{border:1px solid #f1e2dd;border-radius:12px;background:#fffaf7;padding:14px;display:flex;justify-content:space-between;align-items:center;gap:13px}.admin-toggle b{font-size:11px}.admin-toggle p{margin-top:5px;font-size:10px;line-height:1.5;color:#aa9198}.toggle{position:relative;display:inline-block;width:39px;height:23px;flex-shrink:0}.toggle input{position:absolute;inset:0;opacity:0;cursor:pointer}.toggle span{display:block;width:100%;height:100%;background:#e4d4d2;border-radius:50px;transition:.2s}.toggle span:after{content:'';position:absolute;width:17px;height:17px;top:3px;left:3px;background:white;border-radius:50%;box-shadow:0 1px 4px #5553;transition:.2s}.toggle input:checked+span{background:#b97785}.toggle input:checked+span:after{transform:translateX(16px)}.sources{display:grid;grid-template-columns:1fr 1fr;gap:13px}.source-card{border:1px solid #eadbd6;border-radius:14px;background:#fffaf8;padding:18px}.source-top{display:flex;align-items:center;gap:9px;margin-bottom:15px}.source-icon{height:34px;width:34px;border-radius:10px;background:#e8f2eb;color:#55866c;display:grid;place-items:center}.source-top h3{font-size:12px}.source-top p{color:#ad9399;font-size:10px;margin-top:4px}.source-card .field+.field{margin-top:11px}.sheet-note{margin-top:16px;padding:14px;background:#f9efeb;border:1px dashed #dec4c2;border-radius:12px;color:#a27c84;font-size:11px;line-height:1.6}.mapping-table{width:100%;border-collapse:collapse;min-width:690px;font-size:11px}.mapping-table th{color:#b18d96;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid #eee0db;padding:8px 7px}.mapping-table td{border-bottom:1px solid #f4e8e3;padding:10px 7px}.mapping-table input,.mapping-table select{height:34px;width:100%;border:1px solid #eadbd6;border-radius:9px;padding:0 8px;background:#fffdfb;color:#745962;font-size:11px}.mapping-table select{min-width:105px}.mapping-table .col-select{min-width:67px}.mapping-table tr:last-child td{border-bottom:0}.inline-alert{margin-top:14px;border:1px solid #efdfdb;border-radius:12px;background:#fff8f4;padding:13px 15px;color:#9e7a81;font-size:11px;line-height:1.6}.absence-bar{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:8px 0}.absence-person{background:#fff8f5;border:1px solid #ecdcd6;border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:8px;font-size:11px}.absence-person .dot{width:10px;height:10px;border-radius:50%;background:var(--dotColor)}
.toast{position:fixed;right:22px;bottom:22px;z-index:110;background:#674552;color:white;border-radius:12px;max-width:min(92vw,400px);padding:13px 17px;box-shadow:0 15px 40px #59354555;font-size:12px;line-height:1.6;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}.demo-bar{font-size:10px;color:#b69da2;text-align:center;margin-top:13px;line-height:1.7}
@media(max-width:1000px){.wide{width:min(calc(100% - 34px),1600px)}.stats{grid-template-columns:repeat(2,1fr)}.admin-layout{grid-template-columns:175px 1fr}.sources,.section-split{grid-template-columns:1fr}}
@media(max-width:700px){.mobile-quick{display:block;padding:16px 14px 19px;border-top:1px solid #f0e3dd}.mobile-quick h3{font:600 22px 'Playfair Display',Georgia,serif;margin-bottom:6px}.mobile-quick p{color:#a38b93;font-size:10px;line-height:1.6;margin-bottom:12px}.mobile-days{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mobile-day{background:#fff8f6;border:1px solid #efddd7;border-radius:12px;padding:10px;min-height:100px}.mobile-day b{display:block;color:#a67381;font-size:11px;margin-bottom:8px}.mobile-day .event-chip{margin-top:4px}.bar{height:69px}.bar .profile-label,.header-pill{display:none}.bar-actions{gap:5px}.brand-emblem{width:39px;height:39px;font-size:22px}.brand-main{font-size:18px}.main{padding-top:27px}.topline{align-items:start;flex-direction:column;gap:19px}.section-tabs{width:100%}.section-tab{flex:1;justify-content:center}.stats{gap:9px}.stat{min-height:84px;padding:12px}.stat h3{font-size:10px}.stat strong{font-size:23px}.stat .stat-icon{width:30px;height:30px}.surface-head{padding:17px}.surface-title{font-size:24px}.calendar-tools{padding:11px 14px}.searchbox{width:100%}.searchbox input{width:100%}.filters{gap:1px}.filter{padding:8px 9px;font-size:10px}.calendar-grid{min-width:1160px}.day{height:146px}.calendar-scroll:after{content:''}.calendar-footer{padding:13px 16px}.footer-note{flex-direction:column;align-items:start}.admin-layout{display:block}.admin-sidebar{position:static;display:flex;flex-wrap:nowrap;overflow-x:auto;padding:7px;margin-bottom:13px;gap:3px}.admin-sidebar-heading,.admin-side-tip{display:none}.admin-nav{width:auto;flex-shrink:0;padding:0 11px;min-height:39px}.admin-nav svg{width:15px;height:15px}.panel{padding:16px}.admin-kpis{gap:7px}.admin-kpi{padding:12px}.admin-kpi strong{font-size:23px}.admin-form{grid-template-columns:1fr 1fr}.admin-form>.btn{grid-column:1/-1}.form-two{grid-template-columns:1fr 1fr}.modal-head{padding:20px 18px 14px}.modal-body{padding:18px}.modal-head h2{font-size:24px}.detail-grid{gap:10px}.login-panel{padding:28px 22px 23px}.login-title{font-size:29px}}
@media(max-width:390px){.brand-sub{font-size:8px}.brand-main{font-size:16px}.profile-label{display:none}.form-two{grid-template-columns:1fr}.stat .stat-icon{display:none}.btn{padding:0 10px}}

/* WordPress full-screen template integration */
body.elefant-body{margin:0!important;padding:0!important;min-height:100vh;}
body.elefant-body #wpadminbar{display:none!important}
.elefant-body .app-root{min-height:100vh}
.elefant-body .calendar-grid .skeleton-line{display:block;height:20px;border-radius:6px;background:linear-gradient(90deg,#f8e5e2,#f1d7d3,#f8e5e2);margin:7px 0}
.elefant-body .calendar-grid .skeleton-line.short{width:68%}
.elefant-body .calendar-grid .day{overflow:hidden}
.elefant-body .remember{display:flex;align-items:center;gap:8px;color:#927780;font-size:11px}
.elefant-body .remember input{width:auto;accent-color:#b66f80}
.elefant-body .admin-table .muted{font-weight:400}
.elefant-body .admin-source-secret{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:8px}
.elefant-body .admin-source-secret code{font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere;display:block;padding:8px;background:#fff9f5;border:1px solid #eaddd7;border-radius:8px;font-size:11px}
.elefant-body .mapping-table input{width:100%;min-width:70px}
.elefant-body .mapping-table input.col-input{min-width:74px;width:104px}
.elefant-body .notice-card{border:1px solid #efdcd8;background:#fff9f6;padding:13px 15px;border-radius:12px;margin:10px 0;color:#866976;line-height:1.65}
.elefant-body .notice-card.error{border-color:#dc9194;color:#a34e5a}
.elefant-body .source-status{font-size:11px;margin-top:10px;color:#867781}
.elefant-body .staff-status{display:inline-block;border-radius:99px;padding:3px 9px;font-size:10px;font-weight:700;background:#edf4ed;color:#53765b}
.elefant-body .staff-status.off{background:#fbe8e8;color:#a55760}
.elefant-body .wide{max-width:1600px}
.elefant-body .admin-layout .panel{min-width:0}
.elefant-body .form-row{min-width:0}
.elefant-body .btn:focus-visible{outline:3px solid #d19fa8}
.elefant-body .event-chip{cursor:pointer}
.elefant-body .day.absent{border-color:var(--absenceColor,#c38597)}
@media(max-width:700px){.elefant-body .admin-layout{display:block}.elefant-body .admin-sidebar{display:flex;overflow-x:auto;gap:5px;margin-bottom:14px;padding:8px;white-space:nowrap}.elefant-body .admin-sidebar-heading{display:none}.elefant-body .admin-nav{min-width:max-content;padding:9px 11px}.elefant-body .admin-side-tip{display:none}.elefant-body .modal-card{max-height:94vh;overflow-y:auto}}

/* 1.1.0 – three-source matching / review UI */
.elefant-body .sources{grid-template-columns:repeat(3,minmax(0,1fr))}
.elefant-body .mapping-table{min-width:1040px}
.elefant-body .review-list{display:grid;gap:13px}
.elefant-body .review-card{border:1px solid #e9d1cf;background:#fff8f6;border-radius:13px;padding:15px}
.elefant-body .review-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.elefant-body .review-warning{font-size:11px;line-height:1.6;color:#a55c68;margin-top:9px}
.elefant-body .review-select{max-width:300px;border:1px solid #e7d2ce;border-radius:9px;padding:9px;color:#7f5967;background:#fff}
.elefant-body .quality-chip{border-radius:5px;background:#f8ebd4;color:#8e714c;padding:1px 4px;font-size:9px;margin-left:3px;font-weight:800}
@media(max-width:1100px){.elefant-body .sources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.elefant-body .sources{grid-template-columns:1fr}.elefant-body .review-head{align-items:flex-start}}

/* 1.1.2 – persistent skipped-row warnings */
.elefant-body .admin-kpi.kpi-error{border:1px solid #e5b7b2;background:#fff4f1}
.elefant-body .admin-kpi.kpi-error strong{color:#b45762}
.elefant-body .import-error-callout{border:1px solid #e2aaa6;background:#fff5f2;border-radius:15px;padding:15px 18px;margin:0 0 16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#98545f;font-size:12px}
.elefant-body .import-error-callout span{flex:1;min-width:240px}
.elefant-body .import-errors-table{min-width:630px}
.elefant-body .import-errors-table .error-inline{color:#a4505a;line-height:1.5}


/* 1.1.3 – kétsoros, jól olvasható napi rendezvénycsempék.
   A három egyidejű rendezvényhez szükséges magasságot biztosítjuk. */
.elefant-body .calendar-grid{min-width:1330px}
.elefant-body .calendar-grid .day{height:211px;overflow:hidden}
.elefant-body .calendar-grid .day-head{height:22px;margin-bottom:8px}
.elefant-body .calendar-grid .day-events{gap:5px}
.elefant-body .event-chip{
 display:flex;flex-direction:column;justify-content:center;
 height:49px;min-height:49px;gap:3px;padding:5px 8px;
 border:1px solid rgba(82,57,67,.09);border-radius:9px;
 text-align:left;line-height:1.3;
}
.elefant-body .event-chip .one,
.elefant-body .event-chip .event-bottom{
 display:flex;align-items:center;gap:4px;
 width:100%;min-width:0;min-height:16px;
 overflow:hidden;white-space:nowrap;
}
.elefant-body .event-chip .client{
 flex:1 1 auto;min-width:0;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:12px;line-height:16px;font-weight:800;
}
.elefant-body .event-chip .event-time{
 flex:0 1 auto;max-width:52%;min-width:0;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:11px;line-height:16px;font-weight:700;
}
.elefant-body .event-chip .event-location{
 flex:1 1 auto;min-width:0;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:11.5px;line-height:16px;font-weight:600;opacity:.94;
}
.elefant-body .event-chip .event-flags{
 display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;
}
.elefant-body .event-chip .quality-chip{font-size:9px;line-height:14px;margin-left:0}
.elefant-body .event-chip .note-alert{width:13px;height:13px;flex:0 0 13px;font-size:9px}
.elefant-body .event-chip:focus-visible{outline:2px solid #af697e;outline-offset:2px}
@media(max-width:700px){
 .elefant-body .calendar-grid{min-width:1330px}
 .elefant-body .calendar-grid .day{height:211px}
 .elefant-body .mobile-days{grid-template-columns:1fr}
 .elefant-body .mobile-day .event-chip{height:52px;min-height:52px}
 .elefant-body .mobile-day .event-chip .client{font-size:12px}
 .elefant-body .mobile-day .event-chip .event-time{font-size:11px}
 .elefant-body .mobile-day .event-chip .event-location{font-size:11.5px}
}

.elefant-body .calendar-grid .event-more{position:absolute;right:9px;bottom:2px;background:#fffaf8;color:#995e71;border:0;border-radius:6px;font-size:9px;font-weight:800;padding:1px 4px}
.elefant-body .mobile-day .event-chip .client{color:inherit;margin:0;display:block}

/* 1.2.0 – installálható, ugyanarra az adatbázisra kapcsolódó privát webalkalmazás */
.elefant-body .pwa-install-btn{display:inline-flex;align-items:center;gap:7px;width:auto;min-height:38px;padding:0 10px;border:1px solid #ead4cf;border-radius:12px;background:#fffaf7;color:#986477;font-size:11px;font-weight:800}
.elefant-body .pwa-install-btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.elefant-body .pwa-install-btn:hover{background:#f8e9e8;color:#825165}
.elefant-body .pwa-install-btn[hidden]{display:none!important}
.elefant-body .pwa-mobile-nav{display:none}
.elefant-body .pwa-connectivity{position:fixed;z-index:130;left:50%;transform:translateX(-50%);top:max(12px,env(safe-area-inset-top));padding:11px 15px;max-width:calc(100vw - 24px);border-radius:13px;background:#673c4c;color:white;font-size:12px;box-shadow:0 10px 32px #543c4744;text-align:center}
.elefant-body .pwa-connectivity[hidden]{display:none}
.pwa-guide-backdrop{position:fixed;inset:0;background:rgba(53,35,43,.58);backdrop-filter:blur(6px);z-index:10005;display:grid;place-items:center;padding:18px}
.pwa-guide{width:min(100%,420px);padding:27px 23px 23px;background:linear-gradient(135deg,#fffefd,#fff3f0);border:1px solid #edcec9;border-radius:22px;box-shadow:0 32px 100px #49273555;color:#533944;position:relative}
.pwa-guide .pwa-guide-close{position:absolute;right:15px;top:12px;border:0;background:#f7e8e4;color:#8a5269;border-radius:50%;width:33px;height:33px;font-size:23px;cursor:pointer}
.pwa-guide h2{font:600 27px/1.2 'Playfair Display',Georgia,serif;margin:6px 0 10px;color:#573945}
.pwa-guide p,.pwa-guide li{font:13px/1.7 'DM Sans',sans-serif;color:#816774}
.pwa-guide ol{padding-left:21px;margin:10px 0 15px}
.pwa-guide .pwa-guide-label{font-size:10px;letter-spacing:.15em;font-weight:800;color:#b47c87;text-transform:uppercase}
.pwa-guide .pwa-guide-done{display:block;text-align:center;padding:12px;border-radius:11px;background:#ad7183;color:#fff;text-decoration:none;font-weight:800;cursor:pointer}
@media(max-width:700px){
 body.elefant-body{padding-bottom:calc(79px + env(safe-area-inset-bottom))!important}
 .elefant-body .pwa-install-btn{width:36px;height:36px;min-height:36px;padding:0;justify-content:center}
 .elefant-body .pwa-install-btn span{display:none}
 .elefant-body .pwa-mobile-nav{display:flex;align-items:stretch;justify-content:space-around;position:fixed;left:0;right:0;bottom:0;z-index:80;min-height:calc(68px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:rgba(255,248,245,.97);border-top:1px solid #e8cbc7;box-shadow:0 -7px 24px #68404b12;backdrop-filter:blur(18px)}
 .elefant-body .pwa-nav-item{border:0;background:transparent;color:#9e7f88;min-width:65px;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font:700 10px 'DM Sans',sans-serif;border-radius:10px;cursor:pointer}
 .elefant-body .pwa-nav-item svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
 .elefant-body .pwa-nav-item.active{color:#985c71;background:#f5e6e4}
 .elefant-body .toast{bottom:calc(86px + env(safe-area-inset-bottom))}
 .elefant-body .footer-note{padding-bottom:20px}
}
@media(display-mode:standalone){
 .elefant-body .pwa-install-btn{display:none!important}
 .elefant-body .bar{padding-top:env(safe-area-inset-top);height:calc(69px + env(safe-area-inset-top))}
}


/* 1.2.1 – two full-year summaries, visually grey historical events. */
.elefant-body #calendarStats.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.elefant-body .annual-stat{display:block;padding:18px 20px;min-height:142px;background:linear-gradient(125deg,#fffdfb,#fff5f2)}
.elefant-body .annual-stat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.elefant-body .annual-stat-head h3{font-size:14px;font-weight:800;color:#6c4c58;margin:3px 0 0}
.elefant-body .annual-stat-eyebrow{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#ad8592;font-weight:700}
.elefant-body .annual-stat-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:14px}
.elefant-body .annual-stat-count{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:11px;background:rgba(224,244,232,.55);border:1px solid #d8e9df}
.elefant-body .annual-stat-count strong{font:700 27px/1.1 'Playfair Display',Georgia,serif;color:#46735c}
.elefant-body .annual-stat-count span{font-size:11px;font-weight:700;color:#658173}
.elefant-body .annual-stat-count.completed{background:#f1eeee;border-color:#e5dddd}
.elefant-body .annual-stat-count.completed strong{color:#666164}
.elefant-body .annual-stat-count.completed span{color:#777176}
.elefant-body .calendar-grid .day.past-day{background:#f6f4f3;border-color:#e7e0de}
.elefant-body .calendar-grid .day.past-day .day-num,.elefant-body .calendar-grid .day.past-day .day-count{color:#8b8586}
.elefant-body .event-chip.past-event,.elefant-body .mobile-day .event-chip.past-event{background:#e9e7e7!important;border:1px solid #d9d4d5!important;border-left:3px solid #aaa3a5!important;color:#585456!important;opacity:1;filter:none}
.elefant-body .event-chip.past-event .client,.elefant-body .event-chip.past-event .event-time,.elefant-body .event-chip.past-event .event-location{color:#585456!important}
.elefant-body .event-chip.past-event:hover{background:#dedadb!important;border-color:#c7bfc1!important}
.elefant-body .detail-status.past{background:#eeebeb;color:#625d60;border:1px solid #d6d0d2}
.elefant-body .past-event-message{font-size:12px;line-height:1.5;color:#716b70;background:#f1eeee;border:1px solid #e5dede;border-radius:9px;padding:9px 11px;margin-right:auto}
.elefant-body .calendar-footer .legend .past{background:#a6a0a1!important}
@media(max-width:700px){.elefant-body #calendarStats.stats{grid-template-columns:1fr}.elefant-body .annual-stat{min-height:120px;padding:15px}.elefant-body .annual-stat-counts{margin-top:11px}}
@media(max-width:390px){.elefant-body .annual-stat-count{padding:8px;gap:4px}.elefant-body .annual-stat-count strong{font-size:24px}.elefant-body .annual-stat-count span{font-size:10px}}

/* 1.2.2 – mobile-only compact calendar with colored markers, selected day detail list */
@media(max-width:700px){
 .elefant-body .calendar-scroll{display:none!important}
 .elefant-body #mobileQuickList.mobile-quick{display:block;border-top:1px solid #f0e1df;padding:16px 13px 19px;background:#fffcfa}
 .elefant-body .compact-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
 .elefant-body .compact-head h3{margin:0 0 3px;font:600 20px/1.2 'Playfair Display',Georgia,serif;color:#5a3e4a}
 .elefant-body .compact-head p{margin:0;font-size:11px;color:#9c7f88}
 .elefant-body .compact-month-label{flex-shrink:0;color:#a06d7e;background:#faeae7;border:1px solid #f0d9d5;border-radius:12px;padding:7px 10px;font-weight:800;font-size:11px}
 .elefant-body .compact-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:100%;margin:0 auto}
 .elefant-body .compact-weekday{height:27px;display:grid;place-items:center;font-size:10px;font-weight:800;color:#967883}
 .elefant-body .compact-weekday.is-weekend{color:#b17b88}
 .elefant-body .compact-empty{min-width:0;min-height:44px}
 .elefant-body .compact-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:45px;padding:3px 1px;border-radius:11px;border:1px solid #eededa;background:#fff9f6;color:#664e57;cursor:pointer;box-shadow:none;transition:background .14s,border-color .14s}
 .elefant-body .compact-date.is-past{background:#f3f0ef;border-color:#e4dddc;color:#9d9296}
 .elefant-body .compact-date.is-today{box-shadow:inset 0 0 0 1px #ba7f8f}
 .elefant-body .compact-date.is-selected{background:#f3e0dd;border:2px solid #a9697f;color:#67374b;box-shadow:0 2px 7px #b46f7e26}
 .elefant-body .compact-date.has-absence{outline:2px solid var(--absenceColor,#a36b7b);outline-offset:-3px}
 .elefant-body .compact-number{font:800 12px/1 'DM Sans',sans-serif}
 .elefant-body .compact-dots{display:flex;justify-content:center;align-items:center;gap:2px;min-height:7px;max-width:100%}
 .elefant-body .compact-dot{display:inline-block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#8dac9a}
 .elefant-body .compact-dot.mine{background:#b57791}
 .elefant-body .compact-dot.other{background:#d7a66e}
 .elefant-body .compact-dot.past{background:#aaa5a6}
 .elefant-body .compact-overflow{font-size:8px;color:#916875;font-weight:800}
 .elefant-body .compact-legend{display:flex;gap:8px 13px;align-items:center;flex-wrap:wrap;padding:12px 2px 14px;font-size:10px;color:#8f7580}
 .elefant-body .compact-legend span{display:inline-flex;align-items:center;gap:5px}
 .elefant-body .compact-legend .compact-dot{width:7px;height:7px;flex-basis:7px}
 .elefant-body .compact-selection{border:1px solid #efddd9;border-radius:15px;background:#fffaf8;overflow:hidden}
 .elefant-body .compact-selection-title{padding:12px 13px;background:#f8eae6;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
 .elefant-body .compact-selection-title strong{font-size:12px;color:#704a59}
 .elefant-body .compact-selection-title span{font-size:10px;color:#987480}
 .elefant-body .compact-event-list{display:flex;flex-direction:column;gap:9px;padding:12px}
 .elefant-body .compact-event-list .event-chip{width:100%;height:auto;min-height:57px;padding:9px 10px;border-radius:11px}
 .elefant-body .compact-event-list .event-chip .client{font-size:12px}
 .elefant-body .compact-event-list .event-chip .event-location{font-size:11.5px}
 .elefant-body .compact-empty-note{font-size:12px;line-height:1.5;color:#a48c96;margin:5px}
 .elefant-body .calendar-footer .tip{display:none}
}
@media(max-width:380px){
 .elefant-body .compact-grid{gap:3px}
 .elefant-body .compact-date{min-height:43px;border-radius:9px}
 .elefant-body #mobileQuickList.mobile-quick{padding:13px 10px}
}

/* 1.2.3 – clickable annual summary counters and simplified, accessible year lists */
.elefant-body .annual-stat-count.summary-counter{appearance:none;font:inherit;width:100%;min-width:0;cursor:pointer;text-align:left;position:relative;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease}
.elefant-body .annual-stat-count.summary-counter:hover{border-color:#bd8c98;box-shadow:0 3px 12px #ad778329;transform:translateY(-1px)}
.elefant-body .annual-stat-count.summary-counter:active{transform:translateY(0)}
.elefant-body .annual-stat-count.summary-counter:focus-visible{outline:3px solid #b97189;outline-offset:3px}
.elefant-body .annual-stat-count.summary-counter span{padding-right:14px}
.elefant-body .annual-stat-count.summary-counter::after{content:'›';font-size:18px;color:#a67b88;position:absolute;right:8px;top:50%;transform:translateY(-50%)}
.elefant-body .annual-list-modal{width:min(100%,750px)}
.elefant-body .annual-list-modal .modal-body{padding:18px 22px 24px}
.elefant-body .annual-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:15px}
.elefant-body .annual-list-heading p{margin:0;color:#916f7d;font-size:12px;line-height:1.5}
.elefant-body .annual-list-heading strong{font-size:11px;padding:6px 10px;background:#f6e9e7;color:#925a6c;border-radius:9px;white-space:nowrap}
.elefant-body .annual-list-rows{display:flex;flex-direction:column;gap:8px}
.elefant-body .annual-list-row{display:flex;width:100%;align-items:center;gap:12px;text-align:left;background:#eff6f0;border:1px solid #d6e9d8;border-left:4px solid #8db69b;color:#526f60;border-radius:12px;padding:9px 11px;min-height:63px;cursor:pointer}
.elefant-body .annual-list-row.mine{background:#f0f0fc;border-color:#deddf2;border-left-color:#b07893;color:#636c93}
.elefant-body .annual-list-row.other{background:#f9f2e7;border-color:#f1e4d4;border-left-color:#d2a371;color:#80674d}
.elefant-body .annual-list-row.is-past{background:#f0eded;border-color:#e1dcdd;border-left-color:#a6a0a1;color:#726c6e}
.elefant-body .annual-list-row:hover{filter:brightness(.98);box-shadow:0 3px 14px #99686e1a}
.elefant-body .annual-list-row:focus-visible{outline:2px solid #ac6e82;outline-offset:2px}
.elefant-body .annual-list-date{flex:0 0 46px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e9dad7;background:#fffaf8;border-radius:9px;color:#845c6a}
.elefant-body .annual-list-date strong{font:700 18px/1.1 'Playfair Display',Georgia,serif}
.elefant-body .annual-list-date small{font-size:10px;font-weight:700}
.elefant-body .annual-list-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
.elefant-body .annual-list-name{font-size:13px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.elefant-body .annual-list-time{font-size:12px;font-weight:700}
.elefant-body .annual-list-place{font-size:12px;line-height:1.45;color:inherit;opacity:.84;overflow-wrap:anywhere}
.elefant-body .annual-list-chevron{flex:0 0 12px;color:#a87989;font-size:22px;font-weight:400;line-height:1}
.elefant-body .annual-list-empty{font-size:13px;color:#9e848a;text-align:center;padding:24px 10px;margin:0}
.elefant-body .annual-list-more{display:block;margin:18px auto 0}
@media(max-width:700px){
 .elefant-body .annual-list-modal{width:100%;max-height:calc(100dvh - 110px);margin-bottom:env(safe-area-inset-bottom)}
 .elefant-body .annual-list-modal .modal-body{padding:14px 12px 18px}
 .elefant-body .annual-list-row{gap:9px;padding:9px 8px}
 .elefant-body .annual-list-date{flex-basis:42px}
 .elefant-body .annual-list-name{font-size:12px}
 .elefant-body .annual-list-time,.elefant-body .annual-list-place{font-size:11px}
}

.elefant-body .annual-stat-title-button{border:0;appearance:none;background:transparent;padding:0;color:inherit;text-align:left;font:inherit;font-weight:inherit;cursor:pointer}
.elefant-body .annual-stat-title-button span{display:inline-block;margin-left:3px;color:#b17c8c}
.elefant-body .annual-stat-title-button:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.elefant-body .annual-stat-title-button:focus-visible{outline:2px solid #ac6e82;outline-offset:3px;border-radius:4px}


/* v1.2.4 – telefonos beállítások modal finomhangolás */
.settings-form{gap:12px;margin-top:12px}
.settings-note-row{align-items:end}
.settings-submit{white-space:nowrap}
@media(max-width:700px){
  .modal-card.settings{width:min(100%,560px);max-height:min(88vh,760px);border-radius:22px}
  .modal-card.settings .modal-head{position:sticky;top:0;z-index:2;background:#fffdfa;padding:16px 16px 12px}
  .modal-card.settings .modal-body{padding:14px 16px 18px}
  .modal-card.settings .modal-head h2{font-size:22px;line-height:1.06}
  .modal-card.settings .modal-kicker{font-size:9px;margin-bottom:4px}
  .modal-card.settings .setting-section{padding:0 0 14px}
  .modal-card.settings .setting-section+.setting-section{padding-top:16px}
  .modal-card.settings .setting-section h3{font-size:18px;line-height:1.12;margin-bottom:7px}
  .modal-card.settings .modal-sub{font-size:11px;line-height:1.55;margin-top:5px}
  .modal-card.settings .palette{gap:8px;margin:12px 0}
  .modal-card.settings .swatch{width:26px;height:26px;border-radius:9px;border-width:2px}
  .modal-card.settings .tip{font-size:10px;line-height:1.5}
  .modal-card.settings .settings-form{gap:10px;margin-top:10px}
  .modal-card.settings .settings-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .modal-card.settings .settings-note-row{grid-template-columns:minmax(0,1.2fr) auto;gap:8px;align-items:end}
  .modal-card.settings .field label{font-size:10px}
  .modal-card.settings .compact-field input,
  .modal-card.settings .note-field input{min-height:38px;padding:8px 10px;font-size:12px;border-radius:12px}
  .modal-card.settings .settings-submit{min-height:38px;padding:0 12px;border-radius:12px;font-size:11px;font-weight:800;background:#fff7f3;color:#9b6f7d;border:1px solid #e8d6d1;box-shadow:none}
  .modal-card.settings .absence-list{gap:7px;margin-top:12px}
  .modal-card.settings .absence-entry{padding:8px 10px;font-size:10px;align-items:flex-start;border-radius:12px}
  .modal-card.settings .absence-entry .line{align-items:flex-start;gap:7px}
  .modal-card.settings .absence-entry button{padding:3px}
}
@media(max-width:390px){
  .modal-card.settings .settings-note-row{grid-template-columns:minmax(0,1fr) 132px;gap:7px}
  .modal-card.settings .settings-submit{padding:0 10px;font-size:10px}
}
