.header{position:relative;z-index:100;width:100%;box-sizing:border-box;border-bottom:1px solid #dbe4ef;background:#fff;color:#0f172a;box-shadow:0 3px 14px #0f172a0d}.header-inner{width:100%;min-height:78px;padding:12px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;box-sizing:border-box}.logo{min-width:0;margin:0}.logo-link{min-width:0;display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.logo-image-wrap{flex:0 0 auto;width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#eff6ff}.logo-img{width:42px;height:42px;object-fit:contain}.logo-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.logo-text{overflow:hidden;color:#0f172a;font-size:21px;font-weight:800;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.logo-subtitle{color:#64748b;font-size:11px;font-weight:600;line-height:1.4}.header-test-badge{flex:0 0 auto;min-height:24px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #fecaca;border-radius:999px;background:#fef2f2;color:#dc2626;font-size:10px;font-weight:800;letter-spacing:.05em}.header-user-area{min-width:0;margin-left:auto;display:flex;align-items:center;gap:10px}.login-btn{min-height:42px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #2563eb;border-radius:11px;background:#2563eb;color:#fff;font-family:inherit;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease,box-shadow .15s ease}.login-btn:hover:not(:disabled){border-color:#1d4ed8;background:#1d4ed8;transform:translateY(-1px);box-shadow:0 5px 13px #2563eb2e}.login-btn:disabled{opacity:.5;cursor:not-allowed}.word-share-button-wrap{position:relative;z-index:10001;flex:0 0 auto}.word-share-btn{min-height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff;color:#2563eb;font-family:inherit;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.word-share-btn:hover:not(:disabled){border-color:#93c5fd;background:#dbeafe;transform:translateY(-1px)}.word-share-btn:active:not(:disabled){transform:translateY(0)}.word-share-btn:disabled{opacity:.5;cursor:not-allowed}.user-dropdown{position:relative;flex:0 0 auto}.user-icon{min-height:46px;max-width:260px;padding:5px 10px 5px 6px;display:flex;align-items:center;gap:9px;appearance:none;border:1px solid #e2e8f0;border-radius:13px;background:#fff;color:#334155;font-family:inherit;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.user-icon:hover:not(:disabled),.user-icon.is-open{border-color:#93c5fd;background:#eff6ff;box-shadow:0 4px 12px #2563eb14}.user-icon:focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:2px}.user-icon:disabled{opacity:.5;cursor:not-allowed}.user-avatar{flex:0 0 auto;width:36px;height:36px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:11px;background:#dbeafe;color:#2563eb}.avatar-image{width:100%;height:100%;object-fit:cover}.user-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px}.username{display:block;max-width:140px;overflow:hidden;color:#334155;font-size:12px;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.dropdown-arrow{flex:0 0 auto;color:#94a3b8;font-size:14px;transition:transform .15s ease}.dropdown-arrow.is-open{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:9999;width:210px;padding:7px;box-sizing:border-box;border:1px solid #dbe4ef;border-radius:14px;background:#fff;box-shadow:0 14px 34px #0f172a26,0 4px 10px #0f172a0f;animation:header-dropdown-show .16s ease-out}.dropdown-menu-divider{height:1px;margin:5px 3px;background:#e2e8f0}.dropdown-menu button{width:100%;min-height:39px;padding:0 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:9px;background:transparent;color:#334155;font-family:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.dropdown-menu button:hover{background:#f1f5f9}.dropdown-menu button svg{flex:0 0 auto;color:#64748b;font-size:16px}.dropdown-menu .dropdown-logout-button{color:#dc2626}.dropdown-menu .dropdown-logout-button svg{color:#dc2626}.dropdown-menu .dropdown-logout-button:hover{background:#fef2f2}.word-share-guide{position:absolute;top:calc(100% + 14px);right:0;z-index:10000;width:310px;max-width:calc(100vw - 32px);padding:17px;box-sizing:border-box;border:1px solid #bfdbfe;border-radius:16px;background:#fff;color:#0f172a;box-shadow:0 14px 34px #0f172a26,0 4px 10px #0f172a0f;animation:word-share-guide-show .18s ease-out}.word-share-guide-arrow{position:absolute;top:-8px;right:38px;width:14px;height:14px;border-top:1px solid #bfdbfe;border-left:1px solid #bfdbfe;background:#fff;transform:rotate(45deg)}.word-share-guide-close{position:absolute;top:7px;right:8px;width:28px;height:28px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:#64748b;font-size:21px;cursor:pointer}.word-share-guide-close:hover{background:#f1f5f9;color:#0f172a}.word-share-guide-eyebrow{margin:0 30px 4px 0;color:#2563eb;font-size:10px;font-weight:800;letter-spacing:.05em}.word-share-guide-title{margin:0 30px 6px 0;color:#0f172a;font-size:15px;font-weight:800;line-height:1.45;word-break:keep-all}.word-share-guide-description{margin:0;color:#64748b;font-size:12px;line-height:1.6;word-break:keep-all}.word-share-guide-actions{margin-top:14px;display:flex;align-items:center;gap:8px}.word-share-guide-actions button{min-height:35px;padding:0 11px;border-radius:9px;font-family:inherit;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.word-share-guide-open-btn{border:1px solid #2563eb;background:#2563eb;color:#fff}.word-share-guide-open-btn:hover{background:#1d4ed8}.word-share-guide-hide-btn{border:1px solid #cbd5e1;background:#fff;color:#475569}.word-share-guide-hide-btn:hover{background:#f8fafc}@keyframes word-share-guide-show{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes header-dropdown-show{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.header-inner{min-height:70px;padding:10px 16px;gap:12px}.logo-image-wrap{width:46px;height:46px;border-radius:13px}.logo-img{width:37px;height:37px}.logo-text{font-size:18px}.logo-subtitle{display:none}.header-user-area{gap:7px}.word-share-btn span{display:none}.word-share-btn{width:42px;padding:0}.username{max-width:90px}.word-share-guide{position:fixed;top:82px;right:12px;left:12px;width:auto;max-width:none}.word-share-guide-arrow{display:none}}@media(max-width:520px){.header-inner{min-height:64px;padding:9px 12px}.logo-link{gap:8px}.logo-image-wrap{width:42px;height:42px}.logo-img{width:34px;height:34px}.logo-text{max-width:145px;font-size:16px}.header-test-badge{display:none}.login-btn{min-height:38px;padding:0 11px;font-size:11px}.login-btn svg{display:none}.user-icon{max-width:54px;min-height:42px;padding:3px 6px}.user-copy{display:none}.user-avatar{width:34px;height:34px}.dropdown-arrow{font-size:12px}.dropdown-menu{position:fixed;top:70px;right:10px;width:210px}.word-share-guide{top:72px;right:10px;left:10px;padding:15px}.word-share-guide-actions{align-items:stretch;flex-direction:column}.word-share-guide-actions button{width:100%}}html,body,#root{width:100%;height:100%;margin:0;padding:0}*,*:before,*:after{box-sizing:border-box}.app-shell{width:100%;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.app-shell>.header{flex:0 0 auto}.app-content{width:100%;min-width:0;flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.app-shell--full-page{width:100%;height:100dvh;min-height:0;display:flex;flex-direction:column;padding:0;background:#fff;overflow:hidden}.app-shell--full-page .app-content{width:100%;min-width:0;flex:1 1 0;height:100%;min-height:0;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}@media screen and (max-width:820px){.app-shell:not(.app-shell--full-page){width:100%;height:100dvh;min-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-shell:not(.app-shell--full-page)>.header{flex:0 0 auto}.app-shell:not(.app-shell--full-page)>.app-content{width:100%;min-width:0;flex:1 1 auto;min-height:0;display:block;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.app-content>.dashboard{width:100%;min-width:0;height:auto;min-height:100%;display:flex;flex-direction:column;overflow:visible}}.modal.wide{max-width:800px;width:100%}.modal-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay.nested{z-index:1100}.modal{background:#fff;border-radius:10px;padding:24px;min-width:480px;max-width:760px;box-shadow:0 10px 30px #0003;position:relative;flex-direction:column}.modal h2{margin:0 0 1rem;color:#2b6cb0;text-align:center}.modal .close-btn{position:absolute;top:12px;right:12px;background:none;border:none;font-size:1.2rem;cursor:pointer;color:#666;line-height:1}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:auto}.close-btn{position:absolute;right:16px;top:16px;cursor:pointer;border:none;background:transparent;font-size:20px;font-weight:700;line-height:1;color:#333;opacity:1;visibility:visible}.close-btn:hover{color:#000}.section{padding:8px 0;border-bottom:1px solid #f1f3f5}.section:last-of-type{border-bottom:0}.section.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section.vertical{display:flex;flex-direction:column;align-items:center}.left{display:flex;align-items:center;gap:10px;min-width:0}.title-value{display:flex;align-items:center;gap:6px}.label{font-weight:600;white-space:nowrap;flex:0 0 88px;text-align:left;margin-top:10px;margin-bottom:10px}.value-ellipsis{color:#374151;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-left:20px}.avatar-inline.large{display:flex;align-items:center;justify-content:center}.avatar.large{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#f2f2f2}.avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#f2f2f2;flex-shrink:0}.avatar.placeholder{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-size:10px;color:#666;flex-shrink:0}.text-btn{background:none;border:none;padding:0;font-size:14px;color:#2563eb;cursor:pointer}.text-btn:hover{text-decoration:underline}.text-btn.danger{color:#e53e3e}.text-btn.danger:hover{text-decoration:underline}button.ghost{background:#f3f4f6;color:#111}button:disabled{opacity:.6;cursor:not-allowed!important}.danger-btn{background:#e53e3e;color:#fff}.danger-text{color:#b91c1c}.error-message{background:#fee2e2;color:#b91c1c;padding:8px 10px;border-radius:6px;margin-top:8px}.success-message{background:#e6ffed;color:#137333;padding:8px 10px;border-radius:6px;margin-top:8px}.account-modal input[type=text],.account-modal input[type=password]{width:100%;padding:8px 10px;border:1px solid #ddd;border-radius:6px}.small{font-size:12px;color:#666}.app-disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.pw-form{display:flex;flex-direction:column;gap:20px;width:100%}.pw-form .fg{display:flex;flex-direction:column;align-items:center;width:100%}.field-label{display:block;margin-bottom:6px;font-weight:600;text-align:center}.underline-input{width:50%;border:none;border-bottom:2px solid #ccc;padding:8px 0;outline:none;box-sizing:border-box;text-align:center}.underline-input:focus{border-bottom-color:#2563eb}.pw-rules-inline{font-size:13px;margin-top:6px;line-height:1.4}.small.danger-text{color:#b91c1c;font-size:12px;text-align:center;width:100%}.ok{color:green;font-weight:700}.bad{color:red;font-weight:700}.modal button:not(.close-btn):not(.text-btn):not(.ghost):not(.danger-btn):not(.usage-modal__close-btn):not(.usage-modal__subscribe-btn):not(.subscription-history-tab):not(.usage-modal__access-code-link){background:#2563eb;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px}.modal button:not(.close-btn):not(.text-btn):not(.ghost):not(.danger-btn):not(.usage-modal__close-btn):not(.usage-modal__subscribe-btn):not(.subscription-history-tab):not(.usage-modal__access-code-link):hover{background:#1d4ed8}@media(max-width:420px){.modal{min-width:unset;width:calc(100% - 32px);max-width:none}.section.row{align-items:flex-start}.text-btn{margin-top:2px}}.modal-content{background:#fff;padding:2rem;border-radius:12px;max-width:420px;width:90%;text-align:center;box-shadow:0 6px 20px #00000040;animation:fadeIn .3s ease-out}.modal-content h2{margin-bottom:1rem;font-size:1.5rem;color:#d9534f}.modal-content p{margin-bottom:1.5rem;font-size:1rem;color:#333;line-height:1.4}.modal-actions{display:flex;justify-content:space-between;gap:1rem}.modal-actions button{flex:1;padding:.6rem 1.2rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .2s ease-in-out;border:none}.modal-actions .btn-cancel{background:#6c757d;color:#fff}.modal-actions .btn-cancel:hover{background:#5a6268}.modal-actions .btn-renew{background:#d9534f;color:#fff}.modal-actions .btn-renew:hover{background:#c9302c}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
