:root{--bg: #FAF4EF;--bg-card: #FFFFFF;--bg-secondary: #F5EEE9;--text-primary: #2D2D2D;--text-secondary: #888;--text-muted: #BBB;--shadow: 0 2px 12px rgba(0,0,0,.06);--radius: 24px;--radius-sm: 16px;--radius-xs: 12px;--nav-height: 72px;--period-normal: #E53935;--period-heavy: #B71C1C;--period-light: #EF9A9A;--period-spotting: #A1887F;--poop-normal: #6D4C41;--poop-dense: #3E2723;--poop-diarrhea: #BCAAA4;font-family:Quicksand,sans-serif;color:var(--text-primary);background:var(--bg)}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;overflow:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{display:flex;flex-direction:column;max-width:480px;margin:0 auto;position:relative;overflow:hidden}.app-screen{flex:1;overflow-y:auto;padding:20px 20px calc(var(--nav-height) + 20px);scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.app-screen.home-screen{overflow:hidden;padding:20px 20px calc(var(--nav-height) + 20px);display:flex;flex-direction:column;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.app-screen.calendar-screen{padding:0;display:flex;flex-direction:column;overflow:hidden}.app-screen.calendar-screen>.header{padding:30px 16px 8px;flex-shrink:0}.app-screen::-webkit-scrollbar{display:none}.header{padding:10px 0 4px;flex-shrink:0;text-align:center}.header h1{font-size:22px;font-weight:700;color:var(--text-primary);line-height:1.2}.header p{font-size:14px;color:var(--text-secondary);font-weight:500;line-height:1.3}.header-date{font-size:12px;color:var(--text-muted);margin-top:2px;font-weight:600}.log-buttons{flex:1;display:flex;flex-direction:column;gap:10px;min-height:0;padding:4px 0;overflow:hidden}.log-buttons>.log-button.primary{border:none;background:none;cursor:pointer;padding:0;transition:transform .15s;touch-action:manipulation;display:flex;align-items:center;justify-content:center;flex:1;min-height:48px}.log-buttons>.log-button.primary:active{transform:scale(.95)}.log-button-img{display:block;max-width:100%;max-height:100%;width:auto;height:100%;aspect-ratio:1;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 4px 14px rgba(0,0,0,.08))}.log-hint{text-align:center;font-size:13px;font-weight:600;color:var(--text-muted);margin:4px 0 0;flex-shrink:0}.log-custom-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;flex-shrink:0}.log-custom-grid .log-button.custom{border:none;cursor:pointer;touch-action:manipulation;transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px 6px;background:var(--bg-card);border-radius:var(--radius-xs);box-shadow:var(--shadow);font-family:inherit;flex:0 0 calc(50% - 4px);max-width:200px}.log-custom-grid .log-button.custom:active{transform:scale(.95);box-shadow:0 1px 6px #0000000f}.log-custom-icon{width:34px;height:34px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--bg-secondary);flex-shrink:0}.log-custom-icon.no-img{background:#d6d0c8}.log-custom-icon-img{width:100%;height:100%;object-fit:cover;display:block}.log-custom-fallback{font-family:Quicksand,sans-serif;font-size:14px;font-weight:700;line-height:1}.log-custom-label{font-family:Quicksand,sans-serif;font-size:10px;font-weight:600;text-align:center;line-height:1.2;word-break:break-word;max-width:100%;color:var(--text-primary)}.sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:100;animation:fadeIn .2s ease}.sheet{position:fixed;bottom:0;left:0;right:0;background:#fff;border-radius:28px 28px 0 0;padding:12px 24px 32px;z-index:101;animation:slideUp .3s ease;max-width:480px;margin:0 auto}.sheet-handle{width:40px;height:4px;border-radius:2px;background:#ddd;margin:0 auto 16px}.sheet h3{font-size:20px;font-weight:700;text-align:center;margin-bottom:16px}.sheet-option{width:100%;border:none;background:var(--bg-secondary);border-radius:var(--radius-xs);padding:14px 16px;display:flex;align-items:center;gap:12px;cursor:pointer;margin-bottom:8px;transition:transform .1s;touch-action:manipulation}.sheet-option:active{transform:scale(.98)}.sheet-option-dot{width:16px;height:16px;border-radius:50%;flex-shrink:0}.sheet-option span{font-size:16px;font-weight:600;color:var(--text-primary)}.sheet-option .sheet-option-check{margin-left:auto;font-size:14px;color:var(--text-muted)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:var(--nav-height);background:#fff;border-top:1px solid #F0EBE6;display:flex;align-items:center;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);z-index:50;max-width:480px;margin:0 auto}.nav-tabs{display:flex;align-items:center;justify-content:space-around;width:100%;height:100%}.nav-toggle{display:none}.nav-btn{background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;padding:8px 20px;touch-action:manipulation;transition:transform .1s}.nav-btn:active{transform:scale(.92)}.nav-btn-icon{font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;height:40px}.nav-btn-img{width:auto;height:40px;object-fit:contain}.nav-btn-label{font-size:11px;font-weight:600;color:var(--text-muted);letter-spacing:.3px}.nav-btn.active .nav-btn-label{color:#e53935}.nav-btn.active .nav-btn-icon svg{stroke:#e53935}.calendar-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 0}.calendar-scroll::-webkit-scrollbar{display:none}.cal-month{display:flex;flex-direction:column;padding:4px 16px 8px;min-height:100%;box-sizing:border-box}.cal-month-label{font-size:22px;font-weight:700;color:var(--text-primary);padding:4px 0 2px;letter-spacing:-.02em;flex-shrink:0}.cal-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:2px;flex-shrink:0}.cal-weekday{text-align:center;font-size:12px;font-weight:600;color:var(--text-muted);padding:4px 0;text-transform:uppercase;letter-spacing:.03em}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(6,1fr);gap:4px;flex:1}.calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:1.5px solid rgba(0,0,0,.08);font-family:inherit;font-size:17px;font-weight:600;color:var(--text-primary);position:relative;transition:background .1s,color .1s,border-color .1s;touch-action:manipulation;gap:2px;background-clip:padding-box;border-radius:8px;min-height:0;padding:0;width:100%}.calendar-day.empty{visibility:hidden;pointer-events:none;border-color:transparent}.calendar-day:active{background:#0000000d}.calendar-day.today{font-weight:800;color:var(--text-primary);border:2px solid var(--text-primary);background:transparent;border-radius:8px}.calendar-day.today:active{background:#0000000d}.calendar-day.selected{background:var(--bg-hover);border-radius:8px}.calendar-day.selected.today{background:#0000000f}.calendar-day.has-data{border-radius:8px}.calendar-day-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;background:#5d4037;color:#fff;font-size:9px;font-weight:800;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;line-height:1;box-shadow:0 1px 3px #0003}.day-detail-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:100;animation:fadeIn .2s ease}.day-detail-sheet{position:fixed;bottom:0;left:0;right:0;background:#fff;border-radius:28px 28px 0 0;padding:12px 24px 32px;z-index:101;animation:slideUp .3s ease;max-width:480px;margin:0 auto;max-height:60vh;overflow-y:auto}.day-detail-sheet h3{font-size:18px;font-weight:700;text-align:center;margin-bottom:16px}.day-detail-section{margin-bottom:16px}.day-detail-section h4{font-size:15px;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:8px}.day-detail-entry{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:var(--bg-secondary);border-radius:var(--radius-xs);margin-bottom:6px}.day-detail-entry-left{display:flex;align-items:center;gap:8px}.day-detail-entry-dot{width:10px;height:10px;border-radius:50%}.day-detail-entry-type{font-size:14px;font-weight:600}.day-detail-entry-time{font-size:12px;color:var(--text-secondary)}.day-detail-delete{background:none;border:none;font-size:16px;cursor:pointer;padding:4px;opacity:.5}.day-detail-empty{text-align:center;color:var(--text-muted);font-size:14px;padding:20px 0}.day-detail-badge{display:inline-flex;align-items:center;justify-content:center;background:#6d4c41;color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:10px;padding:0 6px}.day-detail-actions{display:flex;gap:8px;margin-top:12px}.day-detail-add-btn{flex:1;border:none;border-radius:var(--radius-xs);padding:10px;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:transform .1s,opacity .15s;touch-action:manipulation;color:#fff}.day-detail-add-btn:active{transform:scale(.96)}.day-detail-add-btn.period{background:#e53935}.day-detail-add-btn.poop{background:#6d4c41}.day-detail-add-btn.custom{background:#888}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:300;display:flex;align-items:center;justify-content:center;animation:fadeIn .15s ease}.confirm-dialog{background:#fff;border-radius:var(--radius-sm);padding:28px 24px 20px;max-width:300px;width:90%;text-align:center;box-shadow:0 8px 32px #00000026}.confirm-dialog p{font-size:15px;font-weight:600;margin-bottom:20px;line-height:1.3}.confirm-actions{display:flex;gap:10px}.confirm-actions button{flex:1;border:none;border-radius:var(--radius-xs);padding:10px;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;touch-action:manipulation;transition:transform .1s}.confirm-actions button:active{transform:scale(.96)}.confirm-cancel{background:var(--bg-secondary);color:var(--text-primary)}.confirm-danger{background:#e53935;color:#fff}.profile-section{margin-bottom:24px}.profile-section h3{font-size:18px;font-weight:700;margin-bottom:12px}.profile-btn{width:100%;border:none;background:var(--bg-card);border-radius:var(--radius-xs);padding:14px 16px;display:flex;align-items:center;gap:12px;cursor:pointer;font-family:inherit;font-size:15px;font-weight:600;color:var(--text-primary);box-shadow:var(--shadow);transition:transform .1s;touch-action:manipulation;margin-bottom:8px}.profile-btn:active{transform:scale(.98)}.profile-btn.danger{color:#e53935}.profile-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--bg);font-size:16px;font-weight:700;flex-shrink:0}.profile-form-section{background:var(--bg-card);border-radius:var(--radius-sm);padding:20px;box-shadow:var(--shadow)}.profile-form-img-row{display:flex;gap:8px;margin-bottom:8px}.profile-form-img-btn{border:1px solid #E0D8D0;background:none;border-radius:var(--radius-xs);padding:8px 16px;font-family:inherit;font-size:13px;font-weight:600;color:var(--text-primary);cursor:pointer;touch-action:manipulation}.profile-form-img-btn.remove{color:#e53935}.profile-form-preview{width:64px;height:64px;object-fit:cover;border-radius:var(--radius-xs);margin-bottom:8px;border:1px solid #E0D8D0}.profile-form-color{width:36px;height:36px;border:none;border-radius:8px;padding:0;cursor:pointer;flex-shrink:0;background:none}.profile-form-color::-webkit-color-swatch-wrapper{padding:0}.profile-form-color::-webkit-color-swatch{border:1px solid #E0D8D0;border-radius:8px}.profile-form-submit{width:100%;border:none;border-radius:var(--radius-xs);padding:12px;font-family:inherit;font-size:15px;font-weight:700;color:#fff;background:var(--text-primary);cursor:pointer;margin-top:12px;transition:transform .15s;touch-action:manipulation}.profile-form-submit:active{transform:scale(.97)}.profile-form-color-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:14px;font-weight:600}.profile-btn-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.profile-custom-btn-row{display:flex;align-items:center;justify-content:space-between;background:var(--bg-card);border-radius:var(--radius-xs);padding:12px 14px;box-shadow:var(--shadow);transition:border-color .2s,box-shadow .2s;border:1px solid transparent}.profile-custom-btn-row.is-editing{border-color:var(--text-primary);box-shadow:0 0 0 2px #2d2d2d14}.profile-custom-btn-name{font-weight:600;font-size:15px}.profile-custom-btn-info{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;min-width:0}.profile-custom-btn-info>div{display:flex;flex-direction:column;gap:4px;min-width:0}.profile-custom-btn-thumb{width:36px;height:36px;object-fit:cover;border-radius:8px;flex-shrink:0}.profile-custom-btn-actions{display:flex;gap:2px;flex-shrink:0}.profile-custom-btn-edit,.profile-custom-btn-del{border:none;background:var(--bg);border-radius:8px;width:32px;height:32px;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation;transition:background .15s,color .15s;color:var(--text-muted)}.profile-custom-btn-edit:hover,.profile-custom-btn-edit:active{background:#e8e2dc;color:var(--text-primary)}.profile-default-vis-btn{border:none;background:var(--bg);border-radius:8px;width:32px;height:32px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation;transition:background .15s,opacity .15s;color:var(--text-primary)}.profile-default-vis-btn:hover,.profile-default-vis-btn:active{background:#e8e2dc}.profile-custom-btn-del:hover,.profile-custom-btn-del:active{background:#fee8e8;color:#e53935}.opt-chips{display:flex;flex-wrap:wrap;gap:4px}.opt-chip{display:inline-block;font-size:10px;font-weight:700;color:#fff;padding:2px 8px;border-radius:10px;line-height:1.4;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.2)}.profile-inline-form{margin-top:0;padding:16px 18px 18px;background:var(--bg-secondary);border-radius:0 0 var(--radius-xs) var(--radius-xs);box-shadow:inset 0 1px #0000000a,var(--shadow);animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.profile-inline-form-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.profile-inline-form-title{font-weight:700;font-size:14px;color:var(--text-secondary);letter-spacing:.03em;text-transform:uppercase}.profile-inline-form-close{border:none;background:var(--bg-card);border-radius:50%;width:26px;height:26px;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);transition:background .15s,color .15s;touch-action:manipulation}.profile-inline-form-close:hover,.profile-inline-form-close:active{background:#e8e2dc;color:var(--text-primary)}.profile-inline-form .login-input{margin-bottom:8px}.opt-editor{margin-top:6px}.opt-editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-weight:700;font-size:14px}.opt-editor-add{border:none;background:var(--bg-card);border-radius:var(--radius-xs);padding:6px 14px;font-family:inherit;font-size:13px;font-weight:600;color:var(--text-primary);cursor:pointer;touch-action:manipulation;transition:background .15s}.opt-editor-add:active{transform:scale(.97)}.opt-editor-add-full{display:block;width:100%;border:2px dashed var(--text-muted);background:transparent;border-radius:var(--radius-xs);padding:8px;font-family:inherit;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;touch-action:manipulation;transition:background .15s,color .15s;margin-top:4px}.opt-editor-add-full:hover,.opt-editor-add-full:active{background:var(--bg-card);color:var(--text-primary)}.opt-editor-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.opt-editor-del{border:none;background:none;color:var(--text-muted);font-size:14px;cursor:pointer;padding:4px;flex-shrink:0;touch-action:manipulation;transition:color .15s}.opt-editor-del:hover,.opt-editor-del:active{color:#e53935}.opt-star-btn{border:none;background:none;font-size:18px;cursor:pointer;padding:2px 4px;flex-shrink:0;color:var(--text-muted);transition:color .15s;touch-action:manipulation;line-height:1}.opt-star-btn.active{color:#f9a825}.opt-star-btn:active{transform:scale(.9)}.profile-overview-card{background:var(--bg-card);border-radius:var(--radius-xs);padding:24px;box-shadow:var(--shadow);text-align:center}.profile-overview-logo{width:80px;height:80px;object-fit:contain;margin-bottom:8px}.profile-overview-name{font-weight:700;font-size:18px;line-height:1.3}.profile-overview-email{color:var(--text-secondary);font-size:13px;margin-top:4px}.profile-overview-count{color:var(--text-secondary);font-size:14px;margin-top:8px}.toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#000000bf;color:#fff;padding:12px 24px;border-radius:12px;font-size:15px;font-weight:600;z-index:200;animation:fadeIn .15s ease;pointer-events:none;text-align:center;max-width:260px}.login-screen{height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--bg)}.login-card{text-align:center;max-width:360px;width:100%}.login-logo{width:80px;height:80px;object-fit:contain;margin-bottom:16px}.login-card h1{font-size:28px;font-weight:700;color:var(--text-primary);margin-bottom:6px}.login-subtitle{font-size:15px;color:var(--text-secondary);font-weight:500;margin-bottom:32px}.login-google-btn{display:inline-flex;align-items:center;gap:12px;background:#fff;border:none;border-radius:var(--radius-sm);padding:14px 28px;font-family:inherit;font-size:16px;font-weight:600;color:var(--text-primary);box-shadow:0 2px 12px #00000014;cursor:pointer;transition:transform .15s,box-shadow .15s;touch-action:manipulation}.login-google-btn:active{transform:scale(.97);box-shadow:0 1px 6px #0000000f}.login-google-btn:disabled,.login-submit-btn:disabled{opacity:.6;pointer-events:none}.login-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--text-muted);font-size:13px;font-weight:600}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:#e0d8d0}.login-input{width:100%;border:1px solid #E0D8D0;border-radius:var(--radius-xs);padding:12px 14px;font-family:inherit;font-size:15px;color:var(--text-primary);background:#fff;outline:none;transition:border-color .15s;margin-bottom:10px;box-sizing:border-box}.login-input:focus{border-color:var(--text-muted)}.login-input::placeholder{color:#ccc}.login-error{color:#e53935;font-size:13px;font-weight:600;margin-bottom:10px;text-align:center}.login-submit-btn{width:100%;border:none;border-radius:var(--radius-xs);padding:12px;font-family:inherit;font-size:15px;font-weight:700;color:#fff;background:var(--text-primary);cursor:pointer;transition:transform .15s,opacity .15s;touch-action:manipulation}.login-submit-btn:active{transform:scale(.97)}.login-toggle{margin-top:16px;font-size:14px;color:var(--text-secondary)}.login-toggle button{background:none;border:none;color:#e53935;font-weight:700;cursor:pointer;font-family:inherit;font-size:14px;text-decoration:underline}.login-toggle button:active{opacity:.7}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media(min-width:768px){html,body{background:#f0ebe6}#root{max-width:none;margin:0;flex-direction:row;width:100vw;background:var(--bg)}.bottom-nav{position:relative;flex-direction:column;justify-content:space-between;width:200px;height:100vh;max-width:none;margin:0;border-top:none;border-right:1px solid #F0EBE6;background:#fff;flex-shrink:0;transition:width .25s ease;padding:0}.bottom-nav.collapsed{width:64px}.nav-tabs{flex-direction:column;justify-content:flex-start;width:100%;padding:32px 0;gap:4px}.nav-btn{flex-direction:row;justify-content:flex-start;width:100%;padding:12px 20px;gap:12px;border-radius:0;margin:0}.bottom-nav.collapsed .nav-btn{justify-content:center;padding:12px 0}.nav-btn-icon{height:36px;width:36px;flex-shrink:0}.nav-btn-img{height:36px}.bottom-nav.collapsed .nav-btn-label{display:none}.nav-btn-label{font-size:15px;white-space:nowrap}.nav-toggle{display:flex;align-items:center;justify-content:center;background:none;border:none;border-top:1px solid #F0EBE6;cursor:pointer;padding:16px;width:100%;color:var(--text-secondary);transition:background .15s,color .15s;flex-shrink:0}.nav-toggle:hover{background:var(--bg-secondary);color:var(--text-primary)}.app-screen{flex:1;min-width:0;padding:24px 32px 32px;display:flex;flex-direction:column}.app-screen.home-screen,.app-screen.calendar-screen{padding:24px 32px 32px}.header{padding:8px 0 4px}.header h1{font-size:26px}.header p{font-size:16px}.header-date{font-size:14px}.log-button-img{filter:drop-shadow(0 6px 20px rgba(0,0,0,.1))}.app-screen.calendar-screen>.header{padding:36px 24px 10px}.cal-month{padding:6px 24px 12px}.cal-month-label{font-size:28px;padding:6px 0 4px}.cal-weekday{font-size:13px}.cal-grid{gap:5px}.calendar-day{font-size:19px;border-radius:10px}.calendar-day.today{border-radius:10px}.calendar-day-badge{min-width:20px;height:20px;font-size:11px;border-radius:10px;top:-3px;right:-3px}.sheet{max-width:420px;border-radius:28px;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);box-shadow:0 12px 48px #0000002e;animation:fadeIn .25s ease;padding:16px 24px 24px}.sheet h3{font-size:22px}.sheet-option{padding:16px 20px;border-radius:var(--radius-sm)}.sheet-option span{font-size:17px}.day-detail-sheet{max-width:460px;border-radius:28px;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);box-shadow:0 12px 48px #0000002e;max-height:70vh;animation:fadeIn .25s ease}.day-detail-sheet h3{font-size:22px}.day-detail-entry{padding:14px 18px;border-radius:var(--radius-sm)}.day-detail-entry-type{font-size:16px}.profile-section h3{font-size:20px}.profile-btn{padding:16px 20px;font-size:16px;border-radius:var(--radius-sm)}.profile-section:last-child{flex:1;display:flex;flex-direction:column;justify-content:flex-end;margin-bottom:0}@media(orientation:landscape){.log-buttons{flex-direction:row;flex-wrap:wrap;justify-content:center;align-content:center;gap:8px;padding:4px 0}.log-buttons>.log-button.primary{flex:0 1 35%;min-height:40px}.log-custom-grid{flex:1 1 100%;gap:6px}.log-custom-grid .log-button.custom{flex:0 0 calc(25% - 5px);max-width:140px;padding:6px 4px;gap:2px}.log-custom-icon{width:28px;height:28px}.log-custom-fallback{font-size:12px}.log-custom-label{font-size:9px}.log-button-img{max-height:38vh}}}
