.jp-app{height:100%;display:flex;flex-direction:column;background:#f5f5f7;color:#161618;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;--accent:#007aff}.jp-main{flex:1;min-height:0;overflow:auto;padding:5px 20px 22px}.jp-main h1{font-size:34px;line-height:1.2;font-weight:750;letter-spacing:-1px;margin:10px 0 24px}.jp-main h2{font-size:23px;font-weight:700;margin:20px 0}.jp-main h3{font-size:19px;font-weight:650;margin:20px 0 12px}.jp-app button{cursor:pointer;font:inherit}.jp-app button:focus-visible,.jp-app input:focus-visible{outline:3px solid #007aff;outline-offset:2px}.jp-app button{border:0;background:none;color:var(--accent)}.jp-search,.jp-add input{width:100%;background:#e9e9ed;border:0;border-radius:14px;padding:13px 15px;font:inherit;margin-bottom:18px;color:#222}.jp-group{background:#fff;border-radius:23px;overflow:hidden;margin:18px 0}.jp-group>button{width:100%;text-align:left;color:inherit}.jp-row{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eee;min-height:54px}.jp-row small{color:#8e8e93;font-size:14px}.jp-footer{margin:0 12px 25px;padding:13px;display:flex;justify-content:space-around;gap:6px;background:#ffffffd9;border:1px solid #fff;border-radius:30px;box-shadow:0 7px 25px #0000000c;backdrop-filter:blur(22px)}.jp-footer button{padding:8px 10px;font-size:13px;border-radius:20px;color:#75757b}.jp-footer .selected{background:#e6f0ff;color:#007aff}.jp-empty{font-size:13px;color:#85858b;padding:20px 5px;text-align:center;line-height:1.8}.jp-month{display:flex;align-items:center;justify-content:space-between}.jp-month button{font-size:30px;padding:10px}.jp-calendar{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:7px 0}.jp-calendar small{color:#888;padding:10px 0}.jp-calendar button{aspect-ratio:1;border-radius:50%;color:#222;font-size:20px;max-height:44px}.jp-calendar .selected{background:#ff3b30;color:white}.jp-event{display:flex;flex-direction:column;gap:7px;background:#fff1ef;border-left:4px solid #ff3b30;border-radius:10px;padding:14px;margin-bottom:10px}.jp-event small{font-size:12px;color:#ff3b30}.jp-event strong{font-weight:500}.jp-contact{display:flex;align-items:center;gap:12px;width:100%;padding:15px;border-bottom:1px solid #eee;text-align:left}.jp-contact>span:nth-child(2){flex:1}.jp-contact strong{display:block;font-weight:600}.jp-contact small{display:block;font-size:13px;color:#929297;margin-top:4px}.jp-avatar{display:inline-flex;width:47px;height:47px;border-radius:50%;align-items:center;justify-content:center;color:white;background:linear-gradient(145deg,#b9bdc9,#8b91a1);font-size:22px;flex-shrink:0}.jp-ft-actions{display:flex;justify-content:flex-end}.jp-green{background:#34c759!important;color:white!important;border-radius:24px;padding:13px 23px!important}.jp-dial{text-align:center}.jp-dial output{display:block;font-size:30px;height:70px;padding-top:15px;word-break:break-all}.jp-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:15px auto 20px;max-width:300px}.jp-keys button{border-radius:50%;background:#e7e7eb;color:#111;width:70px;height:70px;justify-self:center;font-size:29px}.jp-keys small{display:block;font-size:9px;letter-spacing:2px}.jp-call{background:radial-gradient(at top,#607575,#172226);color:white;align-items:center;padding:60px 20px 45px}.jp-call>.jp-avatar{width:90px;height:90px;font-size:40px}.jp-call h1{font-size:32px;margin:24px 0 10px}.jp-call small{opacity:.6;margin-top:10px}.jp-call-actions{margin:auto 0;display:flex;gap:20px}.jp-call-actions button{background:#ffffff22;border-radius:50%;width:75px;height:75px;color:white}.jp-call-actions .selected{background:white;color:#222}.jp-end{background:#ff453a!important;color:white!important;padding:20px 35px;border-radius:35px}.jp-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.jp-summary-card{background:white!important;border-radius:20px;padding:16px!important;text-align:left}.jp-summary-card b{display:block;font-size:30px;color:#151515;margin-top:15px}.jp-task{display:flex;align-items:center;padding:17px 14px;gap:13px;border-bottom:1px solid #eee}.jp-task input{width:23px;height:23px;accent-color:#007aff}.jp-task span{flex:1}.jp-task:has(input:checked) span{text-decoration:line-through;color:#888}.jp-task button{font-size:12px;color:#999}.jp-add{display:flex;gap:10px;align-items:baseline}.jp-add input{min-width:0}.jp-switch{appearance:none;width:49px;height:30px;border-radius:20px;background:#ddd;position:relative;transition:.2s}.jp-switch:before{content:'';position:absolute;width:26px;height:26px;border-radius:50%;background:white;top:2px;left:2px;box-shadow:0 1px 3px #0002;transition:.2s}.jp-switch:checked{background:#34c759}.jp-switch:checked:before{transform:translateX(19px)}.jp-account{display:flex;align-items:center;gap:13px;font-size:20px}.jp-lock{width:100%;padding:17px!important;border-radius:20px;background:white!important}.jp-safari{padding-top:25px}.jp-favorites{display:flex;gap:26px;margin:20px 0 35px}.jp-favorites a{display:flex;flex-direction:column;gap:10px;align-items:center;color:#333;text-decoration:none;font-size:12px}.jp-favorites span{width:60px;height:60px;background:white;box-shadow:0 5px 15px #00000008;display:grid;place-items:center;border-radius:16px;font-size:28px}.jp-privacy{background:#ffffffa0;padding:1px 20px 20px;border-radius:22px}.jp-privacy p{color:#888;font-size:14px;line-height:1.6}.jp-browser-bar{width:100%}.jp-browser-bar form{display:flex;background:#e7e7ec;border-radius:24px;padding:5px 10px}.jp-browser-bar input{min-width:0;flex:1;background:none;border:0;font:inherit;padding:10px;font-size:14px}.jp-browser-tools{display:flex;justify-content:space-between;margin-top:7px}.jp-tab-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.jp-tab-card{height:200px;border:3px solid white;border-radius:20px;background:linear-gradient(#e7edf6,#fff);display:flex;flex-direction:column;justify-content:space-between;padding:15px;word-break:break-all}.apple-notes{background:#f5f5f7!important}.apple-notes .notes-toolbar,.apple-notes .notes-bottom{background:#ffffffba!important;backdrop-filter:blur(22px);border-radius:28px;margin:8px 12px;box-shadow:0 4px 22px #00000007}.apple-notes .notes-search{border-radius:15px!important}.apple-notes .notes-folder,.apple-notes .notes-list{border-radius:22px!important;overflow:hidden}.notes-private-card{border-radius:30px!important;background:#ffffffcf!important;box-shadow:0 15px 45px #00000008}.notes-numpad button{border-radius:50%!important}.jp-calendar{--accent:#ff3b30}@media(max-height:720px){.jp-keys{gap:8px}.jp-keys button{width:58px;height:58px}.jp-main h1{font-size:30px;margin-bottom:14px}.jp-footer{margin-bottom:17px}.jp-call{padding-top:30px}}
.jp-bubbles{display:flex;flex-direction:column;gap:15px;padding:15px 0}.jp-message{max-width:82%;align-self:flex-start}.jp-message p{padding:12px 16px;border-radius:22px;background:#e5e5ea;white-space:pre-wrap;overflow-wrap:anywhere}.jp-message.self{align-self:flex-end;text-align:right}.jp-message.self p{background:#34c759;color:white;text-align:left}.jp-message small{color:#999;font-size:11px;padding:5px 10px;display:block}.jp-edit-link{display:block;text-align:center;font-size:13px;padding:20px;color:#007aff}.jpe{min-height:100vh;background:#f5f5f7;padding:30px max(18px,calc((100% - 780px)/2)) 160px;color:#18181b;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}.jpe h1{font-size:30px;font-weight:750;margin:8px 0}.jpe h2{font-size:23px;font-weight:700;margin:20px 0}.jpe button,.jpe a{color:#007aff;cursor:pointer}.jpe button{background:#fff;border:0;border-radius:18px;padding:12px 16px;font:inherit}.jpe button:disabled{opacity:.5}.jpe-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.jpe-header small{letter-spacing:2px;color:#888}.jpe-caption{font-size:14px;color:#888;line-height:1.8;margin:20px 0}.jpe-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.jpe-tabs button{white-space:nowrap;font-size:14px}.jpe-tabs .selected,.jpe .primary{background:#007aff;color:white}.jpe-card{background:white;border-radius:24px;padding:20px;margin:18px 0}.jpe-card-top{display:flex;align-items:center;justify-content:space-between}.jpe-card-top button{color:#ff3b30;font-size:14px}.jpe-field{display:flex;flex-direction:column;gap:8px;margin:14px 0;font-size:14px;color:#666}.jpe-field input,.jpe-field select,.jpe-field textarea{background:#f3f3f6;border:1px solid #e5e5eb;border-radius:12px;padding:12px;font:inherit;color:#111;min-width:0;width:100%;box-sizing:border-box}.jpe-field input[type=checkbox]{width:24px;height:24px;accent-color:#007aff}.jpe-field textarea{min-height:100px;resize:vertical}.jpe-order{display:flex;justify-content:flex-end;gap:8px}.jpe-order button{font-size:12px;background:#f5f5f7}.jpe-save{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(20px);border-top:1px solid #eee;padding:12px max(18px,calc((100% - 780px)/2)) max(22px,env(safe-area-inset-bottom));z-index:10}.jpe-save p{font-size:13px;color:#666;margin:0 0 9px;line-height:1.5}.jpe-save>div{display:flex;justify-content:flex-end;gap:10px}.jpe :focus-visible{outline:3px solid #007aff;outline-offset:2px}


/* Save-state and mobile input fixes */
.jpe-field input,.jpe-field textarea,.jpe-field select,.jp-search,.jp-add input,.jp-browser-bar input{font-size:16px!important}.jpe input:disabled,.jpe textarea:disabled,.jpe select:disabled{opacity:.65}.jp-app button:disabled{opacity:.45;cursor:default}.jpe{padding-bottom:calc(170px + env(safe-area-inset-bottom))}.jp-footer{flex-shrink:0;margin-bottom:max(25px,env(safe-area-inset-bottom))}.jp-task span,.jp-row>span{min-width:0;overflow-wrap:anywhere}.jp-row small{max-width:60%;overflow-wrap:anywhere;text-align:right}@media(max-width:360px){.jp-main{padding-left:14px;padding-right:14px}.jp-footer button{padding:8px 5px;font-size:12px}.jpe-header h1{font-size:26px}}
