.dy-overlay{position:fixed;inset:0;z-index:50000;background:#504c455c;display:flex;align-items:center;justify-content:center;padding:14px;color:#65594e;backdrop-filter:blur(5px)}.dy-sheet{width:min(100%,580px);max-height:92dvh;overflow:auto;background:#fffaf2;border:1px solid #e4dbce;border-radius:26px;box-shadow:0 16px 60px #43382924;font-family:inherit}.dy-sheet header{position:sticky;top:0;z-index:2;background:#fffaf2;display:flex;justify-content:space-between;align-items:center;padding:22px 24px 12px}.dy-sheet h2{margin:4px 0;font-size:26px;letter-spacing:4px;color:#7e977e}.dy-sheet small{display:block;color:#9b9184;font-size:12px;line-height:1.6}.dy-sheet nav{display:flex;gap:5px;padding:8px 18px;border-bottom:1px solid #ede4d8}.dy-sheet button{font:inherit;border:1px solid #dce4d6;border-radius:18px;background:#eef3e8;color:#617c61;padding:9px 15px;cursor:pointer}.dy-sheet button:disabled{opacity:.5;cursor:wait}.dy-sheet nav button[aria-pressed=true],.dy-form button[type=submit]{background:#81977d;color:white}.dy-sheet main{padding:18px 22px 28px}.dy-sheet label{display:block;font-size:13px;margin:10px 0}.dy-sheet input,.dy-sheet select,.dy-sheet textarea{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:16px;color:#65594e;background:#fffdfa;border:1px solid #ded9cb;padding:10px;border-radius:12px;margin-top:6px}.dy-sheet .dy-check{display:flex;align-items:center;gap:10px}.dy-sheet .dy-check input{width:auto;margin:0}.dy-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dy-record{padding:14px 0;border-bottom:1px solid #e9e2d6;overflow-wrap:anywhere}.dy-record strong{font-size:15px;color:#688068}.dy-record p{margin:8px 0;white-space:pre-wrap;font-size:14px;line-height:1.7}.dy-record button{font-size:12px;padding:6px 11px;margin:10px 7px 0 0}.dy-active{border:1px solid #d6e0ce;background:#f2f5eb;border-radius:20px;padding:15px;margin:17px 0}.dy-active .dy-record{border:0;padding:8px 0}.dy-actions{display:flex;gap:10px}.dy-error{margin:10px 20px;background:#fff0e7;padding:12px;border-radius:12px;font-size:13px;line-height:1.7;color:#965b40}.dy-form>button{margin:15px 8px 0 0}.dy-form p,.dy-hint,.dy-empty{font-size:13px;line-height:1.9;color:#998b7e}.dy-empty{padding:24px 0;text-align:center}.daily-chat-event{display:block!important;max-width:90%;margin:2px auto!important;padding:3px 10px;flex:0 0 auto;align-self:center;min-height:0;border:1px solid #dce5d6;border-radius:12px;background:#f5f6edc9;color:#86937b;font:inherit;font-size:11px;line-height:1.7;clear:both;cursor:pointer}#homeDailyContent{min-width:0;line-height:1.5;color:#87967d}#homeDailyContent strong{display:block;min-width:0;font-size:17px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#homeDailyContent p{font-size:12px;line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere}#homeDailyContent small{font-size:10px;color:#aea194}.dy-sheet details{margin:12px 0;font-size:13px}.dy-sheet input:focus,.dy-sheet select:focus,.dy-sheet textarea:focus{outline:2px solid #a7bea0;outline-offset:1px}@media(max-width:420px){.dy-overlay{padding:8px}.dy-sheet main{padding:14px}.dy-sheet nav{padding:8px}.dy-sheet nav button{flex:1;padding:9px 5px}.dy-two{gap:7px}}

/* RYO_DAILY_UI_V2: bound native iOS date controls and shrink grid tracks. */
.dy-overlay,.dy-overlay *,.dy-overlay *::before,.dy-overlay *::after{box-sizing:border-box}
.dy-overlay{width:100%;max-width:100vw;overflow:hidden;overscroll-behavior-x:none}
.dy-sheet{min-width:0;max-width:100%;overflow-x:hidden;overscroll-behavior:contain}
.dy-sheet header,.dy-sheet header>div,.dy-sheet main,.dy-sheet nav,.dy-form,.dy-two,.dy-sheet label,.dy-sheet details{min-width:0;max-width:100%}
.dy-sheet label{overflow-wrap:anywhere}
.dy-sheet nav>button{min-width:0;flex:1;padding-left:7px;padding-right:7px}
.dy-sheet input,.dy-sheet select,.dy-sheet textarea{min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%}
.dy-sheet input:not([type=checkbox]),.dy-sheet select{height:44px}
.dy-sheet input[type=date],.dy-sheet input[type=datetime-local]{-webkit-appearance:none;appearance:none;display:block;min-width:0;min-inline-size:0;width:100%;inline-size:100%;font-size:14px}
.dy-sheet input::-webkit-date-and-time-value{text-align:left;min-height:1.2em}
.dy-sheet input::-webkit-datetime-edit{padding:0;min-width:0}
.dy-sheet textarea{resize:vertical}
.dy-duration-fields{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start}
.dy-actions{flex-wrap:wrap}
#tabHome .hrow2{grid-template-columns:repeat(2,minmax(0,1fr))}
#tabHome #homeFitCard,#tabHome #homeChatCard{min-width:0}
#homeDailyContent{padding:2px 0 0}
#chatArea>.daily-chat-event,#secretRoomMessages>.daily-chat-event{height:auto;min-height:0;max-width:90%;line-height:1.6;letter-spacing:0;box-shadow:none;animation:none}
@media(max-width:360px){.dy-duration-fields{grid-template-columns:minmax(0,1fr)}.dy-duration-fields label{margin:7px 0}}
