*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.container{margin:0 auto;max-width:1200px;padding:0 20px}.card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:20px;padding:24px}.btn{border:none;border-radius:4px;cursor:pointer;display:inline-block;font-size:14px;padding:10px 20px;text-align:center;text-decoration:none;transition:all .3s ease}.btn-primary{background-color:#1890ff;color:#fff}.btn-primary:hover{background-color:#40a9ff}.btn-success{background-color:#52c41a;color:#fff}.btn-success:hover{background-color:#73d13d}.btn-danger{background-color:#ff4d4f;color:#fff}.btn-danger:hover{background-color:#ff7875}.btn-secondary{background-color:#d9d9d9;color:#333}.btn-secondary:hover{background-color:#bfbfbf}.form-group{margin-bottom:16px}.form-label{color:#333;display:block;font-weight:500;margin-bottom:4px}.form-control{border:1px solid #d9d9d9;border-radius:4px;font-size:14px;padding:8px 12px;transition:border-color .3s ease;width:100%}.form-control:focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33;outline:none}.form-control.error{border-color:#ff4d4f}.error-message{color:#ff4d4f;font-size:12px;margin-top:4px}.table{background:#fff}.table th{background-color:#fafafa;font-weight:500}.table tbody tr:hover{background-color:#f5f5f5}.status-tag{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:2px 8px}.status-pending{background-color:#fff7e6;color:#fa8c16}.status-approved{background-color:#f6ffed;color:#52c41a}.status-rejected{background-color:#fff2f0;color:#ff4d4f}.status-initial{background-color:#e6f7ff;color:#1890ff}.status-showing{background-color:#f9f0ff;color:#722ed1}.status-applying{background-color:#fff7e6;color:#fa8c16}.status-pending-completed{background-color:#fff1b8;border:1px solid #d48806;color:#d48806}.status-completed{background-color:#f6ffed;color:#52c41a}.status-invalid{background-color:#fff2f0;color:#ff4d4f}.loading{align-items:center;display:flex;justify-content:center;padding:40px}.spinner{animation:spin 1s linear infinite;border:3px solid #f3f3f3;border-radius:50%;border-top-color:#1890ff;height:32px;width:32px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:768px){.container{padding:0 10px}.card{padding:16px}.table{font-size:12px}.table td,.table th{padding:8px}}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-height:90vh;max-width:500px;overflow-y:auto;width:90%}.modal-header{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;margin-bottom:20px;padding:20px 24px 0}.modal-header h3{color:#333;font-size:18px;margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:4px;color:#999;cursor:pointer;display:flex;font-size:24px;height:30px;justify-content:center;padding:0;transition:all .2s ease;width:30px}.modal-close:hover{background:#f5f5f5;color:#333}.modal-body{padding:0 24px}.modal-footer{border-top:1px solid #f0f0f0;display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding:20px 24px}.btn-outline{background:#0000;border:1px solid #d9d9d9;color:#666}.btn-outline:hover{border-color:#1890ff;color:#1890ff}.btn-sm{font-size:12px;padding:6px 12px}.badge{border-radius:4px;display:inline-block;font-size:12px;font-weight:500;padding:4px 8px;text-align:center;white-space:nowrap}.badge-primary{background:#e6f7ff;color:#1890ff}.badge-success{background:#f6ffed;color:#52c41a}.badge-warning{background:#fff7e6;color:#fa8c16}.badge-danger{background:#fff2f0;color:#ff4d4f}.badge-info{background:#f0f5ff;color:#722ed1}.badge-secondary{background:#f5f5f5;color:#666}.table-responsive{overflow-x:auto}.table{border-collapse:collapse;margin:0;width:100%}.table td,.table th{border-bottom:1px solid #f0f0f0;padding:12px;text-align:left;vertical-align:top}.table th{color:#333;font-weight:600}.table th,.table tr:hover{background:#fafafa}@media (max-width:768px){.modal-content{margin:20px;width:95%}.modal-body,.modal-footer,.modal-header{padding-left:16px;padding-right:16px}.table-responsive{font-size:14px}.table td,.table th{padding:8px}}.notice-protection{-webkit-user-drag:none!important;-khtml-user-drag:none!important;-moz-user-drag:none!important;-o-user-drag:none!important;user-drag:none!important}.notice-protection,.notice-protection *{-webkit-touch-callout:none!important;-webkit-tap-highlight-color:transparent!important;-webkit-user-select:none!important;user-select:none!important}.notice-protection:before{content:"© 株式会社麗楽 内部资料";left:-1000px;opacity:0;pointer-events:none;position:absolute;top:-1000px}@media print{.notice-protection{display:none!important}.notice-protection:after{color:#ff4d4f;content:"此内容受版权保护，禁止打印或复制 - 株式会社麗楽";font-size:24px;font-weight:700;left:50%;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:9999}}.notice-protection:hover{filter:blur(.5px);transition:filter .1s ease}.notice-protection:active{filter:blur(1px)}.notice-watermark-enhanced{background-image:repeating-linear-gradient(45deg,#0000,#0000 20px,#1890ff0d 0,#1890ff0d 40px),repeating-linear-gradient(-45deg,#0000,#0000 20px,#ff4d4f08 0,#ff4d4f08 40px)}.profile-info-readonly{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;font-size:14px;line-height:1.5;margin-bottom:16px;padding:12px}.profile-info-readonly strong{color:#495057;font-weight:600}.profile-role-admin{color:#28a745;font-weight:700}.profile-role-agent{color:#007bff;font-weight:700}.profile-status-approved{color:#28a745;font-weight:700}.profile-status-pending{color:#ffc107;font-weight:700}.profile-status-rejected{color:#dc3545;font-weight:700}.profile-form .form-group{margin-bottom:16px}.profile-form .form-control:focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33}.profile-form .required-field:after{color:#dc3545;content:" *"}.profile-button{align-items:center;background:#fff;border:1px solid #d9d9d9;border-radius:4px;color:#666;cursor:pointer;display:inline-flex;font-size:14px;gap:6px;padding:8px 16px;transition:all .2s ease}.profile-button:hover{background:#f0f9ff;border-color:#1890ff;color:#1890ff}.btn-info{background-color:#17a2b8;border-color:#17a2b8;color:#fff}.btn-info:hover{background-color:#138496;border-color:#117a8b;color:#fff}.btn-info.btn-sm{font-size:11px;padding:4px 8px}input[type=tel]{font-family:Courier New,monospace}.form-control.is-invalid{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.form-control.is-valid{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540}@media (max-width:768px){body{font-size:14px;line-height:1.5}.container{padding:0 8px}.card{border-radius:6px;margin-bottom:12px;padding:12px}.btn{font-size:13px;min-height:36px;padding:8px 16px;touch-action:manipulation}.btn-sm{font-size:11px;min-height:28px;padding:4px 8px}.form-control{border-radius:4px;font-size:14px;min-height:40px;padding:10px 12px}.form-group{margin-bottom:12px}.form-label{font-size:13px;margin-bottom:4px}.table-responsive{border-radius:4px;font-size:12px}.table td,.table th{padding:6px 4px;vertical-align:middle}.table th{font-size:11px;font-weight:600}.table td div[style*="display: flex"]{flex-direction:column!important;gap:2px!important}.table .btn-sm{font-size:10px;margin:1px 0;padding:2px 4px;width:100%}}@media (max-width:480px){.container{padding:0 4px}.card{margin-bottom:8px;padding:8px}h1{font-size:20px}h2{font-size:18px}h3{font-size:16px}.stats-grid{gap:8px!important;grid-template-columns:repeat(2,1fr)!important}.stat-card{padding:12px 8px!important;text-align:center}.stat-card div:first-child{font-size:18px!important}div[style*="marginBottom: '16px'"] button{font-size:11px!important;margin:2px!important;padding:6px 8px!important}.pagination{flex-direction:column;gap:8px}.pagination button{width:100%}}@media (max-width:768px){.card[style*="max-width: 400px"]{margin:10px!important;max-width:100%!important;padding:20px 16px!important}.logo{margin-bottom:16px;max-width:200px}.btn[type=submit]{font-size:16px;padding:12px;width:100%}.sidebar{height:100vh;left:-100%;position:fixed!important;top:0;transition:left .3s ease;width:100%!important;z-index:1000}.sidebar.open{left:0}.main-content{margin-left:0!important;padding:10px!important}.navbar{padding:8px 12px!important}.navbar h1{font-size:16px!important}.user-menu{left:10px!important;position:fixed!important;right:10px!important;top:50px!important;width:auto!important}.modal-content{margin:10px!important;max-height:85vh!important;max-width:none!important;width:95%!important}.modal-header{margin-bottom:12px!important;padding:12px 16px 0!important}.modal-header h3{font-size:16px!important}.modal-body{padding:0 16px!important}.modal-footer{flex-direction:column!important;gap:8px!important;padding:12px 16px 16px!important}.modal-footer .btn{width:100%!important}.card[style*="width: 400px"]{margin:10px!important;max-width:none!important;width:95%!important}}@media (hover:none) and (pointer:coarse){.btn{min-height:44px;padding:12px 16px}.btn-sm{min-height:36px;padding:8px 12px}.table tr{cursor:pointer}.table tr:hover{background-color:#f8f9fa}a,button{margin:2px}}@media (max-width:768px) and (orientation:landscape){.card{margin-bottom:8px;padding:8px 12px}.stats-grid{grid-template-columns:repeat(4,1fr)!important}.modal-content{max-height:95vh!important}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast:high){.btn{border:2px solid}.card,.table,.table td,.table th{border:1px solid #333}}@media (prefers-color-scheme:dark){body{background-color:#1a1a1a}.card,body{color:#e0e0e0}.card{background-color:#2d2d2d}.form-control{background-color:#3d3d3d;border-color:#555;color:#e0e0e0}.table{color:#e0e0e0}.table th{background-color:#3d3d3d}.table tr:nth-child(2n){background-color:#2a2a2a}}.desktop-user-menu{align-items:center;display:flex}.mobile-user-menu{align-items:center}.sidebar{background:#fff;border-right:1px solid #f0f0f0;min-height:calc(100vh - 64px);padding:20px 0;width:200px}@media (max-width:768px){.mobile-menu-btn{display:block!important}.desktop-user-menu{display:none!important}.mobile-user-menu{display:flex!important}.sidebar{box-shadow:2px 0 8px #0000001a;height:calc(100vh - 64px);left:-200px;position:fixed;top:64px;transition:left .3s ease;width:200px;z-index:999}.sidebar.open{left:0}.main-content{margin-left:0;padding:10px}.mobile-overlay{background:#00000080;bottom:0;display:none;left:0;position:fixed;right:0;top:64px;z-index:998}.mobile-overlay.show{display:block}}@media (min-width:769px){header div[style*="height: 64px"]{height:100px!important;min-height:100px!important}header div[style*="display: flex"][style*="align-items: center"]{align-items:center!important;min-height:70px!important}header div[style*="marginLeft: 16px"]{margin-left:20px!important}header div[style*="fontSize: 16px"]{font-size:18px!important;line-height:1.4!important}header span[style*="padding: 2px 6px"]{font-size:13px!important;margin-top:2px!important;padding:4px 8px!important}header div[style*="width: 60px"][style*="height: 60px"]{align-items:center!important;display:flex!important;height:60px!important;justify-content:center!important;width:60px!important}header div[style*="fontSize: 24px"][style*="fontWeight: bold"]{font-size:24px!important;line-height:1!important;text-align:center!important}header div[style*="fontSize: 14px"][style*="fontWeight: bold"]{font-size:7px!important}header div[style*="fontSize: 9px"]{font-size:5px!important}}.mobile-menu-btn,.mobile-overlay,.mobile-user-menu{display:none}.sidebar{background-color:#fff;box-shadow:2px 0 8px #0000000d;transition:left .3s ease-in-out;width:220px}.main-content{flex:1 1;padding:20px}@media (max-width:768px){.desktop-user-menu{display:none!important}.mobile-user-menu{align-items:center;display:flex!important}.mobile-menu-btn{display:block!important;font-size:22px!important}.sidebar{display:none!important}.sidebar.open{animation:slideIn .3s ease forwards;background-color:#fff;box-shadow:2px 0 8px #0003;display:block!important;height:calc(100% - 64px);left:0;max-width:280px;overflow-y:auto;position:fixed;top:64px;width:75%;z-index:1001}@keyframes slideIn{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.mobile-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0006;display:none;height:calc(100% - 64px);left:0;position:fixed;top:64px;width:100%;z-index:1000}.mobile-overlay.show{display:block}.main-content{padding:10px;width:100%}div[style*="display: flex"][style*="max-width: 1200px"]{flex-direction:column!important}header{min-height:80px!important;padding:12px 16px!important}header div[style*="display: flex"][style*="justify-content: space-between"]{align-items:flex-start!important;flex-direction:column!important;gap:12px!important;height:auto!important;padding:0!important}header div[style*="display: flex"][style*="align-items: center"]{align-items:center!important;flex-wrap:wrap!important;min-height:40px!important;width:100%!important}header div[style*="display: flex"][style*="align-items: center"]>div:first-child{margin-right:12px!important}header div[style*="width: 120px"]{width:120px!important}header div[style*="width: 60px"][style*="height: 60px"][style*="background: linear-gradient"]{align-items:center!important;display:flex!important;height:60px!important;justify-content:center!important;position:relative!important;width:60px!important}header div[style*="fontSize: 24px"][style*="fontWeight: bold"][style*="color: white"]{font-size:24px!important;left:50%!important;line-height:1!important;position:absolute!important;text-align:center!important;top:50%!important;transform:translate(-50%,-50%)!important;width:100%!important}header div[style*="fontSize: 14px"][style*="fontWeight: bold"]{font-size:14px!important}header div[style*="font-weight: bold"]{font-size:16px!important;line-height:1.3!important;white-space:nowrap!important}header div[style*="color: #666"]{font-size:12px!important;line-height:1.2!important;margin-top:2px!important}header .mobile-menu-btn{margin-right:12px!important;min-height:44px!important;min-width:44px!important;padding:8px 12px!important}header .mobile-user-menu{align-self:flex-end!important;margin-top:0!important;min-height:36px!important}.btn,.btn-outline,.btn-secondary{font-size:14px!important;margin:4px 6px!important;min-height:36px!important;padding:8px 12px!important}.mobile-overlay,.sidebar.open{height:calc(100% - 80px)!important;top:80px!important}}@media (max-width:480px){header{min-height:90px!important;padding:15px 12px!important}header div[style*="display: flex"][style*="align-items: center"]{min-height:45px!important}header div[style*="font-weight: bold"]{font-size:15px!important}header div[style*="color: #666"]{font-size:11px!important}.mobile-overlay,.sidebar.open{height:calc(100% - 90px)!important;top:90px!important}}