/* ТиГиДик — Поруч 1.0.0. Усі стилі ізольовано в .tyg-poruch */
.tyg-poruch{--tyg-p-green:#21864b;--tyg-p-dark:#193c2a;--tyg-p-tint:#f1f8f3;--tyg-p-border:#dde8df;--tyg-p-muted:#6b7770;--tyg-p-ink:#24332a;--tyg-p-bg:#fff;color:var(--tyg-p-ink);font:inherit;line-height:1.55;max-width:1100px;margin:0 auto 48px;isolation:isolate}
.tyg-poruch *{box-sizing:border-box}
.tyg-poruch .tyg-p-app{border:1px solid var(--tyg-p-border);background:var(--tyg-p-bg)}
.tyg-poruch .tyg-p-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:25px 30px 24px;background:var(--tyg-p-tint);border-bottom:1px solid var(--tyg-p-border)}
.tyg-poruch .tyg-p-head h2{font-size:clamp(24px,3.1vw,32px);font-weight:750;color:var(--tyg-p-dark);line-height:1.15;margin:3px 0 8px;letter-spacing:-.6px}
.tyg-poruch .tyg-p-head p{margin:0;font-size:14px;color:#65786b}
.tyg-poruch .tyg-p-head p.tyg-p-eyebrow{font-size:11px;letter-spacing:.06em;font-weight:700;text-transform:uppercase;color:var(--tyg-p-green)}
.tyg-poruch .tyg-p-head-logo{font-size:28px;font-weight:bold;color:var(--tyg-p-green);width:64px;height:64px;display:grid;place-items:center;background:#dfeee3}
.tyg-poruch .tyg-p-tabs{display:flex;gap:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid var(--tyg-p-border);background:#fff}
.tyg-poruch .tyg-p-tab{flex:1 0 auto;border:0!important;border-bottom:3px solid transparent!important;background:#fff!important;color:#5a665e!important;border-radius:0!important;min-height:57px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:650;box-shadow:none!important;cursor:pointer;white-space:nowrap;margin:0;transition:background .15s}
.tyg-poruch .tyg-p-tab>span:first-child{font-size:19px;line-height:1}
.tyg-poruch .tyg-p-tab.is-active{color:var(--tyg-p-green)!important;background:#f7fbf8!important;border-bottom-color:var(--tyg-p-green)!important}
.tyg-poruch .tyg-p-tab:hover{background:#f4f8f5!important}
.tyg-poruch button:focus-visible,.tyg-poruch a:focus-visible,.tyg-poruch select:focus-visible,.tyg-poruch input:focus-visible,.tyg-poruch textarea:focus-visible{outline:2px solid var(--tyg-p-green)!important;outline-offset:3px}
.tyg-poruch .tyg-p-main{padding:25px 30px 32px;min-height:330px}
.tyg-poruch .tyg-p-muted{color:var(--tyg-p-muted);font-size:13px;margin:3px 0 0}
.tyg-poruch .tyg-p-hint{font-size:12px;color:var(--tyg-p-muted);margin:17px 0 0;line-height:1.6}
.tyg-poruch h3{font-size:17px;margin:0 0 4px;color:var(--tyg-p-dark);font-weight:750;line-height:1.35}
.tyg-poruch h4{font-size:15px;margin:4px 0;color:var(--tyg-p-ink);font-weight:700}
.tyg-poruch p{line-height:1.6}
.tyg-poruch .tyg-p-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}
.tyg-poruch .tyg-p-section-title h3{margin:0}
.tyg-poruch button,.tyg-poruch input,.tyg-poruch select,.tyg-poruch textarea{font-family:inherit}
.tyg-poruch button{cursor:pointer;line-height:1.4}
.tyg-poruch button:disabled{opacity:.5;cursor:not-allowed}
.tyg-poruch .tyg-p-primary,.tyg-poruch .tyg-p-quick button{font-size:13px;font-weight:700;color:#fff!important;background:var(--tyg-p-green)!important;border:1px solid var(--tyg-p-green)!important;padding:11px 15px;border-radius:0!important;box-shadow:none!important;text-decoration:none}
.tyg-poruch .tyg-p-primary:hover,.tyg-poruch .tyg-p-quick button:hover{background:#176636!important}
.tyg-poruch .tyg-p-link{background:transparent!important;border:0!important;color:var(--tyg-p-green)!important;padding:5px 0!important;font-size:13px!important;font-weight:700;box-shadow:none!important;text-decoration:none!important;white-space:nowrap}
.tyg-poruch .tyg-p-link:hover,.tyg-poruch a:hover{text-decoration:underline}
.tyg-poruch .tyg-p-select-wrap{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:-4px 0 18px}
.tyg-poruch .tyg-p-select-wrap label{font-size:13px;font-weight:650;color:#65766b}
.tyg-poruch .tyg-p-select-wrap select{background:#fff;border:1px solid var(--tyg-p-border);border-radius:0;min-width:160px;max-width:60%;padding:7px 28px 7px 9px;font-size:13px;height:auto;color:var(--tyg-p-ink)}
.tyg-poruch .tyg-p-pet-card{display:flex;align-items:center;gap:17px;padding:20px;background:var(--tyg-p-tint);border:1px solid var(--tyg-p-border);min-width:0}
.tyg-poruch .tyg-p-pet-card.is-compact{margin-bottom:16px}
.tyg-poruch .tyg-p-avatar{width:94px;height:94px;flex:0 0 94px;display:grid;place-items:center;background:#e4eee6;overflow:hidden;color:var(--tyg-p-green);font-size:47px}
.tyg-poruch .tyg-p-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.tyg-poruch .tyg-p-pet-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.tyg-poruch .tyg-p-pet-info strong{font-size:20px;font-weight:750;color:var(--tyg-p-dark);overflow-wrap:anywhere;line-height:1.3}
.tyg-poruch .tyg-p-pet-info span{font-size:13px;color:#67786e;overflow-wrap:anywhere}
.tyg-poruch .tyg-p-quick{display:flex;gap:10px;margin:0 0 24px;flex-wrap:wrap}
.tyg-poruch .tyg-p-quick button:nth-child(2){color:var(--tyg-p-green)!important;background:#fff!important}
.tyg-poruch .tyg-p-quick button:nth-child(2):hover{background:var(--tyg-p-tint)!important}
.tyg-poruch .tyg-p-cols,.tyg-poruch .tyg-p-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 20px}
.tyg-poruch .tyg-p-box{border:1px solid var(--tyg-p-border);padding:20px;min-width:0;background:#fff}
.tyg-poruch .tyg-p-box p{font-size:13px;color:#5e6f64;margin:6px 0 14px}
.tyg-poruch .tyg-p-box button:not(.tyg-p-primary){border:1px solid var(--tyg-p-border);background:#fff;color:var(--tyg-p-green);border-radius:0;padding:10px 12px;font-size:12px;font-weight:650}
.tyg-poruch .tyg-p-box .tyg-p-section-title{margin-bottom:14px}
.tyg-poruch .tyg-p-list-line{border-top:1px solid #e9efea;padding:11px 0;display:flex;flex-direction:column;gap:2px}
.tyg-poruch .tyg-p-list-line time{font-size:11px;color:#859087}
.tyg-poruch .tyg-p-list-line strong{font-size:13px;font-weight:650;color:var(--tyg-p-ink)}
.tyg-poruch .tyg-p-atlas{border:1px solid var(--tyg-p-border);border-left:3px solid var(--tyg-p-green);padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--tyg-p-tint);color:var(--tyg-p-dark)!important;text-decoration:none!important}
.tyg-poruch .tyg-p-atlas span:first-child{display:flex;flex-direction:column;gap:3px}
.tyg-poruch .tyg-p-atlas strong{font-size:14px}
.tyg-poruch .tyg-p-atlas small{font-size:12px;color:#66796d}
.tyg-poruch .tyg-p-atlas>span:last-child{font-size:20px;color:var(--tyg-p-green)}
.tyg-poruch .tyg-p-welcome{text-align:center;max-width:520px;margin:10px auto 26px;padding:14px 0}
.tyg-poruch .tyg-p-welcome-icon{font-size:42px;margin-bottom:8px}
.tyg-poruch .tyg-p-welcome h3{font-size:24px}
.tyg-poruch .tyg-p-welcome p{color:#6c7d71;font-size:14px;margin:9px 0 18px}
.tyg-poruch .tyg-p-intro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tyg-poruch .tyg-p-card{border:1px solid var(--tyg-p-border);padding:15px;display:flex;flex-direction:column;gap:5px}
.tyg-poruch .tyg-p-card strong{color:var(--tyg-p-dark);font-size:14px}
.tyg-poruch .tyg-p-card small{color:var(--tyg-p-muted);font-size:12px}
.tyg-poruch .tyg-p-form{background:#fff;border:1px solid var(--tyg-p-border);padding:23px;display:flex;flex-direction:column;align-items:flex-start;gap:17px}
.tyg-poruch .tyg-p-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;width:100%}
.tyg-poruch .tyg-p-form label{width:100%;display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:13px;color:#344a3b}
.tyg-poruch .tyg-p-form label span{color:#bc3f3f}
.tyg-poruch .tyg-p-form input:not([type="checkbox"]):not([type="file"]),.tyg-poruch .tyg-p-form textarea,.tyg-poruch .tyg-p-form select{display:block;width:100%;background:#fff!important;border:1px solid #cbd9ce!important;border-radius:0!important;box-shadow:none!important;min-height:41px;padding:9px 11px;color:#24362b!important;font-size:14px;font-weight:400;min-width:0}
.tyg-poruch .tyg-p-form textarea{resize:vertical}
.tyg-poruch .tyg-p-form input[type="file"]{font-size:12px;width:100%;min-width:0}
.tyg-poruch .tyg-p-form small{font-weight:400;color:var(--tyg-p-muted);font-size:12px}
.tyg-poruch .tyg-p-form label.tyg-p-checkbox{flex-direction:row;align-items:center;font-weight:400;gap:9px}
.tyg-poruch .tyg-p-form .tyg-p-primary{min-width:160px}
.tyg-poruch .tyg-p-pets-list,.tyg-poruch .tyg-p-entries,.tyg-poruch .tyg-p-events{display:flex;flex-direction:column;gap:12px}
.tyg-poruch .tyg-p-pet-row{border:1px solid var(--tyg-p-border);padding:0}
.tyg-poruch .tyg-p-pet-row .tyg-p-pet-card{border:0;background:transparent}
.tyg-poruch .tyg-p-pet-row .tyg-p-actions{border-top:1px solid var(--tyg-p-border);padding:6px 20px 10px;justify-content:flex-end}
.tyg-poruch .tyg-p-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tyg-poruch .tyg-p-actions button{font-size:12px;font-weight:650;border:0!important;background:transparent!important;color:var(--tyg-p-green)!important;padding:5px!important;border-radius:0!important;box-shadow:none!important}
.tyg-poruch .tyg-p-actions button.tyg-p-danger{color:#b04a43!important}
.tyg-poruch .tyg-p-entry{border:1px solid var(--tyg-p-border);padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.tyg-poruch .tyg-p-entry>div:first-child{min-width:0;flex:1}
.tyg-poruch .tyg-p-kicker{font-size:11px;color:var(--tyg-p-green);font-weight:700}
.tyg-poruch .tyg-p-entry p{font-size:13px;color:#58665d;margin:6px 0 0;overflow-wrap:anywhere}
.tyg-poruch .tyg-p-empty{margin:18px 0;padding:24px;border:1px dashed var(--tyg-p-border);text-align:center}
.tyg-poruch .tyg-p-calendar-wrap{border:1px solid var(--tyg-p-border);max-width:590px;padding:20px;margin:0 0 27px}
.tyg-poruch .tyg-p-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}
.tyg-poruch .tyg-p-calendar-head strong{font-size:15px;text-transform:capitalize;color:var(--tyg-p-dark)}
.tyg-poruch .tyg-p-calendar-head button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--tyg-p-border);background:white;color:var(--tyg-p-dark);font-size:23px;padding:0;border-radius:0}
.tyg-poruch .tyg-p-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.tyg-poruch .tyg-p-calendar-grid>strong{font-size:11px;font-weight:700;color:#829088;padding-bottom:7px}
.tyg-poruch .tyg-p-calendar-blank,.tyg-poruch .tyg-p-calendar-day{min-height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.tyg-poruch .tyg-p-calendar-day{position:relative;font-size:13px;color:var(--tyg-p-ink);background:#f9fbf9}
.tyg-poruch .tyg-p-calendar-day.is-today{box-shadow:inset 0 0 0 1px var(--tyg-p-green);font-weight:750}
.tyg-poruch .tyg-p-calendar-day.has-events{background:#e5f2e9}
.tyg-poruch .tyg-p-calendar-day i{width:5px;height:5px;background:var(--tyg-p-green);border-radius:50%;margin-top:2px}
.tyg-poruch .tyg-p-event{border:1px solid var(--tyg-p-border);display:flex;align-items:flex-start;gap:14px;padding:14px 16px}
.tyg-poruch .tyg-p-event.is-done{opacity:.65}
.tyg-poruch .tyg-p-event-date{flex:0 0 50px;background:var(--tyg-p-tint);padding:7px 2px;display:flex;flex-direction:column;align-items:center;line-height:1.3}
.tyg-poruch .tyg-p-event-date strong{font-size:21px;color:var(--tyg-p-green)}
.tyg-poruch .tyg-p-event-date small{font-size:10px;color:#607566}
.tyg-poruch .tyg-p-event-text{flex:1;min-width:0}
.tyg-poruch .tyg-p-event-text p{font-size:12px;color:#69786d;margin:3px 0;overflow-wrap:anywhere}
.tyg-poruch .tyg-p-done{font-size:11px;color:var(--tyg-p-green);font-weight:700}
.tyg-poruch .tyg-p-big{font-size:26px;font-weight:750;color:var(--tyg-p-dark);margin:7px 0}
.tyg-poruch .tyg-p-checklist{padding-left:20px;font-size:13px;line-height:1.9;color:#57665c}
.tyg-poruch .tyg-p-inline-link{color:var(--tyg-p-green);font-weight:750;text-decoration:underline;font-size:13px}
.tyg-poruch .tyg-p-import-label{display:flex;flex-direction:column;gap:9px;border:1px dashed #adbfaf;padding:14px;font-size:13px;font-weight:700;color:var(--tyg-p-green)}
.tyg-poruch .tyg-p-import-label input{max-width:100%;font-size:12px;font-weight:400}
.tyg-poruch .tyg-p-box button.tyg-p-danger-button{border-color:#c75a52;color:#ac413b}
.tyg-poruch .tyg-p-notice{padding:11px 42px 11px 22px;background:#ebf6ee;color:#235f39;border-bottom:1px solid #d7e5d9;position:relative;font-size:13px;overflow-wrap:anywhere}
.tyg-poruch .tyg-p-notice.is-error{background:#fff3f1;border-color:#f1d9d6;color:#93443e}
.tyg-poruch .tyg-p-notice button{position:absolute;right:13px;top:4px;padding:2px 6px;border:0;background:transparent!important;color:inherit!important;font-size:21px;line-height:1}
.tyg-poruch .tyg-p-error{padding:23px;border-left:3px solid #c75a52;background:#fff3f1;color:#7e3f39}
.tyg-poruch .tyg-p-error p{margin:8px 0;font-size:14px}
.tyg-poruch .tyg-p-footer{border-top:1px solid var(--tyg-p-border);padding:15px 30px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fafcfb}
.tyg-poruch .tyg-p-footer span{font-size:11px;color:var(--tyg-p-muted)}
.tyg-poruch .tyg-p-footer button{padding:0;border:0;background:transparent!important;color:var(--tyg-p-green)!important;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:none!important}
.tyg-poruch .tyg-p-loading{padding:26px;text-align:center;color:#5c7361}
@media(max-width:850px){
 .tyg-poruch .tyg-p-tabs{justify-content:flex-start}
 .tyg-poruch .tyg-p-tab{flex:0 0 auto;padding:11px 14px}
 .tyg-poruch .tyg-p-cols,.tyg-poruch .tyg-p-tool-grid{grid-template-columns:1fr}
 .tyg-poruch .tyg-p-intro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tyg-poruch .tyg-p-entry{flex-direction:column;gap:8px}
 .tyg-poruch .tyg-p-event{flex-wrap:wrap}
 .tyg-poruch .tyg-p-event .tyg-p-actions{flex:1 0 100%;justify-content:flex-end;border-top:1px solid #eaf0eb;padding-top:4px}
}
@media(max-width:580px){
 .tyg-poruch{margin-bottom:25px}
 .tyg-poruch .tyg-p-head{padding:18px 17px}
 .tyg-poruch .tyg-p-head h2{font-size:25px;margin-bottom:6px}
 .tyg-poruch .tyg-p-head p{font-size:12px}
 .tyg-poruch .tyg-p-head p.tyg-p-eyebrow{font-size:10px}
 .tyg-poruch .tyg-p-head-logo{display:none}
 .tyg-poruch .tyg-p-main{padding:18px 15px 22px;min-height:280px}
 .tyg-poruch .tyg-p-tab{flex-direction:column;gap:2px;font-size:11px;padding:8px 12px;min-height:52px}
 .tyg-poruch .tyg-p-tab>span:first-child{font-size:17px}
 .tyg-poruch .tyg-p-section-title{gap:8px}
 .tyg-poruch .tyg-p-section-title h3{font-size:16px}
 .tyg-poruch .tyg-p-primary{padding:9px 10px;font-size:12px}
 .tyg-poruch .tyg-p-pet-card{padding:13px;gap:12px}
 .tyg-poruch .tyg-p-avatar{width:70px;height:70px;flex-basis:70px;font-size:35px}
 .tyg-poruch .tyg-p-pet-info strong{font-size:18px}
 .tyg-poruch .tyg-p-pet-info span{font-size:12px}
 .tyg-poruch .tyg-p-quick button{flex:1 1 40%;padding:11px 8px;font-size:12px}
 .tyg-poruch .tyg-p-box{padding:17px}
 .tyg-poruch .tyg-p-form{padding:16px;gap:15px}
 .tyg-poruch .tyg-p-form-grid{grid-template-columns:1fr;gap:15px}
 .tyg-poruch .tyg-p-calendar-wrap{padding:12px}
 .tyg-poruch .tyg-p-calendar-blank,.tyg-poruch .tyg-p-calendar-day{min-height:37px;font-size:12px}
 .tyg-poruch .tyg-p-event{padding:12px}
 .tyg-poruch .tyg-p-footer{padding:12px 15px;align-items:flex-start;flex-direction:column;gap:6px}
 .tyg-poruch .tyg-p-welcome h3{font-size:21px}
 .tyg-poruch .tyg-p-welcome p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.tyg-poruch *{transition:none!important;scroll-behavior:auto!important}}
.tyg-poruch .tyg-p-form-error{width:100%;border-left:3px solid #b94e43;background:#fff2f1;color:#923c35;padding:10px 12px;font-size:13px;line-height:1.5}

/* v1.1.0 — two reading blocks on the overview; four cards per desktop row. */
.tyg-poruch .tyg-p-reading{display:grid;gap:28px;margin-top:28px;min-width:0}
.tyg-poruch .tyg-p-reading-section{min-width:0}
.tyg-poruch .tyg-p-reading-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.tyg-poruch .tyg-p-reading-head h3{font-size:19px;line-height:1.3;font-weight:750;color:var(--tyg-p-dark);margin:0}
.tyg-poruch .tyg-p-reading-head p{color:var(--tyg-p-muted);font-size:12px;margin:4px 0 0}
.tyg-poruch .tyg-p-reading-head .tyg-p-reading-all,
.tyg-poruch .tyg-p-reading-head button.tyg-p-link{flex:0 0 auto;color:var(--tyg-p-green)!important;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.tyg-poruch .tyg-p-article-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;min-width:0}
.tyg-poruch a.tyg-p-article-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--tyg-p-border);background:#fff;text-decoration:none;color:var(--tyg-p-ink)!important;overflow:hidden;box-shadow:none!important;transition:border-color .15s ease,transform .15s ease}
.tyg-poruch a.tyg-p-article-card:hover,.tyg-poruch a.tyg-p-article-card:focus-visible{border-color:var(--tyg-p-green);transform:translateY(-2px)}
.tyg-poruch .tyg-p-article-image{display:block;aspect-ratio:16/10;width:100%;overflow:hidden;background:#edf5ef}
.tyg-poruch .tyg-p-article-image img{width:100%;height:100%;object-fit:cover;display:block}
.tyg-poruch .tyg-p-article-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:30px}
.tyg-poruch .tyg-p-article-info{display:flex;flex-direction:column;gap:7px;padding:11px 12px 14px}
.tyg-poruch .tyg-p-article-label{color:var(--tyg-p-green);font-weight:750;font-size:10px;line-height:1.3;text-transform:uppercase}
.tyg-poruch .tyg-p-article-info strong{font-size:13px;line-height:1.45;font-weight:720;overflow-wrap:anywhere}
.tyg-poruch .tyg-p-reading-empty{padding:19px 17px;margin:0;border:1px solid var(--tyg-p-border);background:#fafcfa;color:var(--tyg-p-muted);font-size:13px}
@media(max-width:850px){.tyg-poruch .tyg-p-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
 .tyg-poruch .tyg-p-reading{gap:22px;margin-top:23px}
 .tyg-poruch .tyg-p-reading-head{align-items:flex-start}
 .tyg-poruch .tyg-p-reading-head h3{font-size:16px}
 .tyg-poruch .tyg-p-reading-head p{font-size:11px}
 .tyg-poruch .tyg-p-article-grid{gap:9px}
 .tyg-poruch .tyg-p-article-info{padding:10px 9px 12px}
 .tyg-poruch .tyg-p-article-info strong{font-size:12px}
}
