.events-page{min-height:100vh;background:#f6f8fc;color:#172033;padding-bottom:80px;min-width:100vh}.events-header{width:100%;background:linear-gradient(135deg,#032e80,#123a8a);color:#fff;box-shadow:0 5px 20px #123a8a29;position:relative}.events-header:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:#f59e0b}.events-header-inner{width:min(1180px,calc(100% - 40px));min-height:76px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.events-back-button{border:0;background:transparent;color:#fff;padding:0;display:flex;align-items:center;gap:13px;cursor:pointer;text-align:left}.events-back-icon{width:40px;height:40px;border-radius:11px;background:#ffffff21;display:flex;align-items:center;justify-content:center;transition:.2s ease}.events-back-button:hover .events-back-icon{background:#ffffff38;transform:translate(-2px)}.events-header-title{display:block;font-size:30px;line-height:1.2;font-weight:800}.events-header-subtitle{display:block;margin-top:3px;font-size:11px;color:#ffffffb8;font-weight:500}.events-header-actions{display:flex;align-items:center;gap:8px}.events-icon-button{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#ffffff1c;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s ease}.events-icon-button:hover{background:#fff3;transform:translateY(-1px)}.events-content{width:min(1080px,calc(100% - 40px));margin:0 auto;padding-top:26px}.events-main-search{position:relative;width:100%;height:48px;display:flex;align-items:center;margin-bottom:18px}.events-main-search>svg{position:absolute;left:15px;color:#8d98a8;pointer-events:none}.events-main-search input{width:100%;height:100%;box-sizing:border-box;padding:0 45px;border:1px solid #dce3ed;border-radius:12px;outline:none;background:#fff;color:#172033;font-size:13px;box-shadow:0 3px 12px #14213d08;transition:.2s ease}.events-main-search input::placeholder{color:#a1aaba}.events-main-search input:focus{border-color:#1d5fd6;box-shadow:0 0 0 3px #1d5fd614}.events-clear-search{position:absolute;right:10px;width:28px;height:28px;border:none;border-radius:7px;background:transparent;color:#8b95a5;display:flex;align-items:center;justify-content:center;cursor:pointer}.events-clear-search:hover{background:#f0f3f7;color:#475467}.events-tabs{display:inline-flex;align-items:center;gap:4px;padding:4px;margin-bottom:24px;border:1px solid #e2e7ef;border-radius:11px;background:#fff}.events-tab{min-height:36px;padding:0 14px;border:none;border-radius:8px;background:transparent;color:#7b8798;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:700;cursor:pointer;transition:.2s ease}.events-tab:hover{color:#1d5fd6;background:#f5f8fd}.events-tab.active{background:#eaf1fd;color:#1d5fd6}.events-section-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.events-section-header h2{margin:0;color:#172033;font-size:20px;font-weight:800;letter-spacing:-.3px}.events-section-header p{margin:5px 0 0;color:#8994a5;font-size:11px}.events-add-button{height:38px;padding:0 14px;border:none;border-radius:9px;background:#1d5fd6;color:#fff;font-size:12px;font-weight:750;cursor:pointer;transition:.2s ease}.events-add-button:hover{background:#174fad;transform:translateY(-1px);box-shadow:0 6px 15px #1d5fd633}.events-filter-button{min-width:180px;height:39px;margin-bottom:17px;padding:0 12px;border:1px solid #dce3ed;border-radius:9px;background:#fff;color:#4b5870;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:650;cursor:pointer;transition:.2s ease}.events-filter-button:hover{border-color:#b9c8df;background:#fafcff}.events-page-error{margin-bottom:16px;padding:12px 14px;border:1px solid #fecaca;border-radius:10px;background:#fff4f4;color:#b91c1c;font-size:12px}.events-loading{min-height:220px;padding:35px 20px;border:1px solid #e5e9f0;border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.events-loading strong{margin-top:12px;color:#4a566b;font-size:13px}.events-loading span{margin-top:5px;color:#9aa4b3;font-size:11px}.events-spinner{width:25px;height:25px;border:3px solid #dce7f8;border-top-color:#1d5fd6;border-radius:50%;animation:events-spin .7s linear infinite}@keyframes events-spin{to{transform:rotate(360deg)}}.events-list{display:flex;flex-direction:column;gap:12px}.events-card{position:relative;padding:17px 18px;border:1px solid #e4e9f0;border-radius:14px;background:#fff;box-shadow:0 4px 14px #14213d0a;transition:.2s ease}.events-card:hover{border-color:#d5dfef;box-shadow:0 7px 20px #14213d0f;transform:translateY(-1px)}.events-card-top{display:flex;align-items:flex-start;gap:13px}.events-event-icon{width:42px;height:42px;flex-shrink:0;border-radius:11px;background:#eaf1fd;color:#1d5fd6;display:flex;align-items:center;justify-content:center}.events-event-main{flex:1;min-width:0}.events-event-main h3{margin:1px 0 0;color:#172033;font-size:14px;font-weight:800}.events-goat-info{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:6px;color:#667085;font-size:11px}.events-date{margin-top:7px;color:#929cac;font-size:10px}.events-card-actions{display:flex;align-items:center;gap:8px;position:relative}.events-type-badge{padding:5px 9px;border-radius:6px;background:#fff7ed;color:#c56d0a;font-size:12px;font-weight:750;white-space:nowrap}.events-more-button{width:31px;height:31px;border:none;border-radius:8px;background:transparent;color:#8d98a8;display:flex;align-items:center;justify-content:center;cursor:pointer}.events-more-button:hover{background:#f1f4f8;color:#475467}.events-notes{margin-top:13px;padding:10px 12px;border-radius:8px;background:#f7f9fc;color:#697586;font-size:12px;line-height:1.5}.events-mass-goats{margin-top:8px}.events-mass-header{display:flex;align-items:center;gap:6px;color:#526075;font-size:11px}.events-mass-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.events-mass-chip{padding:4px 7px;border:1px solid #e2e8f1;border-radius:6px;background:#f8fafc;color:#596579;font-size:12px}.events-menu{position:absolute;top:48px;right:18px;z-index:100;min-width:135px;padding:5px;border:1px solid #e1e6ee;border-radius:10px;background:#fff;box-shadow:0 12px 30px #0f172a21}.events-menu button{width:100%;height:35px;border:none;border-radius:7px;background:transparent;color:#526075;display:flex;align-items:center;gap:8px;padding:0 9px;font-size:12px;font-weight:650;cursor:pointer;text-align:left}.events-menu button:hover{background:#f4f6f9}.events-menu button.danger{color:#dc2626}.events-menu button.danger:hover{background:#fff1f1}.events-empty{min-height:280px;padding:45px 20px;border:1px dashed #d9e1eb;border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.events-empty-icon{width:62px;height:62px;margin-bottom:13px;border-radius:17px;background:#eef4fd;color:#6d8fc9;display:flex;align-items:center;justify-content:center}.events-empty strong{color:#465268;font-size:14px}.events-empty span{max-width:330px;margin-top:6px;color:#9aa4b3;font-size:11px;line-height:1.5}.events-empty button{height:37px;margin-top:15px;padding:0 14px;border:none;border-radius:9px;background:#1d5fd6;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.events-floating{position:fixed;right:28px;bottom:24px;z-index:500;height:45px;padding:0 17px;border:none;border-radius:12px;background:#1d5fd6;color:#fff;font-size:12px;font-weight:750;box-shadow:0 9px 25px #1d5fd640;cursor:pointer;transition:.2s ease}.events-floating:hover{background:#174fad;transform:translateY(-2px)}.events-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;padding:18px;background:#0f172a7a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;overflow-y:auto}.events-form{width:min(620px,100%);max-height:calc(100vh - 36px);background:#fff;border-radius:17px;box-shadow:0 25px 70px #0f172a40;overflow:visible;position:relative}.events-form-handle{display:none}.events-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:20px 21px;border-bottom:1px solid #edf0f5}.events-form-header small{display:block;color:#1d5fd6;font-size:9px;font-weight:800;letter-spacing:.8px}.events-form-header h2{margin:4px 0 0;color:#172033;font-size:19px;font-weight:800}.events-form-close{width:34px;height:34px;border:none;border-radius:9px;background:#f4f6f9;color:#667085;display:flex;align-items:center;justify-content:center;cursor:pointer}.events-form-close:hover{background:#e9edf3;color:#344054}.events-form-body{max-height:calc(100vh - 140px);overflow-y:auto;padding:20px 21px 22px}.events-form-body::-webkit-scrollbar{width:5px}.events-form-body::-webkit-scrollbar-thumb{background:#d4dbe6;border-radius:10px}.events-info-box{display:flex;align-items:center;gap:11px;margin-bottom:18px;padding:11px 12px;border:1px solid #dce8fb;border-radius:10px;background:#f5f8ff}.events-info-icon{width:35px;height:35px;flex-shrink:0;border-radius:9px;background:#e5efff;color:#1d5fd6;display:flex;align-items:center;justify-content:center}.events-info-box strong{display:block;color:#244679;font-size:12px}.events-info-box span{display:block;margin-top:3px;color:#7b8798;font-size:10px}.events-field{display:block;margin-top:16px}.events-field-label{display:block;margin-bottom:7px;color:#475467;font-size:11px;font-weight:750}.events-field input,.events-field select,.events-field textarea{width:100%;box-sizing:border-box;border:1px solid #dbe2ec;border-radius:10px;outline:none;background:#fff;color:#172033;font-family:inherit;font-size:12px;transition:.2s ease}.events-field input,.events-field select{height:42px;padding:0 12px}.events-field textarea{min-height:84px;padding:10px 12px;resize:vertical}.events-field input::placeholder,.events-field textarea::placeholder{color:#a4adba}.events-field input:focus,.events-field select:focus,.events-field textarea:focus{border-color:#1d5fd6;box-shadow:0 0 0 3px #1d5fd614}.events-selection-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.events-selection-header .events-field-label{margin-bottom:3px}.events-selection-header small{color:#929cac;font-size:10px}.events-select-actions{display:flex;align-items:center;gap:6px}.events-select-actions button{height:29px;padding:0 9px;border:1px solid #dce3ed;border-radius:7px;background:#fff;color:#536174;font-size:10px;font-weight:700;cursor:pointer}.events-select-actions button:hover:not(:disabled){border-color:#b9c8df;background:#f7faff;color:#1d5fd6}.events-select-actions button.danger{color:#dc2626}.events-select-actions button.danger:hover:not(:disabled){background:#fff3f3;border-color:#fecaca}.events-select-actions button:disabled{opacity:.45;cursor:not-allowed}.events-goat-search{position:relative;width:100%;height:44px;display:flex;align-items:center}.events-goat-search>svg{position:absolute;left:13px;color:#8d98a8;pointer-events:none}.events-goat-search input{width:100%;height:100%;box-sizing:border-box;padding:0 42px 0 40px;border:1px solid #d9e1ec;border-radius:10px;outline:none;background:#fff;color:#172033;font-family:inherit;font-size:12px;transition:.2s ease}.events-goat-search input::placeholder{color:#9aa5b5}.events-goat-search input:focus{border-color:#1d5fd6;box-shadow:0 0 0 3px #1d5fd614}.events-search-clear{position:absolute;right:8px;width:28px;height:28px;border:none;border-radius:7px;background:transparent;color:#8d98a8;display:flex;align-items:center;justify-content:center;cursor:pointer}.events-search-clear:hover{background:#f1f4f8;color:#475467}.events-goat-results{margin-top:7px;max-height:205px;overflow-y:auto;border:1px solid #e2e7ef;border-radius:11px;background:#fff}.events-goat-results::-webkit-scrollbar{width:5px}.events-goat-results::-webkit-scrollbar-thumb{background:#d5dce7;border-radius:10px}.events-goat-option{width:100%;min-height:57px;box-sizing:border-box;padding:9px 10px;border:none;border-bottom:1px solid #eef1f5;background:#fff;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:.16s ease}.events-goat-option:last-child{border-bottom:none}.events-goat-option:hover{background:#f6f9fe}.events-goat-option.selected{background:#f1f6ff}.events-goat-avatar{width:36px;height:36px;flex-shrink:0;border-radius:9px;background:#eaf1fd;display:flex;align-items:center;justify-content:center;font-size:18px}.events-goat-details{flex:1;min-width:0}.events-goat-details strong{display:block;color:#263248;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.events-goat-details span{display:block;margin-top:3px;color:#8994a6;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.events-goat-arrow{flex-shrink:0;color:#a1aab8}.events-checkbox{width:22px;height:22px;flex-shrink:0;border:1.5px solid #ccd5e2;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;transition:.18s ease}.events-checkbox.checked{border-color:#1d5fd6;background:#1d5fd6}.events-selected-goat{min-height:58px;margin-top:8px;padding:9px 10px;box-sizing:border-box;border:1px solid #cfe0fb;border-radius:11px;background:#f4f8ff;display:flex;align-items:center;gap:10px}.events-selected-goat .events-goat-avatar{background:#e0ecff}.events-selected-goat .events-goat-details strong{color:#173b7a}.events-remove-goat{width:30px;height:30px;flex-shrink:0;border:none;border-radius:8px;background:#fff;color:#7d8796;display:flex;align-items:center;justify-content:center;cursor:pointer}.events-remove-goat:hover{background:#feecec;color:#dc2626}.events-selected-mass{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px;padding:9px;border:1px solid #e4e9f1;border-radius:10px;background:#fafbfd}.events-selected-chip{min-height:28px;padding:0 5px 0 9px;border:1px solid #d9e4f5;border-radius:7px;background:#eef5ff;color:#3d5e8e;display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:650}.events-selected-chip button{width:21px;height:21px;padding:0;border:none;border-radius:5px;background:transparent;color:#7d8796;display:flex;align-items:center;justify-content:center;cursor:pointer}.events-selected-chip button:hover{background:#dce9fc;color:#dc2626}.events-no-goats{min-height:125px;padding:20px 12px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.events-no-goats-icon{width:38px;height:38px;margin-bottom:8px;border-radius:10px;background:#f3f6fa;color:#8b96a7;display:flex;align-items:center;justify-content:center}.events-no-goats strong{color:#596579;font-size:11px}.events-no-goats span{max-width:270px;margin-top:4px;color:#9aa4b3;font-size:9px;line-height:1.45}.events-reminder{display:flex;align-items:flex-start;gap:10px;margin-top:17px;padding:11px 12px;border-radius:10px;background:#fff9ed;border:1px solid #f8e3b6;color:#b7791f}.events-reminder>svg{flex-shrink:0;margin-top:1px}.events-reminder strong{display:block;color:#966519;font-size:11px}.events-reminder span{display:block;margin-top:3px;color:#ad8a51;font-size:9px;line-height:1.4}.events-form-error{margin-top:15px;padding:10px 12px;border:1px solid #fecaca;border-radius:9px;background:#fff4f4;color:#b91c1c;font-size:11px}.events-save-button{width:100%;height:43px;margin-top:18px;border:none;border-radius:10px;background:#1d5fd6;color:#fff;font-size:12px;font-weight:750;cursor:pointer;transition:.2s ease}.events-save-button:hover:not(:disabled){background:#174fad;box-shadow:0 7px 18px #1d5fd62e}.events-save-button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.events-header-inner{width:calc(100% - 24px)}.events-content{width:calc(100% - 24px);padding-top:20px}.events-header-subtitle{display:none}.events-section-header{align-items:flex-start}.events-section-header h2{font-size:18px}.events-card-top{gap:10px}.events-type-badge{display:none}.events-card-actions{gap:0}.events-floating{right:16px;bottom:16px}}@media (max-width: 560px){.events-header-inner{min-height:68px}.events-header-title{font-size:18px}.events-back-icon{width:36px;height:36px}.events-content{width:calc(100% - 18px)}.events-tabs{width:100%;box-sizing:border-box}.events-tab{flex:1}.events-section-header{flex-direction:column}.events-add-button,.events-filter-button{width:100%}.events-form{max-height:calc(100vh - 20px);border-radius:14px}.events-overlay{padding:10px;align-items:flex-end}.events-form-body{max-height:calc(100vh - 155px)}.events-form-header,.events-form-body{padding:17px}.events-selection-header{align-items:flex-start;flex-direction:column}.events-select-actions{width:100%}.events-select-actions button{flex:1}.events-floating{height:42px;padding:0 14px;font-size:11px}}@media (max-width: 400px){.events-main-search{height:44px}.events-card{padding:14px}.events-event-icon{width:38px;height:38px}.events-event-main h3{font-size:13px}.events-goat-info{font-size:10px}.events-floating{right:12px;bottom:12px}}html,body,#root{width:100%;min-width:0;margin:0;padding:0}body{overflow-x:hidden}.report-page{width:100%;min-height:100vh;background:#f5f7fb;color:#172033;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.report-header{width:100%;background:linear-gradient(135deg,#142b57,#1d4386);color:#fff}.report-header-inner{width:100%;min-height:78px;margin:0;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.report-back{border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:13px;cursor:pointer;padding:8px 0}.report-header-title{text-align:left;font-size:19px;font-weight:800}.report-header-subtitle{margin-top:3px;font-size:12px;opacity:.7}.report-header-actions{display:flex;align-items:center;gap:9px}.report-icon-btn{width:40px;height:40px;border:0;border-radius:11px;background:#ffffff1a;color:#fff;display:grid;place-items:center;cursor:pointer;transition:.2s ease}.report-icon-btn:hover{background:#ffffff2e}.report-download-btn{border:0;border-radius:11px;padding:11px 15px;background:#fff;color:#17428a;display:flex;align-items:center;gap:7px;font-weight:800;cursor:pointer;transition:.2s ease}.report-download-btn:hover{transform:translateY(-1px)}.report-content{width:100%;max-width:none;margin:0;padding:30px 32px 80px}.report-intro{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.report-eyebrow,.profile-label,.section-eyebrow{color:#64748b;font-size:10px;font-weight:900;letter-spacing:1.4px}.report-intro h1{margin:7px 0 5px;color:#142b57;font-size:28px;line-height:1.15;letter-spacing:-.6px}.report-intro p{margin:0;color:#64748b;font-size:14px}.report-intro-icon{width:62px;height:62px;flex-shrink:0;border-radius:18px;background:#eaf1ff;color:#1d4ed8;display:grid;place-items:center}.goat-selector-card{position:relative;width:100%;background:#fff;border:1px solid #dce4f0;border-radius:18px;padding:17px;box-shadow:0 5px 18px #0f172a0a;margin-bottom:25px}.selector-label{display:flex;align-items:center;gap:7px;margin-bottom:9px;color:#334155;font-size:12px;font-weight:800}.selector-wrapper{position:relative;width:100%}.goat-selector{width:100%;min-height:62px;border:1px solid #d8e1ef;border-radius:13px;background:#fff;padding:8px 13px;display:flex;align-items:center;justify-content:space-between;color:#172033;cursor:pointer}.selected-goat-content{min-width:0;display:flex;align-items:center;gap:11px;text-align:left}.selected-goat-content strong,.dropdown-goat strong{display:block;color:#172033;font-size:14px}.selected-goat-content span,.dropdown-goat span{display:block;margin-top:3px;color:#64748b;font-size:12px}.placeholder-text{color:#94a3b8;font-size:14px}.mini-goat-avatar{width:43px;height:43px;flex-shrink:0;border-radius:12px;background:#eef4ff;display:grid;place-items:center;font-size:22px}.goat-dropdown{position:absolute;left:0;right:0;top:calc(100% + 7px);width:100%;max-width:100%;background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:9px;box-shadow:0 18px 40px #0f172a24;z-index:50}.dropdown-search{height:42px;border:1px solid #dce4ef;border-radius:10px;padding:0 11px;display:flex;align-items:center;gap:8px;color:#64748b}.dropdown-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#172033}.dropdown-search button{border:0;background:transparent;color:#64748b;cursor:pointer}.dropdown-list{max-height:250px;overflow-y:auto;margin-top:7px}.dropdown-goat{width:100%;border:0;border-radius:10px;background:transparent;padding:9px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left}.dropdown-goat:hover{background:#f4f7fc}.dropdown-empty{padding:30px 10px;text-align:center;color:#94a3b8;font-size:13px}.report-empty{width:100%;min-height:310px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.empty-icon{width:62px;height:62px;border-radius:18px;background:#eef4ff;color:#1d4ed8;display:grid;place-items:center;margin-bottom:15px}.report-empty h2{margin:0 0 5px;color:#142b57;font-size:18px}.report-empty p{margin:0;max-width:420px;color:#64748b;font-size:13px}.goat-profile-card{width:100%;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #dce5f2;border-radius:20px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 5px 18px #0f172a0a;margin-bottom:15px}.goat-profile-main{min-width:0;display:flex;align-items:center;gap:15px}.large-goat-avatar{width:72px;height:72px;flex-shrink:0;border-radius:19px;background:#eaf1ff;display:grid;place-items:center;font-size:37px}.goat-profile-card h2{margin:5px 0 9px;color:#142b57;font-size:24px}.profile-meta{display:flex;flex-wrap:wrap;gap:7px}.profile-meta span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;background:#f1f5f9;border-radius:8px;color:#475569;font-size:11px;font-weight:700}.profile-date{flex-shrink:0;text-align:right}.profile-date span{display:block;color:#94a3b8;font-size:9px;font-weight:900;letter-spacing:1px}.profile-date strong{display:block;margin-top:5px;color:#334155;font-size:12px}.weight-summary-grid{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.summary-card{min-width:0;background:#fff;border:1px solid #e1e8f2;border-radius:16px;padding:16px;min-height:142px;box-shadow:0 4px 14px #0f172a09}.summary-top{display:flex;align-items:center;gap:8px;color:#64748b;font-size:11px;font-weight:800}.summary-icon{width:34px;height:34px;border-radius:10px;background:#eef4ff;color:#1d4ed8;display:grid;place-items:center}.summary-value{display:block;margin-top:15px;color:#142b57;font-size:22px}.summary-card small{display:block;margin-top:5px;color:#94a3b8;font-size:11px}.summary-positive .summary-icon{background:#ecfdf5;color:#059669}.summary-positive .summary-value{color:#047857}.summary-negative .summary-icon{background:#fef2f2;color:#dc2626}.summary-negative .summary-value{color:#b91c1c}.details-card,.history-card,.report-footer-card{width:100%;background:#fff;border:1px solid #e1e8f2;border-radius:18px;padding:20px;margin-bottom:15px;box-shadow:0 4px 14px #0f172a09}.section-heading{display:flex;justify-content:space-between;gap:15px;margin-bottom:17px}.section-heading h3{margin:5px 0 0;color:#142b57;font-size:17px}.details-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e7edf5;border-radius:13px;overflow:hidden}.detail-item{min-width:0;padding:14px;border-right:1px solid #e7edf5;border-bottom:1px solid #e7edf5}.detail-item:nth-child(3n){border-right:0}.detail-item span{display:block;margin-bottom:5px;color:#94a3b8;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.detail-item strong{color:#334155;font-size:13px;word-break:break-word}.history-heading{align-items:center}.history-heading p{margin:5px 0 0;color:#94a3b8;font-size:12px}.history-count{height:fit-content;flex-shrink:0;padding:7px 10px;background:#eef4ff;color:#1d4ed8;border-radius:20px;font-size:11px;font-weight:800}.history-table-wrap{width:100%;overflow-x:auto;border:1px solid #e5ebf3;border-radius:13px;-webkit-overflow-scrolling:touch}.history-table{width:100%;border-collapse:collapse;min-width:720px}.history-table th{background:#f8fafc;padding:12px 13px;text-align:left;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.7px;white-space:nowrap}.history-table td{padding:13px;border-top:1px solid #edf1f6;color:#334155;font-size:12px}.history-table tbody tr:hover{background:#fbfdff}.row-number{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:800}.date-cell{display:flex;align-items:center;gap:7px;color:#475569;font-weight:600;white-space:nowrap}.weight-value{color:#142b57;font-size:13px;font-weight:800}.change-positive{color:#059669;font-weight:800}.change-negative{color:#dc2626;font-weight:800}.change-neutral{color:#94a3b8}.notes-cell{color:#64748b;line-height:1.4}.history-empty{min-height:180px;border:1px dashed #d8e1ed;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#94a3b8}.history-empty strong{color:#475569;font-size:13px}.history-empty span{font-size:11px}.weight-history-list{width:100%;display:flex;flex-direction:column;border:1px solid #e5ebf3;border-radius:14px;overflow:hidden;background:#fff}.weight-history-item{width:100%;display:flex;align-items:center;gap:13px;padding:15px 17px;border-bottom:1px solid #edf1f6;transition:background .2s ease}.weight-history-item:last-child{border-bottom:0}.weight-history-item:hover{background:#f8fbff}.weight-history-icon{width:40px;height:40px;flex-shrink:0;border-radius:11px;background:#eef4ff;color:#1d4ed8;display:grid;place-items:center}.weight-history-content{min-width:0;display:flex;flex-direction:column;gap:5px}.weight-history-content strong{color:#172033;font-size:14px;font-weight:800;line-height:1.35}.weight-history-content span{color:#64748b;font-size:12px;font-weight:600}.report-footer-card{display:flex;align-items:flex-start;gap:12px;background:#f8fbff;border-color:#dce9fb}.footer-icon{width:38px;height:38px;flex-shrink:0;border-radius:10px;background:#eaf1ff;color:#1d4ed8;display:grid;place-items:center}.report-footer-card strong{color:#1e3a67;font-size:12px}.report-footer-card p{margin:4px 0 0;color:#64748b;font-size:11px;line-height:1.5}@media (min-width: 1400px){.report-header-inner,.report-content{padding-left:45px;padding-right:45px}.report-intro h1{font-size:30px}.weight-summary-grid{gap:16px}}@media (max-width: 1100px){.report-header-inner{padding:0 24px}.report-content{padding:28px 24px 70px}.weight-summary-grid,.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-item:nth-child(3n){border-right:1px solid #e7edf5}.detail-item:nth-child(2n){border-right:0}}@media (max-width: 650px){.report-header-inner{min-height:68px;padding:0 14px;gap:10px}.report-header-title{font-size:16px}.report-header-subtitle{display:none}.report-header-actions{gap:6px}.report-icon-btn{width:37px;height:37px;border-radius:10px}.report-download-btn{width:37px;height:37px;padding:0;justify-content:center;border-radius:10px}.report-download-btn span{display:none}.report-content{width:100%;padding:20px 12px 60px}.report-intro{align-items:flex-start;margin-bottom:18px}.report-intro h1{font-size:23px}.report-intro p{font-size:12px;line-height:1.5}.report-intro-icon{width:50px;height:50px;border-radius:14px}.goat-selector-card{padding:13px;border-radius:15px;margin-bottom:18px}.goat-selector{min-height:56px}.selected-goat-content strong{font-size:13px}.selected-goat-content span{font-size:11px}.mini-goat-avatar{width:38px;height:38px;font-size:19px}.goat-dropdown{max-height:320px}.dropdown-list{max-height:220px}.report-empty{min-height:260px;padding:25px 18px}.goat-profile-card{padding:17px;align-items:flex-start;flex-direction:column;gap:15px;border-radius:17px}.goat-profile-main{width:100%;gap:12px}.large-goat-avatar{width:60px;height:60px;border-radius:15px;font-size:30px}.goat-profile-card h2{font-size:20px}.profile-meta{gap:5px}.profile-meta span{padding:5px 7px;font-size:10px}.profile-date{width:100%;text-align:left}.weight-summary-grid{grid-template-columns:1fr;gap:10px}.summary-card{min-height:125px}.details-card,.history-card,.report-footer-card{padding:15px;border-radius:15px}.details-grid{grid-template-columns:1fr}.detail-item,.detail-item:nth-child(2n),.detail-item:nth-child(3n){border-right:0}.section-heading{align-items:flex-start}.section-heading h3{font-size:15px}.history-heading p{font-size:11px}.history-count{font-size:10px;padding:6px 8px}.history-table{min-width:680px}.weight-history-item{padding:13px;gap:10px}.weight-history-icon{width:37px;height:37px}.weight-history-content strong{font-size:13px}.weight-history-content span{font-size:11px}.report-footer-card{gap:9px}.footer-icon{width:34px;height:34px}}@media (max-width: 400px){.report-content,.report-header-inner{padding-left:10px;padding-right:10px}.report-header-title{font-size:14px}.report-back{gap:7px}.report-intro h1{font-size:21px}.report-intro-icon{width:44px;height:44px}.goat-profile-main{align-items:flex-start}.large-goat-avatar{width:52px;height:52px;font-size:27px}.goat-profile-card h2{font-size:18px}.summary-card{padding:14px}.details-card,.history-card,.report-footer-card{padding:13px}}@media print{body{background:#fff;overflow:visible}.report-page{width:100%;background:#fff}.report-header{display:none}.report-content{width:100%;max-width:none;padding:0}.report-intro,.goat-selector-card{display:none}.print-area{width:100%}.goat-profile-card,.summary-card,.details-card,.history-card,.report-footer-card{box-shadow:none;break-inside:avoid}.goat-profile-card{border:1px solid #ddd}.history-table-wrap{overflow:visible}.history-table{min-width:0}.report-footer-card{margin-top:20px}}.medical-page{--medical-primary: #2563eb;--medical-primary-dark: #1d4ed8;--medical-primary-soft: #eff6ff;--medical-success: #16a34a;--medical-success-soft: #f0fdf4;--medical-warning: #d97706;--medical-warning-soft: #fffbeb;--medical-danger: #dc2626;--medical-danger-soft: #fef2f2;--medical-purple: #7c3aed;--medical-purple-soft: #f5f3ff;--medical-text: #172033;--medical-text-soft: #64748b;--medical-text-light: #94a3b8;--medical-border: #e2e8f0;--medical-border-light: #edf1f5;--medical-bg: #f7f9fc;--medical-card: #ffffff;--medical-radius-sm: 10px;--medical-radius-md: 14px;--medical-radius-lg: 20px;--medical-radius-xl: 26px;min-height:100vh;padding:28px;background:radial-gradient(circle at 5% 0%,rgba(37,99,235,.06),transparent 28%),#f7f9fc;color:var(--medical-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-sizing:border-box}.medical-page *,.medical-page *:before,.medical-page *:after{box-sizing:border-box}.medical-header{max-width:1500px;margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.medical-header-left{display:flex;align-items:center;gap:15px;min-width:0}.medical-back-arrow{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--medical-border);border-radius:12px;background:#fff;color:#475569;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}.medical-back-arrow:hover{transform:translate(-2px);background:#f8fafc;color:var(--medical-primary);border-color:#bfdbfe;box-shadow:0 5px 16px #0f172a12}.medical-back-arrow:active{transform:translate(-1px) scale(.97)}.medical-brand-icon{width:48px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:15px;background:linear-gradient(145deg,#3b82f6,#2563eb);box-shadow:0 9px 22px #2563eb38}.medical-eyebrow{display:block;margin-bottom:4px;font-size:10px;line-height:1;font-weight:800;letter-spacing:.14em;color:var(--medical-primary)}.medical-header h1{margin:0;font-size:28px;line-height:1.15;font-weight:800;letter-spacing:-.03em}.medical-header p{margin:5px 0 0;color:var(--medical-text-soft);font-size:13px;line-height:1.5}.medical-header-actions{display:flex;align-items:center;gap:10px}.medical-primary-btn,.medical-secondary-btn,.medical-danger-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:0 15px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.medical-primary-btn{color:#fff;border:1px solid var(--medical-primary);background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 5px 14px #2563eb2e}.medical-primary-btn:hover{transform:translateY(-1px);background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 8px 20px #2563eb40}.medical-primary-btn:active{transform:translateY(0) scale(.98)}.medical-primary-btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none;transform:none}.medical-secondary-btn{color:#334155;border:1px solid var(--medical-border);background:#fff;box-shadow:0 2px 5px #0f172a08}.medical-secondary-btn:hover{color:var(--medical-primary);border-color:#bfdbfe;background:#f8fbff;box-shadow:0 6px 16px #0f172a12;transform:translateY(-1px)}.medical-secondary-btn:active{transform:scale(.98)}.medical-danger-btn{color:#b91c1c;border:1px solid #fecaca;background:#fff}.medical-danger-btn:hover{color:#fff;background:#dc2626;border-color:#dc2626;box-shadow:0 7px 18px #dc26262e;transform:translateY(-1px)}.medical-hero{max-width:1500px;margin:0 auto 22px;min-height:215px;position:relative;overflow:hidden;display:flex;align-items:stretch;justify-content:space-between;border-radius:var(--medical-radius-xl);background:radial-gradient(circle at 85% 25%,rgba(96,165,250,.25),transparent 30%),linear-gradient(135deg,#172554,#1e3a8a 45%,#2563eb);color:#fff;box-shadow:0 18px 40px #1e40af2b}.medical-hero:after{content:"";position:absolute;width:240px;height:240px;right:-70px;bottom:-120px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 35px #ffffff09,0 0 0 70px #ffffff06}.medical-hero-content{position:relative;z-index:2;padding:34px 36px}.medical-hero-badge{width:fit-content;display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#ffffff17;font-size:11px;font-weight:700}.medical-hero h2{margin:17px 0 7px;font-size:32px;line-height:1.1;letter-spacing:-.04em}.medical-hero p{max-width:680px;margin:0;color:#ffffffc2;font-size:14px;line-height:1.7}.medical-meta-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:22px}.medical-meta-row span{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:10px;background:#ffffff17;color:#ffffffe0;font-size:11px;font-weight:650}.medical-hero-side{min-width:250px;position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:32px}.medical-live-indicator{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:#ffffff17;color:#ffffffc7;font-size:11px;font-weight:600}.medical-live-indicator span{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 4px #4ade8024}.medical-hero-total{display:flex;flex-direction:column;align-items:flex-end}.medical-hero-total strong{font-size:50px;line-height:1;font-weight:800;letter-spacing:-.05em}.medical-hero-total span{margin-top:7px;color:#ffffffa6;font-size:11px}.medical-stats-grid{max-width:1500px;margin:0 auto 22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.medical-stat-card{min-width:0;padding:17px;border:1px solid var(--medical-border);border-radius:16px;background:#ffffffeb;box-shadow:0 4px 15px #0f172a09;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.medical-stat-card:hover{transform:translateY(-2px);border-color:#d4deea;box-shadow:0 10px 25px #0f172a12}.medical-stat-top{display:flex;align-items:center;gap:9px}.medical-stat-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:10px;color:var(--medical-primary);background:var(--medical-primary-soft)}.medical-stat-label{color:#64748b;font-size:11px;font-weight:700}.medical-stat-value{margin-top:14px;font-size:27px;line-height:1;font-weight:800;letter-spacing:-.035em}.medical-stat-sub{margin-top:7px;color:#94a3b8;font-size:10px}.medical-panel{max-width:1500px;margin:0 auto 22px;overflow:visible;border:1px solid var(--medical-border);border-radius:18px;background:#fff;box-shadow:0 4px 18px #0f172a09}.medical-panel-head{min-height:74px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 15px;border-bottom:1px solid var(--medical-border-light);color:#94a3b8}.medical-panel-head>svg{flex-shrink:0;margin-top:4px}.medical-panel-kicker{display:block;margin-bottom:5px;color:var(--medical-primary);font-size:9px;line-height:1;font-weight:800;letter-spacing:.14em}.medical-panel-head h3{margin:0;color:var(--medical-text);font-size:17px;line-height:1.25;letter-spacing:-.015em}.medical-panel-head p{margin:5px 0 0;color:#94a3b8;font-size:11px;line-height:1.5}.medical-toolbar{display:flex;align-items:center;gap:10px;padding:17px 22px}.medical-search{height:44px;flex:1;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid var(--medical-border);border-radius:11px;background:#f8fafc;color:#94a3b8;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.medical-search:focus-within{border-color:#93c5fd;background:#fff;box-shadow:0 0 0 4px #2563eb14}.medical-search input{width:100%;border:0;outline:0;background:transparent;color:var(--medical-text);font-size:12px}.medical-search input::placeholder{color:#a1acbb}.medical-search button{width:27px;height:27px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:0;border-radius:8px;background:#e2e8f0;color:#64748b;cursor:pointer;transition:background .18s ease,color .18s ease}.medical-search button:hover{background:#cbd5e1;color:#334155}.medical-filter-btn{height:44px;display:inline-flex;align-items:center;gap:7px;padding:0 14px;border:1px solid var(--medical-border);border-radius:11px;background:#fff;color:#475569;font-size:12px;font-weight:700;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}.medical-filter-btn svg{transition:transform .2s ease}.medical-filter-btn.active{color:var(--medical-primary);border-color:#bfdbfe;background:#eff6ff}.medical-filter-btn.active svg{transform:rotate(180deg)}.medical-filter-btn:hover{color:var(--medical-primary);border-color:#bfdbfe;background:#f8fbff}.medical-filter-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;margin:0 22px 18px;padding:15px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff;animation:medicalFilterIn .18s ease}@keyframes medicalFilterIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.medical-page label{display:flex;flex-direction:column;gap:7px;color:#475569;font-size:11px;font-weight:700}.medical-page input,.medical-page select,.medical-page textarea{width:100%;border:1px solid #dbe2ea;border-radius:10px;background:#fff;color:#172033;outline:none;font-family:inherit;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.medical-page input,.medical-page select{height:43px;padding:0 12px;font-size:12px}.medical-page textarea{padding:11px 12px;resize:vertical;font-size:12px;line-height:1.6}.medical-page input:hover,.medical-page select:hover,.medical-page textarea:hover{border-color:#cbd5e1}.medical-page input:focus,.medical-page select:focus,.medical-page textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #2563eb12}.medical-page input::placeholder,.medical-page textarea::placeholder{color:#a1acbb}.medical-clear-filter{height:43px;padding:0 16px;border:1px solid #fecaca;border-radius:10px;background:#fff;color:#dc2626;font-size:11px;font-weight:700;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}.medical-clear-filter:hover{color:#fff;background:#dc2626;transform:translateY(-1px)}.medical-upcoming-list{padding:7px 12px 12px}.medical-upcoming-row{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 10px;border:0;border-bottom:1px solid #f1f5f9;background:transparent;text-align:left;cursor:pointer;transition:background .18s ease,transform .18s ease}.medical-upcoming-row:last-child{border-bottom:0}.medical-upcoming-row:hover{background:#f8fbff;transform:translate(2px)}.medical-upcoming-avatar{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;color:var(--medical-primary);background:#eff6ff}.medical-upcoming-info{min-width:0;display:flex;flex-direction:column;gap:3px}.medical-upcoming-info strong{overflow:hidden;color:#172033;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.medical-upcoming-info span{overflow:hidden;color:#94a3b8;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.medical-upcoming-date{padding:6px 9px;border-radius:8px;background:#f8fafc;color:#475569;font-size:10px;font-weight:700}.medical-upcoming-row>strong:last-child{color:var(--medical-primary);font-size:10px}.medical-table-wrap{width:100%;overflow-x:auto;border-radius:0 0 18px 18px}.medical-table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;font-size:11px}.medical-table th{height:45px;padding:0 13px;background:#f8fafc;color:#64748b;font-size:9px;font-weight:800;letter-spacing:.055em;text-align:left;white-space:nowrap;border-bottom:1px solid #e8edf3}.medical-table th:first-child{padding-left:22px}.medical-table th:last-child{padding-right:18px}.medical-table td{padding:13px;border-bottom:1px solid #f1f5f9;color:#475569;vertical-align:middle;line-height:1.4}.medical-table td:first-child{padding-left:22px}.medical-table tbody tr{background:#fff;transition:background .16s ease}.medical-table tbody tr:hover{background:#f8fbff}.medical-table tbody tr:last-child td{border-bottom:0}.medical-goat-button{padding:0;border:0;background:transparent;cursor:pointer;text-align:left}.medical-goat-cell{display:flex;align-items:center;gap:10px}.medical-goat-avatar{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:1px solid #dbeafe;border-radius:11px;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:var(--medical-primary);transition:transform .18s ease,box-shadow .18s ease}.medical-goat-button:hover .medical-goat-avatar{transform:scale(1.05);box-shadow:0 4px 12px #2563eb24}.medical-goat-avatar img{width:100%;height:100%;object-fit:cover}.medical-goat-cell>div:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}.medical-goat-cell strong{color:#172033;font-size:11px;font-weight:750}.medical-goat-cell span{color:#94a3b8;font-size:9px}.medical-type-pill{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;color:#4f46e5;background:#eef2ff;font-size:9px;font-weight:750;white-space:nowrap}.medical-status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;color:#15803d;background:#f0fdf4;font-size:9px;font-weight:750;white-space:nowrap}.medical-status-pill>span{width:6px;height:6px;border-radius:50%;background:#22c55e}.medical-status-pill.ongoing{color:#b45309;background:#fffbeb}.medical-status-pill.ongoing>span{background:#f59e0b}.medical-status-pill.recovered{color:#0369a1;background:#f0f9ff}.medical-status-pill.recovered>span{background:#0ea5e9}.medical-status-pill.critical{color:#b91c1c;background:#fef2f2}.medical-status-pill.critical>span{background:#ef4444}.medical-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.medical-more-btn{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;background:transparent;color:#94a3b8;cursor:pointer;transition:color .17s ease,background .17s ease,border-color .17s ease,transform .17s ease}.medical-more-btn:hover{color:var(--medical-primary);border-color:#bfdbfe;background:#eff6ff;transform:translateY(-1px)}.medical-more-btn.delete:hover{color:#dc2626;border-color:#fecaca;background:#fef2f2}.medical-goat-count{display:inline-flex;align-items:baseline;gap:3px;color:var(--medical-primary);font-size:20px;font-weight:800}.medical-goat-count span{color:#94a3b8;font-size:11px;font-weight:600}.medical-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.medical-empty-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:17px;color:var(--medical-primary);background:linear-gradient(135deg,#eff6ff,#dbeafe);margin-bottom:15px}.medical-empty h3{margin:0;color:#172033;font-size:16px}.medical-empty p{max-width:500px;margin:7px 0 17px;color:#94a3b8;font-size:11px;line-height:1.6}.medical-activity-list{padding:4px 22px 14px}.medical-activity-item{min-height:60px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #f1f5f9}.medical-activity-item:last-child{border-bottom:0}.medical-activity-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:10px;color:var(--medical-primary);background:#eff6ff}.medical-activity-content{min-width:0;flex:1}.medical-activity-content strong{display:block;overflow:hidden;color:#334155;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.medical-activity-content p{margin:3px 0 0;overflow:hidden;color:#94a3b8;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.medical-activity-item time{flex-shrink:0;color:#94a3b8;font-size:10px}.medical-modal-backdrop,.medical-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0f172a85;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:medicalBackdropIn .18s ease}@keyframes medicalBackdropIn{0%{opacity:0}to{opacity:1}}.medical-modal{position:absolute;top:50%;left:50%;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow-y:auto;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.8);border-radius:22px;background:#fff;box-shadow:0 30px 80px #0f172a38;animation:medicalModalIn .2s ease}@keyframes medicalModalIn{0%{opacity:0;transform:translate(-50%,-47%) scale(.985)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.medical-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 19px;border-bottom:1px solid #edf1f5}.medical-modal-head h2{margin:4px 0 5px;font-size:22px;letter-spacing:-.03em}.medical-modal-head p{margin:0;color:#94a3b8;font-size:11px}.medical-icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}.medical-icon-btn:hover{color:#dc2626;border-color:#fecaca;background:#fef2f2;transform:rotate(3deg)}.medical-error{margin:17px 26px 0;display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid #fecaca;border-radius:10px;color:#b91c1c;background:#fef2f2;font-size:11px;font-weight:650}.medical-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:23px 26px}.medical-full-field{grid-column:1 / -1}.medical-goat-search-wrapper{position:relative}.medical-goat-search-wrapper input{padding-left:38px;padding-right:38px}.medical-goat-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none;z-index:3}.medical-goat-search-clear{position:absolute;right:8px;top:50%;width:28px;height:28px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:#f1f5f9;color:#64748b;cursor:pointer;z-index:3}.medical-goat-search-clear:hover{color:#dc2626;background:#fee2e2}.medical-goat-results{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:50;max-height:245px;overflow-y:auto;padding:5px;border:1px solid #dbe3ed;border-radius:13px;background:#fff;box-shadow:0 18px 35px #0f172a24;animation:medicalDropdownIn .15s ease}@keyframes medicalDropdownIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.medical-goat-result{width:100%;min-height:54px;display:flex;align-items:center;gap:10px;padding:8px;border:0;border-radius:9px;background:transparent;text-align:left;cursor:pointer;transition:background .15s ease,transform .15s ease}.medical-goat-result:hover{background:#f8fbff;transform:translate(2px)}.medical-goat-result.selected{background:#eff6ff}.medical-goat-result-avatar{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border-radius:10px;background:#eff6ff;color:var(--medical-primary)}.medical-goat-result-avatar img{width:100%;height:100%;object-fit:cover}.medical-goat-result-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.medical-goat-result-info strong{color:#172033;font-size:11px}.medical-goat-result-info span{color:#94a3b8;font-size:9px}.medical-goat-result-check{color:var(--medical-primary)}.medical-goat-no-result{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#94a3b8;font-size:11px}.medical-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:16px 26px 22px;border-top:1px solid #edf1f5;background:#fafbfd}.medical-drawer-backdrop{display:flex;justify-content:flex-end}.medical-drawer{width:min(475px,100vw);height:100%;overflow-y:auto;padding:27px;background:#fff;box-shadow:-25px 0 70px #0f172a29;animation:medicalDrawerIn .23s ease}@keyframes medicalDrawerIn{0%{transform:translate(100%)}to{transform:translate(0)}}.medical-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.medical-drawer-head h2{margin:5px 0 4px;font-size:24px;letter-spacing:-.035em}.medical-drawer-head p{margin:0;color:#94a3b8;font-size:11px}.medical-drawer-goat-card{display:flex;align-items:center;gap:13px;margin-top:24px;padding:15px;border:1px solid #dbeafe;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#eff6ff)}.medical-drawer-goat-avatar{width:54px;height:54px;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border-radius:14px;background:#dbeafe;color:var(--medical-primary)}.medical-drawer-goat-avatar img{width:100%;height:100%;object-fit:cover}.medical-drawer-goat-card>div:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.medical-drawer-goat-card strong{color:#172033;font-size:14px}.medical-drawer-goat-card span{color:#64748b;font-size:11px}.medical-drawer-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}.medical-drawer-info-grid>div{min-height:70px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px;border:1px solid #edf1f5;border-radius:12px;background:#fafbfd}.medical-drawer-info-grid span{color:#94a3b8;font-size:9px;font-weight:700}.medical-drawer-info-grid strong{color:#334155;font-size:11px}.medical-drawer-section{margin-top:24px}.medical-drawer-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#94a3b8}.medical-drawer-section-head h3{margin:4px 0 0;color:#172033;font-size:14px}.medical-drawer-empty{padding:14px;border:1px solid #edf1f5;border-radius:12px;background:#fafbfd;color:#64748b;font-size:11px;line-height:1.6}.medical-drawer-history{display:flex;flex-direction:column;overflow:hidden;border:1px solid #edf1f5;border-radius:12px}.medical-drawer-history-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer;transition:background .16s ease,padding .16s ease}.medical-drawer-history-row:last-child{border-bottom:0}.medical-drawer-history-row:hover{padding-left:15px;background:#f8fbff}.medical-drawer-history-row>div{min-width:0;display:flex;flex-direction:column;gap:3px}.medical-drawer-history-row strong{color:#334155;font-size:11px}.medical-drawer-history-row div span{overflow:hidden;color:#94a3b8;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.medical-drawer-history-row>span{flex-shrink:0;color:#94a3b8;font-size:9px}.medical-drawer-actions{display:flex;gap:9px;margin-top:26px;padding-top:18px;border-top:1px solid #edf1f5}.medical-drawer-actions button{flex:1}.medical-page ::-webkit-scrollbar{width:7px;height:7px}.medical-page ::-webkit-scrollbar-track{background:transparent}.medical-page ::-webkit-scrollbar-thumb{border-radius:999px;background:#cbd5e1}.medical-page ::-webkit-scrollbar-thumb:hover{background:#94a3b8}.medical-page button:focus-visible,.medical-page input:focus-visible,.medical-page select:focus-visible,.medical-page textarea:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}@media (max-width: 1250px){.medical-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 900px){.medical-page{padding:20px}.medical-header{align-items:flex-start;flex-direction:column}.medical-header-actions{width:100%}.medical-header-actions button{flex:1}.medical-hero{min-height:auto}.medical-hero-side{min-width:190px}.medical-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.medical-clear-filter{width:100%}}@media (max-width: 700px){.medical-page{padding:14px}.medical-header-left{width:100%}.medical-header h1{font-size:24px}.medical-header p{font-size:11px}.medical-header-actions{flex-direction:column}.medical-header-actions button{width:100%}.medical-hero{flex-direction:column}.medical-hero-content{padding:25px}.medical-hero h2{font-size:27px}.medical-hero-side{min-width:0;align-items:flex-start;padding:0 25px 25px}.medical-hero-total{align-items:flex-start}.medical-hero-total strong{font-size:38px}.medical-meta-row{align-items:stretch;flex-direction:column}.medical-meta-row span{width:fit-content}.medical-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.medical-stat-card{padding:14px}.medical-stat-value{font-size:24px}.medical-panel-head{padding:17px}.medical-toolbar{align-items:stretch;flex-direction:column;padding:14px 17px}.medical-filter-btn{width:100%}.medical-filter-panel{grid-template-columns:1fr;margin:0 17px 15px}.medical-upcoming-row{grid-template-columns:38px minmax(0,1fr);align-items:center}.medical-upcoming-date{grid-column:2;width:fit-content}.medical-upcoming-row>strong:last-child{display:none}.medical-activity-list{padding-left:17px;padding-right:17px}.medical-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:18px}.medical-modal-head{padding:19px}.medical-form-grid{grid-template-columns:1fr;padding:19px}.medical-full-field{grid-column:auto}.medical-modal-actions{padding:14px 19px 18px}.medical-drawer{width:100%;padding:20px}}@media (max-width: 450px){.medical-brand-icon{width:42px;height:42px}.medical-back-arrow{width:38px;height:38px}.medical-stats-grid{grid-template-columns:1fr 1fr}.medical-stat-label,.medical-stat-sub{font-size:9px}.medical-drawer-info-grid{grid-template-columns:1fr 1fr}.medical-drawer-actions{flex-direction:column}.medical-modal-actions{flex-direction:column-reverse}.medical-modal-actions button{width:100%}}.farm-setup-page{width:100%;min-height:100vh;background:radial-gradient(circle at top right,rgba(37,99,235,.08),transparent 30%),linear-gradient(180deg,#f8faff,#eef4ff);color:#0f172a;padding-bottom:50px}.farm-setup-page *,.farm-setup-page *:before,.farm-setup-page *:after{box-sizing:border-box}.farm-setup-page button,.farm-setup-page input,.farm-setup-page textarea,.farm-setup-page select{font-family:inherit}.farm-setup-page button:focus-visible,.farm-setup-page input:focus-visible,.farm-setup-page textarea:focus-visible,.farm-setup-page select:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.farm-setup-header{width:100%;min-height:88px;padding:18px 32px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:30;box-shadow:0 8px 30px #0f172a0d}.farm-header-left{display:flex;align-items:center;gap:14px;min-width:0}.farm-header-left>div:last-child{min-width:0}.farm-header-left>div:last-child>span{display:block;font-size:10px;letter-spacing:1.6px;font-weight:800;color:#2563eb}.farm-header-left h1{margin:2px 0 0;font-size:23px;line-height:1.2}.farm-header-left p{margin:4px 0 0;font-size:12px;color:#64748b}.farm-back-btn{width:42px;height:42px;min-width:42px;border-radius:13px;border:1px solid #e2e8f0;background:#fff;color:#334155;display:grid;place-items:center;cursor:pointer;transition:all .2s ease}.farm-back-btn:hover{background:#eff6ff;color:#2563eb;transform:translate(-2px)}.farm-header-icon{width:46px;height:46px;min-width:46px;border-radius:15px;display:grid;place-items:center;color:#2563eb;background:#eff6ff}.farm-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.farm-live-pill{display:flex;align-items:center;gap:7px;padding:10px 13px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:700;white-space:nowrap}.farm-live-pill span{width:7px;height:7px;min-width:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #10b9811f}.farm-save-btn{min-height:42px;padding:0 16px;border:none;border-radius:12px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:13px;cursor:pointer;box-shadow:0 10px 25px #2563eb33;transition:all .2s ease}.farm-save-btn:hover{transform:translateY(-1px);box-shadow:0 14px 30px #2563eb40}.farm-save-btn:active{transform:translateY(0)}.farm-save-message{position:fixed;right:24px;top:105px;z-index:50;display:flex;align-items:center;gap:9px;padding:13px 17px;border-radius:13px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;box-shadow:0 15px 35px #0f172a1f;font-size:13px;font-weight:700}.farm-setup-container{width:100%;max-width:none;margin:0;padding:30px 32px 50px;box-sizing:border-box}.farm-control-hero{width:100%;min-height:220px;padding:32px 36px;border-radius:25px;background:radial-gradient(circle at 90% 10%,rgba(96,165,250,.3),transparent 30%),linear-gradient(135deg,#0f2f73,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:0 25px 55px #1e40af33;box-sizing:border-box}.farm-control-hero>div:first-child{min-width:0;flex:1}.farm-hero-badge{width:fit-content;display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#ffffff1f;border:1px solid rgba(255,255,255,.16);font-size:10px;letter-spacing:1.1px;font-weight:800}.farm-control-hero h2{margin:15px 0 7px;font-size:32px;line-height:1.15}.farm-control-hero p{max-width:750px;margin:0;color:#ffffffc7;line-height:1.7;font-size:14px}.farm-health-score{min-width:250px;padding:20px;border-radius:20px;background:#ffffff1a;border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;gap:16px;box-sizing:border-box}.farm-score-ring{width:88px;height:88px;min-width:88px;border-radius:50%;border:7px solid rgba(255,255,255,.18);outline:3px solid rgba(255,255,255,.5);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box}.farm-score-ring strong{font-size:25px;line-height:1}.farm-score-ring span{margin-top:4px;font-size:10px;opacity:.7}.farm-health-score>div:last-child{display:flex;flex-direction:column;gap:5px}.farm-health-score>div:last-child span{font-size:9px;letter-spacing:1px;opacity:.7}.farm-health-score>div:last-child strong{font-size:16px}.farm-stats-grid{width:100%;margin-top:20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.farm-stat-card{min-width:0;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;display:flex;align-items:center;gap:13px;box-shadow:0 10px 30px #0f172a0d;box-sizing:border-box}.farm-stat-icon{width:46px;height:46px;min-width:46px;border-radius:13px;display:grid;place-items:center;background:#eff6ff;color:#2563eb;flex-shrink:0}.farm-stat-content{min-width:0;display:flex;flex-direction:column}.farm-stat-content span{font-size:11px;color:#64748b}.farm-stat-content strong{margin-top:2px;font-size:25px;line-height:1.2}.farm-stat-content small{margin-top:3px;color:#94a3b8;font-size:10px}.farm-tab-bar{width:100%;margin-top:24px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:6px;display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;box-sizing:border-box}.farm-tab-bar::-webkit-scrollbar{height:4px}.farm-tab-bar button{border:none;background:transparent;color:#64748b;padding:11px 18px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:7px;font-family:inherit;font-weight:700;font-size:12px;white-space:nowrap;cursor:pointer;transition:all .2s ease;flex-shrink:0}.farm-tab-bar button:hover{background:#f8fafc;color:#2563eb}.farm-tab-bar button.active{background:#eff6ff;color:#2563eb}.farm-content-grid{width:100%;margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.farm-panel{width:100%;min-width:0;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:24px;box-shadow:0 12px 35px #0f172a0d;box-sizing:border-box}.farm-large-panel{width:100%;margin-top:20px}.farm-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.farm-panel-head>div:first-child{min-width:0}.farm-panel-head>div:first-child>span{display:block;color:#2563eb;font-size:9px;font-weight:800;letter-spacing:1.4px}.farm-panel-head h3{margin:5px 0;font-size:18px}.farm-panel-head p{margin:0;color:#64748b;font-size:12px;line-height:1.5}.farm-panel-icon{width:42px;height:42px;min-width:42px;border-radius:13px;display:grid;place-items:center;color:#2563eb;background:#eff6ff}.farm-alert-list{display:flex;flex-direction:column;gap:10px}.farm-alert{padding:14px;border-radius:14px;display:flex;align-items:flex-start;gap:11px;border:1px solid transparent;box-sizing:border-box}.farm-alert.critical{background:#fff1f2;border-color:#fecdd3;color:#be123c}.farm-alert.warning{background:#fffbeb;border-color:#fde68a;color:#b45309}.farm-alert.info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.farm-alert-icon{width:32px;height:32px;min-width:32px;border-radius:10px;display:grid;place-items:center;background:#ffffffb3;flex-shrink:0}.farm-alert strong{display:block;font-size:12px}.farm-alert p{margin:3px 0 0;font-size:11px;line-height:1.5;opacity:.85}.farm-no-alert{padding:35px 15px;border-radius:15px;background:#ecfdf5;color:#047857;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.farm-no-alert strong{font-size:13px}.farm-no-alert span{font-size:11px}.farm-device-card{padding:16px;border-radius:15px;background:#f8fafc;border:1px solid #e2e8f0;box-sizing:border-box}.farm-device-status{display:flex;align-items:center;gap:10px}.farm-device-dot{width:10px;height:10px;min-width:10px;background:#10b981;border-radius:50%;box-shadow:0 0 0 5px #10b9811a}.farm-device-status>div:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}.farm-device-status strong{font-size:13px}.farm-device-status span{margin-top:3px;color:#94a3b8;font-size:10px}.farm-device-status b{color:#047857;font-size:11px;white-space:nowrap}.farm-device-info{margin-top:16px;padding-top:14px;border-top:1px solid #e2e8f0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.farm-device-info div{display:flex;flex-direction:column;gap:4px}.farm-device-info span{color:#94a3b8;font-size:10px}.farm-device-info strong{font-size:12px}.farm-outline-btn{width:100%;margin-top:14px;padding:11px 13px;border-radius:11px;border:1px solid #dbeafe;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:space-between;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;transition:all .2s ease}.farm-outline-btn:hover{background:#dbeafe}.farm-herd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.farm-herd-grid>div{padding:17px 8px;text-align:center;background:#f8fafc;border-radius:13px}.farm-herd-grid strong{display:block;font-size:22px}.farm-herd-grid span{display:block;margin-top:4px;color:#64748b;font-size:10px}.farm-shed-summary{padding:20px;background:#f8fafc;border-radius:14px;display:flex;align-items:center;gap:12px}.farm-shed-summary strong{font-size:30px}.farm-shed-summary span{color:#64748b;font-size:12px}.farm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.farm-form-grid label{display:flex;flex-direction:column;gap:7px;color:#334155;font-size:11px;font-weight:700}.farm-form-grid input,.farm-form-grid textarea,.farm-form-grid select{width:100%;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:11px;padding:12px 13px;outline:none;background:#fff;color:#0f172a;font-family:inherit;font-size:13px;transition:all .2s ease}.farm-form-grid textarea{min-height:100px;resize:vertical}.farm-form-grid input:focus,.farm-form-grid textarea:focus,.farm-form-grid select:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #2563eb14}.farm-form-grid input:disabled,.farm-form-grid textarea:disabled,.farm-form-grid select:disabled{background:#f8fafc;color:#64748b;cursor:not-allowed}.farm-full-field{grid-column:1 / -1}.farm-form-actions{margin-top:22px;padding-top:18px;border-top:1px solid #eef2f7;display:flex;justify-content:flex-end}.farm-small-btn{border:1px solid #dbeafe;background:#eff6ff;color:#2563eb;padding:9px 13px;border-radius:10px;display:flex;align-items:center;gap:7px;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer;transition:all .2s ease}.farm-small-btn:hover{background:#dbeafe}.farm-reminder-list{display:flex;flex-direction:column}.farm-reminder-row{padding:17px 0;border-bottom:1px solid #eef2f7;display:flex;align-items:center;gap:13px}.farm-reminder-row:last-child{border-bottom:none}.farm-reminder-icon{width:42px;height:42px;min-width:42px;border-radius:13px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;flex-shrink:0}.farm-reminder-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.farm-reminder-info strong{font-size:13px}.farm-reminder-info span{color:#64748b;font-size:11px}.farm-reminder-controls{display:flex;align-items:center;gap:15px;flex-shrink:0}.farm-reminder-controls label{display:flex;align-items:center;gap:7px;color:#64748b;font-size:10px;white-space:nowrap}.farm-reminder-controls input{width:55px;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:8px;padding:7px;text-align:center;outline:none}.farm-toggle{width:43px;height:24px;border:none;border-radius:999px;background:#cbd5e1;padding:3px;cursor:pointer;transition:all .2s ease;flex-shrink:0;box-sizing:border-box}.farm-toggle span{display:block;width:18px;height:18px;background:#fff;border-radius:50%;transition:all .2s ease;box-shadow:0 2px 5px #00000026}.farm-toggle.active{background:#2563eb}.farm-toggle.active span{transform:translate(19px)}.farm-reminder-note{margin-top:20px;padding:14px;border-radius:13px;background:#eff6ff;color:#1d4ed8;display:flex;gap:10px}.farm-reminder-note>div{display:flex;flex-direction:column;gap:4px}.farm-reminder-note strong{font-size:11px}.farm-reminder-note span{font-size:10px;line-height:1.5;color:#64748b}.farm-preference-row{margin-top:12px;padding:15px;border:1px solid #eef2f7;border-radius:14px;display:flex;align-items:center;gap:12px;box-sizing:border-box}.farm-preference-icon{width:40px;height:40px;min-width:40px;border-radius:12px;background:#f8fafc;color:#2563eb;display:grid;place-items:center;flex-shrink:0}.farm-preference-row>div:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.farm-preference-row strong{font-size:12px}.farm-preference-row span{color:#64748b;font-size:10px}.farm-check{color:#10b981;flex-shrink:0}@media (max-width: 1200px){.farm-setup-container{padding-left:24px;padding-right:24px}.farm-control-hero{padding:28px}.farm-health-score{min-width:230px}}@media (max-width: 900px){.farm-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.farm-content-grid{grid-template-columns:1fr}.farm-control-hero{align-items:flex-start;flex-direction:column}.farm-control-hero>div:first-child{width:100%}.farm-health-score{width:100%;box-sizing:border-box}}@media (max-width: 680px){.farm-setup-header{min-height:auto;padding:14px 15px;align-items:flex-start}.farm-header-actions{flex-direction:column;align-items:flex-end}.farm-live-pill,.farm-header-left p{display:none}.farm-setup-container{padding:18px 12px 40px}.farm-control-hero{padding:22px;border-radius:20px}.farm-control-hero h2{font-size:26px}.farm-control-hero p{font-size:13px}.farm-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.farm-stat-card{padding:13px}.farm-stat-icon{width:38px;height:38px;min-width:38px}.farm-stat-content strong{font-size:20px}.farm-tab-bar{border-radius:13px}.farm-form-grid{grid-template-columns:1fr}.farm-full-field{grid-column:auto}.farm-reminder-row{align-items:flex-start;flex-wrap:wrap}.farm-reminder-controls{width:100%;justify-content:flex-end}.farm-herd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.farm-panel{padding:17px;border-radius:17px}.farm-save-message{left:15px;right:15px;top:90px}.farm-device-info{grid-template-columns:1fr 1fr}}@media (max-width: 460px){.farm-header-left{gap:9px}.farm-header-left h1{font-size:18px}.farm-header-icon{display:none}.farm-back-btn{width:38px;height:38px;min-width:38px}.farm-header-left>div:last-child>span{font-size:8px;letter-spacing:1px}.farm-save-btn{min-height:38px;padding:0 11px;font-size:11px}.farm-stats-grid{grid-template-columns:1fr}.farm-health-score{min-width:0;padding:14px}.farm-score-ring{width:72px;height:72px;min-width:72px;border-width:6px}.farm-score-ring strong{font-size:21px}.farm-reminder-controls{justify-content:space-between}.farm-device-info{grid-template-columns:1fr}.farm-panel-head{gap:10px}.farm-panel-head h3{font-size:16px}}@media (max-width: 360px){.farm-setup-header{padding:12px 10px}.farm-header-left h1{font-size:16px}.farm-save-btn span{display:none}.farm-control-hero{padding:18px}.farm-control-hero h2{font-size:23px}.farm-panel{padding:14px}.farm-reminder-controls{gap:8px}}.weighing-page{min-height:100vh;background:radial-gradient(circle at 10% 0%,rgba(37,99,235,.08),transparent 30%),radial-gradient(circle at 90% 10%,rgba(14,165,233,.08),transparent 28%),linear-gradient(180deg,#f8fbff,#eef5ff);color:#0f172a;padding-bottom:50px}.weighing-header{max-width:1240px;margin:0 auto;padding:26px 24px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.weighing-header-left{display:flex;align-items:center;gap:14px}.weighing-back-btn{width:44px;height:44px;flex-shrink:0;border:1px solid #dbeafe;border-radius:14px;background:#ffffffe6;color:#2563eb;display:grid;place-items:center;cursor:pointer;transition:all .2s ease;box-shadow:0 8px 25px #0f172a0f}.weighing-back-btn:hover{transform:translate(-3px);background:#eff6ff;border-color:#bfdbfe}.weighing-header-icon{width:52px;height:52px;flex-shrink:0;border-radius:17px;background:linear-gradient(135deg,#dbeafe,#e0f2fe);color:#2563eb;display:grid;place-items:center;box-shadow:0 10px 25px #2563eb1f}.weighing-eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:1.5px;color:#2563eb}.weighing-header h1{margin:4px 0 0;font-size:26px;line-height:1.1;font-weight:900;color:#0f172a}.weighing-header p{margin:6px 0 0;color:#64748b;font-size:13px}.scale-status{display:flex;align-items:center;gap:8px;padding:10px 15px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid transparent}.scale-status.connected{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.scale-status.disconnected{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.weighing-container{width:100%;max-width:1240px;margin:0 auto;padding:5px 24px 50px;box-sizing:border-box}.weighing-hero{position:relative;overflow:hidden;min-height:270px;border-radius:30px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:linear-gradient(135deg,#0f2f73,#1d4ed8 52%,#2563eb);color:#fff;box-shadow:0 25px 60px #2563eb38}.weighing-hero:before{content:"";position:absolute;width:300px;height:300px;right:-90px;top:-130px;border-radius:50%;background:#ffffff12}.weighing-hero:after{content:"";position:absolute;width:180px;height:180px;left:42%;bottom:-130px;border-radius:50%;background:#ffffff0d}.weighing-hero-content{position:relative;z-index:2;max-width:580px}.hero-badge{width:fit-content;display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#ffffff1f;border:1px solid rgba(255,255,255,.15);font-size:10px;font-weight:900;letter-spacing:1px}.weighing-hero h2{margin:18px 0 10px;font-size:clamp(34px,5vw,48px);line-height:1.02;font-weight:900;letter-spacing:-1.5px}.weighing-hero p{margin:0;max-width:520px;color:#ffffffbd;font-size:14px;line-height:1.7}.hero-scale-visual{position:relative;z-index:2;min-width:270px;display:flex;align-items:center;gap:16px;padding:20px;border-radius:22px;background:#ffffff1a;border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.scale-circle{width:65px;height:65px;flex-shrink:0;border-radius:20px;display:grid;place-items:center;background:#ffffff26}.hero-scale-visual span{display:block;font-size:9px;letter-spacing:1.2px;color:#fff9;font-weight:800}.hero-scale-visual strong{display:block;margin-top:5px;font-size:14px}.weighing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.weight-stat-card{min-height:92px;padding:18px;box-sizing:border-box;background:#ffffffe6;border:1px solid #e2e8f0;border-radius:20px;display:flex;align-items:center;gap:13px;box-shadow:0 12px 35px #0f172a0d}.weight-stat-icon{width:46px;height:46px;flex-shrink:0;border-radius:14px;display:grid;place-items:center}.weight-stat-icon.blue{background:#dbeafe;color:#2563eb}.weight-stat-icon.green{background:#dcfce7;color:#16a34a}.weight-stat-icon.purple{background:#f3e8ff;color:#9333ea}.weight-stat-card span{display:block;font-size:11px;color:#64748b;font-weight:700}.weight-stat-card strong{display:block;margin-top:4px;font-size:19px;font-weight:900;color:#0f172a}.weighing-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;margin-top:18px}.weighing-panel{min-width:0;box-sizing:border-box;background:#fffffff2;border:1px solid #e2e8f0;border-radius:25px;padding:25px;box-shadow:0 15px 45px #0f172a0f}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:25px}.panel-heading span{display:block;font-size:9px;letter-spacing:1.4px;color:#2563eb;font-weight:900}.panel-heading h3{margin:5px 0;font-size:19px;font-weight:900;color:#0f172a}.panel-heading p{margin:0;color:#64748b;font-size:12px;line-height:1.5}.panel-icon{width:43px;height:43px;flex-shrink:0;border-radius:13px;display:grid;place-items:center;background:#eff6ff;color:#2563eb}.field-group{position:relative;margin-bottom:18px}.field-group label{display:block;margin-bottom:8px;font-size:11px;font-weight:800;color:#334155}.field-group input,.field-group select{width:100%;height:48px;box-sizing:border-box;padding:0 14px;border-radius:13px;border:1px solid #dbe3ef;background:#f8fafc;color:#0f172a;outline:none;font-size:13px;transition:all .2s ease}.field-group input:focus,.field-group select:focus{background:#fff;border-color:#60a5fa;box-shadow:0 0 0 4px #2563eb14}.goat-search-wrapper{position:relative;width:100%;max-width:100%;box-sizing:border-box;display:block}.goat-search-wrapper input{display:block;width:100%;max-width:100%;height:48px;box-sizing:border-box;padding-left:43px;padding-right:14px}.goat-search-results{position:absolute;top:calc(100% + 7px);left:0;right:auto;width:100%;max-width:100%;box-sizing:border-box;max-height:230px;overflow-y:auto;overflow-x:hidden;margin:0;padding:6px;background:#fff;border:1px solid #dbe3ef;border-radius:14px;box-shadow:0 16px 35px #0f172a1f,0 4px 12px #0f172a0d;z-index:9999}.goat-search-result{width:100%;max-width:100%;min-width:0;min-height:56px;box-sizing:border-box;border:none;outline:none;background:transparent;padding:8px 9px;margin:0;border-radius:10px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:background .15s ease}.goat-search-result:hover{background:#eff6ff}.goat-search-result:active{background:#dbeafe}.goat-result-avatar,.goat-search-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#e0f2fe);color:#2563eb;font-size:13px;font-weight:900}.goat-result-info,.goat-search-info{flex:1;min-width:0;max-width:100%;overflow:hidden}.goat-result-info strong,.goat-search-info strong{display:block;font-size:12px;line-height:1.3;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goat-result-info span,.goat-search-info span{display:block;margin-top:3px;color:#64748b;font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select-goat-text{flex:0 0 auto;padding:5px 8px;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:9px;font-weight:800}.goat-search-empty{width:100%;max-width:100%;box-sizing:border-box;min-height:105px;padding:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#94a3b8}.goat-search-empty svg{margin-bottom:7px;color:#94a3b8}.goat-search-empty strong{font-size:12px;color:#475569}.goat-search-empty span{max-width:270px;margin-top:4px;font-size:10px;line-height:1.5;color:#94a3b8}.goat-not-found{width:100%;box-sizing:border-box;padding:18px;text-align:center;color:#64748b;font-size:12px}.goat-search-results::-webkit-scrollbar{width:5px}.goat-search-results::-webkit-scrollbar-track{background:transparent}.goat-search-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.goat-search-results{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.selected-goat-card{width:100%;box-sizing:border-box;margin-top:10px;padding:14px;border-radius:17px;background:linear-gradient(135deg,#eff6ff,#f8fbff);border:1px solid #bfdbfe;display:flex;align-items:center;justify-content:space-between;gap:12px}.selected-goat-left{display:flex;align-items:center;gap:11px;min-width:0}.selected-goat-avatar{width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#2563eb;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:900}.selected-goat-info{min-width:0}.selected-goat-info strong{display:block;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-goat-info span{display:block;margin-top:3px;font-size:10px;color:#64748b}.change-goat-btn{flex-shrink:0;border:1px solid #bfdbfe;background:#fff;color:#2563eb;border-radius:9px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.weight-input-section{display:flex;align-items:flex-end;gap:10px}.weight-input-section .field-group{flex:1;min-width:0;margin-bottom:0}.weight-input-wrapper{width:100%;display:flex;border:1px solid #dbe3ef;border-radius:13px;overflow:hidden;background:#f8fafc;transition:all .2s ease}.weight-input-wrapper:focus-within{background:#fff;border-color:#60a5fa;box-shadow:0 0 0 4px #2563eb14}.weight-input-wrapper input{flex:1;min-width:0;border:none;border-radius:0;box-shadow:none;background:transparent}.weight-input-wrapper input:focus{box-shadow:none}.weight-input-wrapper select{width:80px;flex:0 0 80px;border:none;border-left:1px solid #e2e8f0;border-radius:0;background:#fff;font-weight:800}.read-scale-btn{height:48px;flex-shrink:0;padding:0 15px;border:1px solid #bfdbfe;border-radius:13px;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer;transition:all .2s ease}.read-scale-btn:hover:not(:disabled){background:#dbeafe;transform:translateY(-1px)}.read-scale-btn:disabled{opacity:.5;cursor:not-allowed}.weight-message{margin-top:15px;padding:11px 13px;border-radius:11px;background:#fff7ed;border:1px solid #fed7aa;color:#c2410c;font-size:11px;font-weight:700}.weight-message.success{background:#ecfdf5;border-color:#bbf7d0;color:#047857}.save-weight-btn{width:100%;height:50px;margin-top:18px;border:none;border-radius:14px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 12px 25px #2563eb33;transition:all .2s ease}.save-weight-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 32px #2563eb47}.save-weight-btn:disabled{opacity:.6;cursor:not-allowed}.device-card{width:100%;box-sizing:border-box;padding:18px;border-radius:18px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0}.device-top{display:flex;align-items:center;gap:11px}.device-status-icon{width:45px;height:45px;flex-shrink:0;border-radius:14px;display:grid;place-items:center;background:#dbeafe;color:#2563eb}.device-top strong{display:block;font-size:13px}.device-top span{display:block;margin-top:3px;color:#64748b;font-size:10px}.device-dot{width:9px;height:9px;margin-left:auto;flex-shrink:0;border-radius:50%;background:#ef4444}.device-dot.active{background:#10b981;box-shadow:0 0 0 5px #10b9811a}.device-details{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.device-details>div{min-width:0;padding:11px;border-radius:11px;background:#fff;border:1px solid #e2e8f0}.device-details span{display:block;font-size:8px;letter-spacing:.8px;color:#94a3b8;font-weight:900}.device-details strong{display:block;margin-top:4px;font-size:11px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-btn{width:100%;height:44px;margin-top:15px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer;transition:all .2s ease}.connection-btn:hover{background:#f8fafc;border-color:#94a3b8}.scale-tip{margin-top:15px;padding:14px;display:flex;gap:11px;border-radius:16px;background:#eff6ff;border:1px solid #bfdbfe}.tip-icon{width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#dbeafe;color:#2563eb;display:grid;place-items:center}.scale-tip strong{font-size:11px;color:#1e3a8a}.scale-tip p{margin:4px 0 0;color:#64748b;font-size:10px;line-height:1.5}.recent-panel{margin-top:18px}.empty-weight-state{min-height:190px;border:1px dashed #cbd5e1;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f8fafc}.empty-icon{width:52px;height:52px;border-radius:16px;background:#e0f2fe;color:#0284c7;display:grid;place-items:center;margin-bottom:12px}.empty-weight-state strong{font-size:13px;color:#334155}.empty-weight-state span{margin-top:5px;color:#94a3b8;font-size:11px}.weight-table{width:100%;overflow:hidden;border:1px solid #e2e8f0;border-radius:16px}.weight-table-head,.weight-table-row{display:grid;grid-template-columns:1.5fr .7fr .8fr 1fr;align-items:center;gap:12px;padding:13px 15px}.weight-table-head{background:#f8fafc;color:#64748b;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.7px}.weight-table-row{min-height:62px;border-top:1px solid #f1f5f9;font-size:11px;color:#64748b;background:#fff}.weight-table-row:hover{background:#f8fbff}.goat-cell{display:flex;align-items:center;gap:10px;min-width:0}.goat-avatar{width:36px;height:36px;flex-shrink:0;border-radius:11px;background:linear-gradient(135deg,#dbeafe,#e0f2fe);color:#2563eb;display:grid;place-items:center;font-size:12px;font-weight:900}.goat-cell strong{color:#334155;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.weight-table-row>strong{color:#0f172a;font-size:12px}@media (max-width: 900px){.weighing-content{grid-template-columns:1fr}.hero-scale-visual{min-width:auto}}@media (max-width: 700px){.weighing-container,.weighing-header{padding-left:14px;padding-right:14px}.weighing-hero{padding:25px;flex-direction:column;align-items:flex-start}.hero-scale-visual{width:100%;min-width:0;box-sizing:border-box}.weighing-stats{grid-template-columns:1fr}.weight-input-section{flex-direction:column;align-items:stretch}.read-scale-btn{width:100%;justify-content:center}.weight-table{overflow-x:auto}.weight-table-head,.weight-table-row{min-width:620px}.goat-search-results{left:0;right:auto;width:100%;max-width:100%;max-height:210px}}@media (max-width: 480px){.weighing-header-left{align-items:flex-start}.weighing-header h1{font-size:22px}.weighing-header-icon{display:none}.weighing-hero h2{font-size:34px}.weighing-panel{padding:18px;border-radius:20px}.device-details{grid-template-columns:1fr}.goat-search-results{left:0;width:100%;max-width:100%;max-height:190px}.goat-search-result{padding:8px}.select-goat-text{display:none}}.subscription-page{min-height:100vh;width:100%;background:radial-gradient(circle at 50% -10%,rgba(59,130,246,.14),transparent 40%),linear-gradient(180deg,#f8fbff,#eef4ff 48%,#f8fafc);padding:24px 18px 60px;box-sizing:border-box}.subscription-container{width:100%;max-width:1020px;margin:0 auto}.subscription-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:38px}.subscription-back{border:1px solid #e2e8f0;background:#ffffffeb;color:#1e3a8a;min-height:42px;padding:0 14px;border-radius:12px;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:750;cursor:pointer;box-shadow:0 8px 24px #0f172a0d;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.subscription-back:hover{transform:translateY(-1px);background:#fff;box-shadow:0 12px 28px #0f172a14}.secure-label{display:flex;align-items:center;gap:6px;color:#64748b;font-size:12px;font-weight:700}.subscription-hero{text-align:center;max-width:720px;margin:0 auto 30px}.hero-badge{width:fit-content;max-width:100%;margin:0 auto 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-radius:999px;background:#2563eb14;border:1px solid rgba(37,99,235,.12);color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.2px}.subscription-hero h1{margin:0;color:#0f172a;font-size:clamp(32px,5vw,50px);line-height:1.08;font-weight:900;letter-spacing:-1.8px}.subscription-hero h1 span{display:inline;background:linear-gradient(135deg,#2563eb,#4f46e5);-webkit-background-clip:text;background-clip:text;color:transparent}.subscription-hero p{max-width:600px;margin:14px auto 0;color:#64748b;font-size:14px;line-height:1.75}.subscription-status-card{position:relative;display:flex;align-items:center;gap:13px;padding:15px 17px;margin-bottom:18px;background:#ffffffe0;border:1px solid rgba(226,232,240,.9);border-radius:18px;box-shadow:0 12px 35px #0f172a0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.status-icon{width:43px;height:43px;flex-shrink:0;border-radius:13px;display:grid;place-items:center}.status-trial{background:#dcfce7;color:#15803d}.status-paid{background:#dbeafe;color:#1d4ed8}.status-expired{background:#fee2e2;color:#dc2626}.status-content{min-width:0;flex:1}.status-label{color:#64748b;font-size:9px;font-weight:850;letter-spacing:.8px}.status-title{margin-top:3px;color:#0f172a;font-size:13px;font-weight:800}.status-days{display:flex;align-items:center;gap:5px;margin-top:4px;color:#64748b;font-size:11px}.status-pill{flex-shrink:0;padding:7px 10px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.4px}.plan-wrapper{position:relative;margin-top:20px}.plan-glow{position:absolute;width:65%;height:100%;left:17.5%;top:12px;background:linear-gradient(135deg,#2563eb33,#4f46e51f);filter:blur(45px);border-radius:50%;pointer-events:none}.plan-card{position:relative;z-index:2;overflow:hidden;background:#fff;border:1px solid #dbeafe;border-radius:28px;box-shadow:0 30px 80px #1e3a8a1f}.plan-header{padding:25px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff;background:linear-gradient(135deg,#172554,#1e3a8a 45%,#2563eb)}.plan-header-left{display:flex;align-items:center;gap:13px;min-width:0}.plan-icon{width:48px;height:48px;flex-shrink:0;border-radius:15px;display:grid;place-items:center;color:#fff;background:#ffffff21;border:1px solid rgba(255,255,255,.15);box-shadow:inset 0 1px #ffffff1a}.plan-small-title{margin-bottom:3px;font-size:9px;font-weight:850;letter-spacing:1px;opacity:.65}.plan-header h2{margin:0;font-size:23px;line-height:1.2;font-weight:900}.plan-header p{margin:4px 0 0;font-size:12px;color:#ffffffb3}.best-value{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;padding:8px 11px;border-radius:999px;background:#ffffff1f;border:1px solid rgba(255,255,255,.15);color:#fff;font-size:10px;font-weight:800}.plan-body{padding:29px}.price-section{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:6px}.price-row{display:flex;align-items:baseline;color:#0f172a}.currency{font-size:22px;font-weight:850;margin-right:3px}.price{font-size:55px;line-height:.95;font-weight:950;letter-spacing:-3px}.price-period{color:#64748b;font-size:12px;font-weight:700;padding-bottom:4px}.price-note{display:flex;align-items:center;gap:6px;margin-top:7px;color:#15803d;font-size:12px;font-weight:750}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:27px;margin-bottom:24px}.feature-item{min-width:0;display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:12px;background:#f8fafc;border:1px solid #f1f5f9;color:#334155;font-size:12px;font-weight:650}.feature-check{width:23px;height:23px;flex-shrink:0;display:grid;place-items:center;border-radius:7px;background:#dcfce7;color:#16a34a}.payment-success{display:flex;align-items:center;gap:9px;margin-bottom:15px;padding:12px 13px;border-radius:12px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;font-size:12px;font-weight:750}.subscribe-button{width:100%;min-height:52px;border:none;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 12px 28px #2563eb3b;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.subscribe-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 17px 35px #2563eb4d}.subscribe-button:active:not(:disabled){transform:translateY(0)}.subscribe-button.processing,.subscribe-button:disabled{cursor:not-allowed;opacity:.7}.button-loader{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:subscription-spin .7s linear infinite}@keyframes subscription-spin{to{transform:rotate(360deg)}}.payment-security{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;color:#94a3b8;font-size:10px;font-weight:650}.access-summary{margin-top:20px;padding:23px;background:#ffffffe6;border:1px solid #e2e8f0;border-radius:21px;box-shadow:0 12px 35px #0f172a0a}.summary-kicker{color:#2563eb;font-size:9px;font-weight:900;letter-spacing:1px}.summary-header h3{margin:4px 0 0;color:#0f172a;font-size:17px;font-weight:850}.summary-flow{display:flex;align-items:center;margin-top:20px}.summary-step{flex:1;min-width:0;display:flex;align-items:center;gap:10px}.step-number{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#eff6ff;color:#2563eb;font-size:9px;font-weight:900}.summary-step strong{display:block;color:#0f172a;font-size:12px;font-weight:800}.summary-step span{display:block;margin-top:3px;color:#94a3b8;font-size:10px}.flow-line{width:35px;height:1px;margin:0 9px;background:#dbeafe}.subscription-footer{display:flex;align-items:center;justify-content:center;gap:6px;max-width:600px;margin:20px auto 0;color:#94a3b8;font-size:10px;line-height:1.6;text-align:center}@media (max-width: 768px){.subscription-page{padding:18px 14px 45px}.subscription-topbar{margin-bottom:28px}.subscription-hero{margin-bottom:23px}.subscription-hero h1{font-size:36px;letter-spacing:-1.3px}.subscription-hero p{font-size:13px}.plan-header{padding:21px 20px}.plan-body{padding:23px 20px}.access-summary{padding:20px}}@media (max-width: 600px){.subscription-page{padding:12px 10px 35px}.subscription-topbar{margin-bottom:23px}.subscription-back{min-height:38px;padding:0 11px;border-radius:10px;font-size:11px}.secure-label{font-size:10px}.hero-badge{padding:7px 9px;font-size:9px;margin-bottom:13px}.subscription-hero{margin-bottom:20px}.subscription-hero h1{font-size:29px;line-height:1.12;letter-spacing:-1px}.subscription-hero h1 span{display:block;margin-top:2px}.subscription-hero p{font-size:12px;line-height:1.65;padding:0 7px}.subscription-status-card{padding:12px;border-radius:15px;gap:10px}.status-icon{width:38px;height:38px;border-radius:11px}.status-label{font-size:8px}.status-title{font-size:11px}.status-days{font-size:9px}.status-pill{padding:6px 8px;font-size:8px}.plan-card{border-radius:21px}.plan-header{padding:18px 15px;align-items:flex-start}.plan-header-left{gap:10px}.plan-icon{width:40px;height:40px;border-radius:12px}.plan-small-title{font-size:7px;letter-spacing:.8px}.plan-header h2{font-size:18px}.plan-header p{font-size:10px}.best-value{padding:6px 8px;font-size:8px}.plan-body{padding:20px 15px}.price-section{display:block;margin-bottom:3px}.currency{font-size:18px}.price{font-size:46px;letter-spacing:-2.5px}.price-period{margin-top:5px;padding:0;font-size:10px}.price-note{font-size:10px;margin-top:6px}.feature-grid{grid-template-columns:1fr;gap:7px;margin-top:20px;margin-bottom:18px}.feature-item{padding:9px 10px;font-size:10px;border-radius:10px}.feature-check{width:21px;height:21px;border-radius:6px}.subscribe-button{min-height:48px;border-radius:12px;font-size:12px}.payment-security{font-size:9px;margin-top:10px}.access-summary{padding:17px 14px;border-radius:17px}.summary-header h3{font-size:15px}.summary-flow{display:block;margin-top:15px}.summary-step{width:100%;padding:10px 0}.step-number{width:31px;height:31px;border-radius:9px}.summary-step strong{font-size:11px}.summary-step span{font-size:9px}.flow-line{width:1px;height:14px;margin:0 0 0 15px;background:#dbeafe}.subscription-footer{padding:0 12px;font-size:9px}}@media (max-width: 360px){.subscription-page{padding:10px 8px 30px}.subscription-hero h1{font-size:26px}.best-value{display:none}.plan-header{padding:17px 13px}.plan-body{padding:18px 13px}.price{font-size:42px}.subscription-status-card{padding:10px}}.qr-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;padding:20px;background:#0f172a94;display:flex;align-items:center;justify-content:center;overflow-y:auto}.qr-modal{width:min(100%,460px);max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 25px 80px #0f172a38}.qr-modal-header{padding:20px 22px;border-bottom:1px solid #eef2f7;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.qr-kicker{margin-bottom:4px;color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.8px}.qr-modal-header h2{margin:0;color:#0f172a;font-size:24px;font-weight:850}.qr-modal-header p{margin:4px 0 0;color:#64748b;font-size:13px;font-weight:500}.qr-close{width:36px;height:36px;border:none;border-radius:10px;background:#f8fafc;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer}.qr-close:hover{background:#f1f5f9;color:#0f172a}.qr-payment-area{padding:22px 22px 16px;display:flex;flex-direction:column;align-items:center}.qr-box{width:240px;height:240px;padding:10px;border:1px solid #dbe3ee;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #0f172a12}.qr-box img{width:220px;height:220px;display:block;object-fit:contain}.qr-scan-text{max-width:350px;margin-top:14px;color:#64748b;display:flex;align-items:flex-start;justify-content:center;gap:8px;text-align:center;font-size:13px;font-weight:500;line-height:1.5}.qr-scan-text svg{flex:0 0 auto;margin-top:2px;color:#2563eb}.qr-amount-card{margin:0 22px;padding:13px 15px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff;display:flex;align-items:center;justify-content:space-between;gap:15px}.qr-amount-card span{color:#475569;font-size:13px;font-weight:600}.qr-amount-card strong{color:#1d4ed8;font-size:21px;font-weight:800}.upi-id-box{margin:12px 22px 0;padding:12px 13px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.upi-id-box>div{min-width:0;display:flex;flex-direction:column;gap:3px}.upi-id-box span{color:#94a3b8;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.upi-id-box strong{overflow:hidden;color:#0f172a;font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.upi-id-box button{flex-shrink:0;min-height:34px;padding:0 10px;border:1px solid #dbe3ee;border-radius:9px;background:#fff;color:#2563eb;display:flex;align-items:center;gap:5px;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.upi-id-box button:hover{background:#eff6ff;border-color:#bfdbfe}.qr-steps{padding:18px 22px 6px;display:flex;flex-direction:column;gap:13px}.qr-step{display:flex;align-items:center;gap:11px}.qr-step>span{flex-shrink:0;width:28px;height:28px;border-radius:9px;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}.qr-step>div{min-width:0;display:flex;flex-direction:column;gap:2px}.qr-step strong{color:#334155;font-size:13px;font-weight:700}.qr-step small{color:#94a3b8;font-size:12px;font-weight:500}.qr-confirm-button{width:calc(100% - 44px);min-height:48px;margin:17px 22px 0;border:none;border-radius:11px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-size:14px;font-weight:750;cursor:pointer;box-shadow:0 6px 16px #2563eb2e;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.qr-confirm-button:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px);box-shadow:0 9px 20px #2563eb3b}.qr-confirm-button:disabled{opacity:.65;cursor:not-allowed;transform:none}.qr-security{margin:11px 22px 20px;color:#64748b;display:flex;align-items:flex-start;justify-content:center;gap:6px;text-align:center;font-size:11px;font-weight:500;line-height:1.45}.qr-security svg{flex-shrink:0;margin-top:1px;color:#16a34a}@media (max-width: 520px){.qr-overlay{padding:10px}.qr-modal{max-height:calc(100vh - 20px);border-radius:18px}.qr-modal-header{padding:17px 18px}.qr-modal-header h2{font-size:21px}.qr-payment-area{padding:18px 18px 14px}.qr-box{width:220px;height:220px}.qr-box img{width:200px;height:200px}.qr-amount-card{margin:0 18px}.upi-id-box{margin-left:18px;margin-right:18px}.qr-steps{padding-left:18px;padding-right:18px}.qr-confirm-button{width:calc(100% - 36px);margin-left:18px;margin-right:18px}.qr-security{margin-left:18px;margin-right:18px}}.plan-selector{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 28px 26px}.plan-option{position:relative;display:flex;align-items:center;gap:13px;padding:17px;border:1.5px solid #e2e8f0;border-radius:15px;background:#fff;cursor:pointer;text-align:left;transition:all .2s ease}.plan-option:hover{border-color:#94a3b8;transform:translateY(-1px)}.plan-option.active{border-color:#2563eb;background:#eff6ff;box-shadow:0 6px 20px #2563eb14}.plan-option-radio{width:19px;height:19px;min-width:19px;border:2px solid #cbd5e1;border-radius:50%;display:flex;align-items:center;justify-content:center}.plan-option.active .plan-option-radio{border-color:#2563eb}.plan-option-radio span{width:9px;height:9px;border-radius:50%;background:#2563eb}.plan-option-content{display:flex;flex-direction:column;gap:4px}.plan-option-content strong{font-size:15px;color:#0f172a}.plan-option-content span{font-size:13px;color:#64748b}.plan-option small{margin-left:auto;align-self:flex-start;padding:5px 8px;border-radius:7px;background:#dcfce7;color:#15803d;font-size:10px;font-weight:700;white-space:nowrap}.payment-error{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:13px 15px;border-radius:12px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:13px;line-height:1.5}.qr-amount-card{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;margin-top:16px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.qr-amount-card>div{display:flex;flex-direction:column;gap:3px}.qr-amount-card span{font-size:11px;color:#64748b}.qr-amount-card strong{font-size:16px;color:#0f172a}.bank-details-box{margin-top:18px;padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.bank-details-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.bank-details-header h3{margin:4px 0 0;font-size:17px;color:#111827}.bank-details-header svg{color:#2563eb}.bank-details-list{display:flex;flex-direction:column;gap:10px}.bank-detail-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:10px;border-bottom:1px solid #e5e7eb}.bank-detail-row:last-child{border-bottom:none;padding-bottom:0}.bank-detail-row span{font-size:12px;color:#64748b}.bank-detail-row strong{max-width:62%;font-size:12px;color:#111827;text-align:right;word-break:break-word}.payment-alternative{display:flex;align-items:flex-start;gap:10px;margin-top:13px;padding:12px 14px;border-radius:12px;background:#f1f5f9;color:#475569}.payment-alternative svg{margin-top:2px;flex-shrink:0}.payment-alternative div{display:flex;flex-direction:column;gap:3px}.payment-alternative span{font-size:11px;color:#64748b}.payment-alternative strong{font-size:12px;color:#334155;line-height:1.45}@media (max-width: 650px){.plan-selector{grid-template-columns:1fr;margin-left:18px;margin-right:18px}.plan-option{padding:15px}.bank-detail-row{align-items:flex-start;flex-direction:column;gap:4px}.bank-detail-row strong{max-width:100%;text-align:left}.qr-amount-card{align-items:flex-start}}.upi-app-button{width:100%;border:none;border-radius:14px;padding:14px 18px;margin-bottom:8px;background:linear-gradient(135deg,#1f7a4d,#159957);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #15995733;transition:.2s ease}.upi-app-button:hover{transform:translateY(-1px);box-shadow:0 10px 24px #15995747}.upi-app-button:active{transform:scale(.98)}.upi-app-button:disabled{opacity:.6;cursor:not-allowed}.upi-app-help{text-align:center;color:#64748b;font-size:11px;margin-bottom:14px}:root{font-family:Helvetica Neue,Arial,sans-serif;color:#1e1b18;background:#f7f8f5}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0;overflow-x:hidden}body{margin:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select,textarea{font-family:inherit}button{cursor:pointer}input,select,textarea,button{font-size:16px}img,svg{display:block;max-width:100%}.app-shell,.auth-shell{width:100%;min-height:100vh;overflow-x:hidden}.auth-shell-inner{width:100%;max-width:520px}@media (max-width: 640px){.auth-shell{padding:16px 12px}.auth-shell-inner{padding:10px}.app-shell{min-height:100dvh}}table{border-collapse:collapse;width:100%}th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#7c8579;padding:8px 10px;border-bottom:2px solid #dde2da}td{padding:10px;border-bottom:1px solid #dde2da;font-size:13.5px;color:#1e1b18}
