/* Panou proprietar */
body.adm { background: #efe9dc; padding-bottom: 20px; }
.demo-banner { position: sticky; top: 0; z-index: 70; background: var(--wood); color: #fff; padding: 9px 20px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; justify-content: center; font-size: .86rem; text-align: center; }
.demo-banner b { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; background: rgba(0, 0, 0, .22); padding: 3px 10px; border-radius: 999px; }
.ahead { background: var(--forest); color: #fff; }
.ahead-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; }
.ahead .brand { margin: 0; }
.ahead-act { display: flex; gap: 10px; flex-wrap: wrap; }
.ahead .btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.ahead .btn-ghost:hover { background: #fff; color: var(--forest); }
.amain { padding: 30px 0 10px; display: grid; gap: 22px; }
.a-title { margin-bottom: 16px; }
.a-title h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.a-title p { color: var(--ink2); margin-top: 6px; }
.muted { color: var(--ink2); font-size: .9rem; margin-top: 6px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--ink2); }
.stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.1; }
.stat small { color: var(--ink2); font-size: .82rem; }
.stat.hi { background: var(--forest); color: #fff; border-color: var(--forest); }
.stat.hi span, .stat.hi small { color: rgba(255, 255, 255, .7); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.card h2 { font-size: 1.7rem; }
.card-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.mnav { display: flex; align-items: center; gap: 10px; }
.mnav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; }
.mnav b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; min-width: 140px; text-align: center; text-transform: capitalize; }
.tl-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px 6px; }
.tl { min-width: 860px; display: grid; gap: 4px; }
.tl-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; }
.tl-name { font-family: var(--serif); font-size: 1.1rem; }
.tl-name small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--ink2); }
.tl-days { display: grid; gap: 2px; }
.tl-d { height: 40px; border: 0; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .68rem; color: var(--ink2); padding: 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: transform .1s; }
.tl-d:hover:not(.past) { transform: scale(1.1); position: relative; z-index: 2; box-shadow: 0 0 0 2px var(--wood); }
.tl-d.bk { background: var(--forest2); color: #fff; box-shadow: none; font-size: .64rem; }
.tl-d.bk.first { border-top-left-radius: 14px; border-bottom-left-radius: 14px; }
.tl-d.bk.last { border-top-right-radius: 14px; border-bottom-right-radius: 14px; }
.tl-d.bl { background: repeating-linear-gradient(135deg, #d9cbb0 0 5px, #ece3cf 5px 10px); color: #6a5a3a; box-shadow: inset 0 0 0 1px #c9b890; }
.tl-d.past { opacity: .45; cursor: default; }
.tl-d.today { box-shadow: inset 0 0 0 2px var(--wood); }
.tl-head { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.tl-head .tl-days span { text-align: center; font-size: .66rem; color: var(--ink2); line-height: 1.1; padding-bottom: 2px; }
.tl-head .tl-days span.we { color: var(--wood-d); font-weight: 600; }
.lg-bk { background: var(--forest2); border-color: var(--forest2); }
.lg-bl { background: repeating-linear-gradient(135deg, #cfc09f 0 3px, #ece3cf 3px 6px); }
.lg-past { background: #fff; opacity: .45; }
.occ { display: grid; gap: 12px; margin-top: 22px; grid-template-columns: 1fr 1fr; }
.occ > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.occ p { display: flex; justify-content: space-between; font-size: .9rem; }
.occ b { font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--sand); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--moss), var(--forest)); border-radius: 99px; transition: width .5s; }
.two { display: grid; gap: 22px; }
.aform { display: grid; gap: 14px; margin-top: 18px; }
.aform label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.aform input, .aform select, .filters input, .filters select { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font-size: 1rem; width: 100%; font-weight: 400; color: var(--ink); min-height: 48px; }
.aform input:focus, .aform select:focus, .filters input:focus, .filters select:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(176, 122, 69, .2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amsg { font-size: .88rem; font-weight: 500; min-height: 1.2em; }
.amsg.ok { color: var(--ok); } .amsg.err { color: var(--bad); }
.rates { display: grid; gap: 10px; }
.rate { display: grid; grid-template-columns: 1fr; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.rate > b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.rate-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rate-in label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.rate-in input { padding: 9px 10px; min-height: 42px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters input { width: 220px; } .filters select { width: 150px; }
.tbl-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 860px; }
.tbl th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink2); padding: 10px 10px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl td small { display: block; color: var(--ink2); font-size: .78rem; }
.tbl .r { text-align: right; } .tbl td.r { font-weight: 600; white-space: nowrap; }
.tbl tr.flash td { animation: fl 1.6s; }
@keyframes fl { 0%, 60% { background: #f6e4c4; } 100% { background: transparent; } }
.code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 600; font-size: .84rem; background: none; border: 0; padding: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.pill.on { background: #e1eedc; color: #2d6a43; } .pill.stay { background: #f6e4c4; color: #8a5a1c; } .pill.done { background: #e6e2d8; color: #6a6454; } .pill.off { background: #f3d9d2; color: var(--bad); }
.tbl .mini { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 500; }
.tbl .mini:hover { border-color: var(--bad); color: var(--bad); }
.tbl-empty td { text-align: center; color: var(--ink2); padding: 36px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.afoot { padding: 30px 0 40px; }
.afoot .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; color: var(--ink2); font-size: .9rem; }
.afoot p { max-width: 60ch; }
.afoot a:not(.btn) { color: var(--wood-d); }
.dl { display: grid; gap: 10px; margin: 0 0 18px; }
.dl div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dl dt { color: var(--ink2); font-size: .88rem; } .dl dd { margin: 0; font-weight: 600; text-align: right; }
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .occ { grid-template-columns: repeat(4, 1fr); }
  .rate { grid-template-columns: 90px 1fr; align-items: center; }
  .card { padding: 30px; }
}
@media (min-width: 960px) {
  .two { grid-template-columns: 1fr 1fr; align-items: start; }
}
.amain, .two { min-width: 0; }
.amain > *, .two > *, .card { min-width: 0; max-width: 100%; }
.amain { grid-template-columns: minmax(0, 1fr); }
.two { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.aform label, .aform input, .aform select { min-width: 0; }
.aform input[type=date] { -webkit-appearance: none; appearance: none; }
.tbl-wrap { position: relative; }
