:root{--color-primary:#263653;--color-text:#20242c;--color-muted:#6b7280;--line:#e5e2db;--bg:#f7f5f0}*{box-sizing:border-box}body{margin:0;font-family:Pretendard,Apple SD Gothic Neo,sans-serif;background:var(--bg);color:var(--color-text)}button{font-family:inherit;cursor:pointer}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.auth-card{width:360px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:0 20px 40px #14141e0f}.auth-card .eyebrow{font-size:11px;letter-spacing:.08em;color:var(--color-muted);font-weight:700;margin:0}.auth-card h1{margin:4px 0 20px;font-size:24px}.auth-tabs{display:flex;gap:6px;margin-bottom:18px;background:#f2f1ec;border-radius:10px;padding:4px}.auth-tabs button{flex:1;padding:8px;border:none;border-radius:8px;background:transparent;color:var(--color-muted);font-weight:600;font-size:13px}.auth-tabs button.active{background:#fff;color:var(--color-text);box-shadow:0 1px 3px #00000014}.auth-form{display:flex;flex-direction:column;gap:12px}.auth-form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:var(--color-muted);font-weight:600}.entry-form input,.auth-form input,.entry-form select{height:42px;border:1px solid #dcdad5;border-radius:7px;padding:0 11px;color:var(--color-text);background:#fff;font:inherit}.entry-form input:focus,.auth-form input:focus,.entry-form select:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px #2636531a}.primary{background:var(--color-primary);color:#fff;border:none;border-radius:8px;padding:11px;font-weight:700;font-size:13.5px}.primary:disabled{opacity:.6;cursor:not-allowed}.form-error{color:#b3453f;font-size:12.5px;margin:0}.success-message{color:#2f7a4f;font-size:12.5px;margin:0}.auth-hint{margin:14px 0 0;font-size:11.5px;color:var(--color-muted);text-align:center}.app-shell{min-height:100vh}.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:34px;height:34px;border-radius:9px;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}.brand h1{margin:0;font-size:16px}.brand p{margin:0;font-size:10px;color:var(--color-muted);letter-spacing:.06em}.user-menu{display:flex;align-items:center;gap:14px;font-size:13px}.user-menu button{background:none;border:1px solid var(--line);border-radius:7px;padding:7px 12px;font-size:12.5px;color:var(--color-text)}.member-link{color:var(--color-primary)!important;border-color:#c9d2e0!important}.header-role{font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:20px;margin-left:4px;background:#e7ecf3;color:var(--color-primary)}.header-role.accounting{color:#2d5f78;background:#e6f1f6}.header-role.sales{color:#796648;background:#f4efe5}.placeholder-main{max-width:640px;margin:80px auto;text-align:center;padding:0 20px}.placeholder-main .eyebrow{font-size:11px;letter-spacing:.08em;color:var(--color-muted);font-weight:700}.placeholder-main h2{font-size:22px;margin:8px 0}.placeholder-main p{color:var(--color-muted)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14141973;display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px;overflow-y:auto;z-index:50}.modal{background:#fff;border-radius:16px;max-width:640px;width:100%;padding:28px;position:relative;box-shadow:0 30px 60px #0003}.modal .close{position:absolute;top:16px;right:16px;border:none;background:none;font-size:20px;color:var(--color-muted);cursor:pointer}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px}.modal-head .eyebrow{font-size:10.5px;letter-spacing:.08em;color:var(--color-muted);font-weight:700;margin:0}.modal-head h2{margin:4px 0 6px;font-size:19px}.modal-head p{margin:0;font-size:12.5px;color:var(--color-muted);max-width:420px}.member-count{font-size:11.5px;background:#f2f1ec;border-radius:20px;padding:5px 12px;color:var(--color-muted);white-space:nowrap}.modal-state{padding:24px 0;text-align:center;color:var(--color-muted);font-size:13px}.pending-section{margin-top:18px;padding:14px;border:1px solid #e8d9b0;border-radius:10px;background:#fbf6ea}.pending-section .section-title{color:#8a6a1f;margin:0;font-size:12.5px;font-weight:700}.pending-section .section-title span{color:#a37c22;font-weight:700}.pending-section.rejected-section{border-color:#e6c9c4;background:#fbf1ef}.pending-list{margin-top:8px;border-top:1px solid #eee0bd}.pending-list .member-row{border-bottom:1px solid #f0e5c7}.pending-list .member-row:last-child{border-bottom:0}.member-list{margin-top:14px}.member-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.member-row:last-child{border-bottom:none}.member-avatar{width:34px;height:34px;border-radius:50%;background:#eceaf5;color:var(--color-primary);display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.member-info{flex:1;display:flex;flex-direction:column;gap:2px}.member-info strong{font-size:13.5px}.member-info small{font-size:10.5px;color:var(--color-muted);font-weight:600;background:#f2f1ec;border-radius:8px;padding:1px 6px;margin-left:4px}.member-info span{font-size:12px;color:var(--color-muted)}.member-info time{font-size:11px;color:#9a9a9a}.member-actions{display:flex;align-items:center;gap:8px}.role-badge{font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:20px;background:#e7ecf3;color:var(--color-primary)}.role-badge.accounting{color:#2d5f78;background:#e6f1f6}.role-badge.sales{color:#796648;background:#f4efe5}.role-badge.pending{color:#8a6a1f;background:#f3e6c4}.role-badge.rejected{color:#a3433d;background:#f3d9d6}.member-actions select{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--color-primary);padding:6px 8px;font-size:11px;font-weight:700}.role-button{background:var(--color-primary);color:#fff;border:none;border-radius:7px;padding:7px 12px;font-size:12px;font-weight:700}.text-button{background:none;border:none;color:#a3433d;font-size:12px;font-weight:600;padding:4px}
