/* Camí v3.2 · TrailRadar + KitForecast. Disseny nou: mapa protagonista, targetes clares, puntuació explicable. */

:root{--tk-ink:#173e36;--tk-soft:#4f6359;--tk-muted:#7b8a82;--tk-green:#1e6959;--tk-deep:#12332c;--tk-lime:#d8f58a;--tk-line:#e1e8df;--tk-card:#fff;--tk-bg:#f4f7f1;--tk-info:#3b82c4;--tk-caution:#e0a12e;--tk-blocked:#d2553b;--tk-stale:#9aa49e;--tk-ok:#2f8a4f;--tk-r:18px}
.tk-page{color:var(--tk-ink);animation:tk-reveal .4s ease both}
.tk-page h1,.tk-page h2,.tk-page h3,.tk-page h4{color:var(--tk-ink)}
.tk-eyebrow{display:flex;align-items:center;gap:9px;font-size:11.5px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.tk-eyebrow .icon{width:17px;height:17px}
.tk-muted{color:var(--tk-muted);font-size:12px;line-height:1.6}
.tk-notice{background:#fff8e6;border:1px solid #f0dfae;color:#6d5418;border-radius:12px;padding:11px 14px;font-size:12px;line-height:1.55;margin:0 0 14px}
.tk-form-error{color:#b2402a;font-size:12px;font-weight:600;min-height:1em;margin:8px 0 0}
.tk-form-error:empty{display:none}
.tk-link{background:none;border:0;padding:0;color:var(--tk-green,#1e6959);font-weight:700;text-decoration:underline;cursor:pointer;font-size:inherit}

/* ---------- Capçalera compacta ---------- */
.tk-top{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;align-items:center;overflow:hidden;border-radius:24px;padding:30px 34px;margin-bottom:20px;color:#fff;background:radial-gradient(120% 140% at 100% 0,#2a7a62 0,transparent 55%),linear-gradient(135deg,#12332c,#1b4a3e)}
.tk-top:before{content:"";position:absolute;inset:0;background:repeating-radial-gradient(circle at 92% 18%,#ffffff0d 0 1px,transparent 1px 38px);pointer-events:none}
.tk-top-kit{background:radial-gradient(120% 140% at 100% 0,#3f7aa0 0,transparent 55%),linear-gradient(135deg,#183242,#22485a)}
.tk-top-copy{position:relative;z-index:1}
.tk-top .tk-eyebrow{color:var(--tk-lime)}
.tk-top h1{color:#fff;font-size:clamp(26px,2.7vw,38px);line-height:1.1;letter-spacing:-1.3px;margin:14px 0 10px;font-weight:760}
.tk-top h1 em{font-style:normal;color:var(--tk-lime)}
.tk-top p{color:#d2e1da;font-size:13.5px;line-height:1.65;max-width:560px;margin:0}
.tk-sweep{position:relative;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--tk-lime);overflow:hidden;display:inline-block}
.tk-sweep i{position:absolute;inset:0;background:conic-gradient(from 0deg,#d8f58ac0,transparent 28%);animation:tk-spin 2.6s linear infinite}
.tk-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tk-stat{background:#ffffff12;border:1px solid #ffffff1c;border-radius:14px;padding:13px 15px;backdrop-filter:blur(4px);min-width:0}
.tk-stat b{display:block;font-size:26px;line-height:1.1;font-weight:800;color:#fff;font-variant-numeric:tabular-nums}
.tk-stat span{display:block;font-size:11px;color:#cfe0d8;margin-top:3px;font-weight:600}
.tk-stat small{display:block;font-size:11.5px;color:#a9c2b7;margin-top:4px;line-height:1.4}
.tk-stat.ok b{color:var(--tk-lime)}.tk-stat.warn b{color:#ffd58a}.tk-stat.done b{color:#c6dbd2}.tk-stat.me{background:#d8f58a1c;border-color:#d8f58a40}
.tk-sky{position:relative;height:150px;z-index:1}
.tk-sky .sun{position:absolute;right:24%;top:10px;width:70px;height:70px;border-radius:50%;background:radial-gradient(circle,#ffe39a 0 52%,#ffe39a33 53% 70%,transparent 71%);animation:tk-pulse 5s ease-in-out infinite}
.tk-sky .cloud{position:absolute;height:28px;border-radius:30px;background:#ffffffd8;box-shadow:18px -12px 0 4px #ffffffd8,40px -2px 0 0 #ffffffd8}
.tk-sky .c1{width:70px;right:36%;top:62px;animation:tk-drift 14s ease-in-out infinite alternate}
.tk-sky .c2{width:52px;right:6%;top:30px;opacity:.7;animation:tk-drift 18s ease-in-out infinite alternate-reverse}
.tk-sky .ridge{position:absolute;left:0;right:0;bottom:0;height:62px;background:linear-gradient(#9fd1b9,#5c9b84);clip-path:polygon(0 100%,0 70%,14% 40%,26% 62%,42% 12%,55% 50%,66% 30%,80% 64%,92% 38%,100% 55%,100% 100%)}

/* ---------- TrailRadar · disposició ---------- */
.tk-shell{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);gap:18px;align-items:start}
.tk-map-card,.tk-feed{background:var(--tk-card);border:1px solid var(--tk-line);border-radius:var(--tk-r);box-shadow:0 6px 24px #1733290a}
.tk-map-card{overflow:hidden;position:sticky;top:14px}
.tk-map-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-bottom:1px solid var(--tk-line)}
.tk-route-pill{display:flex;align-items:center;gap:8px;background:var(--tk-bg);border:1px solid var(--tk-line);border-radius:999px;padding:0 6px 0 12px;min-width:0;flex:1;max-width:420px}
.tk-route-pill .icon{width:16px;height:16px;flex:none;color:var(--tk-green)}
.tk-route-pill select{border:0;background:transparent;font:inherit;font-size:12px;font-weight:700;color:var(--tk-ink);padding:9px 4px;min-width:0;width:100%;cursor:pointer}
.tk-updated{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--tk-muted);white-space:nowrap}
.tk-live-dot{width:8px;height:8px;border-radius:50%;background:var(--tk-ok);box-shadow:0 0 0 0 #2f8a4f66;animation:tk-ping 2.2s infinite}
.tk-live-dot.busy{background:var(--tk-caution);animation-duration:.9s}.tk-live-dot.off{background:var(--tk-blocked);animation:none}
.tk-map-wrap{position:relative}
#tk-map{height:min(66vh,620px);min-height:420px;background:#e8eee6}
.tk-map-tools{position:absolute;right:12px;top:12px;z-index:500;display:flex;flex-direction:column;gap:8px}
.tk-map-btn{width:40px;height:40px;border-radius:12px;border:1px solid var(--tk-line);background:#fff;display:grid;place-items:center;box-shadow:0 4px 14px #17332920;cursor:pointer;color:var(--tk-ink)}
.tk-map-btn:hover{background:#f2f7ef}.tk-map-btn .icon{width:19px;height:19px}
.tk-map-btn.busy .icon{animation:tk-spin 1s linear infinite}
.tk-legend{position:absolute;left:12px;top:60px;flex-direction:column;z-index:500;display:flex;flex-wrap:wrap;gap:6px 12px;background:#ffffffe8;backdrop-filter:blur(6px);border-radius:12px;padding:8px 11px;font-size:11.5px;font-weight:600;color:var(--tk-soft);}
.tk-legend span{display:flex;align-items:center;gap:5px}
.tk-legend i{width:10px;height:10px;border-radius:50%}
.tk-legend i.blocked{background:var(--tk-blocked)}.tk-legend i.caution{background:var(--tk-caution)}.tk-legend i.info{background:var(--tk-info)}.tk-legend i.stale{background:var(--tk-stale)}
.tk-fab{position:absolute;left:50%;transform:translateX(-50%);bottom:16px;white-space:nowrap;z-index:1001;display:flex;align-items:center;gap:9px;border:0;border-radius:999px;padding:13px 20px 13px 15px;background:var(--tk-lime);color:var(--tk-deep);font-weight:800;font-size:13px;box-shadow:0 10px 26px #12332c40;cursor:pointer;transition:transform .15s,box-shadow .15s}
.tk-fab:hover{transform:translate(-50%,-2px);box-shadow:0 14px 30px #12332c50}
.tk-fab .icon{width:19px;height:19px;background:var(--tk-deep);color:var(--tk-lime);border-radius:50%;padding:3px}

/* Marcadors */
.tk-pin-wrap{background:none!important;border:0!important}
.tk-pin{--c:var(--tk-info);position:relative;display:grid;place-items:center;width:34px;height:34px;margin:2px;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);background:var(--c);border:3px solid #fff;box-shadow:0 4px 12px #0f2a2440;transition:transform .15s}
.tk-pin .icon{transform:rotate(45deg);width:17px;height:17px;color:#fff;stroke-width:2.2}
.tk-pin.caution{--c:var(--tk-caution)}.tk-pin.blocked{--c:var(--tk-blocked)}
.tk-pin.stale{--c:var(--tk-stale)}.tk-pin.resolved{--c:#b9c3bd;opacity:.75}
.tk-pin.blocked:not(.stale):not(.resolved):after{content:"";position:absolute;inset:-7px;border-radius:inherit;border:2px solid var(--tk-blocked);opacity:.6;animation:tk-halo 1.8s ease-out infinite}
.tk-pin.hover{transform:rotate(-45deg) scale(1.22);z-index:2}
.tk-cluster{--c:var(--tk-info);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:4px solid var(--c);box-shadow:0 0 0 5px color-mix(in srgb,var(--c) 22%,transparent),0 4px 12px #0f2a2440;font-weight:800;color:var(--tk-ink,#173e36);font-size:14px}
.tk-cluster.caution{--c:var(--tk-caution)}.tk-cluster.blocked{--c:var(--tk-blocked)}

/* Franja del recorregut */
.tk-strip-card{padding:14px 16px 10px;border-top:1px solid var(--tk-line)}
.tk-strip-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.tk-strip-head b{display:flex;align-items:center;gap:7px;font-size:12.5px}.tk-strip-head .icon{width:15px;height:15px;color:var(--tk-green)}
.tk-strip-head small{font-size:11px;color:var(--tk-muted)}
.tk-strip{position:relative;height:110px}
.tk-strip svg{position:absolute;inset:0 0 18px;width:100%;height:calc(100% - 18px)}
.tk-strip .area{fill:#1e695922;stroke:#1e6959;stroke-width:1.5;vector-effect:non-scaling-stroke}
.tk-strip .base{stroke:#c9d4cc;stroke-width:1;vector-effect:non-scaling-stroke}
.tk-strip text{font-size:11.5px;fill:var(--tk-muted)}
.tk-strip-marks{position:absolute;left:0;right:0;top:0;height:calc(100% - 18px)}
.tk-strip-mark{--c:var(--tk-info);position:absolute;bottom:4px;transform:translateX(-50%);width:26px;height:26px;border-radius:50%;border:2px solid #fff;background:var(--c);display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 8px #0f2a2433;transition:transform .15s;padding:0}
.tk-strip-mark:before{content:"";position:absolute;bottom:100%;left:50%;width:1.5px;height:44px;background:linear-gradient(transparent,var(--c));transform:translateX(-50%)}
.tk-strip-mark .icon{width:14px;height:14px;color:#fff}
.tk-strip-mark.caution{--c:var(--tk-caution)}.tk-strip-mark.blocked{--c:var(--tk-blocked)}.tk-strip-mark.stale,.tk-strip-mark.resolved{--c:var(--tk-stale)}
.tk-strip-mark.hover,.tk-strip-mark:hover{transform:translateX(-50%) scale(1.2);z-index:2}
.tk-strip-axis{position:absolute;left:0;right:0;bottom:0;height:16px}
.tk-strip-axis span{position:absolute;transform:translateX(-50%);font-size:11.5px;color:var(--tk-muted);white-space:nowrap}
.tk-strip-axis span:first-child{transform:none}.tk-strip-axis span:last-child:not(:first-child){transform:translateX(-100%)}

/* Llista d'avisos */
.tk-feed{padding:16px;min-width:0}
.tk-feed-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.tk-feed-head h2{font-size:18px;margin:0;letter-spacing:-.4px}
.tk-count{font-size:11px;font-weight:800;background:var(--tk-bg);border:1px solid var(--tk-line);border-radius:999px;padding:4px 10px;color:var(--tk-soft)}
.tk-feed-tools{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.tk-search{display:flex;align-items:center;gap:8px;border:1px solid #d6dfd5;background:var(--tk-bg,#f4f7f1);border-radius:12px;padding:0 12px}
.tk-search .icon{width:16px;height:16px;color:var(--tk-muted,#7b8a82);flex:none}
.tk-search input{border:0;background:transparent;font:inherit;font-size:13px;padding:10px 0;width:100%;min-width:0;color:inherit}
.tk-search input:focus{outline:none}.tk-search:focus-within{border-color:var(--tk-green,#1e6959);box-shadow:0 0 0 3px #1e695922}
.tk-seg{display:flex;background:var(--tk-bg,#f4f7f1);border:1px solid var(--tk-line,#e1e8df);border-radius:12px;padding:3px;gap:2px}
.tk-seg button,.tk-seg label span{flex:1;border:0;background:transparent;border-radius:9px;padding:8px 6px;font:inherit;font-size:11.5px;font-weight:700;color:var(--tk-soft,#4f6359);cursor:pointer;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px}
.tk-seg label{flex:1;display:flex;position:relative}.tk-seg label input{position:absolute;opacity:0;pointer-events:none}
.tk-seg button[aria-pressed=true],.tk-seg label input:checked+span{background:#fff;color:var(--tk-ink,#173e36);box-shadow:0 1px 4px #17332918}
.tk-seg label input:focus-visible+span{outline:3px solid #daab6c}
.tk-seg .icon{width:16px;height:16px}
.tk-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.tk-chips button{flex:none;display:flex;align-items:center;gap:6px;border:1px solid var(--tk-line);background:#fff;border-radius:999px;padding:6px 11px;font:inherit;font-size:11.5px;font-weight:700;color:var(--tk-soft);cursor:pointer}
.tk-chips button .icon{width:14px;height:14px}
.tk-chips button small{font-size:11.5px;color:var(--tk-muted);font-weight:700}
.tk-chips button[aria-pressed=true]{background:var(--tk-ink);border-color:var(--tk-ink);color:#fff}.tk-chips button[aria-pressed=true] small{color:var(--tk-lime)}
.tk-feed-sub{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11.5px;color:var(--tk-soft);font-weight:600}
.tk-sort{display:flex;align-items:center;gap:6px}
.tk-sort select{border:1px solid var(--tk-line);border-radius:8px;padding:5px 8px;font:inherit;font-size:11.5px;background:#fff;color:var(--tk-ink)}
.tk-toggle{display:flex;align-items:center;gap:7px;cursor:pointer}
.tk-toggle input{position:absolute;opacity:0}
.tk-toggle span{width:30px;height:18px;border-radius:999px;background:#cfd8d2;position:relative;transition:background .15s}
.tk-toggle span:after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s}
.tk-toggle input:checked+span{background:var(--tk-green)}.tk-toggle input:checked+span:after{transform:translateX(12px)}
.tk-toggle input:focus-visible+span{outline:3px solid #daab6c}
.tk-feed-sub .button{margin-left:auto}
.tk-results{display:flex;flex-direction:column;gap:8px;max-height:min(70vh,760px);overflow:auto;padding-right:2px}
.tk-card{--c:var(--tk-info,#3b82c4);position:relative;display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;border:1px solid var(--tk-line,#e1e8df);border-left:4px solid var(--c);background:#fff;border-radius:14px;padding:12px 12px 12px 12px;cursor:pointer;font:inherit;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s;animation:tk-reveal .3s ease both}
.tk-card.caution{--c:var(--tk-caution,#e0a12e)}.tk-card.blocked{--c:var(--tk-blocked,#d2553b)}.tk-card.stale{--c:var(--tk-stale,#9aa49e);background:#fafbf9}.tk-card.resolved{--c:#c4ccc7;background:#fafbf9;opacity:.85}
.tk-card:hover,.tk-card.hover{box-shadow:0 6px 18px #17332914;transform:translateY(-1px)}
.tk-card>.icon{width:16px;height:16px;color:#a7b2ab;flex:none;align-self:center}
.tk-card-icon{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--c,#3b82c4) 14%,#fff);color:var(--c,#3b82c4)}
.tk-card-icon.info{--c:var(--tk-info,#3b82c4)}.tk-card-icon.caution{--c:var(--tk-caution,#e0a12e)}.tk-card-icon.blocked{--c:var(--tk-blocked,#d2553b)}
.tk-card-icon .icon{width:21px;height:21px}
.tk-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.tk-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tk-card-title b{font-size:13px}
.tk-card-note{font-size:12.5px;line-height:1.45;color:var(--tk-soft,#4f6359);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tk-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:11.5px;color:var(--tk-muted,#7b8a82);font-weight:600}
.tk-card-meta em{font-style:normal;color:var(--tk-green,#1e6959);font-weight:800}
.tk-status{flex:none;font-size:11.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;border-radius:999px;padding:3px 8px;background:#e5f3e8;color:#23663a}
.tk-status.stale{background:#f1efe6;color:#6f6a52}.tk-status.resolved{background:#eceff0;color:#66727a}
.tk-mine{background:var(--tk-lime,#d8f58a);color:var(--tk-deep,#12332c);border-radius:6px;padding:1px 6px;font-size:11.5px;font-weight:800}
.tk-hidden{background:#fbe3dc;color:#9b3720;border-radius:6px;padding:1px 6px;font-size:11.5px;font-weight:800}
.tk-dots{display:inline-flex;align-items:center;gap:3px}
.tk-dots i{width:6px;height:6px;border-radius:50%;background:#d6ddd8}
.tk-dots i.on{background:var(--tk-ok,#2f8a4f)}
.tk-dots.disputed i.on{background:var(--tk-blocked,#d2553b)}.tk-dots.needs-review i{background:#e6dcc0}
.tk-validity{display:block;height:3px;border-radius:3px;background:#edf1ec;overflow:hidden;margin-top:3px}
.tk-validity i{display:block;height:100%;background:var(--c);border-radius:3px}
.tk-empty{text-align:center;padding:34px 18px;color:var(--tk-soft);border:1.5px dashed var(--tk-line);border-radius:16px}
.tk-empty>.icon{width:38px;height:38px;color:var(--tk-green);background:#e8f2ec;border-radius:12px;padding:8px}
.tk-empty h3{font-size:15px;margin:12px 0 6px}.tk-empty p{font-size:12.5px;line-height:1.55;margin:0 auto 14px;max-width:320px}
.tk-skeleton{display:flex;flex-direction:column;gap:8px}
.tk-skeleton div{display:flex;gap:12px;padding:12px;border:1px solid var(--tk-line);border-radius:14px}
.tk-skeleton i{width:40px;height:40px;border-radius:12px}
.tk-skeleton span{flex:1;display:flex;flex-direction:column;gap:7px}
.tk-skeleton i,.tk-skeleton b,.tk-skeleton em{background:linear-gradient(90deg,#eef2ed 25%,#f7f9f6 50%,#eef2ed 75%);background-size:200% 100%;animation:tk-shimmer 1.3s infinite}
.tk-skeleton b{height:12px;width:45%;border-radius:6px}.tk-skeleton em{height:9px;border-radius:6px}.tk-skeleton em:last-child{width:70%}
.tk-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.tk-principles>div{display:flex;gap:12px;background:#fff;border:1px solid var(--tk-line);border-radius:16px;padding:15px}
.tk-principles .icon{flex:none;width:34px;height:34px;padding:7px;border-radius:10px;background:#e8f2ec;color:var(--tk-green)}
.tk-principles b{display:block;font-size:12.5px;margin-bottom:3px}.tk-principles small{font-size:11.5px;line-height:1.5;color:var(--tk-muted)}

/* ---------- Formularis i modal ---------- */
.tk-field{display:flex;flex-direction:column;gap:7px;font-size:11.5px;font-weight:700;color:#4f6359;min-width:0}
.tk-field>span{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.tk-field>span b{font-size:15px;color:#173e36}
.tk-field input:not([type=range]),.tk-field select,.tk-field textarea{border:1px solid #d6dfd5;background:#fff;border-radius:11px;padding:11px 12px;font:inherit;font-size:13px;font-weight:500;color:#173e36;width:100%}
.tk-field textarea{resize:vertical;min-height:84px;line-height:1.5}
.tk-field input:focus,.tk-field select:focus,.tk-field textarea:focus{outline:none;border-color:#1e6959;box-shadow:0 0 0 3px #1e695922}
.tk-field input[type=range]{accent-color:#1e6959;width:100%;margin:6px 0}
.tk-counter{align-self:flex-end;font-weight:600;color:#93a099;font-size:11.5px;margin-top:-4px}
.tk-steps{display:flex;gap:6px;list-style:none;padding:0;margin:0 0 16px;counter-reset:s}
.tk-steps li{flex:1;counter-increment:s;font-size:11px;font-weight:800;color:#93a099;padding-top:9px;border-top:3px solid #e1e8df;transition:all .2s}
.tk-steps li:before{content:counter(s) " · "}
.tk-steps li.on{color:#173e36;border-color:#1e6959}
.tk-wizard fieldset{border:0;padding:0;margin:0;min-width:0}
.tk-wizard legend{font-size:15px;font-weight:800;color:#173e36;margin-bottom:12px;padding:0}
.tk-step-pane{animation:tk-reveal .25s ease both}
.tk-pick-wrap{position:relative;border-radius:14px;overflow:hidden;border:1px solid #dfe6dd}
#tk-pick-map{height:300px}
.tk-crosshair{position:absolute;left:50%;top:50%;z-index:500;width:34px;height:34px;margin:-34px 0 0 -17px;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 29s9-9.5 9-16a9 9 0 0 0-18 0c0 6.5 9 16 9 16Z' fill='%23d2553b' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12.5' r='3.5' fill='%23fff'/%3E%3C/svg%3E");filter:drop-shadow(0 4px 6px #0003)}
.tk-crosshair:after{content:"";position:absolute;left:50%;bottom:-4px;width:10px;height:4px;margin-left:-5px;border-radius:50%;background:#0003}
.tk-pick-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}
.tk-pick-tools .button{margin:0}
.tk-pick-hint{font-size:11.5px;color:#4f6359;font-weight:600;flex:1;min-width:180px}
.tk-coords{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tk-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.tk-cat-tile{position:relative;cursor:pointer}
.tk-cat-tile input,.tk-sev input{position:absolute;opacity:0;pointer-events:none}
.tk-cat-tile>span{display:flex;flex-direction:column;gap:4px;height:100%;border:1.5px solid #e1e8df;border-radius:14px;padding:11px;background:#fff;transition:all .15s}
.tk-cat-tile .icon{width:24px;height:24px;color:#1e6959}
.tk-cat-tile b{font-size:12px;color:#173e36;line-height:1.25}
.tk-cat-tile small{font-size:11.5px;color:#7b8a82;line-height:1.35}
.tk-cat-tile em{font-style:normal;font-size:11.5px;color:#93a099;margin-top:auto;line-height:1.3}
.tk-cat-tile input:checked+span{border-color:#1e6959;background:#eef6f0;box-shadow:0 0 0 3px #1e695918}
.tk-cat-tile input:focus-visible+span,.tk-sev input:focus-visible+span{outline:3px solid #daab6c}
.tk-sev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tk-sev-grid.two{grid-template-columns:1fr 1fr;margin:12px 0}
.tk-sev{cursor:pointer;position:relative}
.tk-sev>span{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;align-items:center;border:1.5px solid #e1e8df;border-radius:14px;padding:11px;height:100%;background:#fff;transition:all .15s}
.tk-sev i{width:12px;height:12px;border-radius:50%;background:#3b82c4;grid-row:span 2}
.tk-sev.caution i{background:#e0a12e}.tk-sev.blocked i{background:#d2553b}
.tk-sev b{font-size:12.5px;color:#173e36}.tk-sev small{font-size:11.5px;color:#7b8a82;line-height:1.35;grid-column:2}
.tk-sev input:checked+span{border-color:#173e36;background:#f6f9f4;box-shadow:0 0 0 3px #17332914}
.tk-suggest{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0 14px}
.tk-suggest small{font-size:11.5px;color:#93a099;font-weight:700}
.tk-suggest button,.tk-when button{border:1px solid #dfe6dd;background:#fff;border-radius:999px;padding:6px 11px;font:inherit;font-size:11px;font-weight:600;color:#4f6359;cursor:pointer;transition:all .12s}
.tk-suggest button:hover,.tk-when button:hover{border-color:#1e6959;color:#173e36}
.tk-when{display:flex;flex-wrap:wrap;gap:6px}
.tk-when button.on{background:#173e36;color:#fff;border-color:#173e36}
.tk-preview{display:flex;align-items:center;gap:12px;background:#f4f7f1;border:1px solid #e1e8df;border-radius:14px;padding:12px;margin:14px 0}
.tk-preview b{display:block;font-size:12.5px;color:#173e36}.tk-preview small{font-size:11px;color:#7b8a82}
.tk-consent{display:flex;gap:10px;align-items:flex-start;font-size:11.5px;line-height:1.5;color:#4f6359;cursor:pointer}
.tk-consent input{margin-top:3px;accent-color:#1e6959;width:16px;height:16px;flex:none}

/* Detall */
.tk-detail-hero{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.tk-detail-icon{--c:#3b82c4;flex:none;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--c);color:#fff;box-shadow:0 8px 18px color-mix(in srgb,var(--c) 35%,transparent)}
.tk-detail.caution .tk-detail-icon{--c:#e0a12e}.tk-detail.blocked .tk-detail-icon{--c:#d2553b}.tk-detail.stale .tk-detail-icon,.tk-detail.resolved .tk-detail-icon{--c:#9aa49e}
.tk-detail-icon .icon{width:28px;height:28px}
.tk-detail-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:11px;font-weight:700;color:#4f6359}
.tk-sev-tag{border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:800;background:#e3eefa;color:#245d92}
.tk-sev-tag.caution{background:#fbefd6;color:#8a5c08}.tk-sev-tag.blocked{background:#fbe1da;color:#a3381f}
.tk-detail-note{font-size:15px;line-height:1.6;color:#173e36;margin:4px 0 16px;font-weight:500}
.tk-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#tk-detail-map{height:220px;border-radius:14px;border:1px solid #e1e8df}
.tk-ext{display:flex;align-items:center;gap:6px;font-size:11px;color:#1e6959;font-weight:700;margin-top:7px}.tk-ext .icon{width:14px;height:14px}
.tk-detail-grid h4{font-size:12px;margin:14px 0 8px;text-transform:uppercase;letter-spacing:.8px;color:#7b8a82}
.tk-valid{background:#f4f7f1;border-radius:12px;padding:11px 12px}
.tk-valid>span{font-size:12.5px;font-weight:800;color:#173e36}
.tk-valid>i{display:block;height:6px;border-radius:6px;background:#e1e8df;margin:8px 0;overflow:hidden}
.tk-valid>i b{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#2f8a4f,#8cc63f)}
.tk-valid.stale>i b{background:#c9b77c}
.tk-valid small{font-size:11.5px;color:#7b8a82;line-height:1.4;display:block}
.tk-timeline{list-style:none;padding:0;margin:0 0 10px;position:relative}
.tk-timeline:before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:#e1e8df}
.tk-timeline li{position:relative;display:flex;gap:12px;padding:5px 0}
.tk-timeline li i{flex:none;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #3b82c4;margin-top:2px;z-index:1}
.tk-timeline li.present i{border-color:#2f8a4f}.tk-timeline li.clear i{border-color:#d2553b}
.tk-timeline b{display:block;font-size:12px;color:#173e36}.tk-timeline small{font-size:11.5px;color:#7b8a82}
.tk-verify{margin:18px 0 12px;padding:15px;border-radius:16px;background:linear-gradient(135deg,#eef6f0,#f7faf3);border:1px solid #d7e7da}
.tk-verify>b{display:block;font-size:14px;margin-bottom:10px;color:#173e36}
.tk-verify>div{display:flex;gap:8px;flex-wrap:wrap}
.tk-verify>div .button{margin:0;flex:1;min-width:150px}
.tk-verify>small{display:block;margin-top:9px;font-size:11px;color:#7b8a82}
.tk-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 10px}
.tk-detail-actions .button{margin:0}

/* Invitacions a altres pantalles */
.tk-invite{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;margin:20px 0;padding:17px 18px;border-radius:18px;background:linear-gradient(135deg,#173e36,#215546);color:#fff;position:relative;overflow:hidden}
.tk-invite.post{background:linear-gradient(135deg,#223b46,#2b5468)}
.tk-invite.alert{box-shadow:inset 0 0 0 2px #f08c70}
.tk-invite-icon{width:48px;height:48px;border-radius:15px;background:#d8f58a;color:#173e36;display:grid;place-items:center}
.tk-invite-icon .icon{width:25px;height:25px}
.tk-invite .tk-eyebrow{color:#d8f58a;font-size:11px}
.tk-invite h3{color:#fff;font-size:16px;margin:4px 0}
.tk-invite p{font-size:12px;color:#cfe0d8;margin:0;line-height:1.5}
.tk-invite p b{color:#fff}.tk-invite p b.blocked{color:#ffb39f}.tk-invite p b.caution{color:#ffd58a}
.tk-invite-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.tk-invite-actions .button{margin:0}
.tk-invite .button.secondary{background:#ffffff14;color:#fff;border-color:#ffffff30}
.tk-invite .button.primary{background:#d8f58a;color:#173e36}

/* ---------- KitForecast ---------- */
.tk-plans{margin:0 0 16px}
.tk-plans h3{display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 8px}.tk-plans h3 .icon{width:16px;height:16px;color:var(--tk-green)}
.tk-plans>div{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.tk-plan-chip{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid var(--tk-line);background:#fff;border-radius:14px;padding:10px 14px;cursor:pointer;font:inherit;text-align:left;min-width:190px;transition:transform .15s,box-shadow .15s}
.tk-plan-chip:hover{transform:translateY(-2px);box-shadow:0 6px 16px #1733291a}
.tk-plan-chip b{font-size:12.5px;color:var(--tk-ink)}.tk-plan-chip span{font-size:11px;color:var(--tk-muted)}
.tk-level{font-style:normal;font-size:11.5px;font-weight:800;border-radius:999px;padding:2px 8px;background:#e5f3e8;color:#23663a}
.tk-level.fair{background:#fbf3d6;color:#7d5e0a}.tk-level.poor,.tk-level.bad{background:#fbe1da;color:#a3381f}.tk-level.ideal{background:#d8f58a;color:#173e36}
.tk-plan{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;background:#fff;border:1px solid var(--tk-line);border-radius:22px;padding:22px;box-shadow:0 6px 24px #1733290a;margin-bottom:20px}
.tk-plan-col{display:flex;flex-direction:column;gap:14px;min-width:0}
.tk-section-title{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.tk-section-title h2{font-size:18px;margin:0;letter-spacing:-.4px}
.tk-section-title p{font-size:12px;color:var(--tk-muted);margin:3px 0 0}
.tk-section-title>div:nth-child(2){flex:1;min-width:0}
.tk-section-title>.button{margin:0}
.tk-step{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--tk-ink);color:var(--tk-lime);font-weight:800;font-size:12px}
.tk-route-list{display:flex;flex-direction:column;gap:7px;max-height:330px;overflow:auto;padding:2px}
.tk-route-list.shake{animation:tk-shake .4s}
.tk-route-card{position:relative;display:flex;align-items:center;gap:12px;border:1.5px solid var(--tk-line);background:#fff;border-radius:14px;padding:8px 12px 8px 8px;cursor:pointer;font:inherit;text-align:left;transition:all .15s}
.tk-route-card:hover{border-color:#b9cdbf}
.tk-route-card.on{border-color:var(--tk-green);background:#eef6f0;box-shadow:0 0 0 3px #1e695918}
.tk-route-card>span{flex:1;min-width:0}
.tk-route-card b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--tk-ink)}
.tk-route-card small{font-size:11.5px;color:var(--tk-muted)}
.tk-route-card em{font-style:normal;font-size:11.5px;font-weight:800;background:#f1efe6;color:#6f6a52;border-radius:6px;padding:2px 6px}
.tk-route-card>i .icon{width:16px;height:16px;color:var(--tk-muted)}
.tk-thumb{flex:none;width:48px;height:48px;border-radius:11px;background:linear-gradient(135deg,#e7f0e8,#f5f8f2)}
.tk-thumb path{fill:none;stroke:var(--tk-green,#1e6959);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tk-thumb.empty{display:grid;place-items:center}.tk-thumb.empty .icon{width:20px;color:#a7b2ab}
.tk-thumb.big{width:140px;height:140px;border-radius:22px;background:#ffffff14}.tk-thumb.big path{stroke:var(--tk-lime);stroke-width:1.6}
.tk-estimate{font-weight:500;color:var(--tk-muted);font-size:11px;line-height:1.5}
.tk-estimate b{color:var(--tk-ink)}
.tk-plan-bottom{display:flex;flex-direction:column;gap:8px;margin-top:auto}
.tk-plan-bottom small{font-size:11.5px;color:var(--tk-muted);line-height:1.5}
.tk-go{width:100%;min-height:50px;font-size:14px!important;border-radius:14px!important;margin:0!important}
.tk-before{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#183242,#22485a);color:#fff;border-radius:22px;padding:28px 30px;animation:tk-reveal .35s ease both}
.tk-before h2{color:#fff;font-size:22px;margin:0 0 8px;letter-spacing:-.6px}
.tk-before p{color:#cfe0e6;font-size:13px;line-height:1.6;max-width:620px;margin:0}
.tk-before .tk-muted{color:#a8c2cc}
.tk-before-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tk-before-tags span{display:flex;align-items:center;gap:6px;background:#ffffff14;border:1px solid #ffffff22;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:700}
.tk-before-tags .icon{width:15px;height:15px;color:var(--tk-lime)}
.tk-loading-kit{text-align:center;padding:46px 20px;background:#fff;border:1px solid var(--tk-line);border-radius:22px}
.tk-loading-kit h2{font-size:19px;margin:16px 0 6px}.tk-loading-kit p{color:var(--tk-muted);font-size:12.5px;margin:0}
.tk-loader{display:inline-flex;gap:7px}
.tk-loader span{width:12px;height:12px;border-radius:50%;background:var(--tk-green);animation:tk-bounce 1s infinite ease-in-out}
.tk-loader span:nth-child(2){animation-delay:.15s;background:#5aa58a}.tk-loader span:nth-child(3){animation-delay:.3s;background:var(--tk-lime)}

/* Veredicte */
.tk-verdict{--lc:#2f8a4f;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,300px);gap:24px;align-items:center;background:#fff;border:1px solid var(--tk-line);border-radius:22px;padding:24px;margin-bottom:18px;box-shadow:0 6px 24px #1733290a;animation:tk-reveal .35s ease both;position:relative;overflow:hidden}
.tk-verdict:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--lc)}
.tk-verdict.ideal{--lc:#5fb236}.tk-verdict.good{--lc:#2f8a4f}.tk-verdict.fair{--lc:#e0a12e}.tk-verdict.poor{--lc:#e07a3a}.tk-verdict.bad{--lc:#d2553b}
.tk-ring{position:relative;width:128px;height:128px;display:grid;place-items:center}
.tk-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.tk-ring circle{fill:none;stroke:#edf1ec;stroke-width:11}
.tk-ring circle.v{stroke:var(--lc);stroke-linecap:round;animation:tk-ring 1s cubic-bezier(.2,.8,.2,1) both}
.tk-ring b{font-size:38px;font-weight:800;line-height:1;color:var(--tk-ink);font-variant-numeric:tabular-nums;margin-top:-8px}
.tk-ring small{position:absolute;bottom:32px;font-size:11px;color:var(--tk-muted);font-weight:700}
.tk-verdict .tk-eyebrow{color:var(--tk-muted)}
.tk-verdict h2{font-size:clamp(22px,2.2vw,30px);letter-spacing:-.9px;margin:6px 0 4px}
.tk-verdict-copy>p{font-size:12.5px;color:var(--tk-soft);margin:0 0 10px}
.tk-reasons{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.tk-reasons li{font-size:11.5px;font-weight:600;background:#fbf1ea;color:#8a4a24;border-radius:999px;padding:5px 11px}
.tk-reasons li.ok{background:#e9f5ec;color:#23663a}
.tk-best{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;border:1.5px dashed #b9d7c2;background:#f2f9f3;border-radius:14px;padding:10px 12px;font:inherit;font-size:12px;color:var(--tk-ink);cursor:pointer;text-align:left;width:100%;transition:all .15s}
.tk-best:hover{border-style:solid;border-color:var(--tk-green)}
.tk-best .icon{width:17px;height:17px;color:#d4952a}
.tk-best span{margin-left:auto;background:var(--tk-ink);color:#fff;border-radius:999px;padding:4px 11px;font-weight:800;font-size:11px}
.tk-verdict-side{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tk-verdict-side>div{background:var(--tk-bg);border-radius:13px;padding:10px 11px;min-width:0}
.tk-verdict-side .icon{width:17px;height:17px;color:var(--tk-green)}
.tk-verdict-side b{display:block;font-size:16px;margin:4px 0 2px;font-variant-numeric:tabular-nums}
.tk-verdict-side b small{font-size:11.5px;color:var(--tk-muted)}
.tk-verdict-side>div>small{display:block;font-size:11.5px;color:var(--tk-muted);line-height:1.35}

/* Mapa de calor */
.tk-heat,.tk-forecast,.tk-kit-section,.tk-terrain{background:#fff;border:1px solid var(--tk-line);border-radius:22px;padding:22px;margin-bottom:18px;box-shadow:0 6px 24px #1733290a;animation:tk-reveal .4s ease both}
.tk-heat-legend{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--tk-muted);font-weight:700}
.tk-heat-legend i{width:14px;height:10px;border-radius:3px}
.tk-heat-grid{display:grid;grid-template-columns:72px repeat(var(--cols),minmax(18px,1fr));gap:3px;margin-top:14px;overflow-x:auto}
.tk-heat-grid span{font-size:11.5px;color:var(--tk-muted);font-weight:700;display:flex;align-items:center}
.tk-heat-grid .hh{justify-content:center}.tk-heat-grid .dd{text-transform:capitalize;color:var(--tk-soft)}
.tk-heat-grid button,.tk-heat-grid i{height:26px;border-radius:5px;border:0;padding:0;cursor:pointer;transition:transform .12s,box-shadow .12s}
.tk-heat-grid i.na{background:repeating-linear-gradient(45deg,#f2f4f1 0 4px,#fafbf9 4px 8px);cursor:default}
.tk-heat-grid button:hover{transform:scale(1.15);z-index:1;box-shadow:0 3px 8px #0002}
.tk-heat-grid button.on{box-shadow:0 0 0 2.5px var(--tk-ink),0 0 0 4px #fff inset;transform:scale(1.08)}
.tk-heat .ideal{--hc:#5fb236}.tk-heat .good{--hc:#9ccc65}.tk-heat .fair{--hc:#f2cf5b}.tk-heat .poor{--hc:#f0985a}.tk-heat .bad{--hc:#d9604a}
.tk-heat-grid button,.tk-heat-legend i{background:var(--hc)}

/* Previsió */
.tk-profile{position:relative;height:190px;margin:14px 0 6px;touch-action:pan-y}
.tk-profile svg{position:absolute;inset:0;width:100%;height:100%}
.tk-profile-points span{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:1px;pointer-events:none}
.tk-profile-points span:first-child{transform:translate(0,-100%)}.tk-profile-points span:last-child{transform:translate(-100%,-100%)}
.tk-profile-points i{width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--tk-line);display:grid;place-items:center;box-shadow:0 3px 8px #17332918}
.tk-profile-points i .icon{width:18px;height:18px;color:#3e6f8e}
.tk-profile-points b{font-size:11px;background:var(--tk-ink);color:#fff;border-radius:6px;padding:1px 5px;margin-bottom:6px}
.tk-profile-axis{position:absolute;right:0;top:0;bottom:24px;display:flex;flex-direction:column;justify-content:space-between;font-size:11.5px;color:var(--tk-muted);pointer-events:none;padding:30px 0 0}
.tk-profile-cursor{position:absolute;top:0;bottom:24px;width:0;pointer-events:none}
.tk-profile-cursor i{position:absolute;top:0;bottom:0;border-left:1.5px dashed var(--tk-ink)}
.tk-profile-cursor span{position:absolute;bottom:-22px;transform:translateX(-50%);white-space:nowrap;font-size:11.5px;font-weight:700;background:var(--tk-ink);color:#fff;border-radius:6px;padding:2px 7px}
.tk-weather-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;margin-top:22px}
.tk-weather-point{background:var(--tk-bg);border:1px solid var(--tk-line);border-radius:15px;padding:11px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.tk-weather-point.first,.tk-weather-point.last{background:#eef6f0}
.tk-point-head{display:flex;justify-content:space-between;width:100%;font-size:11.5px;color:var(--tk-muted);font-weight:700}
.tk-point-head b{color:var(--tk-ink)}
.tk-wicon .icon{width:30px;height:30px;color:#3e6f8e;margin:3px 0}
.tk-weather-point strong{font-size:22px;line-height:1;font-variant-numeric:tabular-nums}
.tk-weather-point>small{font-size:11.5px;color:var(--tk-muted)}
.tk-weather-point dl{display:flex;gap:10px;margin:6px 0 2px}
.tk-weather-point dl div{display:flex;align-items:center;gap:3px}
.tk-weather-point dt .icon{width:13px;height:13px;color:var(--tk-muted)}
.tk-weather-point dd{margin:0;font-size:11.5px;font-weight:700}
.tk-weather-point dd small{color:var(--tk-muted);font-weight:600}
.tk-wdir{display:inline-flex;transition:transform .3s}.tk-wdir .icon{color:#3e6f8e!important}
.tk-km{font-size:11.5px!important;color:#93a099!important}
.tk-hourly{margin-top:16px}
.tk-hourly h4{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:var(--tk-muted);margin:0 0 8px}
.tk-hourly>div{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}
.tk-hourly span{flex:none;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:64px;padding:9px 6px;border-radius:12px;background:var(--tk-bg)}
.tk-hourly b{font-size:11px}.tk-hourly i .icon{width:22px;height:22px;color:#3e6f8e}
.tk-hourly em{font-style:normal;font-size:12px;font-weight:800}
.tk-hourly small{display:flex;align-items:center;gap:2px;font-size:11.5px;color:var(--tk-muted)}
.tk-hourly small .icon{width:11px;height:11px}
.tk-source{font-size:11px;color:var(--tk-muted);line-height:1.6;margin:14px 0 0}
.tk-source a{color:var(--tk-green);font-weight:700}

/* Motxilla */
.tk-pack-ring{flex:none;position:relative;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;align-content:center;background:conic-gradient(var(--tk-green) calc(var(--p)*1%),#edf1ec 0);transition:background .3s}
.tk-pack-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff}
.tk-pack-ring b,.tk-pack-ring small{position:relative;line-height:1.1}.tk-pack-ring b{font-size:14px}.tk-pack-ring small{font-size:11px;color:var(--tk-muted)}
.tk-alerts{display:flex;flex-direction:column;gap:6px;margin:12px 0}
.tk-alerts p{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.5;background:#f4f7f1;border-radius:11px;padding:9px 12px;margin:0;color:var(--tk-soft)}
.tk-alerts p.strong{background:#fdece6;color:#8f3420;font-weight:600}
.tk-alerts .icon{flex:none;width:16px;height:16px;margin-top:2px}
.tk-kit-extra{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:12px 0 16px}
.tk-kit-extra>div{display:flex;gap:12px;align-items:flex-start;background:linear-gradient(135deg,#eef5f8,#f6faf8);border:1px solid #dde9ec;border-radius:15px;padding:13px}
.tk-kit-extra .icon{flex:none;width:34px;height:34px;padding:7px;border-radius:10px;background:#fff;color:#3e6f8e}
.tk-kit-extra b{display:block;font-size:13.5px}.tk-kit-extra small{font-size:11px;color:var(--tk-muted);line-height:1.45}
.tk-kit-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.tk-kit-group h4{display:flex;align-items:center;gap:7px;font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:var(--tk-muted);margin:0 0 8px}
.tk-kit-group h4 .icon{width:15px;height:15px}
.tk-kit-item{position:relative;display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--tk-line);border-radius:13px;margin-bottom:6px;cursor:pointer;transition:all .15s;background:#fff}
.tk-kit-item:hover{border-color:#c4d6c9}
.tk-kit-item input{position:absolute;opacity:0}
.tk-checkmark{flex:none;width:22px;height:22px;border-radius:7px;border:2px solid #c9d4cc;display:grid;place-items:center;transition:all .15s}
.tk-checkmark .icon{width:14px;height:14px;color:#fff;opacity:0;transform:scale(.4);transition:all .15s}
.tk-kit-item input:checked~.tk-checkmark{background:var(--tk-green);border-color:var(--tk-green)}
.tk-kit-item input:checked~.tk-checkmark .icon{opacity:1;transform:none}
.tk-kit-item input:checked~span b{text-decoration:line-through;color:var(--tk-muted)}
.tk-kit-item input:focus-visible~.tk-checkmark{outline:3px solid #daab6c}
.tk-kit-item>span:not(.tk-checkmark){flex:1;min-width:0}
.tk-kit-item b{display:block;font-size:12.5px}.tk-kit-item small{font-size:11px;color:var(--tk-muted);line-height:1.4}
.tk-kit-item em{font-style:normal;font-size:11.5px;font-weight:800;background:#fbe1da;color:#a3381f;border-radius:6px;padding:2px 6px}
.tk-kit-item.attention{border-color:#f2d2c7;background:#fffaf8}
.tk-x{border:0;background:none;cursor:pointer;padding:2px;color:#a7b2ab}.tk-x .icon{width:14px;height:14px}
.tk-add-item{display:flex;gap:8px;margin-top:10px}
.tk-add-item input{flex:1;border:1px dashed #c9d4cc;border-radius:11px;padding:10px 12px;font:inherit;font-size:12.5px;min-width:0}
.tk-add-item .button{margin:0}
.tk-terrain-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;margin-top:10px}
.tk-actions-bar{position:sticky;bottom:12px;z-index:20;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;background:#ffffffe6;backdrop-filter:blur(8px);border:1px solid var(--tk-line);border-radius:18px;padding:10px;box-shadow:0 10px 30px #17332920;width:fit-content;max-width:100%;margin:0 auto}
.tk-actions-bar .button{margin:0}

/* ---------- Animacions ---------- */
@keyframes tk-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes tk-spin{to{transform:rotate(360deg)}}
@keyframes tk-ping{0%{box-shadow:0 0 0 0 #2f8a4f66}80%,100%{box-shadow:0 0 0 7px #2f8a4f00}}
@keyframes tk-halo{from{transform:scale(.9);opacity:.7}to{transform:scale(1.5);opacity:0}}
@keyframes tk-shimmer{to{background-position:-200% 0}}
@keyframes tk-pulse{50%{transform:scale(1.06)}}
@keyframes tk-drift{to{transform:translateX(-26px)}}
@keyframes tk-bounce{0%,80%,100%{transform:scale(.5);opacity:.5}40%{transform:none;opacity:1}}
@keyframes tk-ring{from{stroke-dasharray:0 100}}
@keyframes tk-shake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
@media (prefers-reduced-motion:reduce){.tk-page,.tk-page *,.tk-pin,.tk-pin:after,.tk-card,.tk-step-pane{animation:none!important;transition:none!important}}

/* ---------- Responsive ---------- */
@media (max-width:1180px){.tk-shell{grid-template-columns:1fr}.tk-map-card{position:relative;top:0}.tk-results{max-height:none}.tk-verdict{grid-template-columns:auto 1fr}.tk-verdict-side{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}}
@media (max-width:860px){.tk-top{grid-template-columns:1fr;padding:22px 20px;gap:18px;border-radius:20px}.tk-sky{display:none}.tk-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tk-stat{padding:10px}.tk-stat b{font-size:20px}.tk-stat span{font-size:11.5px}.tk-stat small{display:none}.tk-plan{grid-template-columns:1fr;padding:16px}.tk-principles{grid-template-columns:1fr}.tk-cat-grid{grid-template-columns:repeat(2,1fr)}.tk-detail-grid{grid-template-columns:1fr}.tk-before{flex-direction:column;align-items:flex-start;padding:22px}.tk-thumb.big{display:none}.tk-invite{grid-template-columns:auto 1fr}.tk-invite-actions{grid-column:1/-1;justify-content:flex-start}}
@media (max-width:600px){.tk-top h1{font-size:24px}.tk-top p{font-size:12.5px}.tk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#tk-map{height:58vh;min-height:340px}.tk-legend{display:none}.tk-fab{padding:12px 16px 12px 12px;font-size:12px}.tk-map-bar{flex-wrap:wrap}.tk-updated{font-size:11.5px}.tk-feed,.tk-heat,.tk-forecast,.tk-kit-section,.tk-terrain{padding:15px;border-radius:18px}.tk-sev-grid{grid-template-columns:1fr}.tk-verdict{grid-template-columns:1fr;justify-items:start;padding:18px}.tk-ring{width:110px;height:110px}.tk-verdict-side{grid-template-columns:1fr 1fr}.tk-section-title{flex-wrap:wrap}.tk-heat-grid{grid-template-columns:52px repeat(var(--cols),minmax(16px,1fr));gap:2px}.tk-heat-grid button,.tk-heat-grid i{height:22px}.tk-heat-grid .hh:nth-child(even){visibility:hidden}.tk-heat-legend span{display:none}.tk-weather-timeline{grid-template-columns:repeat(2,1fr)}.tk-profile{height:160px}.tk-actions-bar{bottom:76px}.tk-actions-bar .button{flex:1 1 45%}.tk-coords{grid-template-columns:1fr 1fr}#tk-pick-map{height:240px}}

/* ---------- Impressió (KitForecast) ---------- */
@media print{
 body *{visibility:hidden}
 #tk-forecast-output,#tk-forecast-output *{visibility:visible}
 #tk-forecast-output{position:absolute;left:0;top:0;width:100%}
 .tk-actions-bar,.tk-add-item,.tk-heat,.tk-best,.tk-x,.tk-terrain .button{display:none!important}
 .tk-verdict,.tk-forecast,.tk-kit-section,.tk-terrain{box-shadow:none;break-inside:avoid;border-color:#ccc;animation:none}
 .tk-ring circle.v{animation:none}
}
.tk-wizard [hidden],.tk-page [hidden]{display:none!important}
.tk-strip.flat{height:62px}
.tk-profile-cap{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--tk-muted);margin:4px 0 0}.tk-profile-cap .icon{width:14px;height:14px}
.tk-toggle{position:relative}
@media (max-width:600px){.tk-actions-bar{position:static;width:100%;box-shadow:none;margin-top:4px}.tk-actions-bar .button{flex:1 1 30%;padding:9px 6px}.tk-route-pill{max-width:none;flex:1 1 100%}.tk-feed-sub .button{margin-left:0}}
.tk-diag{margin-top:14px;background:#ffffff14;border:1px solid #ffffff2a;border-radius:14px;padding:12px 14px;font-size:12px}
.tk-diag>b{display:block;margin-bottom:4px}.tk-diag>small{color:#a8c2cc;font-size:11px}
.tk-diag ul{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-direction:column;gap:6px}
.tk-diag li{display:flex;gap:8px;align-items:flex-start;line-height:1.45}.tk-diag li .icon{flex:none;width:16px;height:16px;margin-top:1px}
.tk-diag li.ok .icon{color:#9be27a}.tk-diag li.bad .icon{color:#ffb39f}
