.tl-an-dashboard,.tl-an-result{display:grid;gap:1rem;min-width:0}
.tl-an-dashboard{color:#f9eed5;padding:.4rem 0}
.tl-an-heading{background:linear-gradient(115deg,#133f32,#1c4f3d);border:1px solid #b18b4a;border-radius:1rem;padding:clamp(1rem,3vw,2rem)}
.tl-an-dashboard h2,.tl-an-dashboard h3{color:#ffe4a1;margin:0 0 .4rem}
.tl-an-note{color:inherit;opacity:.86;margin:.25rem 0;font-size:.92rem;line-height:1.5}
.tl-an-summary,.tl-an-grid{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(min(100%, 16rem),1fr))}
.tl-an-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tl-an-card{color:#f9eed5;background:#102f27;border:1px solid #8d784e;border-radius:.8rem;padding:1rem;min-width:0}
.tl-an-metric strong{font-size:2rem;color:#fff2c9;font-variant-numeric:tabular-nums}
.tl-an-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem}
.tl-an-controls label{display:grid;gap:.25rem;color:inherit}
.tl-an-controls input,.tl-an-controls select,.tl-an-card>input{display:block;background:#09261e;color:#fff2d3;border:1px solid #aa8950;border-radius:.45rem;padding:.55rem .7rem;width:100%}
.tl-an-card>input{margin:.55rem 0}
.tl-an-dashboard button,.tl-an-preferences button{display:inline-block;background:#edd18c;color:#12291e;border:1px solid #edd18c;border-radius:.5rem;padding:.55rem .75rem;font-weight:700;cursor:pointer}
.tl-an-dashboard button:disabled{opacity:.55;cursor:default}
.tl-an-dashboard :focus-visible,.tl-an-preferences :focus-visible{outline:2px solid #ffe6a1;outline-offset:3px}
.tl-an-table-wrap{overflow:auto}
.tl-an-card table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.tl-an-card td,.tl-an-card th{text-align:left;padding:.55rem .5rem;background:transparent;color:inherit;border-bottom:1px solid #63766a;vertical-align:top}
.tl-an-card th{color:#ffe4a1}
.tl-an-chart{height:10rem;display:flex;align-items:stretch;gap:2px;margin:.7rem 0;border-bottom:1px solid #a69773;background:repeating-linear-gradient(to top,transparent 0 calc(25% - 1px),#ffffff19 calc(25% - 1px) 25%)}
.tl-an-pair{display:flex;align-items:end;flex:1;gap:1px}
.tl-an-pair span{width:50%;max-width:1rem;border-radius:2px 2px 0 0}
.tl-an-visits{background:#efcc75}.tl-an-views{background:#5fbc8d}
.tl-an-dates{display:flex;justify-content:space-between;gap:.3rem;font-size:.8rem}
.tl-an-card details{margin-top:.6rem}.tl-an-card summary{cursor:pointer}
.tl-an-preferences{position:relative;z-index:10002;display:block;text-align:center;padding:.65rem;color:#fff4d9;background:#0b2c22}
.tl-auth-locked .tl-an-preferences{position:fixed;right:0;bottom:0;max-width:100%;padding:.25rem .5rem;background:#0b2c22}
.tl-an-preferences .tl-an-settings{background:transparent;color:#ffe4a1;border-color:transparent;font-size:.8rem;text-decoration:underline}
.tl-an-choice{position:fixed;right:1rem;bottom:calc(5.25rem + env(safe-area-inset-bottom));max-width:min(24rem,calc(100% - 2rem));text-align:left;color:#fff4d9;background:#14392e;border:1px solid #bd9955;border-radius:.75rem;padding:.9rem;box-shadow:0 .7rem 2rem #0008}
.tl-auth-locked .tl-an-choice{bottom:3rem}
.tl-an-choice div{display:flex;flex-wrap:wrap;gap:.4rem}
.tl-an-preferences [hidden],.tl-an-dashboard [hidden]{display:none!important}
@media(max-width:720px){.tl-an-grid{grid-template-columns:minmax(0,1fr)}}
