.page-home{--h-stand: var(--C5);--h-cl: #a8962a;--h-wt: var(--C4);--h-ok: #3d8a5f;--h-warn: #c4741c;--h-event: #8a4fb8;--h-danger: #bb4444;--h-joint: var(--C0);--h-radius: 15px;width:calc(100% - 32px);max-width:var(--ui-page-max);margin:16px auto 32px;display:flex;flex-direction:column;gap:16px;text-align:left;color:var(--ColorThemes3)}.page-home svg{width:20px;height:20px;fill:currentColor;flex-shrink:0}.page-home a{text-decoration:none;color:inherit}.page-home [hidden]{display:none!important}.home-hero{border-radius:var(--h-radius);padding:24px;background:linear-gradient(135deg,var(--PrimaryColor),color-mix(in srgb,var(--PrimaryColor) 82%,#000));color:var(--PrimaryColorText);display:flex;flex-direction:column;gap:6px}.home-hero-date{margin:0;font-size:var(--FontSize3);font-weight:500;opacity:.85}.home-hero h1{margin:0;font-size:clamp(22px,4vw,32px);font-weight:700;line-height:1.2;letter-spacing:-.3px}.home-hero-sub{margin:2px 0 0;font-size:var(--FontSize4);line-height:1.45;opacity:.9}.home-actions{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.home-action{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#ffffff38;border:1px solid rgba(255,255,255,.38);color:inherit;transition:background .15s}@media (hover: hover){.home-action:hover{background:#ffffff52}}.home-action-icon{width:38px;height:38px;border-radius:10px;background:#ffffff59;display:flex;align-items:center;justify-content:center;flex-shrink:0}.home-action-text{display:flex;flex-direction:column;min-width:0}.home-action-text>b{font-size:var(--FontSize4);font-weight:700}.home-action-text>small{font-size:var(--FontSize2);opacity:.8}@media (max-width: 600px){.home-hero{padding:18px;border-radius:var(--h-radius)}.home-actions{grid-template-columns:1fr 1fr;gap:8px}.home-action{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px}.home-action-text>small{display:none}}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}.home-main,.home-side{display:flex;flex-direction:column;gap:16px;min-width:0}@media (max-width: 980px){.home-layout{display:flex;flex-direction:column}.home-main,.home-side{display:contents}.home-reminders{order:1}.home-agenda{order:2}.home-territories{order:3}.home-calendar{order:4}}.home-card{scroll-margin-top:16px}.home-card.home-flash{animation:home-flash 1.2s ease-out}@keyframes home-flash{0%,30%{box-shadow:0 0 0 3px color-mix(in srgb,var(--PrimaryColor) 70%,transparent)}to{box-shadow:0 0 0 3px transparent}}.home-card{padding:18px;border-radius:var(--h-radius);background:var(--ColorThemes1);border:1px solid var(--ColorThemes2);box-shadow:var(--shadow-l1);display:flex;flex-direction:column;gap:14px;min-width:0;width:stretch}.home-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.home-card-head h2{margin:0;font-size:20px;font-weight:700;letter-spacing:-.2px}.home-card-sub{margin:3px 0 0;font-size:var(--FontSize2);opacity:.65}.home-card-sub:empty{display:none}.home-empty{margin:2px 0;font-size:var(--FontSize3);opacity:.65;line-height:1.45}.home-more{align-self:center;padding:8px 16px;border-radius:12px;font-size:var(--FontSize3);font-weight:600;background:var(--ColorThemes0);border:1px solid var(--ColorThemes2);color:var(--ColorThemes3);cursor:pointer}.home-badge{--b: var(--ColorThemes3);flex-shrink:0;padding:4px 10px;border-radius:20px;font-size:var(--FontSize1);font-weight:700;white-space:nowrap;color:var(--b);background:color-mix(in srgb,var(--b) 14%,transparent)}.home-badge.ok{--b: var(--h-ok)}.home-badge.info,.home-badge.stand{--b: var(--h-stand)}.home-badge.warn{--b: var(--h-warn)}.home-badge.danger{--b: var(--h-danger)}.home-badge.joint{--b: var(--h-joint)}.home-badge.cl{--b: var(--h-cl)}.home-badge.wt{--b: var(--h-wt)}.home-badge.ev{--b: var(--h-event)}.home-filters{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--ColorThemes0);border:1px solid var(--ColorThemes2);overflow-x:auto;max-width:100%}.home-filters:empty{display:none}.home-filter{padding:6px 12px;border-radius:9px;font-size:var(--FontSize2);font-weight:600;white-space:nowrap;background:transparent;color:var(--ColorThemes3);cursor:pointer}.home-filter>span{opacity:.55;margin-left:2px}.home-filter.active{background:var(--PrimaryColor);color:var(--PrimaryColorText)}.home-filter.active>span{opacity:.8}.home-terr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.home-terr{position:relative;display:flex;flex-direction:column;border-radius:16px;background:var(--ColorThemes0);border:1px solid var(--ColorThemes2);overflow:hidden;min-width:0;transition:opacity .15s}@media (hover: hover){.home-terr:hover{opacity:.9}}.home-terr:focus-within{outline:2px solid var(--PrimaryColor);outline-offset:2px}.home-terr-preview{position:relative;aspect-ratio:16 / 9;background:color-mix(in srgb,var(--PrimaryColor) 9%,var(--ColorThemes2))}.home-terr-svg{display:block;width:100%!important;height:100%!important}.home-terr-svg .streets line{stroke:var(--ColorThemes0);stroke-linecap:round;opacity:.6}.home-terr-svg .shape polygon{fill:color-mix(in srgb,var(--PrimaryColor) 30%,transparent);stroke:color-mix(in srgb,var(--PrimaryColor) 70%,var(--ColorThemes3));stroke-width:2.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}.home-terr-noshape{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.35}.home-terr-noshape>svg{width:36px!important;height:36px!important}.home-terr-route{position:absolute;z-index:2;top:8px;right:8px;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--ColorThemes0);color:var(--ColorThemes3);box-shadow:0 1px 4px #00000026}.home-terr-route>svg{width:18px!important;height:18px!important}.home-terr-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;min-width:0}.home-terr-kind{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px;font-size:var(--FontSize1);font-weight:600;letter-spacing:.4px}.home-terr-kind>span:first-child{padding:4px 10px;border-radius:10px;font-weight:700;color:var(--PrimaryColorText);background:var(--PrimaryColor)}.home-terr-kind>.home-badge{text-transform:none;letter-spacing:0}.home-terr-link{position:static;min-width:0}.home-terr-link:after{content:"";position:absolute;inset:0;z-index:1}.home-terr-link>b{display:block;font-size:var(--FontSize5);font-weight:700;line-height:1.3;overflow-wrap:anywhere}.home-terr-meta{margin:0;font-size:var(--FontSize2);line-height:1.45;opacity:.7}.home-terr.attention.warn .home-terr-meta,.home-terr.attention.danger .home-terr-meta{opacity:1}.home-terr.attention.warn .home-terr-meta{color:var(--h-warn)}.home-terr.attention.danger .home-terr-meta{color:var(--h-danger)}.home-progress{display:flex;align-items:center;gap:10px;margin-top:2px;font-size:var(--FontSize1)}.home-progress>i{flex:1;display:block;height:6px;border-radius:6px;background:var(--ColorThemes2);overflow:hidden}.home-progress>i>s{display:block;height:100%;border-radius:6px;background:var(--PrimaryColor);text-decoration:none}.home-progress>span{flex-shrink:0;opacity:.65}.home-btn{display:flex;align-items:center;justify-content:center;gap:6px;height:40px;border-radius:12px;font-size:var(--FontSize3);font-weight:600;background:var(--ColorThemes1);border:1px solid var(--ColorThemes2);color:var(--ColorThemes3)}.home-btn.primary{background:var(--PrimaryColor);border-color:var(--PrimaryColor);color:var(--PrimaryColorText)}@media (max-width: 600px){.home-terr-grid{grid-template-columns:1fr;gap:10px}.home-terr{flex-direction:row;align-items:stretch}.home-terr-preview{flex:0 0 104px;aspect-ratio:auto;min-height:104px}.home-terr-route{top:auto;bottom:6px;right:6px;width:30px;height:30px}.home-terr-body{flex:1;padding:10px 12px;gap:4px}}.home-list{display:flex;flex-direction:column;gap:8px}.home-row{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;background:var(--ColorThemes0);border:1px solid var(--ColorThemes2);min-width:0}.home-row-date{flex-shrink:0;width:40px;display:flex;flex-direction:column;align-items:center;line-height:1.05}.home-row-date>b{font-size:22px;font-weight:700}.home-row-date>small{font-size:var(--FontSize1);opacity:.55}.home-row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.home-row-body>b{font-size:var(--FontSize4);font-weight:700}.home-row-body>b>em{font-style:normal;font-weight:600;font-size:var(--FontSize1);padding:2px 8px;margin-left:4px;border-radius:10px;background:var(--PrimaryColor);color:var(--PrimaryColorText);vertical-align:2px}.home-row-body>small{font-size:var(--FontSize2);opacity:.7;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 480px){.home-row{gap:10px;padding:10px 12px}.home-row>.home-badge{display:none}}.home-rem-tools{display:flex;align-items:center;gap:8px}.home-rem-clear{padding:4px 10px;border-radius:20px;font-size:var(--FontSize1);font-weight:600;background:transparent;border:1px solid var(--ColorThemes2);color:var(--ColorThemes3);opacity:.75;cursor:pointer}.home-rem-list{display:flex;flex-direction:column;gap:4px}.home-rem{display:flex;align-items:center;gap:6px}.home-rem-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:8px 4px;border-radius:12px}.home-rem-icon{--b: var(--ColorThemes3);width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--b);background:color-mix(in srgb,var(--b) 14%,transparent)}.home-rem-icon.warn{--b: var(--h-warn)}.home-rem-icon.danger{--b: var(--h-danger)}.home-rem-icon.stand{--b: var(--h-stand)}.home-rem-icon.cl{--b: var(--h-cl)}.home-rem-icon.wt{--b: var(--h-wt)}.home-rem-icon.ev{--b: var(--h-event)}.home-rem-text{min-width:0;display:flex;flex-direction:column;gap:2px}.home-rem-text>b{font-size:var(--FontSize4);font-weight:700;line-height:1.3}.home-rem-text>small{font-size:var(--FontSize2);opacity:.7;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-icon-btn{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--ColorThemes0);border:1px solid var(--ColorThemes2);color:var(--ColorThemes3);font-size:20px;line-height:1;cursor:pointer}.home-icon-btn.ghost{background:transparent;border-color:transparent;opacity:.55}.home-icon-btn.ghost>svg{width:18px;height:18px}.home-calendar .home-card-head{align-items:center}.home-cal-navs{display:flex;gap:8px}.home-cal-weekdays,.home-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.home-cal-weekdays>span{text-align:center;font-size:var(--FontSize2);font-weight:600;opacity:.55}.home-cal-cell{aspect-ratio:1 / 1;max-height:48px;border-radius:12px;border:2px solid transparent;background:transparent;color:var(--ColorThemes3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:var(--FontSize3);font-weight:600;padding:0;cursor:pointer}.home-cal-cell.blank{cursor:default}.home-cal-cell.past{opacity:.35}.home-cal-cell.today{border-color:var(--PrimaryColor)}.home-cal-cell.selected{background:var(--PrimaryColor);border-color:var(--PrimaryColor);color:var(--PrimaryColorText)}.home-cal-cell>i{display:flex;gap:3px;height:6px}.mark{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--h-stand)}.mark.event{border-radius:2px;background:var(--h-event)}.mark.meeting{background:var(--h-wt)}.mark.return{border-radius:1px;transform:rotate(45deg) scale(.85);background:var(--h-warn)}.home-cal-cell.selected .mark{box-shadow:0 0 0 1.5px var(--PrimaryColorText)}.home-cal-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:var(--FontSize2);opacity:.75}.home-cal-legend>span{display:inline-flex;align-items:center;gap:6px}.home-cal-day{padding-top:14px;border-top:1px solid var(--ColorThemes2);display:flex;flex-direction:column;gap:8px}.home-cal-day>h3{margin:0;font-size:var(--FontSize4);font-weight:700}.home-day-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:14px;background:var(--ColorThemes0);border:1px solid var(--ColorThemes2)}.home-day-item>span:first-child{min-width:0;display:flex;flex-direction:column;gap:2px}.home-day-item b{font-size:var(--FontSize3);font-weight:700}.home-day-item small{font-size:var(--FontSize2);opacity:.7;line-height:1.4}.home-terr-svg .dots circle{fill:color-mix(in srgb,var(--PrimaryColor) 80%,transparent);stroke:var(--ColorThemes1);stroke-width:2.5;vector-effect:non-scaling-stroke}
