:root{--primary:#002444;--primary-container:#1a3a5c;--primary-deep:#164e63;--on-primary:#fff;--on-primary-container:#87a4cc;--secondary:#006a65;--secondary-container:#79f3ea;--on-secondary:#fff;--on-secondary-fixed:#00201e;--surface:#f8f9ff;--surface-container-lowest:#fff;--surface-container-low:#eef4ff;--surface-container:#e5efff;--surface-container-high:#dbe9ff;--surface-container-highest:#d5e4fa;--on-surface:#0d1c2c;--on-surface-variant:#43474e;--outline:#73777f;--outline-variant:#c3c6cf;--error:#ba1a1a;--error-container:#ffdad6;--on-error-container:#93000a;--tertiary-container:#004219;--on-tertiary-container:#03ba55;--success:#1f8a4c;--success-bg:#dcfce7;--warning:#b45309;--warning-bg:#fef3c7;--shadow-1:0 1px 3px #0f1e2e0a, 0 1px 2px #0f1e2e08;--shadow-2:0 4px 12px #0f1e2e0f, 0 2px 4px #0f1e2e08;--shadow-3:0 12px 28px #1a3a5c1f, 0 4px 8px #1a3a5c0d;--shadow-fab:0 10px 24px #006a6559;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--radius-3xl:28px;--radius-full:9999px;--space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:32px;--font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;font-family:var(--font-family);background:var(--surface-container);color:var(--on-surface);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden}body{justify-content:center;align-items:stretch;display:flex}#root{justify-content:center;align-items:stretch;width:100%;height:100%;display:flex}.app-container{background:var(--surface);flex-direction:column;width:100%;max-width:520px;height:100dvh;padding:0;display:flex;position:relative;overflow:hidden}@media (width<=560px){body{padding:0}.app-container{max-width:100%;box-shadow:none;border-radius:0}}.app-main{gap:var(--space-md);scrollbar-gutter:stable;scrollbar-width:thin;flex-direction:column;flex:1;min-height:0;padding:16px;display:flex;overflow:hidden auto}.app-main::-webkit-scrollbar{width:6px}.app-main::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:0 0}.app-main:hover::-webkit-scrollbar-thumb{background:var(--outline-variant)}.app-main::-webkit-scrollbar-track{background:0 0}.tab-content{gap:var(--space-md);flex-direction:column;display:flex}.app-header{align-items:center;gap:var(--space-sm);padding:calc(20px + env(safe-area-inset-top,0px)) 16px 16px;border-bottom:1px solid var(--outline-variant);background:var(--surface);z-index:10;flex-shrink:0;display:flex}.header-titles{flex-direction:column;flex:1;min-width:0;display:flex}.header-title{letter-spacing:-.01em;color:var(--on-surface);font-size:18px;font-weight:700;line-height:1.2}.header-subtitle{color:var(--on-surface-variant);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:1.3;overflow:hidden}.header-action{width:40px;height:40px}.card{background:var(--surface-container-lowest);border-radius:var(--radius-2xl);padding:var(--space-md);box-shadow:var(--shadow-1);gap:var(--space-md);flex-direction:column;display:flex}.card-header{align-items:center;gap:var(--space-sm);display:flex}.card-icon{border-radius:var(--radius-lg);background:var(--surface-container-high);width:40px;height:40px;color:var(--primary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.card-titles{flex-direction:column;flex:1;min-width:0;display:flex}.card-title{color:var(--on-surface);font-size:16px;font-weight:600;line-height:1.2}.card-subtitle{color:var(--on-surface-variant);font-size:12px;line-height:1.3}.avatar{border-radius:var(--radius-full);border:2px solid var(--surface-container-lowest);flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:600;line-height:1;display:inline-flex}.avatar-xs{border-width:1.5px;width:22px;height:22px;font-size:10px}.avatar-sm{border-width:1.5px;width:26px;height:26px;font-size:11px}.avatar-md{border-width:2px;width:36px;height:36px;font-size:14px}.avatar-0{background:var(--secondary-container);color:var(--on-secondary-fixed)}.avatar-1{background:var(--surface-container-highest);color:#2a486b}.avatar-2{color:#001c37;background:#d2e4ff}.avatar-3{background:var(--error-container);color:var(--on-error-container)}.avatar-stack{align-items:center;display:flex}.avatar-stack .avatar+.avatar{margin-left:-10px}.avatar-stack-sm .avatar+.avatar{margin-left:-6px}.input-row{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.input-row input,.input-row select{min-width:0;height:48px;padding:0 var(--space-md);border:1.5px solid var(--outline-variant);border-radius:var(--radius-xl);font-family:var(--font-family);color:var(--on-surface);background:var(--surface-container-low);outline:none;flex:1;font-size:15px;transition:border-color .15s,box-shadow .15s,background .15s}.input-row input::placeholder{color:var(--on-surface-variant);opacity:.7}.input-row input:focus,.input-row select:focus{border-color:var(--secondary);background:var(--surface-container-lowest);box-shadow:0 0 0 3px #79f3ea4d}.input-row select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2343474E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.btn{height:48px;padding:0 var(--space-md);border-radius:var(--radius-xl);font-family:var(--font-family);cursor:pointer;justify-content:center;align-items:center;gap:var(--space-xs);white-space:nowrap;border:none;flex-shrink:0;font-size:15px;font-weight:600;transition:background .15s,transform .1s,box-shadow .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn-primary{background:var(--primary-container);color:var(--on-primary);box-shadow:var(--shadow-1)}.btn-primary:hover{background:#163350}.btn-secondary{background:var(--secondary);color:var(--on-secondary);box-shadow:var(--shadow-1)}.btn-secondary:hover{background:#005550}.btn-ghost{color:var(--on-surface-variant);border:1.5px solid var(--outline-variant);background:0 0}.btn-ghost:hover{background:var(--surface-container-low);color:var(--primary)}.btn-icon{width:48px;padding:0}.btn-icon-plain{border-radius:var(--radius-md);width:32px;height:32px;color:var(--on-surface-variant);cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.btn-icon-plain:hover{background:var(--surface-container);color:var(--error)}.bill-card{align-items:center;gap:var(--space-sm);background:var(--surface-container-low);border-radius:var(--radius-2xl);padding:var(--space-md);display:flex}.bill-icon{border-radius:var(--radius-lg);background:var(--secondary-container);width:36px;height:36px;color:var(--on-secondary-fixed);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bill-info{flex-direction:column;flex:1;min-width:0;display:flex}.bill-title{color:var(--on-surface);font-size:14px;font-weight:600}.bill-sub{color:var(--on-surface-variant);font-size:12px}.bill-button{border-radius:var(--radius-lg);background:var(--surface-container-lowest);height:34px;color:var(--secondary);font-family:var(--font-family);cursor:pointer;box-shadow:var(--shadow-1);border:none;padding:0 14px;font-size:13px;font-weight:600;transition:background .15s}.bill-button:hover{background:var(--surface-container-highest)}.participant-list{flex-direction:column;gap:4px;list-style:none;display:flex}.participant-list li{padding:6px var(--space-sm);border-radius:var(--radius-lg);justify-content:space-between;align-items:center;transition:background .15s;display:flex}.participant-list li:hover{background:var(--surface-container-low)}.participant-name{align-items:center;gap:var(--space-sm);color:var(--on-surface);min-width:0;font-size:14px;font-weight:500;display:flex}.purchase-list{gap:var(--space-sm);flex-direction:column;list-style:none;display:flex}.product-card{background:var(--surface-container-lowest);border-radius:var(--radius-2xl);padding:var(--space-md);box-shadow:var(--shadow-1);gap:var(--space-sm);flex-direction:column;transition:opacity .2s,background .2s;display:flex}.product-card.purchased{background:var(--surface-container-low);opacity:.8}.product-row{align-items:flex-start;gap:var(--space-sm);display:flex}.product-info{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.product-title-row{justify-content:space-between;align-items:center;gap:var(--space-sm);display:flex}.product-title{color:var(--on-surface);text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:16px;font-weight:600;line-height:1.3;overflow:hidden}.product-card.purchased .product-title{color:var(--on-surface-variant);text-decoration:line-through}.product-sub{color:var(--on-surface-variant);align-items:center;gap:6px;font-size:13px;line-height:1.3;display:flex}.product-sub-label{text-transform:uppercase;letter-spacing:.03em;color:var(--on-surface-variant);opacity:.8;font-size:11px}.checkbox{border-radius:var(--radius-md);border:1.5px solid var(--outline-variant);background:var(--surface-container-lowest);color:#0000;cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;padding:0;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.checkbox:hover{border-color:var(--secondary)}.checkbox.checked{background:var(--secondary);border-color:var(--secondary);color:var(--on-secondary)}.purchased-section{gap:var(--space-sm);margin-top:var(--space-sm);flex-direction:column;display:flex}.purchased-header{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.purchased-header-left{align-items:center;gap:var(--space-sm);display:flex}.purchased-check-icon{color:var(--secondary)}.purchased-title{color:var(--on-surface);font-size:16px;font-weight:600}.purchased-badge{border-radius:var(--radius-full);background:var(--secondary-container);color:var(--on-secondary-fixed);padding:2px 8px;font-size:11px;font-weight:600}.purchased-sum{color:var(--on-surface-variant);font-size:12px;font-weight:500}.price-edit{gap:var(--space-sm);padding-top:var(--space-sm);border-top:1px dashed var(--outline-variant);flex-direction:column;display:flex}.price-edit-row{gap:var(--space-sm);align-items:center;display:flex}.price-input{min-width:0;height:48px;padding:0 var(--space-md);border:1.5px solid var(--outline-variant);border-radius:var(--radius-xl);font-family:var(--font-family);font-variant-numeric:tabular-nums;color:var(--on-surface);background:var(--surface-container-low);outline:none;flex:1;font-size:15px;transition:border-color .15s,box-shadow .15s,background .15s}.price-input:focus{border-color:var(--secondary);background:var(--surface-container-lowest);box-shadow:0 0 0 3px #79f3ea4d}.split-checkboxes{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.split-label{color:var(--on-surface-variant);margin-right:4px;font-size:12px;font-weight:500}.split-chip{border-radius:var(--radius-full);background:var(--surface-container-low);color:var(--on-surface-variant);cursor:pointer;-webkit-user-select:none;user-select:none;border:1.5px solid #0000;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:500;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.split-chip:hover{background:var(--surface-container)}.split-chip:has(input:checked){background:var(--secondary-container);color:var(--on-secondary-fixed);border-color:var(--secondary)}.split-chip input[type=checkbox]{appearance:none;border-radius:var(--radius-sm);cursor:pointer;opacity:.7;background:0 0;border:1.5px solid;flex-shrink:0;width:16px;height:16px;position:relative}.split-chip:has(input:checked) input[type=checkbox]{background:var(--secondary);border-color:var(--secondary);opacity:1}.split-chip:has(input:checked) input[type=checkbox]:after{content:"";border:solid var(--on-secondary);border-width:0 2px 2px 0;width:4px;height:8px;position:absolute;top:1px;left:4px;transform:rotate(45deg)}.fab{align-items:center;gap:var(--space-sm);border-radius:var(--radius-full);background:var(--secondary);color:var(--on-secondary);font-family:var(--font-family);box-shadow:var(--shadow-fab);cursor:pointer;z-index:50;border:none;padding:14px 20px;font-size:15px;font-weight:600;transition:transform .15s,background .15s;display:flex;position:fixed;bottom:92px;right:max(16px,50% - 244px)}.fab:hover{background:#005550}@media (width<=560px){.fab{right:16px}}.dashboard-card{border-radius:var(--radius-3xl);color:var(--on-primary);padding:var(--space-lg) var(--space-md);box-shadow:var(--shadow-3);background:linear-gradient(135deg,#1a3a5c 0%,#002444 50%,#164e63 100%);position:relative;overflow:hidden}.dashboard-glow{border-radius:var(--radius-full);pointer-events:none;position:absolute}.dashboard-glow-1{filter:blur(60px);background:#79f3ea33;width:180px;height:180px;bottom:-40px;right:-32px}.dashboard-glow-2{filter:blur(50px);background:#abc9f226;width:128px;height:128px;top:-24px;left:-24px}.dashboard-inner{z-index:1;gap:var(--space-md);flex-direction:column;display:flex;position:relative}.dashboard-top-row{justify-content:space-between;align-items:center;display:flex}.dashboard-top-left{align-items:center;gap:var(--space-sm);display:flex}.dashboard-top-icon{border-radius:var(--radius-lg);color:var(--secondary-container);background:#ffffff26;padding:6px;display:inline-flex}.dashboard-top-label{color:#ffffffd9;font-size:14px;font-weight:500}.dashboard-badge{border-radius:var(--radius-full);background:var(--secondary-container);min-width:148px;color:var(--on-secondary-fixed);text-transform:uppercase;letter-spacing:.04em;justify-content:center;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:600;display:inline-flex}.dashboard-badge-dot{border-radius:var(--radius-full);background:var(--secondary);width:6px;height:6px}.dashboard-caption{color:#ffffffbf;letter-spacing:.03em;font-size:11px}.dashboard-amount{align-items:baseline;gap:6px;margin-top:2px;display:flex}.dashboard-amount-value{letter-spacing:-.02em;color:#fff;font-size:34px;font-weight:700;line-height:1}.dashboard-amount-cur{color:var(--secondary-container);font-size:18px;font-weight:600}.section{gap:var(--space-sm);flex-direction:column;display:flex}.section-header{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.section-header-left{align-items:center;gap:var(--space-sm);display:flex}.section-icon{color:var(--primary)}.section-title{color:var(--on-surface);margin:0;font-size:16px;font-weight:600}.section-hint{color:var(--on-surface-variant);font-size:11px}.section-badge-pill{border-radius:var(--radius-full);color:var(--secondary);background:#79f3ea66;align-items:center;gap:4px;padding:3px 10px;font-size:11px;font-weight:500;display:inline-flex}.section-group-label{color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;padding:0 8px;font-size:11px;font-weight:600}.members-list{flex-direction:column;gap:10px;display:flex}.member-card{background:var(--surface-container-lowest);border-radius:var(--radius-2xl);box-shadow:var(--shadow-1);transition:box-shadow .15s;overflow:hidden}.member-header{justify-content:space-between;align-items:center;gap:var(--space-sm);cursor:pointer;width:100%;font-family:var(--font-family);text-align:left;background:0 0;border:none;padding:14px;display:flex}.member-main{align-items:center;gap:var(--space-sm);flex:1;min-width:0;display:flex}.member-avatar-wrap{flex-shrink:0;position:relative}.member-info{flex-direction:column;min-width:0;display:flex}.member-name-row{align-items:center;gap:6px;display:flex}.member-name{color:var(--on-surface);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.member-count{color:var(--on-surface-variant);font-size:12px}.member-paid{color:var(--on-surface-variant);margin-top:2px;font-size:12px}.member-right{flex-shrink:0;align-items:center;gap:8px;display:flex}.member-balance{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.balance-value{color:var(--on-surface-variant);font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.balance-value.positive{color:var(--on-tertiary-container)}.balance-value.negative{color:var(--error)}.balance-tag{border-radius:var(--radius-sm);padding:2px 6px;font-size:10px;font-weight:600;display:inline-flex}.balance-tag.owed{color:#005321;background:#6bff8f4d}.balance-tag.owes{background:var(--error-container);color:var(--on-error-container)}.balance-tag.zero{background:var(--surface-container);color:var(--on-surface-variant)}.member-chevron{color:var(--on-surface-variant);flex-shrink:0}.member-details{background:var(--surface-container-low);flex-direction:column;gap:6px;padding:4px 14px 14px;display:flex}.member-empty{color:var(--on-surface-variant);text-align:center;padding:8px 0;font-size:12px}.member-purchase-list{flex-direction:column;gap:4px;display:flex}.member-purchase-row{border-bottom:1px solid #c3c6cf66;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;font-size:13px;display:flex}.member-purchase-row:last-child{border-bottom:none}.member-purchase-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.member-purchase-name{color:var(--on-surface);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.member-purchase-qty{color:var(--on-surface-variant);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.member-purchase-price{color:var(--on-surface);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;font-weight:600}.debts-list{flex-direction:column;gap:10px;display:flex}.debt-card{background:var(--surface-container-lowest);border-radius:var(--radius-2xl);box-shadow:var(--shadow-1);flex-direction:column;gap:12px;padding:14px;display:flex}.debt-row-top{justify-content:space-between;align-items:center;display:flex}.debt-participants{align-items:center;gap:8px;display:flex}.debt-arrow-icon{color:var(--outline)}.debt-amount{align-items:baseline;gap:2px;display:flex}.debt-amount-value{color:var(--on-surface);font-variant-numeric:tabular-nums;font-size:20px;font-weight:700}.debt-amount-cur{color:var(--on-surface-variant);font-size:14px}.debt-row-bottom{justify-content:space-between;align-items:center;gap:var(--space-sm);display:flex}.debt-hint{color:var(--on-surface-variant);align-items:center;gap:4px;font-size:11px;display:flex}.debt-hint svg{color:var(--secondary)}.btn-settle{border-radius:var(--radius-xl);background:var(--secondary-container);height:36px;color:var(--on-secondary-fixed);font-family:var(--font-family);cursor:pointer;box-shadow:var(--shadow-1);border:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:600;transition:transform .1s,background .15s;display:inline-flex}.btn-settle:active{transform:scale(.96)}.btn-settle:hover{background:#5dd9d0}.history-card{background:var(--surface-container-lowest);border-radius:var(--radius-2xl);box-shadow:var(--shadow-1);overflow:hidden}.history-header{justify-content:space-between;align-items:center;gap:var(--space-sm);cursor:pointer;width:100%;font-family:var(--font-family);text-align:left;background:0 0;border:none;padding:14px;display:flex}.history-title-block{align-items:center;gap:10px;min-width:0;display:flex}.history-icon{border-radius:var(--radius-full);background:var(--surface-container-high);width:28px;height:28px;color:var(--primary);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.history-titles{flex-direction:column;min-width:0;display:flex}.history-title{color:var(--on-surface);font-size:14px;font-weight:600}.history-sub{color:var(--on-surface-variant);font-size:12px}.history-chevron{color:var(--on-surface-variant)}.history-content{background:var(--surface-container-low);padding:4px 14px 14px}.history-empty{color:var(--on-surface-variant);text-align:center;padding:12px 0;font-size:12px}.export-section{padding-top:var(--space-sm);gap:var(--space-sm)}.btn-share{border-radius:var(--radius-2xl);background:var(--primary-container);width:100%;height:52px;color:var(--on-primary);font-family:var(--font-family);cursor:pointer;box-shadow:var(--shadow-2);border:none;justify-content:center;align-items:center;gap:10px;font-size:15px;font-weight:600;transition:transform .1s,background .15s;display:inline-flex}.btn-share:active{transform:scale(.98)}.btn-share:hover{background:#163350}.btn-export{border-radius:var(--radius-2xl);width:100%;height:46px;color:var(--primary);font-family:var(--font-family);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex}.btn-export:hover{background:var(--surface-container)}.profile-card{gap:0}.profile-header{align-items:center;gap:var(--space-md);display:flex}.profile-avatar-wrap{flex-shrink:0;position:relative}.profile-avatar{border-radius:var(--radius-full);color:#001c37;background:#d2e4ff;justify-content:center;align-items:center;width:64px;height:64px;font-size:24px;font-weight:700;display:flex}.profile-verified{border-radius:var(--radius-full);background:var(--secondary-container);width:22px;height:22px;color:var(--on-secondary-fixed);border:2px solid var(--surface-container-lowest);justify-content:center;align-items:center;display:flex;position:absolute;bottom:-4px;right:-4px}.profile-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.profile-name{color:var(--on-surface);letter-spacing:-.01em;font-size:17px;font-weight:700}.profile-phone{color:var(--on-surface-variant);font-size:13px}.profile-tags{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.tag{border-radius:var(--radius-full);align-items:center;gap:4px;padding:3px 10px;font-size:11px;font-weight:600;display:inline-flex}.tag-premium{background:var(--secondary-container);color:#006f69}.tag-default{background:var(--surface-container);color:var(--on-surface-variant)}.group-pills{scrollbar-width:none;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.group-pills::-webkit-scrollbar{display:none}.group-pill{border-radius:var(--radius-xl);background:var(--surface-container);color:var(--on-surface-variant);font-family:var(--font-family);cursor:pointer;border:none;flex-shrink:0;align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:500;transition:background .15s;display:inline-flex}.group-pill:hover{background:var(--surface-container-high)}.group-pill.active{background:var(--primary-container);color:var(--on-primary);font-weight:600}.group-pill-dot{border-radius:var(--radius-full);background:var(--secondary-container);width:8px;height:8px}.menu-card{background:var(--surface-container-lowest);border-radius:var(--radius-2xl);box-shadow:var(--shadow-1);overflow:hidden}.support-card-wrap{padding:4px}.menu-item{cursor:pointer;align-items:center;gap:12px;padding:14px;transition:background .15s;display:flex}.menu-item:hover{background:var(--surface-container-low)}.menu-icon{border-radius:var(--radius-lg);background:var(--surface-container);width:40px;height:40px;color:var(--primary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.menu-text{flex-direction:column;flex:1;min-width:0;display:flex}.menu-title{color:var(--on-surface);font-size:14px;font-weight:600}.menu-sub{color:var(--on-surface-variant);margin-top:2px;font-size:12px}.menu-chevron{color:var(--outline);flex-shrink:0}.menu-divider{background:var(--surface-container-low);height:1px;margin:0 14px}.support-highlight{background:var(--surface-container-low);border-radius:var(--radius-xl);flex-direction:column;gap:8px;padding:14px;display:flex}.support-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.support-left{align-items:center;gap:10px;display:flex}.support-icon{border-radius:var(--radius-lg);background:var(--secondary-container);width:36px;height:36px;color:var(--on-secondary-container,#006f69);flex-shrink:0;justify-content:center;align-items:center;display:flex}.support-title{color:var(--on-surface);font-size:14px;font-weight:600}.support-btn{border-radius:var(--radius-xl);background:var(--secondary);color:var(--on-secondary);font-family:var(--font-family);cursor:pointer;box-shadow:var(--shadow-1);border:none;padding:8px 14px;font-size:13px;font-weight:600;transition:transform .1s,background .15s}.support-btn:active{transform:scale(.96)}.support-text{color:var(--on-surface-variant);font-size:12px;line-height:1.4}.btn-logout{border-radius:var(--radius-2xl);background:var(--surface-container);width:100%;height:48px;color:var(--on-surface-variant);font-family:var(--font-family);cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;transition:background .15s,color .15s;display:inline-flex}.btn-logout:hover{background:var(--error-container);color:var(--on-error-container)}.profile-footer{text-align:center;color:var(--outline);padding:8px 0 4px;font-size:11px}.empty-message{color:var(--on-surface-variant);text-align:center;padding:var(--space-lg) var(--space-md);background:var(--surface-container-low);border-radius:var(--radius-xl);font-size:14px;line-height:1.5}.bottom-nav{background:var(--surface);border-top:1px solid var(--outline-variant);padding:var(--space-sm) 0 calc(var(--space-sm) + env(safe-area-inset-bottom,0px));z-index:10;flex-shrink:0;justify-content:space-around;align-items:center;width:100%;display:flex;box-shadow:0 -4px 12px #0f1e2e0a}.nav-item{color:var(--on-surface-variant);font-family:var(--font-family);cursor:pointer;border-radius:var(--radius-lg);background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:72px;min-height:48px;padding:6px 20px;font-size:11px;font-weight:500;transition:color .15s,background .15s;display:flex}.nav-item:hover{background:var(--surface-container-low)}.nav-item.active{color:var(--primary-container);font-weight:700}.header-tab-icon{border-radius:var(--radius-lg);background:var(--primary-container);width:44px;height:44px;color:var(--on-primary-container);flex-shrink:0;justify-content:center;align-items:center;display:flex}.header-app-logo{border-radius:var(--radius-lg);object-fit:cover;width:44px;height:44px;box-shadow:var(--shadow-1);background:var(--primary);flex-shrink:0}.debt-card{transition:opacity .25s,background .25s,box-shadow .25s}.debt-card.settled{opacity:.55;background:var(--surface-container-low);box-shadow:none}.debt-card.settled .debt-amount-value,.debt-card.settled .debt-amount-cur{color:var(--on-surface-variant);text-decoration:line-through}.debt-card.settled .debt-arrow-icon{opacity:.4}.debt-card.settled .avatar{opacity:.6}.debt-card.settled .debt-hint{color:var(--on-surface-variant);opacity:.9}.debt-card.settled .debt-hint svg{color:var(--on-surface-variant)}.btn-settle.settled{background:var(--surface-container-high);color:var(--on-surface);box-shadow:none}.btn-settle.settled:hover{background:var(--surface-container-high)}@media (width>=561px) and (width<=1023px){body{padding:0}.app-container{max-width:100%;box-shadow:none;border-radius:0}.app-header{padding-left:max(24px,50% - 360px);padding-right:max(24px,50% - 360px)}.app-main{padding:20px max(24px,50% - 360px)}.bottom-nav{padding-left:max(24px,50% - 360px);padding-right:max(24px,50% - 360px)}.fab{right:max(24px,50% - 356px)}}@media (width>=1024px){body{align-items:flex-start;padding:24px}#root{align-items:flex-start;height:auto}.app-container{border-radius:28px;max-width:960px;height:min(900px,100dvh - 48px);overflow:hidden;box-shadow:0 12px 40px #0f1e2e14,0 2px 8px #0f1e2e0a}.app-header{border-bottom:none;gap:16px;padding:24px 40px 16px}.header-tab-icon,.header-app-logo{border-radius:14px;width:48px;height:48px}.header-title{font-size:20px}.header-subtitle{font-size:13px}.bottom-nav{background:var(--surface-container-low);border-radius:var(--radius-full);box-shadow:none;border-top:none;order:1;justify-content:center;gap:8px;margin:0 40px 16px;padding:6px}.app-main{order:2;gap:20px;padding:24px 40px}.nav-item{border-radius:var(--radius-full);flex-direction:row;flex:1;gap:8px;min-width:0;max-width:240px;min-height:44px;padding:10px 24px;font-size:14px;font-weight:500}.nav-item:hover{background:var(--surface-container)}.nav-item.active{background:var(--primary-container);color:var(--on-primary);font-weight:600}.nav-item.active:hover{background:var(--primary-container)}.card{border-radius:24px;padding:20px}.product-card{border-radius:20px;padding:18px 20px}.empty-message{padding:48px 24px;font-size:15px}}@media (width>=1280px){.app-container{max-width:1080px}.app-header{padding:28px 48px 20px}.bottom-nav{margin:0 48px 20px}.app-main{padding:28px 48px}.app-container{max-width:1080px;padding:40px 48px 56px}}.qty-stepper{background:var(--surface-container-low);border-radius:var(--radius-xl);align-items:center;gap:8px;padding:6px;display:flex}.stepper-btn{border-radius:var(--radius-lg);background:var(--surface-container-lowest);width:44px;height:44px;color:var(--primary);cursor:pointer;box-shadow:var(--shadow-1);border:none;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s,transform .1s;display:flex}.stepper-btn:hover{background:var(--surface-container-highest)}.stepper-btn:active{transform:scale(.9)}.stepper-value{flex:1;justify-content:center;align-items:baseline;gap:6px;min-width:0;display:flex}.stepper-input{text-align:center;min-width:40px;max-width:100px;font-family:var(--font-family);color:var(--primary);font-variant-numeric:tabular-nums;border-radius:var(--radius-md);-webkit-text-size-adjust:100%;background:0 0;border:none;outline:none;flex:1;padding:4px 0;font-size:22px;font-weight:700;line-height:1.2;transition:background .15s}.stepper-input:focus{background:var(--surface-container-lowest);box-shadow:0 0 0 2px #79f3ea80}.stepper-value-unit{color:var(--on-surface-variant);flex-shrink:0;font-size:12px;font-weight:500}.qty-stepper.compact{flex:1;gap:4px;min-width:0;padding:4px}.stepper-btn.compact{border-radius:var(--radius-md);width:36px;height:36px}.stepper-input.compact{max-width:60px;font-size:16px}.stepper-value-unit{font-size:11px}.unit-selector{background:var(--surface-container-low);border-radius:var(--radius-xl);grid-template-columns:repeat(5,1fr);gap:4px;padding:4px;display:grid}.unit-btn{border-radius:var(--radius-lg);height:40px;color:var(--on-surface-variant);font-family:var(--font-family);cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;font-weight:600;transition:background .15s,color .15s,box-shadow .15s}.unit-btn:hover{background:var(--surface-container);color:var(--on-surface)}.unit-btn.active{background:var(--primary-container);color:var(--on-primary);box-shadow:var(--shadow-1)}.unit-btn.active:hover{background:var(--primary-container);color:var(--on-primary)}.unit-selector.compact{border-radius:var(--radius-lg);padding:3px}.unit-btn.compact,.unit-selector.compact .unit-btn{border-radius:var(--radius-md);height:32px;font-size:11px}.price-edit-qty-block{align-items:stretch;gap:8px;display:flex}.price-edit-qty-block .qty-stepper.compact{flex:none;min-width:130px}.price-edit-qty-block .unit-selector.compact{flex:1;min-width:0}.product-qty{color:var(--on-surface-variant);font-variant-numeric:tabular-nums;margin:1px 0 3px;font-size:13px;font-weight:500;line-height:1.3}.product-card.purchased .product-qty{color:var(--outline)}.price-edit-total{background:var(--surface-container-low);border-radius:var(--radius-lg);color:var(--on-surface-variant);justify-content:space-between;align-items:center;padding:10px 14px;font-size:13px;display:flex}.price-edit-total strong{color:var(--primary);font-variant-numeric:tabular-nums;font-size:16px;font-weight:700}.member-purchase-qty{color:var(--on-surface-variant);font-size:12px;font-weight:500}@media (width<=420px){.price-edit-qty-block{flex-direction:column}.price-edit-qty-block .qty-stepper.compact{min-width:0}.stepper-value-num{font-size:20px}}.price-edit-buyer{flex-direction:column;gap:6px;display:flex}.price-edit-buyer-label{color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.04em;padding-left:4px;font-size:12px;font-weight:500}.price-edit-buyer-select{width:100%;height:48px;padding:0 40px 0 var(--space-md);border:1.5px solid var(--outline-variant);border-radius:var(--radius-xl);font-family:var(--font-family);color:var(--on-surface);background:var(--surface-container-low);cursor:pointer;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2343474E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");background-position:right 14px center;background-repeat:no-repeat;outline:none;font-size:15px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}.price-edit-buyer-select:focus{border-color:var(--secondary);background-color:var(--surface-container-lowest);box-shadow:0 0 0 3px #79f3ea4d}.product-no-price{flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 3px;display:flex}.product-no-price-badge{color:var(--on-surface-variant);background:var(--surface-container-low);border-radius:var(--radius-full);border:1px dashed var(--outline-variant);padding:4px 10px;font-size:11px;font-weight:500;line-height:1}.product-set-price-btn{font-family:var(--font-family);color:var(--secondary);cursor:pointer;border-radius:var(--radius-full);-webkit-tap-highlight-color:transparent;background:0 0;border:none;align-items:center;gap:3px;min-height:26px;padding:4px 10px;font-size:12px;font-weight:600;transition:background .15s;display:inline-flex}.product-set-price-btn:hover{background:var(--surface-container-low)}.product-set-price-btn:active{background:var(--surface-container)}.product-card.clickable{cursor:pointer;transition:opacity .2s,background .2s,box-shadow .15s,transform .1s}.product-card.clickable:hover{box-shadow:var(--shadow-2)}.product-card.clickable:active{transform:scale(.995)}.sheet-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);background:#0d1c2c73;justify-content:center;align-items:flex-end;animation:.2s ease-out sheetFadeIn;display:flex;position:fixed;inset:0}.sheet-overlay.closing{animation:.2s ease-in forwards sheetFadeOut}@keyframes sheetFadeIn{0%{opacity:0}to{opacity:1}}@keyframes sheetFadeOut{0%{opacity:1}to{opacity:0}}.bottom-sheet{background:var(--surface);border-radius:var(--radius-3xl) var(--radius-3xl) 0 0;flex-direction:column;width:100%;max-width:520px;max-height:92dvh;animation:.28s cubic-bezier(.16,1,.3,1) sheetSlideUp;display:flex;overflow:hidden;box-shadow:0 -12px 40px #0f1e2e2e}.bottom-sheet.closing{animation:.22s ease-in forwards sheetSlideDown}@keyframes sheetSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheetSlideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}.sheet-handle{border-radius:var(--radius-full);background:var(--outline-variant);flex-shrink:0;width:40px;height:4px;margin:10px auto 0}.sheet-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 20px 8px;display:flex}.sheet-title{color:var(--on-surface);letter-spacing:-.01em;margin:0;font-size:18px;font-weight:700}.sheet-close{border-radius:var(--radius-full);background:var(--surface-container-low);width:36px;height:36px;color:var(--on-surface-variant);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.sheet-close:hover{background:var(--surface-container);color:var(--on-surface)}.sheet-body{scrollbar-width:thin;flex-direction:column;flex:1;gap:18px;min-height:0;padding:12px 20px 16px;display:flex;overflow-y:auto}.sheet-body::-webkit-scrollbar{width:4px}.sheet-body::-webkit-scrollbar-thumb{background:var(--outline-variant);border-radius:var(--radius-full)}.sheet-field{flex-direction:column;gap:8px;display:flex}.sheet-label{color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.04em;padding-left:2px;font-size:12px;font-weight:600}.sheet-input,.sheet-select{width:100%;height:48px;padding:0 var(--space-md);border:1.5px solid var(--outline-variant);border-radius:var(--radius-xl);font-family:var(--font-family);color:var(--on-surface);background:var(--surface-container-low);outline:none;font-size:15px;transition:border-color .15s,box-shadow .15s,background .15s}.sheet-input::placeholder{color:var(--on-surface-variant);opacity:.7}.sheet-input:focus,.sheet-select:focus{border-color:var(--secondary);background:var(--surface-container-lowest);box-shadow:0 0 0 3px #79f3ea4d}.sheet-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2343474E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.sheet-price-row{align-items:center;display:flex;position:relative}.sheet-input-price{color:var(--primary);font-variant-numeric:tabular-nums;padding-right:40px;font-weight:600}.sheet-price-suffix{color:var(--on-surface-variant);pointer-events:none;font-size:16px;font-weight:600;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.sheet-total{background:var(--surface-container-low);border-radius:var(--radius-lg);justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.sheet-total-label{color:var(--on-surface-variant);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.sheet-total-value{color:var(--primary);font-variant-numeric:tabular-nums;font-size:16px;font-weight:700}.sheet-split-chips{flex-wrap:wrap;gap:6px;display:flex}.sheet-split-chip{border-radius:var(--radius-full);background:var(--surface-container-low);color:var(--on-surface-variant);font-family:var(--font-family);cursor:pointer;-webkit-tap-highlight-color:transparent;border:1.5px solid #0000;align-items:center;gap:6px;min-height:36px;padding:6px 12px 6px 6px;font-size:13px;font-weight:500;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.sheet-split-chip:hover{background:var(--surface-container)}.sheet-split-chip.active{background:var(--primary-container);color:var(--on-primary);border-color:var(--primary-container);font-weight:600}.sheet-split-chip.active:hover{background:var(--primary-container)}.sheet-hint{color:var(--on-surface-variant);opacity:.8;margin-top:2px;padding-left:2px;font-size:11px}.sheet-footer{padding:12px 20px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--outline-variant);background:var(--surface);flex-shrink:0;gap:10px;display:flex}.sheet-delete-btn{border-radius:var(--radius-xl);height:52px;color:var(--error);border:1.5px solid var(--error-container);font-family:var(--font-family);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-size:14px;font-weight:600;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.sheet-delete-btn:hover{background:var(--error-container);color:var(--on-error-container);border-color:var(--error-container)}.sheet-save-btn{border-radius:var(--radius-xl);background:var(--primary-container);height:52px;color:var(--on-primary);font-family:var(--font-family);cursor:pointer;box-shadow:var(--shadow-1);-webkit-tap-highlight-color:transparent;border:none;flex:1;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:15px;font-weight:600;transition:background .15s,transform .1s;display:inline-flex}.sheet-save-btn:hover{background:#163350}.sheet-save-btn:active{transform:scale(.98)}@media (width<=400px){.sheet-delete-btn{padding:0 14px}.sheet-delete-btn span{display:none}}@media (width>=1024px){.sheet-overlay{align-items:center;padding:24px}.bottom-sheet{border-radius:var(--radius-3xl);max-width:560px;max-height:88vh;animation:.24s cubic-bezier(.16,1,.3,1) sheetFadeScaleUp}.bottom-sheet.closing{animation:.2s ease-in forwards sheetFadeScaleDown}@keyframes sheetFadeScaleUp{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes sheetFadeScaleDown{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.96)}}.sheet-handle{display:none}}.app-container{position:relative}.fab{border-radius:var(--radius-full);background:var(--secondary);width:56px;height:56px;color:var(--on-secondary);cursor:pointer;z-index:50;-webkit-tap-highlight-color:transparent;border:none;justify-content:center;align-items:center;transition:transform .15s,background .15s,box-shadow .15s;display:flex;position:absolute;bottom:88px;right:20px;box-shadow:0 8px 24px #006a6552,0 4px 8px #006a652e}.fab:hover{background:#005550;box-shadow:0 10px 28px #006a6566,0 4px 10px #006a653d}.fab:active{transform:scale(.94)}.sheet-save-btn-full{flex:none;width:100%}.sheet-save-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.sheet-save-btn:disabled:hover{background:var(--primary-container)}@media (width>=1024px){.fab{width:60px;height:60px;bottom:24px;right:24px}}.product-delete-btn{width:28px;height:28px;color:var(--on-surface-variant);flex-shrink:0;margin:-4px -4px -4px 0}.product-delete-btn:hover{background:var(--error-container);color:var(--error)}.product-bottom-row{justify-content:space-between;align-items:center;gap:8px;margin-top:2px;display:flex}.product-total-btn{border-radius:var(--radius-full);color:var(--primary);font-family:var(--font-family);font-variant-numeric:tabular-nums;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;background:0 0;border:1px dashed #0000;flex-shrink:0;align-items:center;gap:4px;min-height:24px;margin-left:auto;padding:4px 10px 4px 7px;font-size:14px;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.product-total-btn:hover{background:var(--surface-container-low);border-color:var(--outline-variant)}.product-total-btn:active{transform:scale(.96)}.product-total-btn svg{color:var(--on-surface-variant);opacity:.65;flex-shrink:0}.product-total-btn:hover svg{opacity:1}.product-price-edit-inline{background:var(--surface-container-low);border-radius:var(--radius-full);flex-shrink:0;align-items:center;gap:3px;max-width:140px;margin-left:auto;padding:2px 8px 2px 6px;display:inline-flex}.product-price-input-inline{width:70px;min-width:50px;height:26px;font-family:var(--font-family);color:var(--primary);font-variant-numeric:tabular-nums;text-align:right;-webkit-text-size-adjust:100%;background:0 0;border:none;outline:none;flex:1;padding:0 4px;font-size:14px;font-weight:700}.product-price-input-inline::placeholder{color:var(--on-surface-variant);opacity:.7;font-weight:500}.product-price-suffix-inline{color:var(--on-surface-variant);flex-shrink:0;font-size:13px;font-weight:600}.product-total-btn-empty{border-color:var(--outline-variant);border-style:dashed}.product-total-btn-empty:hover{border-color:var(--outline)}.dashboard-amount-row{justify-content:space-between;align-items:stretch;gap:12px;display:flex}.dashboard-amount-left{flex-direction:column;justify-content:space-between;gap:2px;display:flex}.dashboard-purchases-block{border-radius:var(--radius-2xl);-webkit-backdrop-filter:blur(8px);background:#ffffff1f;flex-direction:column;flex-shrink:0;justify-content:space-between;align-items:flex-start;min-width:148px;padding:12px 16px;display:flex}.dashboard-stat-label{color:#ffffffbf;align-items:center;gap:6px;font-size:12px;line-height:1;display:flex}.dashboard-stat-label svg{color:var(--secondary-container);flex-shrink:0}.dashboard-stat-value{color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:6px;font-size:18px;font-weight:600;line-height:1.1}.welcome-overlay{z-index:2000;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:linear-gradient(135deg,#1a3a5c 0%,#002444 50%,#164e63 100%);justify-content:center;align-items:center;padding:24px;animation:.35s ease-out welcomeFadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}@keyframes welcomeFadeIn{0%{opacity:0}to{opacity:1}}.welcome-card{background:var(--surface);border-radius:var(--radius-3xl);flex-direction:column;align-items:center;gap:14px;width:100%;max-width:400px;margin:auto;padding:32px 24px 28px;display:flex;box-shadow:0 24px 60px #00000047}.welcome-logo{border-radius:var(--radius-2xl);object-fit:cover;width:72px;height:72px;box-shadow:var(--shadow-2);margin-bottom:4px}.welcome-title{color:var(--on-surface);text-align:center;letter-spacing:-.015em;margin:0;font-size:24px;font-weight:700;line-height:1.2}.welcome-subtitle{color:var(--on-surface-variant);text-align:center;max-width:280px;margin:-6px 0 6px;font-size:14px;line-height:1.4}.welcome-input{border:1.5px solid var(--outline-variant);border-radius:var(--radius-xl);width:100%;height:56px;font-family:var(--font-family);color:var(--on-surface);background:var(--surface-container-low);text-align:center;outline:none;padding:0 20px;font-size:17px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}.welcome-input::placeholder{color:var(--on-surface-variant);opacity:.65}.welcome-input:focus{border-color:var(--secondary);background:var(--surface-container-lowest);box-shadow:0 0 0 3px #79f3ea4d}.welcome-error{color:var(--error);text-align:center;margin:-8px 0 0;font-size:12px;font-weight:500}.welcome-btn{border-radius:var(--radius-xl);background:var(--primary-container);width:100%;height:56px;color:var(--on-primary);font-family:var(--font-family);cursor:pointer;box-shadow:var(--shadow-2);-webkit-tap-highlight-color:transparent;border:none;margin-top:4px;font-size:16px;font-weight:600;transition:background .15s,transform .1s,opacity .15s}.welcome-btn:hover{background:#163350}.welcome-btn:active{transform:scale(.98)}.welcome-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.welcome-btn:disabled:hover{background:var(--primary-container)}.you-label{color:var(--on-surface-variant);opacity:.75;margin-left:2px;font-size:12px;font-weight:500}.you-suffix{opacity:.7;margin-left:1px;font-size:11px;font-weight:500}.sheet-split-chip.active .you-suffix{opacity:.8;color:#ffffffd9}.menu-item-link{color:inherit;cursor:pointer;text-decoration:none}.menu-item-link:visited{color:inherit}.menu-icon-telegram{color:#0284c7;background:#e0f2fe}.welcome-consent{background:var(--surface-container-low);border-radius:var(--radius-lg);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;align-items:flex-start;gap:10px;width:100%;padding:12px 14px;transition:background .15s;display:flex}.welcome-consent:hover{background:var(--surface-container)}.welcome-consent-checkbox{appearance:none;border:1.5px solid var(--outline-variant);border-radius:var(--radius-sm);background:var(--surface-container-lowest);cursor:pointer;flex-shrink:0;width:20px;height:20px;margin:1px 0 0;transition:background .15s,border-color .15s;position:relative}.welcome-consent-checkbox:hover{border-color:var(--secondary)}.welcome-consent-checkbox:checked{background:var(--secondary);border-color:var(--secondary)}.welcome-consent-checkbox:checked:after{content:"";border:solid var(--on-secondary);border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:2px;left:6px;transform:rotate(45deg)}.welcome-consent-text{color:var(--on-surface-variant);font-size:12.5px;line-height:1.5}.welcome-consent-link{color:var(--secondary);text-underline-offset:2px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;transition:opacity .15s}.welcome-consent-link:hover{opacity:.8}.menu-item-static{cursor:default}.menu-item-static:hover{background:0 0}.profile-name-view{align-items:center;gap:8px;display:flex}.profile-name-edit-btn{border-radius:var(--radius-md);background:var(--surface-container-low);width:28px;height:28px;color:var(--on-surface-variant);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;flex-shrink:0;justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.profile-name-edit-btn:hover{background:var(--surface-container);color:var(--primary)}.profile-name-edit{align-items:center;gap:6px;width:100%;display:flex}.profile-name-input{border:1.5px solid var(--outline-variant);border-radius:var(--radius-lg);min-width:0;height:40px;font-family:var(--font-family);color:var(--on-surface);background:var(--surface-container-low);letter-spacing:-.01em;outline:none;flex:1;padding:0 12px;font-size:16px;font-weight:700;transition:border-color .15s,background .15s,box-shadow .15s}.profile-name-input:focus{border-color:var(--secondary);background:var(--surface-container-lowest);box-shadow:0 0 0 3px #79f3ea4d}.profile-name-btn{border-radius:var(--radius-lg);cursor:pointer;-webkit-tap-highlight-color:transparent;border:none;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:background .15s,color .15s,transform .1s;display:inline-flex}.profile-name-btn.save{background:var(--secondary);color:var(--on-secondary)}.profile-name-btn.save:hover{background:#005550}.profile-name-btn.save:active{transform:scale(.95)}.profile-name-btn.cancel{color:var(--on-surface-variant);border:1.5px solid var(--outline-variant);background:0 0}.profile-name-btn.cancel:hover{background:var(--surface-container-low);color:var(--on-surface)}.profile-name-error{color:var(--error);margin-top:2px;font-size:12px;font-weight:500}.btn-reset-all{border-radius:var(--radius-xl);width:100%;height:52px;color:var(--error);border:1.5px solid var(--error-container);font-family:var(--font-family);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:14px;font-weight:600;transition:background .15s,color .15s,border-color .15s,transform .1s;display:inline-flex}.btn-reset-all:hover{background:var(--error-container);color:var(--on-error-container);border-color:var(--error-container)}.btn-reset-all:active{transform:scale(.98)}@media (pointer:coarse){input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:max(16px,1em)!important}}.privacy-page{-webkit-overflow-scrolling:touch;background:var(--surface);flex-direction:column;width:100%;height:100dvh;display:flex;overflow-y:auto}.privacy-header{z-index:10;-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--outline-variant);background:#f8f9ffeb;align-items:center;padding:12px 20px;display:flex;position:sticky;top:0}.privacy-back{border-radius:var(--radius-full);background:var(--surface-container-low);color:var(--on-surface);font-family:var(--font-family);-webkit-tap-highlight-color:transparent;align-items:center;gap:6px;padding:8px 14px 8px 10px;font-size:14px;font-weight:600;text-decoration:none;transition:background .15s;display:inline-flex}.privacy-back:hover{background:var(--surface-container)}.privacy-content{width:100%;max-width:720px;font-family:var(--font-family);color:var(--on-surface);flex:1;margin:0 auto;padding:32px 24px 64px;font-size:15px;line-height:1.6}.privacy-content h1{letter-spacing:-.015em;color:var(--on-surface);margin:0 0 20px;font-size:26px;font-weight:700;line-height:1.25}.privacy-content h2{letter-spacing:-.01em;color:var(--on-surface);margin:32px 0 12px;font-size:18px;font-weight:700}.privacy-content p{color:var(--on-surface);margin:0 0 12px}.privacy-content ul,.privacy-content ol{margin:0 0 14px;padding-left:22px}.privacy-content li{color:var(--on-surface);margin-bottom:6px}.privacy-content code{background:var(--surface-container);border-radius:var(--radius-sm);color:var(--primary);padding:2px 6px;font-family:SF Mono,Consolas,Monaco,monospace;font-size:13px}.privacy-content strong{font-weight:600}.privacy-meta{background:var(--surface-container-low);border-radius:var(--radius-lg);color:var(--on-surface-variant);margin-bottom:24px;padding:14px 18px;font-size:13px;line-height:1.7}.privacy-meta strong{color:var(--on-surface)}.privacy-footer-note{border-top:1px solid var(--outline-variant);color:var(--on-surface-variant);text-align:center;margin-top:40px;padding-top:20px;font-size:13px}@media (width<=560px){.privacy-content{padding:24px 18px 48px;font-size:14.5px}.privacy-content h1{font-size:22px}.privacy-content h2{margin-top:26px;font-size:16px}}
