.tc-cookie-panel[hidden], .tc-cookie-details[hidden] { display: none !important; }
.tc-cookie-panel { position: fixed; z-index: 10000; left: max(16px,env(safe-area-inset-left)); bottom: max(16px,env(safe-area-inset-bottom)); width: min(450px,calc(100vw - 32px)); max-height: min(80vh,700px); overflow-y: auto; padding: 20px; border: 1px solid #c8d9c3; border-radius: 18px; background: #fff; color: #173e27; box-shadow: 0 18px 54px #142f2140; font: inherit; }
.tc-cookie-head { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.tc-cookie-mark { color: #238340; font-size: 20px; }
.tc-cookie-panel p { margin: 12px 0 8px; font-size: 14px; line-height: 1.6; }
.tc-cookie-policy { display: inline-flex; min-height: 44px; align-items: center; color: #14552c; text-decoration: underline; font-size: 13px; }
.tc-cookie-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tc-cookie-panel button { min-height: 44px; border: 1px solid #b5ccb0; border-radius: 10px; background: #eef5ea; color: #173e27; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 8px 10px; }
.tc-cookie-panel button:hover { background: #e4f1df; }
.tc-cookie-panel button[data-cookie-choice="all"], .tc-cookie-panel .tc-cookie-save { background: #14552c; border-color: #14552c; color: #fff; }
.tc-cookie-panel button[data-cookie-choice="all"]:hover, .tc-cookie-panel .tc-cookie-save:hover { background: #217a36; }
.tc-cookie-panel button[data-cookie-preferences] { grid-column: 1 / -1; background: #fff; }
.tc-cookie-details { margin-top: 15px; padding-top: 14px; border-top: 1px solid #dce5d5; }
.tc-cookie-details > div, .tc-cookie-details > label { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px solid #ecf0e8; }
.tc-cookie-details strong { display: block; font-size: 13px; }
.tc-cookie-details span, .tc-cookie-details small { color: #526454; font-size: 12px; line-height: 1.5; }
.tc-cookie-details input { width: 22px; height: 22px; accent-color: #14552c; flex: 0 0 auto; }
.tc-cookie-details .tc-cookie-save { width: 100%; margin-top: 14px; }
.tc-cookie-panel :focus-visible, .tc-footer-button:focus-visible { outline: 3px solid #238340; outline-offset: 2px; }
.tc-footer-button { display: inline-flex; align-items: center; border: 0; padding: 0; min-height: 32px; color: inherit; background: transparent; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
@media (max-width: 500px) { .tc-cookie-panel { padding: 16px; border-radius: 14px; } }
